tomcat6 context path attribute
Hello, I have a war app-0.0.1 with a context.xml in META-INF : ?xml version=1.0? !DOCTYPE Context Context path=/app /Context When I deploy it, in CATALINA_BASE\conf\Catalina\localhost a file app-0.0.1.xml is created. When I call localhost:8080/app I got 404 localhost:8080/app-0.0.1 I got 200 I have try ?xml version=1.0? !DOCTYPE Context Context path=/app docBase=../webapps/app-0.0.1.war /Context with the same result Did i miss nothing? I using tomcat 6.0.39 Regards
[Tomcat 6] Maximum webapps in one instance
Hi, I use Tomcat in a RestFull application with cxf and spring. It works fine. Actually, this application is deploy in a single web app. My client ask if I can slip all the services (nearly 100) : he want a webapp for each service. So how many webapps can Tomcat support ? Regards, Philippe
Tomcat7 OutOFMemoryError
When I set JAVA_OPTS= -Xmx1024m -Xss75m I got: GRAVE: A child container failed during start java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: unable to c reate new native thread at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222) at java.util.concurrent.FutureTask.get(FutureTask.java:83) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.ja va:1128) I using windowsXP and tomcat7.0.26. Regards, Philippe - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE : Tomcat7 OutOFMemoryError
75MB of stack is needed by hibenate to save the data aka a graph. Philippe De: Rainer Frey [mailto:rainer.f...@inxmail.de] Date: lun. 05/03/2012 13:19 À: Tomcat Users List Objet : Re: Tomcat7 OutOFMemoryError On 05.03.2012, at 11:30, Philippe ROUXEL wrote: When I set JAVA_OPTS= -Xmx1024m -Xss75m That means: each thread get a stack of 75MB. One of the following applies: * the operating system has a limit on thread stack size * the per process memory limit is reached before all initial tomcat threads are started * the system runs out of total memory before all initial tomcat threads are started 75MB thread stack size seems quite insane, the default is around 1-2MB. Perhaps you meant to set -Xms (which sets the initial Java heap size)? Rainer - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org