Dawid Warchal Messages: 7 Registered: September 2013
Junior Member
Hi, I have problem. I dowlanded hudson.war and I started Hudson using ( java -jar hudson.war ). Everything was fine but later I want to connect to hudson using locahost:8080 and I can't.
Winston Prakash Messages: 232 Registered: August 2011 Location: Fremont, CA USA
Senior Member
Ah my bad. It is the position of the options
When I tried the following I got the same error as you
wjprakash@seaview:Wars$ java -jar --httpPort=9090 hudson-3.1.0.war
Unrecognized option: --httpPort=9090
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
When I tried this, it was ok
wjprakash@seaview:Wars$ java -jar hudson-3.1.0.war --httpPort=9090
/Users/wjprakash/Hudson/Wars/hudson-3.1.0.war
War - /Users/wjprakash/Hudson/Wars/hudson-3.1.0.war
2013-09-27 10:38:57.804:INFO:oejs.Server:jetty-8.1.7.v20120910
2013-09-27 10:38:59.478:INFO:oejw.StandardDescriptorProcessor:NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
2013-09-27 10:38:59.575:INFO:oejsh.ContextHandler:started o.e.j.w.WebAppContext{/,file:/Users/wjprakash/.hudson/war/webapp/},file:/Users/wjprakash/Hudson/Wars/hudson-3.1.0.war
2013-09-27 10:38:59.575:INFO:oejsh.ContextHandler:started o.e.j.w.WebAppContext{/,file:/Users/wjprakash/.hudson/war/webapp/},file:/Users/wjprakash/Hudson/Wars/hudson-3.1.0.war
Sep 27, 2013 10:39:00 AM org.eclipse.hudson.HudsonServletContextListener contextInitialized
INFO: Home directory: /Users/wjprakash/.hudson