You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Stefan Zoller <zo...@climate.unibe.ch> on 2005/10/02 23:08:21 UTC

confusion about jars in newest release

Hi all,

I am confused about the jar files in release 1.1.0. In the binary 
distribution I find these jars:
myfaces-all.jar, myfaces-api.jar, myfaces-impl.jar

But in the example I find:
commons-beanutils.jar, commons-codec.jar, etc..., as it is also 
described in the "Getting Started with MyFaces" section under "Using 
MyFaces in your own web application".

When I try to run a project (developed earlier, using MyFaces 1.0.9) 
with the new jars, it runs fine with the jars from the example but it 
fails with the jars from the release, with:
Exception sending context initialized event to listener instance of 
class org.apache.myfaces.webapp.StartupServletContextListener
java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
...

Any hint on what I am missing here is much appreciated!

Thanks,

Stefan





Re: confusion about jars in newest release

Posted by Sean Schofield <se...@gmail.com>.
We distribute commons and other third party jars in the examples as a
convenience but they are not part of myfaces so they are not in the
binary release.  Also, many users already have these jars installed on
their servers anyways.  Finally, some of the jars are specific to
limited areas of tomahawk.  So its overkill to install them if you are
not using tomahawk or if you are not using the relevant portion of
tomahawk.

sean

On 10/3/05, Bill Dudney <bd...@mac.com> wrote:
> Its part of commons
>
> jakarta.apache.org/commons
>
> HTH,
>
> -bd-
>
> On Oct 3, 2005, at 2:00 AM, Stefan Zoller wrote:
>
> > Thanks for the hint.
> > I would have assumed that the digester jar file is in the
> > distribution by default? Or do I have to get that somewhere else?
> >
> > Stefan
> >
> >
> >> Hi Stefan,
> >>
> >> Not sure what is happening but it looks like you don't have the
> >> digester jar file in your deployed war file.
> >>
> >> Is it possible that this file was previously available to your
> >> app  server (the dependency is not new) like in a shared directory
> >> or  something like that?
> >>
> >> HTH,
> >>
> >> -bd-
> >>
> >> On Oct 2, 2005, at 3:08 PM, Stefan Zoller wrote:
> >>
> >>
> >>> Hi all,
> >>>
> >>> I am confused about the jar files in release 1.1.0. In the
> >>> binary  distribution I find these jars:
> >>> myfaces-all.jar, myfaces-api.jar, myfaces-impl.jar
> >>>
> >>> But in the example I find:
> >>> commons-beanutils.jar, commons-codec.jar, etc..., as it is also
> >>> described in the "Getting Started with MyFaces" section under
> >>> "Using MyFaces in your own web application".
> >>>
> >>> When I try to run a project (developed earlier, using MyFaces
> >>> 1.0.9) with the new jars, it runs fine with the jars from the
> >>> example but it fails with the jars from the release, with:
> >>> Exception sending context initialized event to listener instance
> >>> of  class org.apache.myfaces.webapp.StartupServletContextListener
> >>> java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
> >>> ...
> >>>
> >>> Any hint on what I am missing here is much appreciated!
> >>>
> >>> Thanks,
> >>>
> >>> Stefan
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >
> >
> >
>
>

Re: confusion about jars in newest release

Posted by Bill Dudney <bd...@mac.com>.
Its part of commons

jakarta.apache.org/commons

HTH,

-bd-

On Oct 3, 2005, at 2:00 AM, Stefan Zoller wrote:

