Now that I have Archiva and Continuum running in the same Tomcat 6.0.16,
I am seeing the exception "java.lang.OutOfMemoryError: unable to create
new native thread" in catalina.out.
JVM = build 1.5.0.01
OS = HP-UX 11.11
Stack Trace =
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:574)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.start(JIoEndpoint.java:471)
at
org.apache.tomcat.util.net.JIoEndpoint.newWorkerThread(JIoEndpoint.java:681)
at
org.apache.tomcat.util.net.JIoEndpoint.createWorkerThread(JIoEndpoint.java:660)
at
org.apache.tomcat.util.net.JIoEndpoint.getWorkerThread(JIoEndpoint.java:692)
at
org.apache.tomcat.util.net.JIoEndpoint.processSocket(JIoEndpoint.java:727)
at
org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:313)
at java.lang.Thread.run(Thread.java:595)
I suspect the memory and/or stack configuration need to be altered, but
I am not sure which ones to alter. Currently CATALINA_OPT =
'-Dapplication.base=$ARCHIVA_BASE -Dapplication.home=$ARCHIVA_BASE"
Paul Spencer