Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » problem with instaling
problem with instaling [message #1114995] Mon, 23 September 2013 14:10 Go to next message
Dawid Warchal is currently offline Dawid WarchalFriend
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.

I use Windows Server 2008 R2

why I can not see this ?

http://wiki.eclipse.org/Image:Hudson_Windows_Service_1.png
Re: problem with instaling [message #1115023 is a reply to message #1114995] Mon, 23 September 2013 14:36 Go to previous messageGo to next message
Chris Jurado is currently offline Chris JuradoFriend
Messages: 3
Registered: September 2013
Location: Baltimore, MD
Junior Member

Make sure Windows has opened that port. I don't think it's open by default on Windows Server.

"He who takes offense when no offense is intended is a fool, and he who takes offense when offense is intended is a greater fool."
—Brigham Young
Re: problem with instaling [message #1115586 is a reply to message #1115023] Tue, 24 September 2013 09:48 Go to previous messageGo to next message
Dawid Warchal is currently offline Dawid WarchalFriend
Messages: 7
Registered: September 2013
Junior Member
I opened a port 8080 and I have the same problem, maybe someone know how to fix it ?
Re: problem with instaling [message #1115883 is a reply to message #1115586] Tue, 24 September 2013 18:22 Go to previous messageGo to next message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 434
Registered: August 2011
Location: Fremont, CA USA
Senior Member
I hope you don't have spelling mistake in the URL. In your message it says "locahost:8080". Notice the second "l" missing.

Winston Prakash
Eclipse Hudson team
Re: problem with instaling [message #1116373 is a reply to message #1115883] Wed, 25 September 2013 10:27 Go to previous messageGo to next message
Dawid Warchal is currently offline Dawid WarchalFriend
Messages: 7
Registered: September 2013
Junior Member
When I write : localhost:8080 I only have this : "imgur.com/g9mlLz1"

It is very imprtanat for me, why I can no to install hudson ? I can only extract this .war file.
Re: problem with instaling [message #1116556 is a reply to message #1114995] Wed, 25 September 2013 15:40 Go to previous messageGo to next message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 434
Registered: August 2011
Location: Fremont, CA USA
Senior Member
Looks like port 8080 is used by another application (share point). You may have to use another port for Hudson.Try running

java -jar --httpPort=9090

Then use

localhost:9090


Winston Prakash
Eclipse Hudson team
Re: problem with instaling [message #1117420 is a reply to message #1116556] Thu, 26 September 2013 12:23 Go to previous messageGo to next message
Dawid Warchal is currently offline Dawid WarchalFriend
Messages: 7
Registered: September 2013
Junior Member
thanks for fast reply.

I did everything what you wrote and I have still problem. I attach printscreen :

"imgur.com/sAuZTIS"

comend "java -jar --httpPort=9090" also do not work

[Updated on: Thu, 26 September 2013 12:24]

Report message to a moderator

Re: problem with instaling [message #1117647 is a reply to message #1117420] Thu, 26 September 2013 17:06 Go to previous messageGo to next message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 434
Registered: August 2011
Location: Fremont, CA USA
Senior Member
OOPS, Sorry. I mentioned how to set the port using the flag --httpPort=9090. It was not the full command. If you have downloaded the war from

http://eclipse.org/downloads/download.php?file=/hudson/war/hudson-3.1.0.war

and the war name is hudson-3.1.0.war, then the full command to run the Hudson application in port 9090 is

java -jar --httpPort=9090 hudson-3.1.0.war

Make sure you use the correct war name


Winston Prakash
Eclipse Hudson team
Re: problem with instaling [message #1118574 is a reply to message #1117647] Fri, 27 September 2013 14:48 Go to previous messageGo to next message
Dawid Warchal is currently offline Dawid WarchalFriend
Messages: 7
Registered: September 2013
Junior Member
I did everything what you wrote and error is the same. maybe something else ?
Re: problem with instaling [message #1118696 is a reply to message #1118574] Fri, 27 September 2013 17:35 Go to previous messageGo to next message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 434
Registered: August 2011
Location: Fremont, CA USA
Senior Member
Can you post the screenshot with the latest command

Winston Prakash
Eclipse Hudson team

[Updated on: Fri, 27 September 2013 17:36]

Report message to a moderator

Re: problem with instaling [message #1118705 is a reply to message #1118696] Fri, 27 September 2013 17:41 Go to previous messageGo to next message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 434
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



Winston Prakash
Eclipse Hudson team
Re: problem with instaling [message #1121281 is a reply to message #1118705] Mon, 30 September 2013 13:04 Go to previous messageGo to next message
Dawid Warchal is currently offline Dawid WarchalFriend
Messages: 7
Registered: September 2013
Junior Member
Thanks, it helps, this commend is correct.

In cmd it was written " Hudson is installed " but when I go to localhost:9090 it is incorrect address.
Re: problem with instaling [message #1124301 is a reply to message #1121281] Thu, 03 October 2013 11:49 Go to previous messageGo to next message
Dawid Warchal is currently offline Dawid WarchalFriend
Messages: 7
Registered: September 2013
Junior Member
Maybe diffrent idea for this problem ?
Re: problem with instaling [message #1124755 is a reply to message #1124301] Thu, 03 October 2013 21:56 Go to previous message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 434
Registered: August 2011
Location: Fremont, CA USA
Senior Member
Can you post screenshot of CMD window and the browser. It is hard to tell what is going on from your description

Winston Prakash
Eclipse Hudson team
Previous Topic:BUILD_ID in Mail content
Next Topic:NoSuchMethodException after upgrading from 1.359 to 3.0.1
Goto Forum:
  


Current Time: Sat Nov 22 21:37:02 GMT 2014

Powered by FUDForum. Page generated in 0.02708 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software