Change JBOSS to a port other than 8080
March 21, 2010 20:30:53 Last update: March 21, 2010 20:37:53
Port 8080 is undoubtedly overused. You may want to change JBOSS to a port other than the default 8080.
Edit the file
The XSLT at the bottom of the file transforms port 8080 in
Edit the file
$JBOSS_HOME/server/default/conf/bindingservice.beans/META-INF/bindings-jboss-beans.xml and change the webserver port from 8080 to 8088:
<bean class="org.jboss.services.binding.ServiceBindingMetadata"> <property name="serviceName">jboss.web:service=WebServer</property> <property name="port">8088</property> <property name="description">JBoss Web HTTP connector socket; also drives the values for the HTTPS and AJP sockets</property> <!-- Inject a XSLT transform configuration (see below) that describes how to transform server.xml If the binding value request doesn't require an XSL Transform, this config will be ignored. --> <property name="serviceBindingValueSourceConfig"><inject bean="JBossWebConnectorXSLTConfig"/></property> </bean>
The XSLT at the bottom of the file transforms port 8080 in
$JBOSS_HOME/server/default/deploy/jbossweb.sar/server.xml to 8088 specified in this file.