aspose file tools*
The moose likes JBoss/WildFly and the fly likes JBoss installation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss installation" Watch "JBoss installation" New topic
Author

JBoss installation

S.R.K.Vivek Raju
Ranch Hand

Joined: Sep 23, 2004
Posts: 58
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

Joined: Oct 18, 2004
Posts: 346
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

Joined: Sep 23, 2004
Posts: 58
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

Joined: Oct 18, 2004
Posts: 346
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
 
subject: JBoss installation
 
Similar Threads
Fail to start JBoss 4.0.5 and JBoss 4.2.2 in Eclipse Helios
Isolation of EARs (and EJB3)
jboss
what is default port of Jboss
how to create a new instance