Re: 404 on using --prefix

2012-11-23 Thread clem
Hi,

just tried to change the Port in my Jenkins.xml file.
Old line:  -Xrs -Xmx256m 
-Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar 
"%BASE%\jenkins.war" --httpPort=8080

Just changed the httpPort to 8282 , after a Service restart, Jenkins 
started correctly at Port 8282.
So maybe just try the simple line code:
  -Xrs -Xmx256m 
-Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar 
"%BASE%\jenkins.war" --httpPort=YOUPORT

(Im also not sure, you wrote *8283 *in your line, hopefully you did not try 
to enter Jenkins after your changes at port *8282 *like your 
http://myserver.com:8282/jenkins)

Clem



404 on using --prefix

2012-11-22 Thread Straaten, Onno van der
Hi,
I'm deploying latest release of Jenkins on Windows 2008 server. Now I want to 
run jenkins in web context /jenkins so I in my jenkins.xml I added a prefix.
For example  -Xrs -Xmx256m 
-Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar 
"%BASE%\jenkins.war" --httpPort=8282 --ajp13Port=8283 
--prefix=/jenkins

I also tried prefix=jenkins, so without the slash. Both produce same results. 
There is a 404 on all paths, the old one and the new one.

Is it possible to run Jenkins under different web context? For example 
http://myserver.com:8282/jenkins instead of 
http://cwvutl06.resultinfra.com:8282 ?

How can this be achieved?
Thanks and Regards,
Onno

Status Code: 404
Exception: Request URL / not found.
Stacktrace:
Generated by Winstone Servlet Engine v0.9.10 at Thu Nov 22 15:31:33 CET 2012

Status Code: 404
Exception: Request URL /jenkins not found.
Stacktrace:
Generated by Winstone Servlet Engine v0.9.10 at Thu Nov 22 15:37:01 CET 2012


Think green - keep it on the screen.

This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.