• 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 4.2.2

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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"/>
 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Do not meddle in the affairs of dragons - for you are crunchy and good with ketchup. Crunchy tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic