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
Joined: Feb 22, 2002
Posts: 1551
posted
0
You may have better luck in the Java Ranch's JBoss forum. I thought there was a discussion board at www.jboss.org too.
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...
[<a href="http://members.capmac.org/~orb/blog.cgi" target="_blank" rel="nofollow">blog</a>] [<a href="http://www.amazon.com/exec/obidos/ASIN/0596100078/orb-20" target="_blank" rel="nofollow">JBoss: A Developer's Notebook</a>] [<a href="http://www.amazon.com/exec/obidos/ASIN/1932394052/orb-20" target="_blank" rel="nofollow">XDoclet in Action</a>]
Edward Chen
Ranch Hand
Joined: Dec 23, 2003
Posts: 758
posted
0
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
Joined: Jul 21, 2003
Posts: 364
posted
0
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
Joined: Feb 18, 2003
Posts: 166
posted
0
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