Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Critical
-
Resolution: Not A Defect
-
Component/s: core
-
Labels:None
-
Environment:debian
Description
The --prefix argument, specified in /etc/default/jenkins, isn't be honoured. When jenkins first starts,
I get the "please wait while jenkins is getting ready to work" on the correct (prefixed) URL (though /static/* is broken). Once the startup is complete, however, all requests to http://localhost:8080/jenkins return 404:
ridcully:/var/lib/jenkins# ps aux |grep jenkins
jenkins 17224 0.0 0.0 3396 516 ? Ss 10:21 0:00 /usr/bin/daemon --name=jenkins --inherit --env=JENKINS_HOME=/var/lib/jenkins --output=/var/log/jenkins/jenkins.log --pidfile=/var/run/jenkins/jenkins.pid – /usr/bin/java -jar /usr/share/jenkins/jenkins.war --webroot=/var/run/jenkins/war --httpPort=8080 --ajp13Port=-1 --prefex=/jenkins
jenkins 17225 104 4.7 688536 49008 ? Sl 10:21 0:05 /usr/bin/java -jar /usr/share/jenkins/jenkins.war --webroot=/var/run/jenkins/war --httpPort=8080 --ajp13Port=-1 --prefex=/jenkins
ridcully:/var/lib/jenkins# wget http://localhost:8080/jenkins
-2011-02-14 10:22:19- http://localhost:8080/jenkins
Resolving localhost... 127.0.0.1, ::1
Connecting to localhost|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-02-14 10:22:19 ERROR 404: Not Found.
Does not work on Windows Server 2008 SP2 either