aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Getting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Getting "Server Port InUse 8080-Http" Error when starting JBoss v5.0." Watch "Getting "Server Port InUse 8080-Http" Error when starting JBoss v5.0." New topic
Author

Getting "Server Port InUse 8080-Http" Error when starting JBoss v5.0.

Manjunath Rajamanickam
Greenhorn

Joined: Oct 07, 2009
Posts: 3
When starting server, I am getting "Server Port In Use 8080-Http" Error. I checked using netstat -an, and there are no processes running on 8080. I changed this port number (By double clicking the server, and changing the Port under Server Properties) to 2811 and then 2809, still getting similar error (Server Port In Use 2811-Http). Again no processes running on these ports too.
What could be missing here. Please help.

Another info. I m trying to start this server for the first time on my machine.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10033
    
163

Manjunath Rajamanickam wrote: I changed this port number (By double clicking the server, and changing the Port under Server Properties) to 2811 and then 2809, still getting similar error (Server Port In Use 2811-Http). Again no processes running on these ports too.


Are you using any IDE to start the server? Does it work if the server is started from the command prompt, using the run scripts provided in the JBOSS_HOME/bin folder?


[My Blog] [JavaRanch Journal]
Manjunath Rajamanickam
Greenhorn

Joined: Oct 07, 2009
Posts: 3
Jaikiran Pai wrote:
Manjunath Rajamanickam wrote: I changed this port number (By double clicking the server, and changing the Port under Server Properties) to 2811 and then 2809, still getting similar error (Server Port In Use 2811-Http). Again no processes running on these ports too.


Are you using any IDE to start the server? Does it work if the server is started from the command prompt, using the run scripts provided in the JBOSS_HOME/bin folder?


I am using Eclipse. The server started when i used the run script coming with JBoss. But it didnt start when i tried it from eclipse.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

What operating system? Do you have any other servers declared within Eclipse, such as Tomcat?

Changing the ports in the server config dialog of Eclipse will not change the ports used by JBoss AS - rather it is just a mechanism to tell Eclipse what ports it should be using to communicate with JBoss AS. You have to change JBoss AS config files to change the ports used. I would tell you what file to change but I would need to know the exact version of JBoss AS (5.0 is not sufficient).


JBoss In Action
Manjunath Rajamanickam
Greenhorn

Joined: Oct 07, 2009
Posts: 3
Peter Johnson wrote:What operating system? Do you have any other servers declared within Eclipse, such as Tomcat?

Changing the ports in the server config dialog of Eclipse will not change the ports used by JBoss AS - rather it is just a mechanism to tell Eclipse what ports it should be using to communicate with JBoss AS. You have to change JBoss AS config files to change the ports used. I would tell you what file to change but I would need to know the exact version of JBoss AS (5.0 is not sufficient).


The version of JBoss I m using is 5.0.0 CR2. I am not sure whether this version is coming with Tomcat. But netstat -an does not reveal any process running at 8080.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

Please post the full console output when you start JBoss AS within Eclipse.

Why are you using 5.0.0.CR2? That is over a year old and the final release had significant changes - you should be using at least 5.0.1.GA, or better yet 5.1.0.GA.
haripriya vedula
Greenhorn

Joined: May 31, 2008
Posts: 24
Hi,

Actually I am using Jboss 5.1.0.GA and i am unable to change port used by JBoss . In my system tomcat runs on 8080.

Could you please tell me which file as to be changed in jboss directory.

what i know was server.xml but i can see so many xml files.

One more help , I downloaded JBoss ,its showing 127.0.0.1 as IP ..Do i need to change to local IP address. If yes, where?

Thanks in advance

Hari....
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

haripriya, you should ask this question in a new post in the JBoss forum:
http://www.coderanch.com/forums/f-63/JBoss
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting "Server Port InUse 8080-Http" Error when starting JBoss v5.0.