![]() ![]() Some versions of Tomcat (such as 5.0.28) uses iso-8859-1 to decode URLs, which is in a clear violation of the relevant RFCs. You can add the following lines to this file to create an admin user. Tomcat by default stores the user database in an XML file called $TOMCAT_HOME/conf/tomcat-users.xml. Or on windows use the Configure Tomcat GUI Java panel to set the same additional options and restart Tomcat. If you see permgen errors when running Tomcat, edit the catalina.sh file on *NIX systems to assign the following options ![]() $ export HUDSON_HOME=/path/to/hudson_home/ Or if that fails for some reason, you should still be able to use the environment variable: $ export JAVA_OPTS="-DHUDSON_HOME=/path/to/hudson_home/ -Xmx512m" Or on Tomcat 1.6+ CATALINA_OPTS has been replaced by JAVA_OPTS (Thanks to Ronoaldo Pereira): $ export CATALINA_OPTS="-DHUDSON_HOME=/path/to/hudson_home/ -Xmx512m" This can be also used to specify JVM options to increase the heap size: Tomcat should automatically redeploy the application.īefore starting Tomcat, set CATALINA_OPTS like this. Simply overwrite your hudson.war with the new version and delete the hudson folder in webapps (exploded war). ![]() See the Tomcat documentation for more about how to set up a virtual host. This also works nicely when you set up a virtual host, as it allows a single Tomcat instance to run multiple applications, yet users can still access your hudson with URLs like without any additional path. Tomcat should expand this and create the ROOT directory, and you should see Hudson in (if you accepted the Tomcat defaults - without any additional path. To install Hudson on Tomcat, simply copy hudson.war to $TOMCAT_HOME/webapps, then access If you are running Tomcat just to host Hudson, then remove everything from $TOMCAT_HOME/webapps, and place hudson.war as ROOT.war. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |