You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Russell Collins <Co...@austin.rr.com> on 2013/02/02 21:21:15 UTC

JSF com.sun.faces.config.ConfigureListener

I am using tomee version 1.5.1.  I am trying to deploy a JSF web 
application to the server.  When the server starts up I get this error


eb 2, 2013 2:02:39 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class 
com.sun.faces.config.ConfigureListener
java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener
     at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
     at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
     at 
org.apache.tomee.catalina.LazyStopWebappClassLoader.loadClass(LazyStopWebappClassLoader.java:98)
     at 
org.apache.tomee.catalina.JavaeeInstanceManager.newInstance(JavaeeInstanceManager.java:54)
     at 
org.apache.tomee.catalina.JavaeeInstanceManager.newInstance(JavaeeInstanceManager.java:48)
     at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4727)
     at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
     at 
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1560)
     at 
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
     at java.util.concurrent.FutureTask.run(FutureTask.java:139)
     at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
     at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:909)
     at java.lang.Thread.run(Thread.java:662)
Feb 2, 2013 2:02:39 PM org.apache.catalina.core.StandardContext 
listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
Feb 2, 2013 2:02:39 PM org.apache.catalina.core.StandardContext 
startInternal
SEVERE: Error listenerStart
Feb 2, 2013 2:02:39 PM org.apache.catalina.core.StandardContext 
startInternal
SEVERE: Context [/acc] startup failed due to previous errors
Feb 2, 2013 2:02:39 PM org.apache.openejb.assembler.classic.Assembler 
destroyApplication

and then my app gets undeployed.


INFO: Undeploying app: /opt/tomee-1.5.1/wtpwebapps/acc-web



What am I missing?  Do I need to specify a listener?  I am not trying to 
use Mojarra would like to use MyFaces.

Re: JSF com.sun.faces.config.ConfigureListener

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi, can you open an issue please? I think i know the cause.

If you can share a sample to reproduce it would be perfect
Le 2 févr. 2013 23:20, "John D. Ament" <jo...@gmail.com> a écrit :

> sorry - and your web.xml
>
>
> On Sat, Feb 2, 2013 at 5:13 PM, Russell Collins <
> Collins-Solutions@austin.rr.com> wrote:
>
> > <?xml version="1.0" encoding="UTF-8"?>
> > <!-- This file is not required if you don't need any extra configuration.
> > -->
> > <faces-config version="2.0"
> >    xmlns="http://java.sun.com/**xml/ns/javaee<
> http://java.sun.com/xml/ns/javaee>
> > "
> >    xmlns:xsi="http://www.w3.org/**2001/XMLSchema-instance<
> http://www.w3.org/2001/XMLSchema-instance>
> > "
> >    xsi:schemaLocation="
> >       http://java.sun.com/xml/ns/**javaee<
> http://java.sun.com/xml/ns/javaee>
> > http://java.sun.com/xml/ns/**javaee/web-facesconfig_2_0.xsd<
> http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd>
> > **">
> >
> >    <!-- Write your navigation rules here. You are encouraged to use CDI
> > for creating @Named managed beans. -->
> >     <application />
> > </faces-config>
> >
> >
> >
> > On 02/02/2013 04:10 PM, John D. Ament wrote:
> >
> >> What are the contents of your faces-config.xml?
> >>
> >>
> >> On Sat, Feb 2, 2013 at 3:21 PM, Russell Collins <
> >> Collins-Solutions@austin.rr.**com <Co...@austin.rr.com>>
> >> wrote:
> >>
> >>  I am using tomee version 1.5.1.  I am trying to deploy a JSF web
> >>> application to the server.  When the server starts up I get this error
> >>>
> >>>
> >>> eb 2, 2013 2:02:39 PM org.apache.catalina.core.****StandardContext
> >>>
> >>> listenerStart
> >>> SEVERE: Error configuring application listener of class
> >>> com.sun.faces.config.****ConfigureListener
> >>> java.lang.****ClassNotFoundException: com.sun.faces.config.**
> >>> ConfigureListener
> >>>      at org.apache.catalina.loader.****WebappClassLoader.loadClass(**
> >>> WebappClassLoader.java:1714)
> >>>      at org.apache.catalina.loader.****WebappClassLoader.loadClass(**
> >>> WebappClassLoader.java:1559)
> >>>      at org.apache.tomee.catalina.****LazyStopWebappClassLoader.****
> >>> loadClass(*
> >>> *LazyStopWebappClassLoader.****java:98)
> >>>      at org.apache.tomee.catalina.****JavaeeInstanceManager.****
> >>> newInstance(**
> >>> JavaeeInstanceManager.java:54)
> >>>      at org.apache.tomee.catalina.****JavaeeInstanceManager.****
> >>> newInstance(**
> >>> JavaeeInstanceManager.java:48)
> >>>      at org.apache.catalina.core.****StandardContext.listenerStart(****
> >>> StandardContext.java:4727)
> >>>      at org.apache.catalina.core.****StandardContext.startInternal(****
> >>> StandardContext.java:5285)
> >>>      at org.apache.catalina.util.****LifecycleBase.start(**
> >>> LifecycleBase.java:150)
> >>>      at org.apache.catalina.core.****ContainerBase$StartChild.call(****
> >>> ContainerBase.java:1560)
> >>>      at org.apache.catalina.core.****ContainerBase$StartChild.call(****
> >>> ContainerBase.java:1549)
> >>>      at java.util.concurrent.****FutureTask$Sync.innerRun(**
> >>> FutureTask.java:303)
> >>>      at
> java.util.concurrent.****FutureTask.run(FutureTask.****java:139)
> >>>      at java.util.concurrent.****ThreadPoolExecutor$Worker.**
> >>> runTask(ThreadPoolExecutor.****java:886)
> >>>      at java.util.concurrent.****ThreadPoolExecutor$Worker.run(****
> >>> ThreadPoolExecutor.java:909)
> >>>      at java.lang.Thread.run(Thread.****java:662)
> >>> Feb 2, 2013 2:02:39 PM org.apache.catalina.core.****StandardContext
> >>>
> >>> listenerStart
> >>> SEVERE: Skipped installing application listeners due to previous
> error(s)
> >>> Feb 2, 2013 2:02:39 PM org.apache.catalina.core.****StandardContext
> >>> startInternal
> >>> SEVERE: Error listenerStart
> >>> Feb 2, 2013 2:02:39 PM org.apache.catalina.core.****StandardContext
> >>>
> >>> startInternal
> >>> SEVERE: Context [/acc] startup failed due to previous errors
> >>> Feb 2, 2013 2:02:39 PM org.apache.openejb.assembler.***
> >>> *classic.Assembler
> >>>
> >>> destroyApplication
> >>>
> >>> and then my app gets undeployed.
> >>>
> >>>
> >>> INFO: Undeploying app: /opt/tomee-1.5.1/wtpwebapps/****acc-web
> >>>
> >>>
> >>>
> >>>
> >>> What am I missing?  Do I need to specify a listener?  I am not trying
> to
> >>> use Mojarra would like to use MyFaces.
> >>>
> >>>
> >
>

Re: JSF com.sun.faces.config.ConfigureListener

Posted by Russell Collins <Co...@austin.rr.com>.
Thanks for your help.  It appears that you are correct.  I needed to 
clean up my .war file's class path (lib) in order to keep the errors 
from showing up.  I do not think I need to create a ticket at this time.

On 02/03/2013 06:02 AM, Romain Manni-Bucau wrote:
> Ps: just reread the first post, if you dont want mojarra check no
> dependencies are referring it. I think thats your issue in fact.
>   Le 3 févr. 2013 12:00, "Howard W. Smith, Jr." <sm...@gmail.com> a
> écrit :
>
>> Understood, thanks. :)
>>
>>
>> On Sun, Feb 3, 2013 at 5:37 AM, Romain Manni-Bucau <rmannibucau@gmail.com
>>> wrote:
>>> If it is a bug of 1.5.1 the fix has to be traced for next release
>> whatever
>>> the release date is
>>> Le 3 févr. 2013 10:33, "Howard W. Smith, Jr." <sm...@gmail.com> a
>>> écrit :
>>>
>>>> Smiling...
>>>>
>>>> Romain, it sounds like TomEE 1.5.2 is about to be released. is that the
>>>> reason why you are asking for an issue to be created?
>>>>
>>>> On Sun, Feb 3, 2013 at 2:29 AM, Romain Manni-Bucau <
>>> rmannibucau@gmail.com
>>>>> wrote:
>>>>> A workaround is to add to conf/system.properties
>>>>> openejb.classloader.forced-load=com.sun.faces but please open an
>> issue
>>> to
>>>>> get a nicer default
>>>>>


Re: JSF com.sun.faces.config.ConfigureListener

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Ps: just reread the first post, if you dont want mojarra check no
dependencies are referring it. I think thats your issue in fact.
 Le 3 févr. 2013 12:00, "Howard W. Smith, Jr." <sm...@gmail.com> a
écrit :

> Understood, thanks. :)
>
>
> On Sun, Feb 3, 2013 at 5:37 AM, Romain Manni-Bucau <rmannibucau@gmail.com
> >wrote:
>
> > If it is a bug of 1.5.1 the fix has to be traced for next release
> whatever
> > the release date is
> > Le 3 févr. 2013 10:33, "Howard W. Smith, Jr." <sm...@gmail.com> a
> > écrit :
> >
> > > Smiling...
> > >
> > > Romain, it sounds like TomEE 1.5.2 is about to be released. is that the
> > > reason why you are asking for an issue to be created?
> > >
> > > On Sun, Feb 3, 2013 at 2:29 AM, Romain Manni-Bucau <
> > rmannibucau@gmail.com
> > > >wrote:
> > >
> > > > A workaround is to add to conf/system.properties
> > > > openejb.classloader.forced-load=com.sun.faces but please open an
> issue
> > to
> > > > get a nicer default
> > > >
> > >
> >
>

Re: JSF com.sun.faces.config.ConfigureListener

Posted by "Howard W. Smith, Jr." <sm...@gmail.com>.
Understood, thanks. :)


On Sun, Feb 3, 2013 at 5:37 AM, Romain Manni-Bucau <rm...@gmail.com>wrote:

> If it is a bug of 1.5.1 the fix has to be traced for next release whatever
> the release date is
> Le 3 févr. 2013 10:33, "Howard W. Smith, Jr." <sm...@gmail.com> a
> écrit :
>
> > Smiling...
> >
> > Romain, it sounds like TomEE 1.5.2 is about to be released. is that the
> > reason why you are asking for an issue to be created?
> >
> > On Sun, Feb 3, 2013 at 2:29 AM, Romain Manni-Bucau <
> rmannibucau@gmail.com
> > >wrote:
> >
> > > A workaround is to add to conf/system.properties
> > > openejb.classloader.forced-load=com.sun.faces but please open an issue
> to
> > > get a nicer default
> > >
> >
>

Re: JSF com.sun.faces.config.ConfigureListener

Posted by Romain Manni-Bucau <rm...@gmail.com>.
If it is a bug of 1.5.1 the fix has to be traced for next release whatever
the release date is
Le 3 févr. 2013 10:33, "Howard W. Smith, Jr." <sm...@gmail.com> a
écrit :

> Smiling...
>
> Romain, it sounds like TomEE 1.5.2 is about to be released. is that the
> reason why you are asking for an issue to be created?
>
> On Sun, Feb 3, 2013 at 2:29 AM, Romain Manni-Bucau <rmannibucau@gmail.com
> >wrote:
>
> > A workaround is to add to conf/system.properties
> > openejb.classloader.forced-load=com.sun.faces but please open an issue to
> > get a nicer default
> >
>

Re: JSF com.sun.faces.config.ConfigureListener

Posted by "Howard W. Smith, Jr." <sm...@gmail.com>.
Smiling...

Romain, it sounds like TomEE 1.5.2 is about to be released. is that the
reason why you are asking for an issue to be created?

On Sun, Feb 3, 2013 at 2:29 AM, Romain Manni-Bucau <rm...@gmail.com>wrote:

> A workaround is to add to conf/system.properties
> openejb.classloader.forced-load=com.sun.faces but please open an issue to
> get a nicer default
>

Re: JSF com.sun.faces.config.ConfigureListener

Posted by Romain Manni-Bucau <rm...@gmail.com>.
A workaround is to add to conf/system.properties
openejb.classloader.forced-load=com.sun.faces but please open an issue to
get a nicer default
Le 3 févr. 2013 01:18, "Russell Collins" <Co...@austin.rr.com>
a écrit :

> web.xml
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <web-app xmlns:xsi="http://www.w3.org/**2001/XMLSchema-instance<http://www.w3.org/2001/XMLSchema-instance>"
> xmlns="http://java.sun.com/**xml/ns/javaee<http://java.sun.com/xml/ns/javaee>"
> xmlns:web="http://java.sun.**com/xml/ns/javaee/web-app_2_5.**xsd<http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd>"
> xsi:schemaLocation="http://**java.sun.com/xml/ns/javaee<http://java.sun.com/xml/ns/javaee>
> http://java.sun.com/xml/ns/**javaee/web-app_3_0.xsd<http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd>"
> version="3.0">
>     <display-name>acc</display-**name>
>     <welcome-file-list>
>         <welcome-file>home.jsf</**welcome-file>
>     </welcome-file-list>
>     <servlet>
>         <servlet-name>Faces Servlet</servlet-name>
> <servlet-class>javax.faces.**webapp.FacesServlet</servlet-**class>
>         <load-on-startup>1</load-on-**startup>
>     </servlet>
>     <servlet-mapping>
>        <servlet-name>Faces Servlet</servlet-name>
>        <url-pattern>*.jsf</url-**pattern>
>        <url-pattern>*.jsp</url-**pattern>
>        <url-pattern>*.faces</url-**pattern>
>     </servlet-mapping>
> </web-app>
>
>
> On 02/02/2013 04:19 PM, John D. Ament wrote:
>
>> sorry - and your web.xml
>>
>>
>> On Sat, Feb 2, 2013 at 5:13 PM, Russell Collins <
>> Collins-Solutions@austin.rr.**com <Co...@austin.rr.com>>
>> wrote:
>>
>>  <?xml version="1.0" encoding="UTF-8"?>
>>> <!-- This file is not required if you don't need any extra configuration.
>>> -->
>>> <faces-config version="2.0"
>>>     xmlns="http://java.sun.com/****xml/ns/javaee<http://java.sun.com/**xml/ns/javaee>
>>> <http://java.sun.**com/xml/ns/javaee <http://java.sun.com/xml/ns/javaee>
>>> >
>>> "
>>>     xmlns:xsi="http://www.w3.org/****2001/XMLSchema-instance<http://www.w3.org/**2001/XMLSchema-instance>
>>> <http:**//www.w3.org/2001/XMLSchema-**instance<http://www.w3.org/2001/XMLSchema-instance>
>>> >
>>> "
>>>     xsi:schemaLocation="
>>>        http://java.sun.com/xml/ns/****javaee<http://java.sun.com/xml/ns/**javaee>
>>> <http://java.sun.com/**xml/ns/javaee <http://java.sun.com/xml/ns/javaee>
>>> >
>>> http://java.sun.com/xml/ns/****javaee/web-facesconfig_2_0.xsd<http://java.sun.com/xml/ns/**javaee/web-facesconfig_2_0.xsd>
>>> **<http://java.sun.com/xml/ns/**javaee/web-facesconfig_2_0.xsd<http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd>
>>> **>
>>> **">
>>>
>>>     <!-- Write your navigation rules here. You are encouraged to use CDI
>>> for creating @Named managed beans. -->
>>>      <application />
>>> </faces-config>
>>>
>>>
>>>
>>> On 02/02/2013 04:10 PM, John D. Ament wrote:
>>>
>>>  What are the contents of your faces-config.xml?
>>>>
>>>>
>>>> On Sat, Feb 2, 2013 at 3:21 PM, Russell Collins <
>>>> Collins-Solutions@austin.rr.****com <Co...@austin.rr.com>
>>>> >>
>>>> wrote:
>>>>
>>>>   I am using tomee version 1.5.1.  I am trying to deploy a JSF web
>>>>
>>>>> application to the server.  When the server starts up I get this error
>>>>>
>>>>>
>>>>> eb 2, 2013 2:02:39 PM org.apache.catalina.core.******StandardContext
>>>>>
>>>>> listenerStart
>>>>> SEVERE: Error configuring application listener of class
>>>>> com.sun.faces.config.******ConfigureListener
>>>>> java.lang.******ClassNotFoundException: com.sun.faces.config.**
>>>>> ConfigureListener
>>>>>       at org.apache.catalina.loader.*****
>>>>> *WebappClassLoader.loadClass(****
>>>>> WebappClassLoader.java:1714)
>>>>>       at org.apache.catalina.loader.*****
>>>>> *WebappClassLoader.loadClass(****
>>>>> WebappClassLoader.java:1559)
>>>>>       at org.apache.tomee.catalina.******
>>>>> LazyStopWebappClassLoader.****
>>>>> loadClass(*
>>>>> *LazyStopWebappClassLoader.******java:98)
>>>>>       at org.apache.tomee.catalina.******JavaeeInstanceManager.****
>>>>> newInstance(**
>>>>> JavaeeInstanceManager.java:54)
>>>>>       at org.apache.tomee.catalina.******JavaeeInstanceManager.****
>>>>> newInstance(**
>>>>> JavaeeInstanceManager.java:48)
>>>>>       at org.apache.catalina.core.******StandardContext.listenerStart(
>>>>> ******
>>>>> StandardContext.java:4727)
>>>>>       at org.apache.catalina.core.******StandardContext.startInternal(
>>>>> ******
>>>>> StandardContext.java:5285)
>>>>>       at org.apache.catalina.util.******LifecycleBase.start(**
>>>>> LifecycleBase.java:150)
>>>>>       at org.apache.catalina.core.******ContainerBase$StartChild.call(
>>>>> ******
>>>>> ContainerBase.java:1560)
>>>>>       at org.apache.catalina.core.******ContainerBase$StartChild.call(
>>>>> ******
>>>>> ContainerBase.java:1549)
>>>>>       at java.util.concurrent.******FutureTask$Sync.innerRun(**
>>>>> FutureTask.java:303)
>>>>>       at java.util.concurrent.******FutureTask.run(FutureTask.******
>>>>> java:139)
>>>>>       at java.util.concurrent.******ThreadPoolExecutor$Worker.**
>>>>> runTask(ThreadPoolExecutor.******java:886)
>>>>>       at java.util.concurrent.******ThreadPoolExecutor$Worker.run(**
>>>>> ****
>>>>> ThreadPoolExecutor.java:909)
>>>>>       at java.lang.Thread.run(Thread.******java:662)
>>>>> Feb 2, 2013 2:02:39 PM org.apache.catalina.core.******StandardContext
>>>>>
>>>>> listenerStart
>>>>> SEVERE: Skipped installing application listeners due to previous
>>>>> error(s)
>>>>> Feb 2, 2013 2:02:39 PM org.apache.catalina.core.******StandardContext
>>>>> startInternal
>>>>> SEVERE: Error listenerStart
>>>>> Feb 2, 2013 2:02:39 PM org.apache.catalina.core.******StandardContext
>>>>>
>>>>> startInternal
>>>>> SEVERE: Context [/acc] startup failed due to previous errors
>>>>> Feb 2, 2013 2:02:39 PM org.apache.openejb.assembler.*****
>>>>> *classic.Assembler
>>>>>
>>>>> destroyApplication
>>>>>
>>>>> and then my app gets undeployed.
>>>>>
>>>>>
>>>>> INFO: Undeploying app: /opt/tomee-1.5.1/wtpwebapps/******acc-web
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> What am I missing?  Do I need to specify a listener?  I am not trying
>>>>> to
>>>>> use Mojarra would like to use MyFaces.
>>>>>
>>>>>
>>>>>
>

Re: JSF com.sun.faces.config.ConfigureListener

Posted by Russell Collins <Co...@austin.rr.com>.
web.xml


<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns="http://java.sun.com/xml/ns/javaee" 
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" 
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" version="3.0">
     <display-name>acc</display-name>
     <welcome-file-list>
         <welcome-file>home.jsf</welcome-file>
     </welcome-file-list>
     <servlet>
         <servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
         <load-on-startup>1</load-on-startup>
     </servlet>
     <servlet-mapping>
        <servlet-name>Faces Servlet</servlet-name>
        <url-pattern>*.jsf</url-pattern>
        <url-pattern>*.jsp</url-pattern>
        <url-pattern>*.faces</url-pattern>
     </servlet-mapping>
</web-app>


On 02/02/2013 04:19 PM, John D. Ament wrote:
> sorry - and your web.xml
>
>
> On Sat, Feb 2, 2013 at 5:13 PM, Russell Collins <
> Collins-Solutions@austin.rr.com> wrote:
>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <!-- This file is not required if you don't need any extra configuration.
>> -->
>> <faces-config version="2.0"
>>     xmlns="http://java.sun.com/**xml/ns/javaee<http://java.sun.com/xml/ns/javaee>
>> "
>>     xmlns:xsi="http://www.w3.org/**2001/XMLSchema-instance<http://www.w3.org/2001/XMLSchema-instance>
>> "
>>     xsi:schemaLocation="
>>        http://java.sun.com/xml/ns/**javaee<http://java.sun.com/xml/ns/javaee>
>> http://java.sun.com/xml/ns/**javaee/web-facesconfig_2_0.xsd<http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd>
>> **">
>>
>>     <!-- Write your navigation rules here. You are encouraged to use CDI
>> for creating @Named managed beans. -->
>>      <application />
>> </faces-config>
>>
>>
>>
>> On 02/02/2013 04:10 PM, John D. Ament wrote:
>>
>>> What are the contents of your faces-config.xml?
>>>
>>>
>>> On Sat, Feb 2, 2013 at 3:21 PM, Russell Collins <
>>> Collins-Solutions@austin.rr.**com <Co...@austin.rr.com>>
>>> wrote:
>>>
>>>   I am using tomee version 1.5.1.  I am trying to deploy a JSF web
>>>> application to the server.  When the server starts up I get this error
>>>>
>>>>
>>>> eb 2, 2013 2:02:39 PM org.apache.catalina.core.****StandardContext
>>>>
>>>> listenerStart
>>>> SEVERE: Error configuring application listener of class
>>>> com.sun.faces.config.****ConfigureListener
>>>> java.lang.****ClassNotFoundException: com.sun.faces.config.**
>>>> ConfigureListener
>>>>       at org.apache.catalina.loader.****WebappClassLoader.loadClass(**
>>>> WebappClassLoader.java:1714)
>>>>       at org.apache.catalina.loader.****WebappClassLoader.loadClass(**
>>>> WebappClassLoader.java:1559)
>>>>       at org.apache.tomee.catalina.****LazyStopWebappClassLoader.****
>>>> loadClass(*
>>>> *LazyStopWebappClassLoader.****java:98)
>>>>       at org.apache.tomee.catalina.****JavaeeInstanceManager.****
>>>> newInstance(**
>>>> JavaeeInstanceManager.java:54)
>>>>       at org.apache.tomee.catalina.****JavaeeInstanceManager.****
>>>> newInstance(**
>>>> JavaeeInstanceManager.java:48)
>>>>       at org.apache.catalina.core.****StandardContext.listenerStart(****
>>>> StandardContext.java:4727)
>>>>       at org.apache.catalina.core.****StandardContext.startInternal(****
>>>> StandardContext.java:5285)
>>>>       at org.apache.catalina.util.****LifecycleBase.start(**
>>>> LifecycleBase.java:150)
>>>>       at org.apache.catalina.core.****ContainerBase$StartChild.call(****
>>>> ContainerBase.java:1560)
>>>>       at org.apache.catalina.core.****ContainerBase$StartChild.call(****
>>>> ContainerBase.java:1549)
>>>>       at java.util.concurrent.****FutureTask$Sync.innerRun(**
>>>> FutureTask.java:303)
>>>>       at java.util.concurrent.****FutureTask.run(FutureTask.****java:139)
>>>>       at java.util.concurrent.****ThreadPoolExecutor$Worker.**
>>>> runTask(ThreadPoolExecutor.****java:886)
>>>>       at java.util.concurrent.****ThreadPoolExecutor$Worker.run(****
>>>> ThreadPoolExecutor.java:909)
>>>>       at java.lang.Thread.run(Thread.****java:662)
>>>> Feb 2, 2013 2:02:39 PM org.apache.catalina.core.****StandardContext
>>>>
>>>> listenerStart
>>>> SEVERE: Skipped installing application listeners due to previous error(s)
>>>> Feb 2, 2013 2:02:39 PM org.apache.catalina.core.****StandardContext
>>>> startInternal
>>>> SEVERE: Error listenerStart
>>>> Feb 2, 2013 2:02:39 PM org.apache.catalina.core.****StandardContext
>>>>
>>>> startInternal
>>>> SEVERE: Context [/acc] startup failed due to previous errors
>>>> Feb 2, 2013 2:02:39 PM org.apache.openejb.assembler.***
>>>> *classic.Assembler
>>>>
>>>> destroyApplication
>>>>
>>>> and then my app gets undeployed.
>>>>
>>>>
>>>> INFO: Undeploying app: /opt/tomee-1.5.1/wtpwebapps/****acc-web
>>>>
>>>>
>>>>
>>>>
>>>> What am I missing?  Do I need to specify a listener?  I am not trying to
>>>> use Mojarra would like to use MyFaces.
>>>>
>>>>


Re: JSF com.sun.faces.config.ConfigureListener

Posted by "John D. Ament" <jo...@gmail.com>.
sorry - and your web.xml


On Sat, Feb 2, 2013 at 5:13 PM, Russell Collins <
Collins-Solutions@austin.rr.com> wrote:

> <?xml version="1.0" encoding="UTF-8"?>
> <!-- This file is not required if you don't need any extra configuration.
> -->
> <faces-config version="2.0"
>    xmlns="http://java.sun.com/**xml/ns/javaee<http://java.sun.com/xml/ns/javaee>
> "
>    xmlns:xsi="http://www.w3.org/**2001/XMLSchema-instance<http://www.w3.org/2001/XMLSchema-instance>
> "
>    xsi:schemaLocation="
>       http://java.sun.com/xml/ns/**javaee<http://java.sun.com/xml/ns/javaee>
> http://java.sun.com/xml/ns/**javaee/web-facesconfig_2_0.xsd<http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd>
> **">
>
>    <!-- Write your navigation rules here. You are encouraged to use CDI
> for creating @Named managed beans. -->
>     <application />
> </faces-config>
>
>
>
> On 02/02/2013 04:10 PM, John D. Ament wrote:
>
>> What are the contents of your faces-config.xml?
>>
>>
>> On Sat, Feb 2, 2013 at 3:21 PM, Russell Collins <
>> Collins-Solutions@austin.rr.**com <Co...@austin.rr.com>>
>> wrote:
>>
>>  I am using tomee version 1.5.1.  I am trying to deploy a JSF web
>>> application to the server.  When the server starts up I get this error
>>>
>>>
>>> eb 2, 2013 2:02:39 PM org.apache.catalina.core.****StandardContext
>>>
>>> listenerStart
>>> SEVERE: Error configuring application listener of class
>>> com.sun.faces.config.****ConfigureListener
>>> java.lang.****ClassNotFoundException: com.sun.faces.config.**
>>> ConfigureListener
>>>      at org.apache.catalina.loader.****WebappClassLoader.loadClass(**
>>> WebappClassLoader.java:1714)
>>>      at org.apache.catalina.loader.****WebappClassLoader.loadClass(**
>>> WebappClassLoader.java:1559)
>>>      at org.apache.tomee.catalina.****LazyStopWebappClassLoader.****
>>> loadClass(*
>>> *LazyStopWebappClassLoader.****java:98)
>>>      at org.apache.tomee.catalina.****JavaeeInstanceManager.****
>>> newInstance(**
>>> JavaeeInstanceManager.java:54)
>>>      at org.apache.tomee.catalina.****JavaeeInstanceManager.****
>>> newInstance(**
>>> JavaeeInstanceManager.java:48)
>>>      at org.apache.catalina.core.****StandardContext.listenerStart(****
>>> StandardContext.java:4727)
>>>      at org.apache.catalina.core.****StandardContext.startInternal(****
>>> StandardContext.java:5285)
>>>      at org.apache.catalina.util.****LifecycleBase.start(**
>>> LifecycleBase.java:150)
>>>      at org.apache.catalina.core.****ContainerBase$StartChild.call(****
>>> ContainerBase.java:1560)
>>>      at org.apache.catalina.core.****ContainerBase$StartChild.call(****
>>> ContainerBase.java:1549)
>>>      at java.util.concurrent.****FutureTask$Sync.innerRun(**
>>> FutureTask.java:303)
>>>      at java.util.concurrent.****FutureTask.run(FutureTask.****java:139)
>>>      at java.util.concurrent.****ThreadPoolExecutor$Worker.**
>>> runTask(ThreadPoolExecutor.****java:886)
>>>      at java.util.concurrent.****ThreadPoolExecutor$Worker.run(****
>>> ThreadPoolExecutor.java:909)
>>>      at java.lang.Thread.run(Thread.****java:662)
>>> Feb 2, 2013 2:02:39 PM org.apache.catalina.core.****StandardContext
>>>
>>> listenerStart
>>> SEVERE: Skipped installing application listeners due to previous error(s)
>>> Feb 2, 2013 2:02:39 PM org.apache.catalina.core.****StandardContext
>>> startInternal
>>> SEVERE: Error listenerStart
>>> Feb 2, 2013 2:02:39 PM org.apache.catalina.core.****StandardContext
>>>
>>> startInternal
>>> SEVERE: Context [/acc] startup failed due to previous errors
>>> Feb 2, 2013 2:02:39 PM org.apache.openejb.assembler.***
>>> *classic.Assembler
>>>
>>> destroyApplication
>>>
>>> and then my app gets undeployed.
>>>
>>>
>>> INFO: Undeploying app: /opt/tomee-1.5.1/wtpwebapps/****acc-web
>>>
>>>
>>>
>>>
>>> What am I missing?  Do I need to specify a listener?  I am not trying to
>>> use Mojarra would like to use MyFaces.
>>>
>>>
>

Re: JSF com.sun.faces.config.ConfigureListener

Posted by Russell Collins <Co...@austin.rr.com>.
<?xml version="1.0" encoding="UTF-8"?>
<!-- This file is not required if you don't need any extra 
configuration. -->
<faces-config version="2.0"
    xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="
       http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd">

    <!-- Write your navigation rules here. You are encouraged to use CDI 
for creating @Named managed beans. -->
     <application />
</faces-config>


On 02/02/2013 04:10 PM, John D. Ament wrote:
> What are the contents of your faces-config.xml?
>
>
> On Sat, Feb 2, 2013 at 3:21 PM, Russell Collins <
> Collins-Solutions@austin.rr.com> wrote:
>
>> I am using tomee version 1.5.1.  I am trying to deploy a JSF web
>> application to the server.  When the server starts up I get this error
>>
>>
>> eb 2, 2013 2:02:39 PM org.apache.catalina.core.**StandardContext
>> listenerStart
>> SEVERE: Error configuring application listener of class
>> com.sun.faces.config.**ConfigureListener
>> java.lang.**ClassNotFoundException: com.sun.faces.config.**
>> ConfigureListener
>>      at org.apache.catalina.loader.**WebappClassLoader.loadClass(**
>> WebappClassLoader.java:1714)
>>      at org.apache.catalina.loader.**WebappClassLoader.loadClass(**
>> WebappClassLoader.java:1559)
>>      at org.apache.tomee.catalina.**LazyStopWebappClassLoader.**loadClass(*
>> *LazyStopWebappClassLoader.**java:98)
>>      at org.apache.tomee.catalina.**JavaeeInstanceManager.**newInstance(**
>> JavaeeInstanceManager.java:54)
>>      at org.apache.tomee.catalina.**JavaeeInstanceManager.**newInstance(**
>> JavaeeInstanceManager.java:48)
>>      at org.apache.catalina.core.**StandardContext.listenerStart(**
>> StandardContext.java:4727)
>>      at org.apache.catalina.core.**StandardContext.startInternal(**
>> StandardContext.java:5285)
>>      at org.apache.catalina.util.**LifecycleBase.start(**
>> LifecycleBase.java:150)
>>      at org.apache.catalina.core.**ContainerBase$StartChild.call(**
>> ContainerBase.java:1560)
>>      at org.apache.catalina.core.**ContainerBase$StartChild.call(**
>> ContainerBase.java:1549)
>>      at java.util.concurrent.**FutureTask$Sync.innerRun(**
>> FutureTask.java:303)
>>      at java.util.concurrent.**FutureTask.run(FutureTask.**java:139)
>>      at java.util.concurrent.**ThreadPoolExecutor$Worker.**
>> runTask(ThreadPoolExecutor.**java:886)
>>      at java.util.concurrent.**ThreadPoolExecutor$Worker.run(**
>> ThreadPoolExecutor.java:909)
>>      at java.lang.Thread.run(Thread.**java:662)
>> Feb 2, 2013 2:02:39 PM org.apache.catalina.core.**StandardContext
>> listenerStart
>> SEVERE: Skipped installing application listeners due to previous error(s)
>> Feb 2, 2013 2:02:39 PM org.apache.catalina.core.**StandardContext
>> startInternal
>> SEVERE: Error listenerStart
>> Feb 2, 2013 2:02:39 PM org.apache.catalina.core.**StandardContext
>> startInternal
>> SEVERE: Context [/acc] startup failed due to previous errors
>> Feb 2, 2013 2:02:39 PM org.apache.openejb.assembler.**classic.Assembler
>> destroyApplication
>>
>> and then my app gets undeployed.
>>
>>
>> INFO: Undeploying app: /opt/tomee-1.5.1/wtpwebapps/**acc-web
>>
>>
>>
>> What am I missing?  Do I need to specify a listener?  I am not trying to
>> use Mojarra would like to use MyFaces.
>>


Re: JSF com.sun.faces.config.ConfigureListener

Posted by "John D. Ament" <jo...@gmail.com>.
What are the contents of your faces-config.xml?


On Sat, Feb 2, 2013 at 3:21 PM, Russell Collins <
Collins-Solutions@austin.rr.com> wrote:

> I am using tomee version 1.5.1.  I am trying to deploy a JSF web
> application to the server.  When the server starts up I get this error
>
>
> eb 2, 2013 2:02:39 PM org.apache.catalina.core.**StandardContext
> listenerStart
> SEVERE: Error configuring application listener of class
> com.sun.faces.config.**ConfigureListener
> java.lang.**ClassNotFoundException: com.sun.faces.config.**
> ConfigureListener
>     at org.apache.catalina.loader.**WebappClassLoader.loadClass(**
> WebappClassLoader.java:1714)
>     at org.apache.catalina.loader.**WebappClassLoader.loadClass(**
> WebappClassLoader.java:1559)
>     at org.apache.tomee.catalina.**LazyStopWebappClassLoader.**loadClass(*
> *LazyStopWebappClassLoader.**java:98)
>     at org.apache.tomee.catalina.**JavaeeInstanceManager.**newInstance(**
> JavaeeInstanceManager.java:54)
>     at org.apache.tomee.catalina.**JavaeeInstanceManager.**newInstance(**
> JavaeeInstanceManager.java:48)
>     at org.apache.catalina.core.**StandardContext.listenerStart(**
> StandardContext.java:4727)
>     at org.apache.catalina.core.**StandardContext.startInternal(**
> StandardContext.java:5285)
>     at org.apache.catalina.util.**LifecycleBase.start(**
> LifecycleBase.java:150)
>     at org.apache.catalina.core.**ContainerBase$StartChild.call(**
> ContainerBase.java:1560)
>     at org.apache.catalina.core.**ContainerBase$StartChild.call(**
> ContainerBase.java:1549)
>     at java.util.concurrent.**FutureTask$Sync.innerRun(**
> FutureTask.java:303)
>     at java.util.concurrent.**FutureTask.run(FutureTask.**java:139)
>     at java.util.concurrent.**ThreadPoolExecutor$Worker.**
> runTask(ThreadPoolExecutor.**java:886)
>     at java.util.concurrent.**ThreadPoolExecutor$Worker.run(**
> ThreadPoolExecutor.java:909)
>     at java.lang.Thread.run(Thread.**java:662)
> Feb 2, 2013 2:02:39 PM org.apache.catalina.core.**StandardContext
> listenerStart
> SEVERE: Skipped installing application listeners due to previous error(s)
> Feb 2, 2013 2:02:39 PM org.apache.catalina.core.**StandardContext
> startInternal
> SEVERE: Error listenerStart
> Feb 2, 2013 2:02:39 PM org.apache.catalina.core.**StandardContext
> startInternal
> SEVERE: Context [/acc] startup failed due to previous errors
> Feb 2, 2013 2:02:39 PM org.apache.openejb.assembler.**classic.Assembler
> destroyApplication
>
> and then my app gets undeployed.
>
>
> INFO: Undeploying app: /opt/tomee-1.5.1/wtpwebapps/**acc-web
>
>
>
> What am I missing?  Do I need to specify a listener?  I am not trying to
> use Mojarra would like to use MyFaces.
>