> Thanks for the hint.
> I would have assumed that the digester jar file is in the  
> distribution by default? Or do I have to get that somewhere else?
>
> Stefan
>
>
>> Hi Stefan,
>>
>> Not sure what is happening but it looks like you don't have the   
>> digester jar file in your deployed war file.
>>
>> Is it possible that this file was previously available to your  
>> app  server (the dependency is not new) like in a shared directory  
>> or  something like that?
>>
>> HTH,
>>
>> -bd-
>>
>> On Oct 2, 2005, at 3:08 PM, Stefan Zoller wrote:
>>
>>
>>> Hi all,
>>>
>>> I am confused about the jar files in release 1.1.0. In the  
>>> binary  distribution I find these jars:
>>> myfaces-all.jar, myfaces-api.jar, myfaces-impl.jar
>>>
>>> But in the example I find:
>>> commons-beanutils.jar, commons-codec.jar, etc..., as it is also   
>>> described in the "Getting Started with MyFaces" section under   
>>> "Using MyFaces in your own web application".
>>>
>>> When I try to run a project (developed earlier, using MyFaces   
>>> 1.0.9) with the new jars, it runs fine with the jars from the   
>>> example but it fails with the jars from the release, with:
>>> Exception sending context initialized event to listener instance  
>>> of  class org.apache.myfaces.webapp.StartupServletContextListener
>>> java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
>>> ...
>>>
>>> Any hint on what I am missing here is much appreciated!
>>>
>>> Thanks,
>>>
>>> Stefan
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>
>
>


Re: confusion about jars in newest release

Posted by Stefan Zoller <zo...@climate.unibe.ch>.
Thanks for the hint.
I would have assumed that the digester jar file is in the distribution 
by default? Or do I have to get that somewhere else?

Stefan

> Hi Stefan,
>
> Not sure what is happening but it looks like you don't have the  
> digester jar file in your deployed war file.
>
> Is it possible that this file was previously available to your app  
> server (the dependency is not new) like in a shared directory or  
> something like that?
>
> HTH,
>
> -bd-
>
> On Oct 2, 2005, at 3:08 PM, Stefan Zoller wrote:
>
>> Hi all,
>>
>> I am confused about the jar files in release 1.1.0. In the binary  
>> distribution I find these jars:
>> myfaces-all.jar, myfaces-api.jar, myfaces-impl.jar
>>
>> But in the example I find:
>> commons-beanutils.jar, commons-codec.jar, etc..., as it is also  
>> described in the "Getting Started with MyFaces" section under  "Using 
>> MyFaces in your own web application".
>>
>> When I try to run a project (developed earlier, using MyFaces  1.0.9) 
>> with the new jars, it runs fine with the jars from the  example but 
>> it fails with the jars from the release, with:
>> Exception sending context initialized event to listener instance of  
>> class org.apache.myfaces.webapp.StartupServletContextListener
>> java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
>> ...
>>
>> Any hint on what I am missing here is much appreciated!
>>
>> Thanks,
>>
>> Stefan
>>
>>
>>
>>
>>
>



Re: confusion about jars in newest release

Posted by Bill Dudney <bd...@mac.com>.
Hi Stefan,

Not sure what is happening but it looks like you don't have the  
digester jar file in your deployed war file.

Is it possible that this file was previously available to your app  
server (the dependency is not new) like in a shared directory or  
something like that?

HTH,

-bd-

On Oct 2, 2005, at 3:08 PM, Stefan Zoller wrote:

> Hi all,
>
> I am confused about the jar files in release 1.1.0. In the binary  
> distribution I find these jars:
> myfaces-all.jar, myfaces-api.jar, myfaces-impl.jar
>
> But in the example I find:
> commons-beanutils.jar, commons-codec.jar, etc..., as it is also  
> described in the "Getting Started with MyFaces" section under  
> "Using MyFaces in your own web application".
>
> When I try to run a project (developed earlier, using MyFaces  
> 1.0.9) with the new jars, it runs fine with the jars from the  
> example but it fails with the jars from the release, with:
> Exception sending context initialized event to listener instance of  
> class org.apache.myfaces.webapp.StartupServletContextListener
> java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
> ...
>
> Any hint on what I am missing here is much appreciated!
>
> Thanks,
>
> Stefan
>
>
>
>
>