I would not run 2 instances at the same time - Jenkins uses file based storage for configs, etc. and the updates by one would not be seen by the other.
We run tomcat with these settings in the tomcat/bin/start.sh file. export TOMCAT_LOGS="/var/tomcat/logs" # Jenkins Settings CATALINA_OPTS="-DJENKINS_HOME=/var/jenkins/" # Server Settings CATALINA_OPTS="$CATALINA_OPTS -server" CATALINA_OPTS="$CATALINA_OPTS -Djava.awt.headless=true" # Memory Settings CATALINA_OPTS="$CATALINA_OPTS -Xms4096m" CATALINA_OPTS="$CATALINA_OPTS -Xmx4096m" CATALINA_OPTS="$CATALINA_OPTS -Xmn1024m" CATALINA_OPTS="$CATALINA_OPTS -XX:PermSize=128m" CATALINA_OPTS="$CATALINA_OPTS -XX:MaxPermSize=256m" CATALINA_OPTS="$CATALINA_OPTS -XX:+HeapDumpOnOutOfMemoryError" CATALINA_OPTS="$CATALINA_OPTS -XX:HeapDumpPath=${TOMCAT_LOGS}" # Garbage Collection Logging CATALINA_OPTS="$CATALINA_OPTS -XX:+PrintGCDetails" CATALINA_OPTS="$CATALINA_OPTS -XX:+PrintGCDateStamps" CATALINA_OPTS="$CATALINA_OPTS -XX:+PrintHeapAtGC" CATALINA_OPTS="$CATALINA_OPTS -Xloggc:${TOMCAT_LOGS}/garbage-collection.log" export CATALINA_OPTS exec "$PRGDIR"/"$EXECUTABLE" start "$@" From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Eric Wood Sent: Friday, March 14, 2014 1:08 PM To: jenkinsci-users@googlegroups.com Subject: Upgrade from war file under tomcat to native install I'm currently running a version of Jenkins under tomcat. I'm pledged by permgen issues that crash the service regularly. I want to be able to install a native instance and point it to my Jenkins home on the same server. Can anybody point me to the steps required to make this a success. Note sure If I have have the war file running under tomcat and install a native instance on a windows server at the same time. Not sure if there is port conflict or other issues that may impact the success of this process. Any help would be greatly appreciated. Thanks, Eric -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/d/optout. ________________________________ The information in this Internet Email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this Email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to our clients any opinions or advice contained in this Email are subject to the terms and conditions expressed in any applicable governing The Home Depot terms of business or client engagement letter. The Home Depot disclaims all responsibility and liability for the accuracy and content of this attachment and for any damages or losses arising from any inaccuracies, errors, viruses, e.g., worms, trojan horses, etc., or other items of a destructive nature, which may be contained in this attachment and shall not be liable for direct, indirect, consequential or special damages in connection with this e-mail message or its attachment. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.