tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Wingfield <jon.wingfi...@mkodo.com>
Subject Re: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError
Date Fri, 19 Sep 2003 13:56:45 GMT
Most JVMs limit the number of concurrent threads that can be created. 
That will be the OutOfMemoryError. As to why it is happening: Have you 
tweaked the server.xml settings for min/maxProcessors? Have you upped 
things like ulimit before the power outage and are now reset?

Denise Mangano wrote:

> Hi all.  I am running Apache 1.3.28, mod_jk 1.2, Tomcat 4.1.27 on a RH
> Linux 7.3 box with j2sdk 1.4.2.  We had a power outage last night, and I
> have been trying to restart Tomcat and Apache, but Tomcat will not
> start.  I have tried searching the archives, but I can't seem to figure
> out where to start with trying to fix this problem.  Any help is GREATLY
> appreciated... It's urgent that I get this up and running asap.  This is
> the output from my catalina.out:
> 
> Starting service Tomcat-Standalone
> Apache Tomcat/4.1.27
> Sep 19, 2003 9:01:25 AM org.apache.struts.util.PropertyMessageResources
> <init>
> INFO: Initializing, config='org.apache.struts.util.LocalStrings',
> returnNull=true
> Sep 19, 2003 9:01:25 AM org.apache.struts.util.PropertyMessageResources
> <init>
> INFO: Initializing, config='org.apache.struts.action.ActionResources',
> returnNull=true
> Sep 19, 2003 9:01:26 AM org.apache.struts.util.PropertyMessageResources
> <init>
> INFO: Initializing,
> config='org.apache.webapp.admin.ApplicationResources', returnNull=true
> Exception during startup processing
> java.lang.reflect.InvocationTargetException
>         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)
> Caused by: java.lang.OutOfMemoryError: unable to create new native
> thread
>         at java.lang.Thread.start(Native Method)
>         at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.<init>(ThreadP
> ool.java:582)
>         at
> org.apache.tomcat.util.threads.ThreadPool.openThreads(ThreadPool.java:46
> 0)
>         at
> org.apache.tomcat.util.threads.ThreadPool.start(ThreadPool.java:179)
>         at
> org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint
> .java:300)
>         at
> org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:161)
>         at
> org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:118
> 0)
>         at
> org.apache.catalina.core.StandardService.start(StandardService.java:506)
>         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)
>         ... 5 more
> Exception in thread "main" java.lang.OutOfMemoryError: unable to create
> new native thread
>         at java.lang.Thread.start(Native Method)
>         at java.lang.Shutdown.runHooks(Shutdown.java:126)
>         at java.lang.Shutdown.sequence(Shutdown.java:165)
>         at java.lang.Shutdown.exit(Shutdown.java:210)
>         at java.lang.Runtime.exit(Runtime.java:90)
>         at java.lang.System.exit(System.java:715)
>         at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:208)
> 
> 
> Denise Mangano 
> Complus Data Innovations, Inc. 
> 914-747-1200 
> 
> ---------------------------------------------------------------------
> 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