File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes jboss 4.2.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "jboss 4.2.2" Watch "jboss 4.2.2" New topic
Author

jboss 4.2.2

pankaj goswami
Greenhorn

Joined: Oct 10, 2007
Posts: 16
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

Joined: Oct 31, 2007
Posts: 6
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

Joined: Nov 01, 2007
Posts: 25
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

Joined: Aug 15, 2004
Posts: 2874
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

Joined: Jun 11, 2006
Posts: 2
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jboss 4.2.2