1 2 Previous Next 17 Replies Latest reply on Apr 14, 2011 2:32 AM by jaikiran pai

    Setting up queues in JBoss 6.0.0 Final

    Thando Gqabaza Newbie

      hi guys,

      I am in the process of migrating from jboss 5.1GA to jboss 6.0Final. I have a small issue with my queues. How does one setup the queues on jboss 6? When I startthe server, I get

      javax.naming.NameNotFoundException: RequestProcessorQueue not bound

      Where do I specify the queues?

        • 1. Setting up queues in JBoss 6.0.0 Final
          Wolfgang Knauf Master

          Hi,

           

          the JMS framework was replaced in AS6. For a quick start: Take a look at this document: http://community.jboss.org/wiki/HowtocreateJMSqueuetopicinAS6

           

          Hope this helps

           

          Wolfgang

          • 2. Setting up queues in JBoss 6.0.0 Final
            Thando Gqabaza Newbie

            Never mind guys, I found the file to update.

             

            For interest sake, I added the a queue element to the hornet-jms.xml file

            • 3. Setting up queues in JBoss 6.0.0 Final
              Thando Gqabaza Newbie

              Thanks wolfgang, I was on the right track

              • 4. Setting up queues in JBoss 6.0.0 Final
                Thando Gqabaza Newbie

                Wolfgang and team,

                After making the change yesterday, the issue was resolved as I stated. I have now run into another issue, see stacktrace below:

                10:22:35,896 ERROR [AbstractKernelController] Error installing to Real: name=vfs:///C:/jboss-6.0.0/jboss-6.0.0.Final/server/ESPS/deploy/esps.ear state=PreReal m

                ode=Manual requiredState=Real: org.jboss.deployers.spi.DeploymentException: Error deploying: jboss.messaging.destination:service=Queue,name=RequestHandlerQueue

                        at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) [:2.2.0.GA]

                        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:125) [:6.0.0.Final]

                        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:49) [:6.0.0.Final]

                        at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) [:2.2.0.GA]

                        at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.0.GA]

                        at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.GA]

                        at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.GA]

                        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.GA]

                        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1571) [:2.2.0.GA]

                        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1603) [:2.2.0.GA]

                        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1603) [:2.2.0.GA]

                        at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.GA]

                        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]

                        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]

                        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]

                        at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]

                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]

                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]

                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]

                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]

                        at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.GA]

                        at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.GA]

                        at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.GA]

                        at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.Final]

                        at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [:0.2.2]

                        at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151) [:0.2.2]

                        at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.2.2]

                        at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA]

                        at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA]

                        at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.

                2.0.GA]

                        at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]

                        at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]

                        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]

                        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]

                        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]

                        at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]

                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]

                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]

                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]

                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]

                        at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190) [:0.2.2]

                        at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87) [:0.2.2]

                        at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215) [:0.2.2]

                        at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159) [:0.2.2]

                        at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:112) [:0.2.2]

                        at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:87) [:0.2.2]

                        at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:91) [:0.2.2]

                        at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:132) [:6.0.0.Final]

                        at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]

                        at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]

                        at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]

                        at java.lang.Thread.run(Thread.java:662) [:1.6.0_22]

                Caused by: java.lang.ClassNotFoundException: org.jboss.jms.server.destination.QueueService from BaseClassLoader@24aa59{vfs:///C:/jboss-6.0.0/jboss-6.0.0.Final/s

                erver/ESPS/deploy/esps.ear}

                        at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:480) [jboss-classloader.jar:2.2.0.GA]

                        at java.lang.ClassLoader.loadClass(ClassLoader.java:248) [:1.6.0_22]

                        at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1216) [:6.0.0.GA]

                        at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:288) [:6.0.0.GA]

                        at org.jboss.system.ServiceCreator.installExternalXMBean(ServiceCreator.java:293) [:6.0.0.Final (Build SVNTag:JBoss_6.0.0.Final date: 20101228)]

                        at org.jboss.system.ServiceCreator.install(ServiceCreator.java:140) [:6.0.0.Final (Build SVNTag:JBoss_6.0.0.Final date: 20101228)]

                        at org.jboss.system.microcontainer.InstantiateAction.installAction(InstantiateAction.java:73) [:2.2.0.GA]

                        at org.jboss.system.microcontainer.InstantiateAction.installAction(InstantiateAction.java:46) [:2.2.0.GA]

                        at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.

                2.0.GA]

                        at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]

                        at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]

                        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]

                        at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:301) [:2.2.0.GA]

                        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]

                        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]

                        at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]

                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]

                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]

                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]

                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]

                        at org.jboss.system.ServiceController.doChange(ServiceController.java:671) [:6.0.0.Final (Build SVNTag:JBoss_6.0.0.Final date: 20101228)]

                        at org.jboss.system.ServiceController.install(ServiceController.java:257) [:6.0.0.Final (Build SVNTag:JBoss_6.0.0.Final date: 20101228)]

                        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:93) [:6.0.0.Final]

                        ... 50 more

                 

                the line I noticed and thaught it brings light is this one:

                Caused by: java.lang.ClassNotFoundException: org.jboss.jms.server.destination.QueueService from BaseClassLoader@24aa59{vfs:///C:/jboss-6.0.0/jboss-6.0.0.Final/s

                erver/ESPS/deploy/esps.ear}

                 

                Is there a class I am missing that maybe needs to be in the .ear file? Or is there a configuration I need to setup inside the ear file?

                This is a snuppet from the hornetq-jms.xml file.

                   <queue name="RequestHandlerQueue">

                      <entry name="/queue/RequestHandlerQueue"/>

                   </queue>

                 

                Any help please.

                • 5. Setting up queues in JBoss 6.0.0 Final
                  Wolfgang Knauf Master

                  Hi,

                   

                  your config looks OK to me - I have a working queue with just those three lines.

                   

                  Two things to look at:

                  -does your EAR bundle any JBoss specific JARs? "org.jboss.jms.server.destination.QueueService" looks like a part of the AS5 messaging system.

                  -what annotations did you place on your MessageBeans (if you used ejb-jar.xml, check the MDB config there)?

                   

                  Hope this helps

                   

                  Wolfgang

                  • 6. Setting up queues in JBoss 6.0.0 Final
                    Thando Gqabaza Newbie

                    Hi Wolfgang.

                    there is jboss-el, jboss-seam-remoting.jar files.

                     

                    The MDB has the following queue:

                    @MessageDriven(activationConfig =

                    {

                            @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Queue"),

                            @ActivationConfigProperty(propertyName="destination", propertyValue="queue/RequestHandlerQueue"),

                            @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge"),

                            @ActivationConfigProperty(propertyName = "maxSession",propertyValue = "5")

                     

                    this is my ejb-jar.xml:

                    <?xml version="1.0" encoding="UTF-8"?>

                    <ejb-jar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:ejb="http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd" version="3.0">

                      <interceptors>

                        <interceptor>

                          <interceptor-class>org.jboss.seam.ejb.SeamInterceptor</interceptor-class>

                        </interceptor>

                      </interceptors>

                      <assembly-descriptor>

                        <interceptor-binding>

                          <ejb-name>*</ejb-name>

                          <interceptor-class>org.jboss.seam.ejb.SeamInterceptor</interceptor-class>

                        </interceptor-binding>

                      </assembly-descriptor>

                    </ejb-jar>

                    • 7. Setting up queues in JBoss 6.0.0 Final
                      jaikiran pai Master

                      Are there any *-service.xml or any other xml files in your application which refer to the JBoss Messaging class?

                      • 8. Setting up queues in JBoss 6.0.0 Final
                        Thando Gqabaza Newbie

                        Hi Jaikiran.

                         

                        I do have one, request-queue-service.xml.

                        the contents are as folows:

                        <?xml version="1.0" encoding="UTF-8"?>

                        <server><!--

                                  <mbean code="org.jboss.messaging.core.plugin.JDBCPersistenceManager"

                              name="jboss.messaging:service=PersistenceManager"

                              xmbean-dd="xmdesc/JDBCPersistenceManager-xmbean.xml">

                              <depends>jboss.jca:service=DataSourceBinding,name=DefaultDS</depends>

                              <depends optional-attribute-name="TransactionManager">jboss:service=TransactionManager</depends>

                              <depends optional-attribute-name="ChannelMapper">jboss.messaging:service=ChannelMapper</depends>

                              <attribute name="DataSource">java:/DefaultDS</attribute>

                              <attribute name="CreateTablesOnStartup">true</attribute>

                              <attribute name="UsingBatchUpdates">true</attribute>

                           </mbean>          -->

                                  <mbean code="org.jboss.jms.server.destination.QueueService"

                                                      name="jboss.messaging.destination:service=Queue,name=RequestHandlerQueue"

                                                      xmbean-dd="xmdesc/Queue-xmbean.xml">

                                            <depends optional-attribute-name="ServerPeer">

                                                      jboss.messaging:service=ServerPeer

                                            </depends>

                                            <depends>jboss.messaging:service=PostOffice</depends>

                                  </mbean>

                        </server>

                        • 9. Setting up queues in JBoss 6.0.0 Final
                          jaikiran pai Master

                          Remove that file. That's the queue definition file which you no longer need since for HornetQ, you now have a separate xml file for queue configuration.

                          • 10. Setting up queues in JBoss 6.0.0 Final
                            Thando Gqabaza Newbie

                            hi Jaikiran,

                             

                            I removed the file, repackaged and got the same error.

                            What else can I look at?

                            • 11. Setting up queues in JBoss 6.0.0 Final
                              jaikiran pai Master

                              Thando Gqabaza wrote:

                               

                               

                               

                              I removed the file, repackaged and got the same error.

                              What else can I look at?

                              Post the entire exception stacktrace (after the changes you did) and post the output of:

                               

                              jar -tf esps.ear

                              • 12. Setting up queues in JBoss 6.0.0 Final
                                Thando Gqabaza Newbie

                                stacktrace:

                                09:58:51,570 ERROR [AbstractKernelController] Error installing to Real: name=vfs:///C:/jboss-6.0.0/jboss-6.0.0.Final/server/ESPS/deploy/esps.ear state=PreReal m

                                ode=Manual requiredState=Real: org.jboss.deployers.spi.DeploymentException: Error deploying: jboss.messaging.destination:service=Queue,name=RequestHandlerQueue

                                        at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) [:2.2.0.GA]

                                        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:125) [:6.0.0.Final]

                                        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:49) [:6.0.0.Final]

                                        at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) [:2.2.0.GA]

                                        at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.0.GA]

                                        at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.GA]

                                        at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.GA]

                                        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.GA]

                                        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1571) [:2.2.0.GA]

                                        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1603) [:2.2.0.GA]

                                        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1603) [:2.2.0.GA]

                                        at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.GA]

                                        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]

                                        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]

                                        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]

                                        at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]

                                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]

                                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]

                                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]

                                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]

                                        at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.GA]

                                        at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.GA]

                                        at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.GA]

                                        at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.Final]

                                        at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [:0.2.2]

                                        at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151) [:0.2.2]

                                        at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.2.2]

                                        at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA]

                                        at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA]

                                        at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.

                                2.0.GA]

                                        at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]

                                        at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]

                                        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]

                                        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]

                                        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]

                                        at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]

                                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]

                                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]

                                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]

                                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]

                                        at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190) [:0.2.2]

                                        at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87) [:0.2.2]

                                        at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215) [:0.2.2]

                                        at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159) [:0.2.2]

                                        at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:112) [:0.2.2]

                                        at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:87) [:0.2.2]

                                        at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:91) [:0.2.2]

                                        at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:132) [:6.0.0.Final]

                                        at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]

                                        at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]

                                        at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]

                                        at java.lang.Thread.run(Thread.java:662) [:1.6.0_22]

                                Caused by: java.lang.ClassNotFoundException: org.jboss.jms.server.destination.QueueService from BaseClassLoader@356eb0{vfs:///C:/jboss-6.0.0/jboss-6.0.0.Final/s

                                erver/ESPS/deploy/esps.ear}

                                        at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:480) [jboss-classloader.jar:2.2.0.GA]

                                        at java.lang.ClassLoader.loadClass(ClassLoader.java:248) [:1.6.0_22]

                                        at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1216) [:6.0.0.GA]

                                        at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:288) [:6.0.0.GA]

                                        at org.jboss.system.ServiceCreator.installExternalXMBean(ServiceCreator.java:293) [:6.0.0.Final (Build SVNTag:JBoss_6.0.0.Final date: 20101228)]

                                        at org.jboss.system.ServiceCreator.install(ServiceCreator.java:140) [:6.0.0.Final (Build SVNTag:JBoss_6.0.0.Final date: 20101228)]

                                        at org.jboss.system.microcontainer.InstantiateAction.installAction(InstantiateAction.java:73) [:2.2.0.GA]

                                        at org.jboss.system.microcontainer.InstantiateAction.installAction(InstantiateAction.java:46) [:2.2.0.GA]

                                        at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.

                                2.0.GA]

                                        at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]

                                        at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]

                                        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]

                                        at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:301) [:2.2.0.GA]

                                        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]

                                        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]

                                        at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]

                                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]

                                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]

                                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]

                                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]

                                        at org.jboss.system.ServiceController.doChange(ServiceController.java:671) [:6.0.0.Final (Build SVNTag:JBoss_6.0.0.Final date: 20101228)]

                                        at org.jboss.system.ServiceController.install(ServiceController.java:257) [:6.0.0.Final (Build SVNTag:JBoss_6.0.0.Final date: 20101228)]

                                        at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:93) [:6.0.0.Final]

                                        ... 50 more

                                 

                                 

                                09:58:51,892 INFO  [service] Removing bootstrap log handlers

                                09:58:52,758 ERROR [ProfileServiceBootstrap] Failed to load profile:: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deploy

                                ments (SEE PREVIOUS ERRORS FOR DETAILS):

                                 

                                 

                                DEPLOYMENTS IN ERROR:

                                  Deployment "vfs:///C:/jboss-6.0.0/jboss-6.0.0.Final/server/ESPS/deploy/esps.ear" is in error due to the following reason(s): java.lang.ClassNotFoundException:

                                org.jboss.jms.server.destination.QueueService from BaseClassLoader@356eb0{vfs:///C:/jboss-6.0.0/jboss-6.0.0.Final/server/ESPS/deploy/esps.ear}

                                 

                                 

                                        at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.0.GA]

                                        at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.0.GA]

                                        at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.0.0.Final]

                                        at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:107) [:0.2.2]

                                        at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:135) [:6.0.0.Final]

                                        at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]

                                        at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]

                                        at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]

                                        at java.lang.Thread.run(Thread.java:662) [:1.6.0_22]

                                 

                                 

                                09:58:53,037 INFO  [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080

                                 

                                 

                                Output of jar -tf esps.ear

                                C:\jboss-6.0.0\jboss-6.0.0.Final\server\ESPS\deploy>jar -tf esps.ear

                                META-INF/MANIFEST.MF

                                espsAdmin.war

                                espsJar.jar

                                espsWar.war

                                ServiceSetup.war

                                META-INF/

                                META-INF/application.xml

                                META-INF/jboss-app.xml

                                jboss-seam.jar

                                lib/

                                lib/SfmexApiAutoJni.jar

                                lib/WsmApiJni.jar

                                lib/antlr-runtime.jar

                                lib/axis.jar

                                lib/commons-beanutils.jar

                                lib/commons-discovery-0.2.jar

                                lib/drools-api.jar

                                lib/drools-compiler.jar

                                lib/drools-core.jar

                                lib/jboss-el.jar

                                lib/jboss-seam-remoting.jar

                                lib/jbpm-jpdl.jar

                                lib/mvel2.jar

                                lib/richfaces-api.jar

                                lib/wsdl4j.jar

                                • 13. Setting up queues in JBoss 6.0.0 Final
                                  Wolfgang Knauf Master

                                  Hi,

                                   

                                  how do your WAR and JAR files look like? Any other "request-queue-service.xml" file (or other JMS config fragments)?

                                   

                                  Best regards

                                   

                                  Wolfgang

                                  • 14. Setting up queues in JBoss 6.0.0 Final
                                    Thando Gqabaza Newbie

                                    Hi guys.

                                     

                                    I really dont know what the problem could be anymore. Wolfgang, I did not see any other "request-queue-service.xml" file or any file that might be using the deprecated messaging service.

                                    I found that one of the war files was pointing to both JBoss 5 and 6 runtime and I removed the 5, no difference.

                                     

                                    any more ideas?

                                    1 2 Previous Next