1 Reply Latest reply on Jan 8, 2008 5:02 PM by Samuel Mendenhall

    PORT

    Jaime Martin Apprentice

      hello,
      I have a seam-gened app, so its port is 8080.
      I want to use a different port to access the application,for instance 6000, but I want the web-console and jmx-console to go on being accessed by means of 8080.
      I have tried changing server.xml this way:

      <Connector port="6000" address="${jboss.bind.address}"
       maxThreads="250" strategy="ms" maxHttpHeaderSize="8192"
       emptySessionPath="true"
       enableLookups="false" redirectPort="8443" acceptCount="100"
       connectionTimeout="20000" disableUploadTimeout="true"/>
      


      but as I supposed not only the app but the consoles are now accessed by 6000 port. I do want a different port for the consoles.
      How may I configure the ports?


        • 1. Re: PORT
          Samuel Mendenhall Apprentice

          afaik, this is not easily possible. You could of course throw Apache/mod_jk in front of JBoss and selectively mount individual webapps to different ports of your choice through Apache virtual hosting. But for each connector you create in JBoss, all of the available webapps will be available on that connector.

          -Samuel