File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JBoss installation

 
S.R.K.Vivek Raju
Ranch Hand
Posts: 58
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

I have installed JBoss on my machine and configured with eclipse.
Now i want to change the port on which it runs by default(port 8080).

Please guide me on how to change the default port to run JBoss.

With Regards
 
Damanjit Kaur
Ranch Hand
Posts: 346
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to change the default port to run JBoss.


To change default port of JBoss while running from eclipse, change the server file in C:\eclipse\plugins\com.objectlearn.jdt.j2ee_3.0.1\servers directory where home directory for eclipse is c:\eclipse which in your case might be something else. In that file you will find following :-

<property id="serverPort"
label="Port:"
type="string"
default="8080" />

Here you can change port.
 
S.R.K.Vivek Raju
Ranch Hand
Posts: 58
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

My jboss is not running on port 8080, both through eclipse and also from the command prompt.

But when the same jboss is copied on a different computer it runs on port 8080. that is the reason i want to run it on a different port if that helps.

With Regards
 
Damanjit Kaur
Ranch Hand
Posts: 346
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which JBoss version are you using.
I had written above example with a view that you can change port from 8080 to another one in that server file if you want to start JBoss from eclipse. But now I tried changing that but it doesn't work that way.

Anyway I found a link which shows changing various ports in case you want to run more than one instances on Jboss on same machine. It can solve your purpose too.
http://www.jboss.org/wiki/Wiki.jsp?page=ConfigurePorts
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic