You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by "Sarkar, Subhasis" <SS...@ETS.ORG> on 2006/06/29 16:51:42 UTC
Tomact 5.5 Incompatibility
Hi there,
I am trying to use MyFaces binary with Tomcat 5.5 but I am getting
following error before add any UI components. I just added myfaces jar
files in my war. Please suggest me what to do.
Jun 29, 2006 10:43:33 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jun 29, 2006 10:43:33 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/ModelManager] startup failed due to previous errors
Thanks
____________________________________________
Subhasis Sarkar, SR&T
Wood Hall
Rosedale Road & Carter Road
Princeton NJ 08541
609-734-1187
--------------------------------------------------
This e-mail and any files transmitted with it may contain privileged or confidential information.
It is solely for use by the individual for whom it is intended, even if addressed incorrectly.
If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute,
or take any action in reliance on the contents of this information; and delete it from
your system. Any other use of this e-mail is prohibited.
Thank you for your compliance.
--------------------------------------------------
Re: Tomact 5.5 Incompatibility
Posted by Bruno Aranda <br...@gmail.com>.
Can you post your web.xml file, and the list of myfaces jars used?
Regards,
Bruno
On 6/29/06, Sarkar, Subhasis <SS...@ets.org> wrote:
>
>
>
>
> Hi there,
> I am trying to use MyFaces binary with Tomcat 5.5 but I am getting following
> error before add any UI components. I just added myfaces jar files in my
> war. Please suggest me what to do.
>
> Jun 29, 2006 10:43:33 AM
> org.apache.catalina.core.StandardContext start
> SEVERE: Error listenerStart
> Jun 29, 2006 10:43:33 AM
> org.apache.catalina.core.StandardContext start
> SEVERE: Context [/ModelManager] startup failed due to previous errors
> Thanks
> ____________________________________________
> Subhasis Sarkar, SR&T
> Wood Hall
> Rosedale Road & Carter Road
> Princeton NJ 08541
> 609-734-1187
> --------------------------------------------------
> This e-mail and any files transmitted with it may contain privileged or
> confidential information.
> It is solely for use by the individual for whom it is intended, even if
> addressed incorrectly.
> If you received this e-mail in error, please notify the sender; do not
> disclose, copy, distribute,
> or take any action in reliance on the contents of this information; and
> delete it from
> your system. Any other use of this e-mail is prohibited.
>
> Thank you for your compliance.
> --------------------------------------------------
>
>
Re: Tomact 5.5 Incompatibility
Posted by Murray Brandon <mu...@hyro.com>.
You're correct - there is no problem with Tomcat. Tomcat 5.5 works
great and starts in a few seconds.
However Tomcat might log more detail on the message in its own logfile.
This detail is not shown in your message "SEVERE: Error listenerStart"
To get the real exception you need to go to the log file under
${TOMCAT_HOME}\logs\localhost.{todays date}.log
eg. in mine:
Mar 16, 2006 12:06:00 AM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Exception sending context initialized event to listener instance
of class com.sun.faces.config.ConfigureListener
*javax.faces.FacesException: Can't parse configuration file:
jndi:/localhost/aui/WEB-INF/faces-config.xml: Error at line 16 column
22: Element type "el-resolver" must be declared.*
at com.sun.faces.config.ConfigureListener.parse(Unknown Source)
at com.sun.faces.config.ConfigureListener.contextInitialized(Unknown
Source)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3727)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4162)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:804)
at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:693)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at
org.apache.catalina.core.StandardService.start(StandardService.java:450)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
or
Mar 16, 2006 12:11:55 AM 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:1352)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3675)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4162)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:804)
at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:693)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at
org.apache.catalina.core.StandardService.start(StandardService.java:450)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
taylan saldiray wrote:
> there is no problem with tomcat 5.5 it should work
>
> On 6/30/06, Murray Brandon <mu...@hyro.com> wrote:
>> The real error/stack trace will be in your Tomcat logs (see
>> ${TOMCAT_HOME}/logs - can you show us that?
>> > Sarkar, Subhasis wrote:
>> >>
>> >> Hi there,
>> >> I am trying to use MyFaces binary with Tomcat 5.5 but I am getting
>> >> following error before add any UI components. I just added myfaces
>> >> jar files in my war. Please suggest me what to do.
>> >>
>> >> *Jun 29, 2006 10:43:33 AM org.apache.catalina.core.StandardContext
>> >> start*
>> >> *SEVERE: Error listenerStart*
>> >> *Jun 29, 2006 10:43:33 AM org.apache.catalina.core.StandardContext
>> >> start*
>> >> *SEVERE: Context [/ModelManager] startup failed due to previous
>> errors*
>> >> Thanks
>> >> ____________________________________________
>> >> Subhasis Sarkar, SR&T
>> >> Wood Hall
>> >> Rosedale Road & Carter Road
>> >> Princeton NJ 08541
>> >> 609-734-1187
>>
>>
>
Re: Tomact 5.5 Incompatibility
Posted by taylan saldiray <ta...@gmail.com>.
there is no problem with tomcat 5.5 it should work
On 6/30/06, Murray Brandon <mu...@hyro.com> wrote:
> The real error/stack trace will be in your Tomcat logs (see
> ${TOMCAT_HOME}/logs - can you show us that?
> > Sarkar, Subhasis wrote:
> >>
> >> Hi there,
> >> I am trying to use MyFaces binary with Tomcat 5.5 but I am getting
> >> following error before add any UI components. I just added myfaces
> >> jar files in my war. Please suggest me what to do.
> >>
> >> *Jun 29, 2006 10:43:33 AM org.apache.catalina.core.StandardContext
> >> start*
> >> *SEVERE: Error listenerStart*
> >> *Jun 29, 2006 10:43:33 AM org.apache.catalina.core.StandardContext
> >> start*
> >> *SEVERE: Context [/ModelManager] startup failed due to previous errors*
> >> Thanks
> >> ____________________________________________
> >> Subhasis Sarkar, SR&T
> >> Wood Hall
> >> Rosedale Road & Carter Road
> >> Princeton NJ 08541
> >> 609-734-1187
>
>
Re: Tomact 5.5 Incompatibility
Posted by Murray Brandon <mu...@hyro.com>.
The real error/stack trace will be in your Tomcat logs (see
${TOMCAT_HOME}/logs - can you show us that?
> Sarkar, Subhasis wrote:
>>
>> Hi there,
>> I am trying to use MyFaces binary with Tomcat 5.5 but I am getting
>> following error before add any UI components. I just added myfaces
>> jar files in my war. Please suggest me what to do.
>>
>> *Jun 29, 2006 10:43:33 AM org.apache.catalina.core.StandardContext
>> start*
>> *SEVERE: Error listenerStart*
>> *Jun 29, 2006 10:43:33 AM org.apache.catalina.core.StandardContext
>> start*
>> *SEVERE: Context [/ModelManager] startup failed due to previous errors*
>> Thanks
>> ____________________________________________
>> Subhasis Sarkar, SR&T
>> Wood Hall
>> Rosedale Road & Carter Road
>> Princeton NJ 08541
>> 609-734-1187
Re: Tomact 5.5 Incompatibility
Posted by Matthias Fischer <Ma...@doubleSlash.de>.
I'm using Tomcat 5.5 too. Have you restartet Tomcat already and deleted
your workDir?
Once I ran across that error too, I'm not completely sure anymore what
the reason was, but I think a restart solved the problem.
Re: Tomact 5.5 Incompatibility
Posted by Murray Brandon <mu...@hyro.com>.
The real error/stack trace will be in your Tomcat logs (see
${TOMCAT_HOME}/logs - try showing us that.
Sarkar, Subhasis wrote:
>
> Hi there,
> I am trying to use MyFaces binary with Tomcat 5.5 but I am getting
> following error before add any UI components. I just added myfaces jar
> files in my war. Please suggest me what to do.
>
> *Jun 29, 2006 10:43:33 AM org.apache.catalina.core.StandardContext start*
> *SEVERE: Error listenerStart*
> *Jun 29, 2006 10:43:33 AM org.apache.catalina.core.StandardContext start*
> *SEVERE: Context [/ModelManager] startup failed due to previous errors*
> Thanks
> ____________________________________________
> Subhasis Sarkar, SR&T
> Wood Hall
> Rosedale Road & Carter Road
> Princeton NJ 08541
> 609-734-1187
>
>
> --------------------------------------------------
> This e-mail and any files transmitted with it may contain privileged or confidential information.
> It is solely for use by the individual for whom it is intended, even if addressed incorrectly.
> If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute,
> or take any action in reliance on the contents of this information; and delete it from
> your system. Any other use of this e-mail is prohibited.
>
> Thank you for your compliance.
> --------------------------------------------------
>