1 Reply Latest reply: Sep 22, 2011 4:07 PM by Mark Paluch RSS

how to setup separate ports for web applications

greg dan Newbie

Hi

 

Currently all my web applications are listening on the same port set in default/deploy/jbossweb-tomcat55.sar/server.xml (jboss 4)

 

For security reasons I have to provide separate port for each web application(now just adding a few new Connectors to server.xml so each one of web apps will be accessible on )

 

This is my Connector in a server.xml right now:

 

      <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"/>

 

Thanks