tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastiaan van Erk <sebs...@sebster.com>
Subject Re: tomcat calls StandardContext.stop() from StandardContext.start()
Date Fri, 02 May 2008 22:07:14 GMT
Hi,

It turns out I forgot to fill in the context name in the project 
properties of the sysdeo plugin and it was using context name "". Ooops!

I would of course prefer an error message instead of the strange 
behavior described below. :-)

Regards,
Sebastiaan

Sebastiaan van Erk wrote:
> Hi,
> 
> I'm having a problem I've never had before, and I can't for the life of 
> me figure out what's going on. My web application is calling
> StandardContext.stop() from StandardContext.start() (6.0.16).
> 
> Below is the full trace. If any other information is needed, please let 
> me know. (I'm running from the sysdeo tomcat plugin in eclipse, and an 
> "update context" causes tomcat to redeploy, and then it DOES stay).
> 
> Anybody have a clue what could cause this, and how to fix it?
> 
> Any help is appreciated!
> 
> Regards,
> Sebastiaan
> 
> Thread [main] (Suspended (breakpoint at line 302 in FileChannelPool))   
>     owns: FileChannelPool  (id=61)   
>     owns: HashMap<K,V>  (id=62)   
>     owns: StandardContext  (id=63)   
>     owns: DefaultMBeanServerInterceptor  (id=64)   
>     owns: StandardContext  (id=65)   
>     owns: HashMap<K,V>  (id=66)   
>     owns: StandardHost  (id=67)   
>     owns: StandardEngine  (id=68)   
>     owns: Service[]  (id=69)   
>     FileChannelPool.destroy() line: 302   
>     DiskPageStore.destroy() line: 640   
>     SecondLevelCacheSessionStore.destroy() line: 693   
>     WebSiteApplication(WebApplication).internalDestroy() line: 449   
>     WicketFilter.destroy() line: 143   
>     ApplicationFilterConfig.release() line: 332   
>     StandardContext.filterStop() line: 3744   
> --->    StandardContext.stop() line: 4506   
>     StandardContext.preDeregister() line: 5248   
>     BaseModelMBean.preDeregister() line: 1130   
>     MetaDataImpl$PrivateDynamicMeta(BaseMetaDataImpl).preDeregisterInvoker(Object) 
> line: 122   
>     MetaDataImpl.preDeregisterInvoker(Object) line: 251   
>     DefaultMBeanServerInterceptor.unregisterMBean(ObjectName) line: 377   
>     JmxMBeanServer.unregisterMBean(ObjectName) line: 527   
>     Registry.unregisterComponent(ObjectName) line: 574   
> --->    StandardContext.start() line: 4101
>     StandardHost(ContainerBase).addChildInternal(Container) line: 791   
>     StandardHost(ContainerBase).addChild(Container) line: 771   
>     StandardHost.addChild(Container) line: 525   
>     HostConfig.deployDirectory(String, File, String) line: 924   
>     HostConfig.deployDirectories(File, String[]) line: 887   
>     HostConfig.deployApps() line: 492   
>     HostConfig.start() line: 1147   
>     HostConfig.lifecycleEvent(LifecycleEvent) line: 311   
>     LifecycleSupport.fireLifecycleEvent(String, Object) line: 117   
>     StandardHost(ContainerBase).start() line: 1053   
>     StandardHost.start() line: 719   
>     StandardEngine(ContainerBase).start() line: 1045   
>     StandardEngine.start() line: 443   
>     StandardService.start() line: 516   
>     StandardServer.start() line: 710   
>     Catalina.start() line: 578   
>     NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not 
> available [native method]   
>     NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39   
>     DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25   
>     Method.invoke(Object, Object...) line: 585   
>     Bootstrap.start() line: 288   
>     Bootstrap.main(String[]) line: 413   
> 

Mime
View raw message