tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dale, Matt" <Matt.D...@beCogent.com>
Subject RE: Tomcat 4.1 random crashes
Date Mon, 11 Oct 2004 10:21:49 GMT
I can't see anything in there that would cause Tomcat to crash but you have a whole host of
errors to look at. Permission denied while accessing some files, a jar not loaded, unknown
host for a start plus more. I'd take these errors one at a time and try to correct them and
it will hopefully lead you to the root cause of the crashes.

Ta
Matt

-----Original Message-----
From: Richard Lewis [mailto:richardlewis@fastmail.co.uk]
Sent: 11 October 2004 10:54
To: Tomcat Users List
Subject: Re: Tomcat 4.1 random crashes


OK here's my $CATALINA_HOME/logs/catalina.out file from about 09:30  
this morning (BST).  At this point the server wasn't working and I did  
a restart:

11 Oct 2004 09:26:04,292 [Thread-14] DEBUG (BrokerPool.java [sync]:334)  
- syncing buffers to disk
11 Oct 2004 09:26:04,293 [Thread-14] INFO  (BTree.java  
[printStatistics]:1250) - elements.dbx INDEX 768 / 0 / 0 / 0
11 Oct 2004 09:26:04,294 [Thread-14] INFO  (BFile.java  
[printStatistics]:340) - elements.dbx DATA 2112 / 0 / 0 / 0
11 Oct 2004 09:26:04,294 [Thread-14] INFO  (BTree.java  
[printStatistics]:1250) - collections.dbx INDEX 1536 / 1 / 1 / 1
11 Oct 2004 09:26:04,295 [Thread-14] INFO  (BFile.java  
[printStatistics]:340) - collections.dbx DATA 1536 / 1 / 1 / 1
11 Oct 2004 09:26:04,296 [Thread-14] INFO  (BTree.java  
[printStatistics]:1250) - dom.dbx INDEX 768 / 1 / 121 / 1
11 Oct 2004 09:26:04,296 [Thread-14] INFO  (DOMFile.java  
[printStatistics]:587) - dom.dbx DATA 192 / 1 / 329 / 1
11 Oct 2004 09:26:04,298 [Thread-14] INFO  (BTree.java  
[printStatistics]:1250) - words.dbx INDEX 2688 / 0 / 0 / 0
11 Oct 2004 09:26:04,299 [Thread-14] INFO  (BFile.java  
[printStatistics]:340) - words.dbx DATA 2688 / 0 / 0 / 0
Stopping service Tomcat-Standalone
11-Oct-2004 09:27:03 org.apache.coyote.http11.Http11Protocol destroy
INFO: Stoping http11 protocol on 8080  
Catalina:type=ThreadPool,name=http8080
Mon Oct 11 09:27:05 BST 2004 SHUTDOWN : System.exit() was not called
- Scheduler Cocoon_$_Wed_Oct_06_16:15:37_BST_2004 paused.
- Scheduler Cocoon_$_Wed_Oct_06_16:15:37_BST_2004 shutting down.
- Scheduler Cocoon_$_Wed_Oct_06_16:15:37_BST_2004 paused.
- Scheduler Cocoon_$_Wed_Oct_06_16:15:37_BST_2004 shutdown complete.
- Called close for main
- Called close for groupIdCache
11-Oct-2004 09:27:09 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.30
11-Oct-2004 09:27:12 org.apache.struts.util.PropertyMessageResources  
<init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings',  
returnNull=true
11-Oct-2004 09:27:12 org.apache.struts.util.PropertyMessageResources  
<init>
INFO: Initializing, config='org.apache.struts.action.ActionResources',  
returnNull=true
11-Oct-2004 09:27:13 org.apache.struts.util.PropertyMessageResources  
<init>
INFO: Initializing,  
config='org.apache.webapp.admin.ApplicationResources', returnNull=true
trying to register database
trying to register database
- setting defaults to DC
- setting defaultCompositeCacheAttributes to [ useLateral = true,  
useRemote = true, useDisk = true, maxObjs = 100, maxSpoolPerRun = -1 ]
- Could not find value for key jcs.default.elementattributes
- Could not instantiate eAttr named 'jcs.default.elementattributes',  
using defaults.
- setting defaultElementAttributes to [ IS_LATERAL = false, IS_SPOOL =  
false, IS_REMOTE = false, IS_ETERNAL = true, MaxLifeSeconds = -1,  
IdleTime = -1, CreateTime = 1097483254871, LastAccessTime =  
1097483254871, getTimeToLiveSeconds() = -1001, createTime =  
1097483254871 ]
- Could not find value for key jcs.system.groupIdCache.elementattributes
- Could not instantiate eAttr named  
'jcs.system.groupIdCache.elementattributes', using defaults.
- initialized LRUMemoryCache for groupIdCache
- Constructed cache with name: groupIdCache
- Cache file root directory:  
/var/webapps/tomcat/work/Standalone/localhost/cocoon/cocoon-files/ 
cache-dir
- Failure initializing for fileName: groupIdCache and root directory:  
/var/webapps/tomcat/work/Standalone/localhost/cocoon/cocoon-files/ 
cache-dir
java.io.FileNotFoundException:  
/var/webapps/tomcat/work/Standalone/localhost/cocoon/cocoon-files/ 
cache-dir/groupIdCache.data (Permission denied)
	at java.io.RandomAccessFile.open(Native Method)
	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:204)
	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:94)
	at  
