2 Replies Latest reply on Jan 8, 2005 8:15 AM by Bill Snyder

    Question about JMS queue config

    Bill Snyder Newbie

      anybody can help me to sort out the below problem in jboss 3.2.6

      i deployed an EJB component in deploy folder it gives the following error

      2004-12-18 15:15:33,710 ERROR [org.jboss.deployment.MainDeployer] could not create deployment: file:/D:/jboss-3.2.6/server/default/tmp/deploy/tmp20455ent.ear-contents/ent.jar
      org.jboss.deployment.DeploymentException: Stopping after fatal error: File "http://java.sun.com/dtd/ejb-JAR_2_0.dtd" not found.; - nested throwable: (org.xml.sax.SAXException: Stopping after fatal error: File "http://java.sun.com/dtd/ejb-JAR_2_0.dtd" not found.)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:312)

        • 1. Re: Question about JMS queue config
          Scott Stark Master

          The SecurityDomain attribute of the SecurityManager in the jbossmq-service.xml maps to the login-config.xml entry in the same way that the security-domain element from the ejb jar jboss.xml does.

           <mbean code="org.jboss.mq.security.SecurityManager" name="jboss.mq:service=SecurityManager">
           <attribute name="DefaultSecurityConfig">
           <security>
           <role name="guest" read="true" write="true" create="true"/>
           </security>
           </attribute>
           <attribute name="SecurityDomain">java:/jaas/jbossmq</attribute>
           <depends optional-attribute-name="NextInterceptor">jboss.mq:service=DestinationManager</depends>
           </mbean>
          



          • 2. Re: Question about JMS queue config
            Bill Snyder Newbie

            Wierd how the original post got lost at the top of the thread...

            Anyway, thanks for verifying the config....

            I didn't realize that debug/trace info goes to the log file rather than the console...whooops :)

            My login module was not handling null principals.

            Authentication and authorization works now.

            Thanks....

            --Bill