• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JBoss installation

 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 346
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Vivek Raju
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic