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 port

 
Edward Chen
Ranch Hand
Posts: 798
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I can NOT start up the JBoss 3.0 in port 8080 because it was taken already. So how can I change to another port? Do I need to change Tomcat 8000 port to another one ?
Thanks.
Edward
 
Rufus BugleWeed
Ranch Hand
Posts: 1551
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may have better luck in the Java Ranch's JBoss forum.
I thought there was a discussion board at www.jboss.org too.
 
Mapraputa Is
Leverager of our synergies
Sheriff
Posts: 10065
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this thread to JBoss forum.
 
norman richards
Author
Ranch Hand
Posts: 367
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look in server/default/deploy/jbossweb-tomcat41.sar/META-INF/jboss-web.xml and look for the reference to port 8080. Change it to whatever you like...
 
Edward Chen
Ranch Hand
Posts: 798
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Norman, Thanks. But I can not find jbossweb-tomcat41.sar file. I am using jboss-3.0.8_tomcat-4.1.24.
Thanks.
Edward
 
norman richards
Author
Ranch Hand
Posts: 367
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't use tomcat, and I was looking at the 3.2 JBoss that is distributed with OS X. Without downloading it, all I can say is that in the deploy directory you should have a sar directory that resembles jbossweb. Inside of there you will a jboss-web.xml file that has the web server port setting you want to change.
 
Jeremy Wilson
Ranch Hand
Posts: 166
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using jboss-4.0.0DR4 you change the tomcat port 8080 to what ever port you need. This is located in the server.xml file in folder

jboss_home\server\all\deploy\jbossweb-tomcat50.sar

hope this helps...
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic