2 Replies Latest reply on Jan 5, 2006 11:44 AM by starksm64

    JBossMQ over SSL - Error while starting JBoss

    noidic

      Hi!

      I have a problem with JBossMQ over SSL. I'm using the actual JBoss, 4.0.3 SP1

      First of all, yes, i've read the Wiki article and followed it step by step, the server side so far. One change I had to make, if i put the keystore in the deploy-directory of the server, it tries to deploy it. This fails, so I put it in the conf-directory.

      And now for the problem...

      While starting the Server, the following Error appears:

      16:16:39,186 ERROR [UILServerILService] Failed to setSecurityDomain=java:/jaas/SSL on socket factory

      followed by a warning that the service could not be started and a stack trace, the first few lines are:

      java.lang.NullPointerException
       at org.jboss.security.ssl.Context.forDomain(Context.java:51)
       at org.jboss.security.ssl.DomainServerSocketFactory.initSSLContext(Domai
      nServerSocketFactory.java:220)
       at org.jboss.security.ssl.DomainServerSocketFactory.createServerSocket(D
      omainServerSocketFactory.java:143)
       at org.jboss.mq.il.uil2.UILServerILService.startService(UILServerILServi
      ce.java:203)
      


      I did no other changes on the JBoss configuration, except renaming two queues.

      Has anyone an idea about this issue?

      Thanks in advance

      noidic



        • 1. Re: JBossMQ over SSL - Error while starting JBoss
          noidic

          Problem solved:

          The problem was the file ssl-domain-service.xml.

          Following the WiKi, I named the file ssl-domain.xml.

          Some frustrating days after my first try I had a look at the attachments in the Wiki, there the file was named ssl-domain-service.xml

          After I renamed it to ssl-domain-service.xml, JBoss started without any problems.

          Maybe someone responsible for the Wiki should correct this, could be a annoying experience for someone new to JBoss like me.

          • 2. Re: JBossMQ over SSL - Error while starting JBoss
            starksm64

            Any user with a login can edit the wiki to correct such issues. I have corrected this however.