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" <[email protected]>
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 <
>> [email protected].**com <[email protected]>>
>> 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 <
>>>> [email protected].****com 
>>>> <[email protected].**com<[email protected]>
>>>> >>
>>>> 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.
>>>>>
>>>>>
>>>>>
>

Reply via email to