Your settings shouldn't be in the WAR. All those settings and plugins are in a separate directory, determined by environment variable JENKINS_HOME. If you're currently running Jenkins in standalone mode (Jenkins -jar Jenkins.war, using the internal winstone server), you should probably have a "-DJENKINS_HOME=foo" argument, where foo is your configuration directory. If you don't have one, it defaults to $HOME/.jenkins (see https://wiki.jenkins-ci.org/display/JENKINS/Administering+Jenkins for more on this).
To clone your current setup to Tomcat, try the following: 1: Find your JENKINS_HOME directory 2: Copy your jenkins.war file to the webapps directory of the Tomcat installation 3: Use the wiki at https://wiki.jenkins-ci.org/display/JENKINS/Tomcat to see how to edit your tomcat configuration to point to the right JENKINS_HOME 4: Shut down your original Jenkins deployment 5: Fire up Tomcat 6: Log into Jenkins as an admin, to to "manage Jenkins->configure system", and change the Jenkins URL. This _should_ do the trick. YMMV, especially depending on how your Tomcat instance is set up in the first place. --Rob Mandeville -----Original Message----- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of bbonn Sent: Tuesday, July 16, 2013 2:01 PM To: jenkinsci-users@googlegroups.com Subject: Run Jenkins onTomcat We would like to move our Jenkins installation to Tomcat. We have a Jenkins installation with around 1000 jobs, over 50 slaves, tons of plugins and other various customizations (images, email templates, settings ). The goal is to minimize down-time during the conversion - so we were hoping to keep all Jenkins settings and plugins in place as much as possible. We tried exploding the Jenkins.war with Tomcat and then merging in the files from our existing war folder - no luck, Tomcat would not start. The jobs folder worked, but the plugins did not work and threw various Jenkins startup errors. We then tried to merge plugins and settings a little bit at a time - no luck, Tomcat still would not start. It seems the only method would be to explode the Jenkins.war and then add all the settings back manually (Manage Jenkins) - which for us would take a significant amount of time. Any advice on how to migrate a large Jenkins installation to Tomcat? Secondly, is it worth the effort? What are the advantages/disadvantages to migrating. Thanks! -- View this message in context: http://jenkins-ci.361315.n4.nabble.com/Run-Jenkins-onTomcat-tp4673173.html Sent from the Jenkins users mailing list archive at Nabble.com. -- 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/groups/opt_out. The information in this message is for the intended recipient(s) only and may be the proprietary and/or confidential property of Litle & Co., LLC, and thus protected from disclosure. If you are not the intended recipient(s), or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this communication is prohibited. If you have received this communication in error, please notify Litle & Co. immediately by replying to this message and then promptly deleting it and your reply permanently from your computer. -- 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/groups/opt_out.