You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Park, Andrew" <AP...@CarTemps.com> on 2000/08/15 19:58:10 UTC

OutofMemoryError: max threads limit...

i received the following error:

java.lang.OutOfMemoryError: max threads limit  being reached in VM
        at java.lang.Thread.start(Native Method)
        at
org.apache.tomcat.service.SimpleTcpEndpoint.processSocket(SimpleTcpEndpoint.
java:235)
        at
org.apache.tomcat.service.SimpleTcpEndpoint.acceptConnections(SimpleTcpEndpo
int.java:246)
        at
org.apache.tomcat.service.TcpListenerThread.run(SimpleTcpEndpoint.java:315)
        at java.lang.Thread.run(Thread.java:479)
Endpoint ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080] shutdown
due to exception: java.lang.OutOfMemoryError: max threads limit  being
reached in VM

i have jdk1222 and hpux 11.  i start tomcat with the following command:

 $JAVACMD -DTomP0 -ms256m -mx256m -Dtomcat.home=${TOMCAT_HOME}
-DWCTC.home=$CTC
ONNECT_HOME org.apache.tomcat.startup.Tomcat

we use tomcat as the servlet/jsp engine for weblogic451.  iis sits in front
and uses the weblogic iis plugin to forward requests to tomcat and tomcat
subsequently uses jndi to talk to weblogic / ejbs.  

question:  why is this error occuring and what can i do to to insure that it
does not repeat itself in the future...

thanks for your assistance...

andrew

+-------------------------------+++--------------------------------+
|>	andrew moojin park	  [|]		apark@cartemps.com	<|
|>	web developer		  [|]		440.715.3406		<|
|>	cartemps usa		  [|]		www.cartempsusa.com	<|
+-------------------------------+++--------------------------------+