org.apache.jcs.auxiliary.disk.indexed.IndexedDisk.<init>(IndexedDisk.jav 
a:61)
	at  
org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache.<init>(IndexedDis 
kCache.java:94)
	at  
org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheManager.getCache(I 
ndexedDiskCacheManager.java:136)
	at  
org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory.createCach 
e(IndexedDiskCacheFactory.java:50)
	at  
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseAuxiliary( 
CompositeCacheConfigurator.java:413)
	at  
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion(Com 
positeCacheConfigurator.java:259)
	at  
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseSystemRegi 
ons(CompositeCacheConfigurator.java:161)
	at  
org.apache.jcs.engine.control.CompositeCacheConfigurator.doConfigure(Com 
positeCacheConfigurator.java:107)
	at  
org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeC 
acheManager.java:208)
	at  
org.apache.cocoon.components.store.impl.JCSDefaultStore.initialize(JCSDe 
faultStore.java:178)
	at  
org.apache.avalon.framework.container.ContainerUtil.initialize(Container 
Util.java:283)
	at  
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstanc 
e(DefaultComponentFactory.java:277)
	at  
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initial 
ize(ThreadSafeComponentHandler.java:108)
	at  
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initiali 
ze(ExcaliburComponentManager.java:522)
	at  
org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonCom 
ponentManager.java:527)
	at  
org.apache.avalon.framework.container.ContainerUtil.initialize(Container 
Util.java:283)
	at org.apache.cocoon.Cocoon.initialize(Cocoon.java:306)
	at  
org.apache.avalon.framework.container.ContainerUtil.initialize(Container 
Util.java:283)
	at  
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java: 
1360)
	at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:481)
	at  
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav 
a:935)
	at  
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
	at  
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j 
ava:3427)
	at  
org.apache.catalina.core.StandardContext.start(StandardContext.java:3628 
)
	at  
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja 
va:821)
	at  
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
	at  
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
	at  
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeploy 
er.java:307)
	at org.apache.catalina.core.StandardHost.install(StandardHost.java:788)
	at  
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:492)
	at  
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:400)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
	at  
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:35 
8)
	at  
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu 
pport.java:166)
	at  
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
	at  
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
	at  
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)
	at  
org.apache.catalina.core.StandardService.start(StandardService.java:497)
	at  
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at  
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav 
a:39)
	at  
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor 
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
- Could not find value for key jcs.region.main.elementattributes
- Could not instantiate eAttr named  
'jcs.region.main.elementattributes', using defaults.
- initialized LRUMemoryCache for main
- Constructed cache with name: main
- Cache file root directory:  
/var/webapps/tomcat/work/Standalone/localhost/cocoon/cocoon-files/ 
cache-dir
- Failure initializing for fileName: main and root directory:  
/var/webapps/tomcat/work/Standalone/localhost/cocoon/cocoon-files/ 
cache-dir
java.io.FileNotFoundException:  
/var/webapps/tomcat/work/Standalone/localhost/cocoon/cocoon-files/ 
cache-dir/main.data (Permission denied)
	at java.io.RandomAccessFile.open(Native Method)
	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:204)
	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:94)
	at  
org.apache.jcs.auxiliary.disk.indexed.IndexedDisk.<init>(IndexedDisk.jav 
a:61)
	at  
org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache.<init>(IndexedDis 
kCache.java:94)
	at  
org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheManager.getCache(I 
ndexedDiskCacheManager.java:136)
	at  
org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory.createCach 
e(IndexedDiskCacheFactory.java:50)
	at  
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseAuxiliary( 
CompositeCacheConfigurator.java:413)
	at  
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion(Com 
positeCacheConfigurator.java:259)
	at  
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion(Com 
positeCacheConfigurator.java:196)
	at  
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegions(Co 
mpositeCacheConfigurator.java:184)
	at  
org.apache.jcs.engine.control.CompositeCacheConfigurator.doConfigure(Com 
positeCacheConfigurator.java:110)
	at  
org.apache.jcs.engine.control.CompositeCacheManager.configure(CompositeC 
acheManager.java:208)
	at  
org.apache.cocoon.components.store.impl.JCSDefaultStore.initialize(JCSDe 
faultStore.java:178)
	at  
org.apache.avalon.framework.container.ContainerUtil.initialize(Container 
Util.java:283)
	at  
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstanc 
e(DefaultComponentFactory.java:277)
	at  
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initial 
ize(ThreadSafeComponentHandler.java:108)
	at  
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initiali 
ze(ExcaliburComponentManager.java:522)
	at  
org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonCom 
ponentManager.java:527)
	at  
org.apache.avalon.framework.container.ContainerUtil.initialize(Container 
Util.java:283)
	at org.apache.cocoon.Cocoon.initialize(Cocoon.java:306)
	at  
org.apache.avalon.framework.container.ContainerUtil.initialize(Container 
Util.java:283)
	at  
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java: 
1360)
	at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:481)
	at  
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav 
a:935)
	at  
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
	at  
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j 
ava:3427)
	at  
org.apache.catalina.core.StandardContext.start(StandardContext.java:3628 
)
	at  
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja 
va:821)
	at  
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
	at  
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
	at  
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeploy 
er.java:307)
	at org.apache.catalina.core.StandardHost.install(StandardHost.java:788)
	at  
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:492)
	at  
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:400)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
	at  
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:35 
8)
	at  
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu 
pport.java:166)
	at  
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
	at  
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
	at  
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)
	at  
org.apache.catalina.core.StandardService.start(StandardService.java:497)
	at  
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at  
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav 
a:39)
	at  
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor 
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
- RAMJobStore initialized.
- Quartz scheduler 'Cocoon
- Quartz scheduler version: 1.3.2
- Scheduler Cocoon_$_Mon_Oct_11_09:27:35_BST_2004 started.
- java.lang.NullPointerException
- Failure reseting state
java.lang.NullPointerException
	at  
org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache.reset(IndexedDisk 
Cache.java:503)
	at  
org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache.doRemove(IndexedD 
iskCache.java:462)
	at  
org.apache.jcs.auxiliary.disk.AbstractDiskCache.remove(AbstractDiskCache 
.java:235)
	at  
org.apache.jcs.engine.control.CompositeCache.remove(CompositeCache.java: 
729)
	at  
org.apache.jcs.engine.control.CompositeCache.remove(CompositeCache.java: 
659)
	at org.apache.jcs.access.CacheAccess.remove(CacheAccess.java:336)
	at  
org.apache.cocoon.components.store.impl.JCSDefaultStore.remove(JCSDefaul 
tStore.java:316)
	at  
org.apache.cocoon.caching.impl.StoreEventRegistryImpl.recover(StoreEvent 
RegistryImpl.java:65)
	at  
org.apache.cocoon.caching.impl.AbstractDoubleMapEventRegistry.initialize 
(AbstractDoubleMapEventRegistry.java:141)
	at  
org.apache.avalon.framework.container.ContainerUtil.initialize(Container 
Util.java:283)
	at  
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstanc 
e(DefaultComponentFactory.java:277)
	at  
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initial 
ize(ThreadSafeComponentHandler.java:108)
	at  
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(E 
xcaliburComponentManager.java:276)
	at  
org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonCompone 
ntManager.java:297)
	at  
org.apache.avalon.framework.service.WrapperServiceManager.lookup(Wrapper 
ServiceManager.java:107)
	at  
