RE: tomcat5.5.17 cluster(using jdk1.5) error - OutOfMemoryError in starting up on AS4

2006-06-18 Thread Dilan Kelanibandara
Hi Peter, I am using default JVM parameters coming with tomcat5.5.17. In the tomcat server.xml file it says tcpThreadCount is normally equal to no.of nodes (ie 2 in this case).That is why I changed that to 2. I tried increasing JVM parameters for heap size in tomcat Min=1024m Max=1024m also.I

RE: tomcat5.5.17 cluster(using jdk1.5) error - OutOfMemoryError in starting up on AS4

2006-06-18 Thread Dilan Kelanibandara
Hi Peter, I tried with increasing tcpThreadCount to '6' and commented out Deployer className=org.apache.catalina.cluster.deploy.FarmWarDeployer tempDir=/tmp/war-temp/ deployDir=/tmp/war-deploy/

Re: tomcat5.5.17 cluster(using jdk1.5) error - OutOfMemoryError in starting up on AS4

2006-06-18 Thread Peter Rossbach
Use more JVM Options to analyse the mem usage Work with more faster mem allocation -XX:NewSize=128m -XX:MaxNewSize=128m -XX:SurvivorRatio=8 -Xverbosegc Or better use a Memory Profiler... But the membership not allocate much memory, very strange effect :-( Peter Am 18.06.2006 um 08:01

RE: tomcat5.5.17 cluster(using jdk1.5) error - OutOfMemoryError in starting up on AS4

2006-06-18 Thread Dilan Kelanibandara
Hi Peter, I was having the memory problem when cluster manager trying to multicast the request when tomcat startup. As a trial I commented multicast element of cluster configuration in server.xml and restarted both tomcats This is the multicast element which I commented.

RE: tomcat5.5.17 cluster(using jdk1.5) error - OutOfMemoryError in starting up on AS4

2006-06-18 Thread Dilan Kelanibandara
Hi Peter, No. No service is up and running on 4564. I did only commenting the member and restarted both the servers. So far it is working fine. I have a doubt in future weather there is any effect on my server? Can you please explain me the risk. Or is it ok to run the server with this

Re: tomcat5.5.17 cluster(using jdk1.5) error - OutOfMemoryError in starting up on AS4

2006-06-18 Thread Peter Rossbach
HI, I see no risk with the default membership config. Peter Am 18.06.2006 um 19:29 schrieb Dilan Kelanibandara: Hi Peter, No. No service is up and running on 4564. I did only commenting the member and restarted both the servers. So far it is working fine. I have a doubt in future

Re: tomcat5.5.17 cluster(using jdk1.5) error - OutOfMemoryError in starting up on AS4

2006-06-18 Thread Filip Hanik - Dev Lists
the only risk would be if you are running two environments, maybe QA and production, you don't want the cluster membership to cross over another option is to just change address and port in server.xml from the default Filip Peter Rossbach wrote: HI, I see no risk with the default membership

RE: tomcat5.5.17 cluster(using jdk1.5) error - OutOfMemoryError in starting up on AS4

2006-06-18 Thread Dilan Kelanibandara
Hi Peter, Thank you very much for your kind attention on my query. I will go ahead with the default setting. Best Regards, Dilan. -Original Message- From: Peter Rossbach [mailto:[EMAIL PROTECTED] Sent: Sunday, June 18, 2006 9:47 PM To: Tomcat Users List Subject: Re: tomcat5.5.17

RE: can't save a context.

2006-06-18 Thread Dilan Kelanibandara
Hi, Hi, Rather saving your context.xml file in the place you specify, you can save it in TOMCAT_HOME/webapps/yourApp/META-INF/ And you can specify 'Context' in TOMCAT_HOME/webapps/yourApp/WEB-INF/web.xml The context should be at the end of web.xml , any way it depends on your other resource

RE: can't save a context.

2006-06-18 Thread Dilan Kelanibandara
Hi The other thing is please remove your TOMCAT_HOME/webapps/yourApp.war file from webapps directory to some other place. Other wise you may loose your settings again if you restart tomcat. Ask me for any help, Regards, Dilan Kelanibandara -Original Message- From: Dilan Kelanibandara

Re: How one can use different versions of classes on differenet webapps

2006-06-18 Thread Mark Thomas
Dmitry S. Kravchenko wrote: But this is the question: I don't want to recompile servlets with new version of the library! I want old servlets continue work with the old library, wich I put in their lib directories! And you don't have to. My point was that it appears that you put a different

Start page without redirect

2006-06-18 Thread Brad
Hi All, I have a user who's webpage is all in java. His start page is named Main.do. This is successfully passed on to tomcat via mod_jk using the following directives: IfModule mod_jk.c JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 JkMount /servlets/* ajp13 JkMount /*.do ajp13 JkMount