You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Michael Obster <mi...@obster.org> on 2007/10/01 18:57:19 UTC
Re: [Tomahawk 1.1.6] ExtensionFilter throws NoClassDefFoundException
when loading page
Hmm still trying to get it work since about 6 hours :-(. No solution
yet. The strange thing is the line 94 of the MyfacesConfig.java in
Tomahawk which throws the Exception:
------------------------
static
{
boolean tomahawkAvailable;
try
{
ClassUtils.classForName("org.apache.myfaces.webapp.filter.ExtensionsFilter");
// line 94 ^^
tomahawkAvailable = true;
}
catch (ClassNotFoundException e)
{
tomahawkAvailable = false;
}
TOMAHAWK_AVAILABLE = tomahawkAvailable;
}
-------------------------
The ExtensionFilter is also part of the tomahawk.jar, so normally should
be loadable. Also strange for me is the thrown ClassNotFoundException,
because you see there is a catch block... so I'm at my wits' end :-(.
I'll attach my config as well, to get this point clearer. Did I hit a
serious bug in Tomahawk? I also tried to compile a Tomahawk snapshot
from svn for MyFaces 1.2 but got the same error :-(.
Cheers,
Michael
Michael Obster schrieb:
> Hi,
>
> again a problem after migration to 1.2.0 which I cannot solve :-(.
>
> My application (MyFaces 1.2.0 Tomahawk 1.1.6 Trinidad 1.2.2) get started
> correctly by JBoss 4.2.1 but when I'm lodaing a JSF page I got the
> attached error.
>
> Also I've searched already in the MyFaces wiki and Google but don't find
> a solution :-(. The only anomaly is that I'm using Tiles in the
> application.
>
> If you need the configs, please let me know, because I don't want to
> send them on the list.
>
> Cheers,
> Michael
>
Re: [Tomahawk 1.1.6] ExtensionFilter throws NoClassDefFoundException
when loading page
Posted by Michael Obster <mi...@obster.org>.
Hi Simon,
thank for your answer! Long time it was looking that no other member has
interest for that problem... thats another point which is getting you on
such a thing somehow desperate ;-).
You're right, one of the machines looks like there is s.th. wrong with
the classpath, because even when I remove trinidad completly from the
configuration, my JBOSS wants to load the TrinidadListenerImpl.
Because of that I've installed the the complete software on my laptop
with a JBOSS where this effect is not present. But rendering isn't
running there :-(. I had the same effect on the "Trinidad"-Machine when
I open a new project and copy he sources into a new project :-), no
error but no rendering :-(.
Btw. is it possible that this is caused by Windows XP which is running
on both platforms as deveopment platform? I haven't tried that with
Linux yet, but I will give it a try if there is a chance to get it
running (because final target env is also Linux).
I also used a proposed config which Tom Colt has sent to me a few days
ago. Libs in the classpath are JBOSS-client (client-dir), JBOSS-server
(server/default/lib), jsf-libs from JBOSS, and following list (lying in
the WEB-INF/lib):
commons-validator-1.3.1
commons-fileupload-1.2
commons-lang-2.3
commons-el-1.0
commons-io-1.3.1
commons-codec-1.3
tomahawk-1.1.6
Any idea will be welcome!
Regards,
Michael
simon schrieb:
> Hi Michael,
>
> The problem is most likely caused by some clash of libs in the classpath
> on your machine.
>
> There are people who are definitely using this combination, so the
> problem is specific to your machine, not a JSF12+tomahawk problem in
> general. And that means that if someone does try to duplicate your
> problem, it probably will work fine for them.
>
> Of course that's no consolation to you; we've all been stuck in that
> kind of situation at some time.
>
> Regards,
>
> Simon
Re: [Tomahawk 1.1.6] ExtensionFilter throws
NoClassDefFoundException when loading page
Posted by simon <si...@chello.at>.
Hi Michael,
The problem is most likely caused by some clash of libs in the classpath
on your machine.
There are people who are definitely using this combination, so the
problem is specific to your machine, not a JSF12+tomahawk problem in
general. And that means that if someone does try to duplicate your
problem, it probably will work fine for them.
Of course that's no consolation to you; we've all been stuck in that
kind of situation at some time.
Regards,
Simon
On Wed, 2007-10-03 at 22:15 +0200, Michael Obster wrote:
> Ok. Solution search in over 3 days. Change to JBOSS JSF 1.2...
>
> The result is I get Tomahawk loaded but no t-tag is rendered and no
> error is present. This is annoying and I will reimplement the software
> in struts, because this framework runs. Looks like JSF is a topic when a
> compatible release of tomahawk for JSF 1.2 is present :-(.
>
> Cheers,
> Michael
>
> Anton Gavazuk schrieb:
> > Hello Michael
> > I also have this trouble - but have not found any solution
> > http://www.jboss.com/index.html?module=bb&op=viewtopic&t=112370
> >
> > 2007/10/1, Michael Obster <mi...@obster.org>:
> >> Hmm still trying to get it work since about 6 hours :-(. No solution
> >> yet. The strange thing is the line 94 of the MyfacesConfig.java in
> >> Tomahawk which throws the Exception:
> >> ------------------------
> >> static
> >> {
> >> boolean tomahawkAvailable;
> >> try
> >> {
> >> ClassUtils.classForName("org.apache.myfaces.webapp.filter.ExtensionsFilter");
> >> // line 94 ^^
> >> tomahawkAvailable = true;
> >> }
> >> catch (ClassNotFoundException e)
> >> {
> >> tomahawkAvailable = false;
> >> }
> >> TOMAHAWK_AVAILABLE = tomahawkAvailable;
> >> }
> >> -------------------------
> >>
> >> The ExtensionFilter is also part of the tomahawk.jar, so normally should
> >> be loadable. Also strange for me is the thrown ClassNotFoundException,
> >> because you see there is a catch block... so I'm at my wits' end :-(.
> >>
> >> I'll attach my config as well, to get this point clearer. Did I hit a
> >> serious bug in Tomahawk? I also tried to compile a Tomahawk snapshot
> >> from svn for MyFaces 1.2 but got the same error :-(.
> >>
> >> Cheers,
> >> Michael
> >>
> >> Michael Obster schrieb:
> >>> Hi,
> >>>
> >>> again a problem after migration to 1.2.0 which I cannot solve :-(.
> >>>
> >>> My application (MyFaces 1.2.0 Tomahawk 1.1.6 Trinidad 1.2.2) get started
> >>> correctly by JBoss 4.2.1 but when I'm lodaing a JSF page I got the
> >>> attached error.
> >>>
> >>> Also I've searched already in the MyFaces wiki and Google but don't find
> >>> a solution :-(. The only anomaly is that I'm using Tiles in the
> >>> application.
> >>>
> >>> If you need the configs, please let me know, because I don't want to
> >>> send them on the list.
> >>>
> >>> Cheers,
> >>> Michael
> >>>
> >>
> >>
>
Re: [Tomahawk 1.1.6] ExtensionFilter throws NoClassDefFoundException
when loading page
Posted by Michael Obster <mi...@obster.org>.
Ok. Solution search in over 3 days. Change to JBOSS JSF 1.2...
The result is I get Tomahawk loaded but no t-tag is rendered and no
error is present. This is annoying and I will reimplement the software
in struts, because this framework runs. Looks like JSF is a topic when a
compatible release of tomahawk for JSF 1.2 is present :-(.
Cheers,
Michael
Anton Gavazuk schrieb:
> Hello Michael
> I also have this trouble - but have not found any solution
> http://www.jboss.com/index.html?module=bb&op=viewtopic&t=112370
>
> 2007/10/1, Michael Obster <mi...@obster.org>:
>> Hmm still trying to get it work since about 6 hours :-(. No solution
>> yet. The strange thing is the line 94 of the MyfacesConfig.java in
>> Tomahawk which throws the Exception:
>> ------------------------
>> static
>> {
>> boolean tomahawkAvailable;
>> try
>> {
>> ClassUtils.classForName("org.apache.myfaces.webapp.filter.ExtensionsFilter");
>> // line 94 ^^
>> tomahawkAvailable = true;
>> }
>> catch (ClassNotFoundException e)
>> {
>> tomahawkAvailable = false;
>> }
>> TOMAHAWK_AVAILABLE = tomahawkAvailable;
>> }
>> -------------------------
>>
>> The ExtensionFilter is also part of the tomahawk.jar, so normally should
>> be loadable. Also strange for me is the thrown ClassNotFoundException,
>> because you see there is a catch block... so I'm at my wits' end :-(.
>>
>> I'll attach my config as well, to get this point clearer. Did I hit a
>> serious bug in Tomahawk? I also tried to compile a Tomahawk snapshot
>> from svn for MyFaces 1.2 but got the same error :-(.
>>
>> Cheers,
>> Michael
>>
>> Michael Obster schrieb:
>>> Hi,
>>>
>>> again a problem after migration to 1.2.0 which I cannot solve :-(.
>>>
>>> My application (MyFaces 1.2.0 Tomahawk 1.1.6 Trinidad 1.2.2) get started
>>> correctly by JBoss 4.2.1 but when I'm lodaing a JSF page I got the
>>> attached error.
>>>
>>> Also I've searched already in the MyFaces wiki and Google but don't find
>>> a solution :-(. The only anomaly is that I'm using Tiles in the
>>> application.
>>>
>>> If you need the configs, please let me know, because I don't want to
>>> send them on the list.
>>>
>>> Cheers,
>>> Michael
>>>
>>
>>
Re: [Tomahawk 1.1.6] ExtensionFilter throws NoClassDefFoundException when loading page
Posted by Anton Gavazuk <an...@gmail.com>.
Hello Michael
I also have this trouble - but have not found any solution
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=112370
2007/10/1, Michael Obster <mi...@obster.org>:
> Hmm still trying to get it work since about 6 hours :-(. No solution
> yet. The strange thing is the line 94 of the MyfacesConfig.java in
> Tomahawk which throws the Exception:
> ------------------------
> static
> {
> boolean tomahawkAvailable;
> try
> {
> ClassUtils.classForName("org.apache.myfaces.webapp.filter.ExtensionsFilter");
> // line 94 ^^
> tomahawkAvailable = true;
> }
> catch (ClassNotFoundException e)
> {
> tomahawkAvailable = false;
> }
> TOMAHAWK_AVAILABLE = tomahawkAvailable;
> }
> -------------------------
>
> The ExtensionFilter is also part of the tomahawk.jar, so normally should
> be loadable. Also strange for me is the thrown ClassNotFoundException,
> because you see there is a catch block... so I'm at my wits' end :-(.
>
> I'll attach my config as well, to get this point clearer. Did I hit a
> serious bug in Tomahawk? I also tried to compile a Tomahawk snapshot
> from svn for MyFaces 1.2 but got the same error :-(.
>
> Cheers,
> Michael
>
> Michael Obster schrieb:
> > Hi,
> >
> > again a problem after migration to 1.2.0 which I cannot solve :-(.
> >
> > My application (MyFaces 1.2.0 Tomahawk 1.1.6 Trinidad 1.2.2) get started
> > correctly by JBoss 4.2.1 but when I'm lodaing a JSF page I got the
> > attached error.
> >
> > Also I've searched already in the MyFaces wiki and Google but don't find
> > a solution :-(. The only anomaly is that I'm using Tiles in the
> > application.
> >
> > If you need the configs, please let me know, because I don't want to
> > send them on the list.
> >
> > Cheers,
> > Michael
> >
>
>
>