org.apache.cocoon.caching.impl.EventAwareCacheImpl.service(EventAwareCac 
heImpl.java:91)
	at  
org.apache.avalon.framework.container.ContainerUtil.service(ContainerUti 
l.java:182)
	at  
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstanc 
e(DefaultComponentFactory.java:255)
	at  
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initial 
ize(ThreadSafeComponentHandler.java:108)
	at  
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initiali 
ze(ExcaliburComponentManager.java:522)
	at  
org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonCom 
ponentManager.java:527)
	at  
org.apache.avalon.framework.container.ContainerUtil.initialize(Container 
Util.java:283)
	at org.apache.cocoon.Cocoon.initialize(Cocoon.java:306)
	at  
org.apache.avalon.framework.container.ContainerUtil.initialize(Container 
Util.java:283)
	at  
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java: 
1360)
	at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:481)
	at  
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav 
a:935)
	at  
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
	at  
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j 
ava:3427)
	at  
org.apache.catalina.core.StandardContext.start(StandardContext.java:3628 
)
	at  
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja 
va:821)
	at  
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
	at  
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
	at  
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeploy 
er.java:307)
	at org.apache.catalina.core.StandardHost.install(StandardHost.java:788)
	at  
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:492)
	at  
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:400)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
	at  
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:35 
8)
	at  
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu 
pport.java:166)
	at  
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
	at  
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
	at  
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)
	at  
org.apache.catalina.core.StandardService.start(StandardService.java:497)
	at  
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at  
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav 
a:39)
	at  
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor 
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
- Failure reseting state
java.lang.NullPointerException
	at  
org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache.reset(IndexedDisk 
Cache.java:503)
	at  
org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache.doRemoveAll(Index 
edDiskCache.java:479)
	at  
org.apache.jcs.auxiliary.disk.AbstractDiskCache.removeAll(AbstractDiskCa 
che.java:256)
	at  
org.apache.jcs.engine.control.CompositeCache.removeAll(CompositeCache.ja 
va:791)
	at  
org.apache.jcs.engine.control.CompositeCache.removeAll(CompositeCache.ja 
va:751)
	at org.apache.jcs.access.CacheAccess.remove(CacheAccess.java:309)
	at  
org.apache.cocoon.components.store.impl.JCSDefaultStore.clear(JCSDefault 
Store.java:301)
	at org.apache.cocoon.caching.impl.CacheImpl.clear(CacheImpl.java:126)
	at  
org.apache.cocoon.caching.impl.EventAwareCacheImpl.initialize(EventAware 
CacheImpl.java:134)
	at  
org.apache.avalon.framework.container.ContainerUtil.initialize(Container 
Util.java:283)
	at  
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstanc 
e(DefaultComponentFactory.java:277)
	at  
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initial 
ize(ThreadSafeComponentHandler.java:108)
	at  
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initiali 
ze(ExcaliburComponentManager.java:522)
	at  
org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonCom 
ponentManager.java:527)
	at  
org.apache.avalon.framework.container.ContainerUtil.initialize(Container 
Util.java:283)
	at org.apache.cocoon.Cocoon.initialize(Cocoon.java:306)
	at  
org.apache.avalon.framework.container.ContainerUtil.initialize(Container 
Util.java:283)
	at  
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java: 
1360)
	at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:481)
	at  
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav 
a:935)
	at  
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
	at  
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j 
ava:3427)
	at  
org.apache.catalina.core.StandardContext.start(StandardContext.java:3628 
)
	at  
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja 
va:821)
	at  
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
	at  
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
	at  
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeploy 
er.java:307)
	at org.apache.catalina.core.StandardHost.install(StandardHost.java:788)
	at  
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:492)
	at  
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:400)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
	at  
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:35 
8)
	at  
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu 
pport.java:166)
	at  
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
	at  
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
	at  
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)
	at  
org.apache.catalina.core.StandardService.start(StandardService.java:497)
	at  
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at  
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav 
a:39)
	at  
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor 
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
WARN! *** JMS block is installed but jms client library not found. ***
- For the jms block to work you must install and start a JMS server and  
place the client jar in WEB-INF/lib.
- The default server, OpenJMS is configured in cocoon.xconf but is not  
bundled with Cocoon.
server.properties not found, using command line or default properties
Opening database: /var/webapps/tomcat/webapps/cocoon/WEB-INF/db/cocoondb
HSQLDB server 1.7.1 is running
Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptly
Mon Oct 11 09:27:36 BST 2004 Listening for connections ...
WebappClassLoader:  
validateJarFile(/var/webapps/tomcat/webapps/exist/WEB-INF/lib/ 
javax.servlet.jar) - jar not loaded. See Servlet Spec 2.3, section  
9.7.2. Offending class: javax/servlet/Servlet.class
11 Oct 2004 09:27:49,400 [main] INFO  (DefaultServlet.java [init]:840)  
- xincon web & webdav administration interface for xindice
INFO - xincon web & webdav administration interface for xindice
11 Oct 2004 09:27:49,409 [main] INFO  (DefaultServlet.java [init]:841)  
- made by Jan Metzner jan.metzner@fhm.edu
INFO - made by Jan Metzner jan.metzner@fhm.edu
11 Oct 2004 09:27:49,410 [main] INFO  (DefaultServlet.java [init]:842)  
- let's have fun!
INFO - let's have fun!
Parse catalog: catalog
Loading catalog: catalog
Default BASE: file://basename/catalog
java.net.UnknownHostException: basename
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
	at java.net.Socket.connect(Socket.java:452)
	at java.net.Socket.connect(Socket.java:402)
	at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
	at sun.net.NetworkClient.openServer(NetworkClient.java:118)
	at sun.net.ftp.FtpClient.openServer(FtpClient.java:423)
	at sun.net.ftp.FtpClient.<init>(FtpClient.java:692)
	at  
sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java: 
175)
	at  
sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnectio 
n.java:257)
	at java.net.URL.openStream(URL.java:913)
	at org.apache.xml.resolver.Catalog.parseCatalogFile(Unknown Source)
	at org.apache.xml.resolver.Catalog.parsePendingCatalogs(Unknown Source)
	at org.apache.xml.resolver.Catalog.parseCatalog(Unknown Source)
	at org.apache.xml.resolver.Catalog.loadSystemCatalogs(Unknown Source)
	at org.apache.xml.resolver.CatalogManager.getPrivateCatalog(Unknown  
Source)
	at org.apache.xml.resolver.CatalogManager.getCatalog(Unknown Source)
	at  
org.apache.xml.resolver.tools.CatalogResolver.initializeCatalogs(Unknown 
  Source)
	at org.apache.xml.resolver.tools.CatalogResolver.<init>(Unknown Source)
	at  
org.apache.excalibur.xml.DefaultEntityResolver.<init>(DefaultEntityResol 
ver.java:101)
	at  
org.apache.cocoon.components.resolver.DefaultResolver.<init>(DefaultReso 
lver.java:71)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native  
Method)
	at  
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA 
ccessorImpl.java:39)
	at  
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons 
tructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
	at java.lang.Class.newInstance0(Class.java:308)
	at java.lang.Class.newInstance(Class.java:261)
	at  
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstanc 
e(DefaultComponentFactory.java:212)
	at  
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initial 
ize(ThreadSafeComponentHandler.java:143)
	at  
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(E 
xcaliburComponentManager.java:310)
	at  
org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonCompone 
ntManager.java:324)
	at  
org.apache.avalon.framework.service.WrapperServiceManager.lookup(Wrapper 
ServiceManager.java:106)
	at  
org.apache.excalibur.xml.impl.JaxpParser.service(JaxpParser.java:177)
	at  
org.apache.avalon.framework.container.ContainerUtil.service(ContainerUti 
l.java:181)
	at  
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstanc 
e(DefaultComponentFactory.java:288)
	at  
org.apache.avalon.excalibur.pool.ResourceLimitingPool.newPoolable(Resour 
ceLimitingPool.java:672)
	at  
org.apache.avalon.excalibur.pool.ResourceLimitingPool.get(ResourceLimiti 
ngPool.java:402)
	at  
org.apache.avalon.excalibur.component.PoolableComponentHandler.doGet(Poo 
lableComponentHandler.java:233)
	at  
org.apache.avalon.excalibur.component.ComponentHandler.get(ComponentHand 
ler.java:410)
	at  
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(E 
xcaliburComponentManager.java:311)
	at  
org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonCompone 
ntManager.java:324)
	at  
org.apache.avalon.framework.service.WrapperServiceManager.lookup(Wrapper 
ServiceManager.java:106)
	at  
