2 Replies Latest reply on Jan 26, 2004 2:23 AM by semama1

    SSL with multiple jboss instances

    semama1 Newbie

      Hi,

      I sent this message Installation&Configuration forum two weeks ago, but I haven't got any replies..

      I'm using jboss 3.2.2 with tomcat.

      I've succeeded to run multiple jboss instances on one machine and accessing jmx-console using http but not by using https.

      When I run one instance (default) of jboss I have succeeded to configure SSL right and can access jmx-console using both http and https.

      Here is the configuring I've used (jboss/server/default/deploy/jbossweb-tomcat41.sar/META-INF/jboss-service.xml):

      <Connector className = "org.apache.coyote.tomcat4.CoyoteConnector"
       address="" port = "8443" scheme = "https" secure = "true">
       <Factory className = "org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
       keystoreFile="/conf/keystore"
       keystorePass="changeit"
       protocol = "TLS"/>



      I have used exactly the same configuration for the different jboss instances (changend the port numbers), but as I said earlier haven't been able to access the jmx-console using https. I don't even get any log to the access-log file. How will I configure jboss to listen to the https port when running multiple instances?

      What have I missed? In sample-bindings.xml that I used for running multiple instances of jboss, the http port is defined (per instance), should the https port be defined in that file as well? How?

      Thanks!
      /Marika

        • 1. Re: SSL with multiple jboss instances
          Darran Lofthouse Master

          haven't been able to access the jmx-console using https - What exactly do you mean, do you get any errors from the web browser?

          Do you know if JBoss is listening on the ports you have configured? (netstat -an)

          • 2. Re: SSL with multiple jboss instances
            semama1 Newbie

            I actually managed to solve this..

            In sample-bindings.xml file there are rows written in xsl that fix the configuration of the ports in tomcat (i'm not that familiar with xsl). What I did was that I uncommented these rows which resulted in that the jboss-service.xml file (in deploy/jbossweb-tomcat41.sar/META-INF directory) is used with the ports that i configured and now i can access the webapplication with https aswell.

            Now I'll try to figure out how to use xsl so that all the used ports can be defined by using the sample-bindings.xml file.

            /M