aspose file tools*
The moose likes JBoss/WildFly and the fly likes how to change port while JBoss is HTTP Server? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "how to change port while JBoss is HTTP Server?" Watch "how to change port while JBoss is HTTP Server?" New topic
Author

how to change port while JBoss is HTTP Server?

angelo
Greenhorn

Joined: May 28, 2003
Posts: 1
In Jboss 3.2.1 , as HTTP server , how to make port 80 instead of 8080 ?
Pauline McNamara
Sheriff

Joined: Jan 19, 2001
Posts: 4012
    
    6
Welcome to Javaranch angelo.
Your display name doesn't quite fit the famous JavaRanch naming policy. Could you please take a minute to change your display name to show 2 names, preferably your real name. (It's all about maintaining our professional image - don't let the one-eyed moose fool you!).
Thanks and hope you'll be visiting the ranch often,
Pauline
Andrew Perepelytsya
Ranch Hand

Joined: Aug 21, 2002
Posts: 93
Hi, Angelo.
Go to the $JBOSS_HOME/server/$<your_config>/deploy dir and edit the tomcat41-service.xml file. Scroll down and you'll see an HTTP Connector section. change the 8080 port to the desired one. You can also tweak all other advanced params as needed.
Yes, and change the name to reflect your full one, don't be shy
Andrew Perepelytsya
Ranch Hand

Joined: Aug 21, 2002
Posts: 93
as you are using the 3.2.1 version, you might need to edit the /jbossweb-tomcat.sar/META-INF/jboss-service.xml file in the deploy dir.
SAR are service archives and are just zips with the extension changed.
so, you unpack, edit, repack. or you could deploy it exploded - just unpack it to a jbossweb-tomcat.sar directory.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to change port while JBoss is HTTP Server?