Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
surya naidu
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
surya naidu
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic