1
votes

i have just installed Jenkins & http://localhost:8080 worked fine, i could see the dashboard of the jenkins, next i followed this tutorial. htm to setup tomcat, there was not issue in installing that but after that i am seeing HTTP Status 404 - /jenkins

type Status report

message /jenkins description The requested resource is not available.

Apache Tomcat/9.0.0.M11

so I am not sure what is the issue.

2

2 Answers

1
votes

How did you install Jenkins? Did you download the file or install it using the installer?

From the tutorial you listed it looks like it's using Tomcat to host the jenkins.war file, ie just copy the jenkins.war file into <tomcat-location>/webapps and it should be working assuming Tomcat is up and running. You can check http://localhost:8080/manager/ for further information about what apps are running.

EDIT

To access the Tomcat manager you might have to add a role to your <tomcat-location>/conf/tomcat-users.xmlfile, like this:

<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<user username="admin" password="password" roles="manager-gui,manager script" />
0
votes

i have uninstalled tomcat by doing C:> tomcat9 //DS//Tomcat9, re installed jenkins & after instillation i have given new admin password. my issue is resolved. thanks everyone.