tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bocalinda <bocali...@gmail.com>
Subject Re: Connection between ListenerStart and clustering
Date Fri, 02 Oct 2009 19:21:07 GMT
Hi, I'm back again.

I figured out why I got a ListenerStart Error, or at least, I got a nicer
error message.
However, I don't get it why my Tomcat servers start sometimes without
problems, and other times show the ListenerStart Error.

After restarting Tomcat a few times, the problem automatically goes away.

This is the error that I got:

02-oct-2009 20:56:07 org.apache.catalina.core.StandardContext listenerStart
GRAVE: Error configurando escuchador de aplicación de clase
es.ja.sae.eureka.listener.InitListener
java.lang.NoClassDefFoundError:
org/springframework/web/context/ContextLoaderListener
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1302)
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
        at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3877)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
        at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:850)
        at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:724)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:493)
        at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:516)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
        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:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.ClassNotFoundException:
org.springframework.web.context.ContextLoaderListener
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        ... 37 more
02-oct-2009 20:56:07 org.apache.catalina.core.StandardContext listenerStart
GRAVE: Se ha saltado la instalación de escuchadores de aplicación debido a
error(es) previo(s)

The class mentioned is actually there....
java.lang.NoClassDefFoundError:
org/springframework/web/context/ContextLoaderListener


2009/10/2 Filip Hanik - Dev Lists <devlists@hanik.com>

> Correct, not denying nor confirming. I'm informing you that your log files
> would tell you what the actual error is :)
>
> Filip
>
>
> On 10/02/2009 10:32 AM, Bocalinda wrote:
>
>> Hi Filip.
>>
>> I'm using version 6.0.20.
>> You are not denying that the clustering could cause a ListenerStart Error,
>> is that correct?
>>
>> 2009/10/2 Filip Hanik - Dev Lists<devlists@hanik.com>
>>
>>
>>
>>> listenerStart error will have a stack trace in another log file depending
>>> on what version of Tomcat you are using.
>>> That stack trace will take out the guess work of what actually went wrong
>>>
>>> best
>>> Filip
>>>
>>>
>>> On 10/02/2009 10:12 AM, Bocalinda wrote:
>>>
>>>
>>>
>>>> Hi again,
>>>>
>>>> I obviously meant ListenerStart Error.
>>>>
>>>>
>>>>
>>>> 2009/10/2 Bocalinda<bocalinda@gmail.com>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> Hi List,
>>>>>
>>>>> Maybe this is a very stupid question, but I am wondering whether a
>>>>> ListenerStart of an application could be related in any possible way
to
>>>>> problems with the Tomcat cluster?
>>>>>
>>>>> Thanks in advance.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>>
>>>
>>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message