File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes How to change Port number 8080 in Jboss-5.1.0.GA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "How to change Port number 8080 in Jboss-5.1.0.GA" Watch "How to change Port number 8080 in Jboss-5.1.0.GA" New topic
Author

How to change Port number 8080 in Jboss-5.1.0.GA

surya naidu
Ranch Hand

Joined: Jul 26, 2010
Posts: 32
I have oracle installed on my machine,so I am unable to use port num 8080

I have changed the port number from 8080 to 8088 in server.xml located at
D:\jboss-5.1.0.GA\server\default\deploy\jbossweb.sar

But i am still unable to start the server,I am using eclipse IDE to start the server

Any suggestions are highly appreciated



Thank you
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5811
    
    7

The port 8080 is mentioned in more locations than just that one file. But the recommended way to change port numbers is to edit the server/xxx/conf/bindingservice.beans/META-INF/bindings-jboss-beans.xml file. (You will have to change server.xml back to using 8080)


JBoss In Action
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

And what happens when you change the port in Eclipse under the JBoss Server runtime ??

You can also change the web port on your Oracle DB - if you want to...


Regards, Rene Larsen
Dropbox Invite
surya naidu
Ranch Hand

Joined: Jul 26, 2010
Posts: 32
@Peter johnson

I have tried as you have said.....but dat didnt work out.is there anything else i can try.....
When i am configuring a new server in eclipse for Jboss ....it asks for a JNDI port which is set to 1099 and address which is set to 127.0.0.1
do i need to make changes to any one of those...??


@rene larsen

I have changed the port number to 8088 in eclipse (the same port num which i used instead of 8080 in bindings-jboss-beans.xml)....dat didnt work either


Thank you guyz for the advice

Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5811
    
    7

What do you mean by "but dat didnt work out"? What is it that you are seeing.

I strongly recommend that you get this (starting JBoss AS) working from a command prompt first before attempting to do this in Eclipse.
 
Consider Paul's rocket mass heater.
 
subject: How to change Port number 8080 in Jboss-5.1.0.GA
 
Similar Threads
How to deploy GWT web application in JBoss?
Jboss is not starting from eclipse
Getting "Server Port InUse 8080-Http" Error when starting JBoss v5.0.
Newbie question - how to deploy application to JBoss
Fail to start JBoss 4.0.5 and JBoss 4.2.2 in Eclipse Helios