j2ee: I have a problem regarding jboss server
I am using jboss 4.2 server and oracle xe both have same port ie 8080 so I want to change my jBoss port for run our application please tell me how to change port in jboss. I know how to change port in tomcat but I didnot find in jbos开发者_高级运维s.
If all you need is to change the 8080 port:
- Goto the deploy folder of the server instance you use.
- Goto the jbossweb-tomcat55.sar inside that deploy folder.
- Find the file named server.xml inside that folder. (tomcat service file).
- Look for the HTTP Connector section inside the server.xml where 8080 configuration is available. Change the port value to what ever the required port number.
(taken from here , first result when googling it :-) )
See this question for changing all JBoss ports at once Running JBoss AS 5 and JBoss AS 4 simultaneously
精彩评论