org.apache.excalibur.xmlizer.DefaultXMLizer.toSAX(DefaultXMLizer.java:15 
8)
	at  
org.apache.cocoon.components.source.SourceUtil.toSAX(SourceUtil.java:170 
)
	at  
org.apache.cocoon.components.treeprocessor.TreeProcessor.configure(TreeP 
rocessor.java:262)
	at  
org.apache.avalon.framework.container.ContainerUtil.configure(ContainerU 
til.java:239)
	at  
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstanc 
e(DefaultComponentFactory.java:302)
	at  
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initial 
ize(ThreadSafeComponentHandler.java:143)
	at  
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initiali 
ze(ExcaliburComponentManager.java:556)
	at  
org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonCom 
ponentManager.java:547)
	at  
org.apache.avalon.framework.container.ContainerUtil.initialize(Container 
Util.java:282)
	at org.apache.cocoon.Cocoon.initialize(Cocoon.java:340)
	at  
org.apache.avalon.framework.container.ContainerUtil.initialize(Container 
Util.java:282)
	at  
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java: 
1369)
	at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:515)
	at  
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav 
a:935)
	at  
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
	at  
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j 
ava:3427)
	at  
org.apache.catalina.core.StandardContext.start(StandardContext.java:3628 
)
	at  
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja 
va:821)
	at  
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
	at  
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
	at  
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeploy 
er.java:307)
	at org.apache.catalina.core.StandardHost.install(StandardHost.java:788)
	at  
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:492)
	at  
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:400)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
	at  
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:35 
8)
	at  
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu 
pport.java:166)
	at  
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
	at  
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
	at  
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)
	at  
org.apache.catalina.core.StandardService.start(StandardService.java:497)
	at  
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at  
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav 
a:39)
	at  
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor 
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
11 Oct 2004 09:27:51,524 [main] INFO  (Configuration.java [<init>]:274)  
- data directory = /var/webapps/tomcat/webapps/exist/WEB-INF/data
11 Oct 2004 09:27:51,527 [main] DEBUG (BrokerPool.java [configure]:81)  
- configuring database instance 'exist' ...
11 Oct 2004 09:27:51,528 [main] DEBUG (BrokerPool.java [<init>]:188) -  
min = 1; max = 20; sync = 300000
11 Oct 2004 09:27:51,540 [main] DEBUG (SyncDaemon.java  
[executePeriodically]:248) - adding command for periodic execution
11 Oct 2004 09:27:51,544 [main] DEBUG (BrokerPool.java  
[initialize]:293) - initializing database exist
11 Oct 2004 09:27:51,961 [main] DEBUG (DBBroker.java [<init>]:138) -  
Loading symbol table from  
/var/webapps/tomcat/webapps/exist/WEB-INF/data/symbols.dbx
11 Oct 2004 09:27:52,026 [main] DEBUG (NativeBroker.java [<init>]:159)  
- elements index buffer size: 768; 2112
11 Oct 2004 09:27:52,102 [main] DEBUG (NativeBroker.java [<init>]:184)  
- page buffer size = 768; 192
11 Oct 2004 09:27:52,140 [main] DEBUG (NativeBroker.java [<init>]:211)  
- collections index buffer size: 1536; 1536
11 Oct 2004 09:27:52,312 [main] DEBUG (TextSearchEngine.java  
[<init>]:79) - using tokenizer:  
org.exist.storage.analysis.SimpleTokenizer
11 Oct 2004 09:27:52,515 [main] DEBUG (BrokerPool.java  
[createBroker]:220) - database exist: creating new instance of  
org.exist.storage.NativeBroker
11 Oct 2004 09:27:52,626 [main] DEBUG (SecurityManager.java  
[<init>]:111) - loading acl
11 Oct 2004 09:27:52,680 [main] DEBUG (BrokerPool.java  
[initialize]:298) - database engine exist initialized.
11 Oct 2004 09:27:52,682 [main] DEBUG (BrokerPool.java [configure]:85)  
- registering shutdown hook
11-Oct-2004 09:27:53 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
11-Oct-2004 09:27:53 org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
11-Oct-2004 09:27:53 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/193   
config=/var/webapps/tomcat/conf/jk2.properties
11 Oct 2004 09:30:58,436 [Thread-14] DEBUG (BrokerPool.java [sync]:334)  
- syncing buffers to disk
11 Oct 2004 09:30:59,166 [Thread-14] INFO  (BTree.java  
[printStatistics]:1250) - elements.dbx INDEX 768 / 0 / 0 / 0
11 Oct 2004 09:30:59,237 [Thread-14] INFO  (BFile.java  
[printStatistics]:340) - elements.dbx DATA 2112 / 0 / 0 / 0
11 Oct 2004 09:30:59,238 [Thread-14] INFO  (BTree.java  
[printStatistics]:1250) - collections.dbx INDEX 1536 / 1 / 1 / 1
11 Oct 2004 09:30:59,239 [Thread-14] INFO  (BFile.java  
[printStatistics]:340) - collections.dbx DATA 1536 / 1 / 1 / 1
11 Oct 2004 09:30:59,253 [Thread-14] INFO  (BTree.java  
[printStatistics]:1250) - dom.dbx INDEX 768 / 1 / 121 / 1
11 Oct 2004 09:30:59,289 [Thread-14] INFO  (DOMFile.java  
[printStatistics]:587) - dom.dbx DATA 192 / 1 / 329 / 1
11 Oct 2004 09:30:59,535 [Thread-14] INFO  (BTree.java  
[printStatistics]:1250) - words.dbx INDEX 2688 / 0 / 0 / 0
11 Oct 2004 09:30:59,536 [Thread-14] INFO  (BFile.java  
[printStatistics]:340) - words.dbx DATA 2688 / 0 / 0 / 0
11 Oct 2004 09:31:04,334 [Thread-14] DEBUG (BrokerPool.java [sync]:334)  
- syncing buffers to disk

On Monday, October 11, 2004, at 10:35 AM, Dale, Matt wrote:

> The tomcat logs are in the logs directory under your tomcat home. I  
> can't provide any assisstance without the details from them. At a  
> guess you're suffering an out of memory exception from an application  
> memory leak but I can't be certain.
>
> -----Original Message-----
> From: Richard [mailto:richardlewis@fastmail.co.uk]
> Sent: 11 October 2004 10:21
> To: tomcat-user@jakarta.apache.org
> Subject: Tomcat 4.1 random crashes
>
>
> Hello Tomcat users,
>
> I wonder if you might be able to shed a little light on this problem:
>
> I have Tomcat 4.1.30 installed using J2SDK 1.4.2_05 (from java.sun.com)
> on a Debian GNU/Linux machine (P4, 256Mb RAM).
>
> I am using it to serve a couple of Cocoon (2.1.5.1) web applications
> and I have Apache (2.0) ProxyPass directives to re-direct requests to
> the Tomcat server where necessary:
>
> <Proxy *>
> 	Order deny, allow
> 	Allow from all
> </Proxy>
>
> <VirutalHost *>
> 	ServerName www.some-host.org
> 	ProxyRequests Off
> 	ProxyPass / http://localhost:8080/some-host/
> 	ProxyPassReverse / http://localhost:8080/some-host/
> </VirtualHost>
>
> This all works fine except that, after a few days, Tomcat just seems to
> stop serving. Client requests to http://www.some-host.org/ will wait
> for as long as the is willing to and then just give up.
>
> If I issue:
> # ps -Al
> the results include:
> 0 S   103 26384     1 99  81   0 - 77800 schedu pts/0    00:00:22 java
> 0 S   103 19815     1  0  76   0 - 67245 schedu ?        00:00:22 java
> 0 S   103 11301     1  0  76   0 - 67357 schedu ?        00:00:22 java
>
> (The Tomcat process(es!) runs as a non-privileged 'tomcat'.)
>
> So all I can do is restart Tomcat
> # $CATALINA_HOME/bin/catalina.sh restart
>
> and it then works fine a few more days.
>
> # tail /var/log/apache2/error.log gives:
> [Mon Oct 11 09:21:34 2004] [error] [client ***] proxy: error reading
> status line from remote server localhost
> [Mon Oct 11 09:21:34 2004] [error] [client ***] proxy: Error reading
> from remote server returned by /
>
> (I can't find any Tomcat logs...)
>
> Any ideas why this might be happening?
>
> Cheers,
> Richard
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
> <InterScan_Disclaimer.txt>--------------------------------------------- 
> ------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message