Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jboss 4.2.2

 
pankaj goswami
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi friends. i have jboss 4.2.2 ,i want to know how i change port number of it. because by default it uses 8080. but on 8080 i am running tomcat. i looked so many xml files in its directory but i am not able to find out. so please help me to change port number of jboss application server.


thank you for all your support i got from all of you.
 
michel dughlas
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi pankaj in this file you can change the port number from 8080 to any thing. try it.

jboss-4.0.2\server\default\deploy\jbossweb-tomcat55.sar\server.xml

<!-- A HTTP/1.1 Connector on port 8080 -->
<Connector port="8080" address="${jboss.bind.address}"
maxThreads="250" strategy="ms" maxHttpHeaderSize="8192"
emptySessionPath="true"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true"/>
 
chaitanya kiran pvn
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai


this is venkat i am also facing this problem after that i look into the all xml files in that directory i made some changes in server.xml file. this file is in jboss\server\default\deploy\tomcatweb-tomcat55.sar\server.xml.
please modifiy like this .the default is 8080 you can change it to any port which is not working for any other servers.





ok

bye
try this and you get goodresult.

venkat
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Talking strictly for JBoss 4.2.2, there would be no directory named as tomcatweb-tomcat55.sar or jbossweb-tomcat55.sar. You have to change the port no. in the file server.xml under /server/default/deploy/jboss-web.deployer/. Furthermore, you might need to change the port 8009 to something else in the same file for Coyote HTTP/1.1.

cheers.
 
Alvaro Guerrero
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, in JBoss 4.2.2 the file is: server.xml in
C:\JavaSoft\jboss-4.2.2.GA\server\default\deploy\jboss-web.deployer
change the line:
<Connector port="8081" address="${jboss.bind.address}"
for use the 8081 port intead of 8080
bye
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic