3 Replies Latest reply on Feb 12, 2004 5:03 PM by meera13

    JMS With SSL

    Kevin Urciolo Newbie

      Can you give me any information on how to setup SSL in the JBoss JMS implementation?

      I searched the forum, but found nothing of use.

      I see in the documentation that some of the ILs have a SecurityDomain attribute. How do I use that?

        • 1. Re: JMS With SSL
          Kevin Urciolo Newbie

          No responses, eh? I tinkered with setting up SSL in JMS. I setup the security domain and added the information to the OIL Service.

          However, now when I start the system, I get the error:

          javax.naming.NameNotFoundException: ConnectionFactory not bound

          Any help? The JBoss documentation could use some information on this subject.


          <depends optional-attribute-name="Invoker">jboss.mq:service=Invoker
          ConnectionFactory
          XAConnectionFactory
          <attribute name="ClientSocketFactory>org.jboss.security.ssl.ClientSocketFactory
          <attribute name="ServerSocketFactory>org.jboss.security.ssl.DomainServerSocketFactory"
          8090
          5000
          ssl1
          true

          • 2. Re: JMS With SSL
            Kevin Urciolo Newbie

            Ok, now that I have fixed the obvious error in the OILService description, I get the following error.

            12:55:28,869 ERROR [OILServerILService] Failed to setSecurityDomain=ssl1 on socket factory
            12:55:28,869 ERROR [OILServerILService] Starting failed
            java.lang.NullPointerException
            at org.jboss.security.ssl.DomainServerSocketFactory.initSSLContext(DomainServerSocketFactory.java:175)
            at org.jboss.security.ssl.DomainServerSocketFactory.createServerSocket(DomainServerSocketFactory.java:107)
            at org.jboss.mq.il.oil.OILServerILService.startService(OILServerILService.java:581)
            at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:165)

            • 3. Re: JMS With SSL
              meera13 Newbie

              Could you plz tell me how did you solve the problem ... coz I am not able to configure JMS over SSL.