Installing JENKINS

Tomcat Configuration with Admin UI

Set JAVA_HOME and PATH variables
JAVA_HOME                      C:\Program Files\Java\jdk1.7.0_71 (Don’t put; at end)
PATH                                     .;%PATH%.;%JAVA_HOME%\bin.;%CATALINA_HOME%\bin;
CATALINA_HOME            D:\Servers\apache-tomcat-7.0.42


Change Tomcat Users List
Go to D:\Servers\apache-tomcat-7.0.42\conf
Open tomcat-users.xml
<role rolename="manager-gui"/>
  <role rolename="admin-gui"/>
  <role rolename="tomcat"/>
  <role rolename="role1"/>
  <user username="tomcat" password="tomcat" roles="tomcat"/>
  <user username="both" password="tomcat" roles="tomcat,role1"/>
  <user username="role1" password="tomcat" roles="role1"/>
  <user username="admin" password="admin" roles="tomcat,role1,manager-gui,admin-gui"/>
  <user username="root" password="root" roles="tomcat,role1,manager-gui,admin-gui"/>


Go to D:\Servers\apache-tomcat-7.0.42\bin
Run in command promote startup.bat
If any occurs Stop the servers which are running currently. Like Eclipse Etc.,

Installing JENKINS

Select WAR and Deploy

§  Go to the web.xml of the manager application (for instance it could be under /tomcat7/webapps/manager/WEB-INF/web.xml.
§  Increase the max-file-size and max-request-size:
<multipart-config>
<!– 50MB max –>
<max-file-size>52428800</max-file-size>
<max-request-size>52428800</max-request-size>
<file-size-threshold>0</file-size-threshold>

</multipart-config>

Post a Comment

Thank You

Previous Post Next Post