7 Replies Latest reply on Dec 23, 2008 4:59 AM by ataylor

    JBoss messaging help

    venuwin

      Hi,

      I am using JBoss 4.0.5 and JBOssMQ with few Message Driven Beans.
      My MQ configurations are in jbossmq-destinations-service.xml under deploy/jms.

      I want to upgrade to jboss 5.

      All i need is a nice guide to follow and migrate my application to jboss 5.

      Tried my best couple of days, ending up nowhere. Giving it the final try otherwise going to scrap it off. To live with JBoss 4 and JBoss MQ. Googled it with almost every possible combination to get something like "Configuring jboss messaging on jboss5". Tried this URL http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.0.SP3/html/configuration.html#conf.serverpeer

      but its too tedious to understand


      Can some one help ?

      Thanks in advance.
      --Venu

        • 1. Re: JBoss messaging help
          timfox

          [Moved from design forum to user forum]

          • 2. Re: JBoss messaging help
            jmesnil
            • 3. Re: JBoss messaging help
              venuwin

              Hi,

              Complete details of my issue can be had from http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197898#4197898

              Meanwhile i would go through your suggestions.

              Thanks
              Venu

              • 4. Re: JBoss messaging help
                venuwin

                Hi people,

                I took JBoss 5 and unzipped it. Started it in "all" mode. Fine.

                Then i changed messaging-service.xml under messaging folder to have one block

                
                <mbean code="org.jboss.jms.server.security.SecurityMetadataStore"
                 name="jboss.messaging:service=SecurityStore">
                
                 <!-- The default security configuration to apply to destinations
                 - this can be overridden on a per destination basis
                 -->
                 <attribute name="DefaultSecurityConfig">
                 <security>
                 <role name="guest" read="true" write="true" create="true"/>
                 </security>
                 </attribute>
                
                 <!-- The JAAS security domain to use for JBoss Messaging -->
                 <attribute name="SecurityDomain">java:/jaas/messaging</attribute>
                
                 <!--
                 This attribute defines what's the SuckerPassword used on this SecurityStore
                 -->
                 <attribute name="SuckerPassword">suckpass</attribute>
                 </mbean>
                
                


                The moment i added this mbean block the server log is as follows,

                
                
                
                E:\jboss5\jboss-5.0.0.GA\bin>run -c all
                ===============================================================================
                
                 JBoss Bootstrap Environment
                
                 JBOSS_HOME: E:\jboss5\jboss-5.0.0.GA
                
                 JAVA: C:\Program Files\Java\jdk1.5.0_08\bin\java
                
                 JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resol
                ver.warning=true -Dsun.rm
                i.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
                
                 CLASSPATH: E:\jboss5\jboss-5.0.0.GA\bin\run.jar
                
                ===============================================================================
                
                12:44:00,400 INFO [ServerImpl] Starting JBoss (Microcontainer)...
                12:44:00,400 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA
                date=200812041714)
                12:44:00,400 INFO [ServerImpl] Bootstrap URL: null
                12:44:00,400 INFO [ServerImpl] Home Dir: E:\jboss5\jboss-5.0.0.GA
                12:44:00,400 INFO [ServerImpl] Home URL: file:/E:/jboss5/jboss-5.0.0.GA/
                12:44:00,400 INFO [ServerImpl] Library URL: file:/E:/jboss5/jboss-5.0.0.GA/lib/
                12:44:00,400 INFO [ServerImpl] Patch URL: null
                12:44:00,400 INFO [ServerImpl] Common Base URL: file:/E:/jboss5/jboss-5.0.0.GA/common/
                12:44:00,400 INFO [ServerImpl] Common Library URL: file:/E:/jboss5/jboss-5.0.0.GA/common/lib/
                12:44:00,400 INFO [ServerImpl] Server Name: all
                12:44:00,400 INFO [ServerImpl] Server Base Dir: E:\jboss5\jboss-5.0.0.GA\server
                12:44:00,400 INFO [ServerImpl] Server Base URL: file:/E:/jboss5/jboss-5.0.0.GA/server/
                12:44:00,400 INFO [ServerImpl] Server Config URL: file:/E:/jboss5/jboss-5.0.0.GA/server/all/conf/
                12:44:00,400 INFO [ServerImpl] Server Home Dir: E:\jboss5\jboss-5.0.0.GA\server\all
                12:44:00,400 INFO [ServerImpl] Server Home URL: file:/E:/jboss5/jboss-5.0.0.GA/server/all/
                12:44:00,400 INFO [ServerImpl] Server Data Dir: E:\jboss5\jboss-5.0.0.GA\server\all\data
                12:44:00,400 INFO [ServerImpl] Server Library URL: file:/E:/jboss5/jboss-5.0.0.GA/server/all/lib/
                12:44:00,400 INFO [ServerImpl] Server Log Dir: E:\jboss5\jboss-5.0.0.GA\server\all\log
                12:44:00,400 INFO [ServerImpl] Server Native Dir: E:\jboss5\jboss-5.0.0.GA\server\all\tmp\native
                12:44:00,400 INFO [ServerImpl] Server Temp Dir: E:\jboss5\jboss-5.0.0.GA\server\all\tmp
                12:44:00,415 INFO [ServerImpl] Server Temp Deploy Dir: E:\jboss5\jboss-5.0.0.GA\server\all\tmp\depl
                oy
                12:44:01,880 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/E:/jboss5/jboss-5.0.0.GA
                /server/all/conf/bootstra
                p.xml
                12:44:02,956 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.Iterable
                TimedVFSCache]
                12:44:02,971 INFO [VFSCacheFactory] Using VFSCache [IterableTimedVFSCache{lifetime=1800, resolution
                =60}]
                12:44:04,842 INFO [CopyMechanism] VFS temp dir: E:\jboss5\jboss-5.0.0.GA\server\all\tmp
                12:44:04,842 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
                12:44:08,785 INFO [ServerInfo] Java version: 1.5.0_08,Sun Microsystems Inc.
                12:44:08,785 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_08-b03,Sun Microsystems In
                c.
                12:44:08,785 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
                12:44:08,894 INFO [JMXKernel] Legacy JMX core initialized
                12:44:15,923 INFO [ProfileServiceImpl] Loading profile: all from: org.jboss.system.server.profilese
                rvice.repository.Serializ
                ableDeploymentRepository@ee558f(root=E:\jboss5\jboss-5.0.0.GA\server, key=org.jboss.profileservice.s
                pi.ProfileKey@b8292623[do
                main=default,server=default,name=all])
                12:44:15,923 INFO [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.
                SerializableDeploymentRep
                ository@ee558f(root=E:\jboss5\jboss-5.0.0.GA\server, key=org.jboss.profileservice.spi.ProfileKey@b82
                92623[domain=default,serv
                er=default,name=all])
                12:44:15,923 INFO [ProfileServiceImpl] Loaded profile: ProfileImpl@97aaa6{key=org.jboss.profileserv
                ice.spi.ProfileKey@b82926
                23[domain=default,server=default,name=all]}
                12:44:31,104 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
                12:44:47,220 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core
                12:44:47,220 INFO [NativeServerConfig] 3.0.4.SP1
                12:45:08,511 INFO [CorbaNamingService] CORBA Naming Started
                12:45:14,340 INFO [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jnd
                i/rmi://127.0.0.1:1090/jm
                xconnector
                12:45:14,932 INFO [MailService] Mail Service bound to java:/Mail
                12:45:15,135 WARN [SecurityMetadataStore] Failed to lookup securityDomain java:/jaas/messaging
                javax.naming.NameNotFoundException: jaas not bound
                 at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
                 at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
                 at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
                 at org.jnp.server.NamingServer.lookup(NamingServer.java:396)
                 at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:713)
                 at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:673)
                 at javax.naming.InitialContext.lookup(InitialContext.java:351)
                 at org.jboss.jms.server.security.SecurityMetadataStore.start(SecurityMetadataStore.java:242)
                
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:585)
                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                 at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
                 at $Proxy36.start(Unknown Source)
                 at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle
                Action.java:42)
                 at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle
                Action.java:37)
                 at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(Sim
                pleControllerContextActio
                n.java:62)
                 at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControlle
                rContextAction.java:71)
                 at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerC
                ontextActions.java:51)
                 at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.
                java:348)
                 at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext
                .java:286)
                 at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                 at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93
                4)
                 at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1
                062)
                 at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9
                84)
                 at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                 at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                 at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
                 at org.jboss.system.ServiceController.start(ServiceController.java:460)
                 at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
                 at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
                 at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
                 at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(Abstra
                ctSimpleRealDeployer.java
                :62)
                 at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer
                .java:50)
                 at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
                 at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
                 at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja
                va:1157)
                 at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja
                va:1178)
                 at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
                 at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.
                java:348)
                 at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                 at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93
                4)
                 at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1
                062)
                 at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9
                84)
                 at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                 at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                 at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
                 at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
                 at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileService
                Bootstrap.java:304)
                 at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootst
                rap.java:205)
                 at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
                 at org.jboss.Main.boot(Main.java:209)
                 at org.jboss.Main$1.run(Main.java:547)
                 at java.lang.Thread.run(Thread.java:595)
                12:45:15,135 ERROR [AbstractKernelController] Error installing to Start: name=jboss.messaging:servic
                e=SecurityStore state=Cre
                ate mode=Manual requiredState=Installed
                javax.naming.NameNotFoundException: jaas not bound
                 at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
                 at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
                 at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
                 at org.jnp.server.NamingServer.lookup(NamingServer.java:396)
                 at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:713)
                 at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:673)
                 at javax.naming.InitialContext.lookup(InitialContext.java:351)
                 at org.jboss.jms.server.security.SecurityMetadataStore.start(SecurityMetadataStore.java:242)
                
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:585)
                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                 at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
                 at $Proxy36.start(Unknown Source)
                 at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle
                Action.java:42)
                 at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle
                Action.java:37)
                 at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(Sim
                pleControllerContextActio
                n.java:62)
                 at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControlle
                rContextAction.java:71)
                 at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerC
                ontextActions.java:51)
                 at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.
                java:348)
                 at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext
                .java:286)
                 at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                 at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93
                4)
                 at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1
                062)
                 at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9
                84)
                 at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                 at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                 at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
                 at org.jboss.system.ServiceController.start(ServiceController.java:460)
                 at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
                 at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
                 at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
                 at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(Abstra
                ctSimpleRealDeployer.java
                :62)
                 at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer
                .java:50)
                 at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
                 at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
                 at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja
                va:1157)
                 at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja
                va:1178)
                 at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
                 at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.
                java:348)
                 at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                 at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93
                4)
                 at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1
                062)
                 at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9
                84)
                 at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                 at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                 at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
                 at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
                 at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileService
                Bootstrap.java:304)
                 at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootst
                rap.java:205)
                 at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
                 at org.jboss.Main.boot(Main.java:209)
                 at org.jboss.Main$1.run(Main.java:547)
                 at java.lang.Thread.run(Thread.java:595)
                12:45:15,150 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/E:/jboss5/jbos
                s-5.0.0.GA/server/all/dep
                loy/messaging/messaging-service.xml state=PreReal mode=Manual requiredState=Real
                org.jboss.deployers.spi.DeploymentException: Error deploying: jboss.messaging:service=SecurityStore
                 at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentExcept
                ion.java:49)
                 at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:123)
                 at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
                 at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(Abstra
                ctSimpleRealDeployer.java
                :62)
                 at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer
                .java:50)
                 at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
                 at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
                 at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja
                va:1157)
                 at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja
                va:1178)
                 at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
                 at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.
                java:348)
                 at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                 at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93
                4)
                 at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1
                062)
                 at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9
                84)
                 at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                 at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                 at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
                 at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
                 at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileService
                Bootstrap.java:304)
                 at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootst
                rap.java:205)
                 at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
                 at org.jboss.Main.boot(Main.java:209)
                 at org.jboss.Main$1.run(Main.java:547)
                 at java.lang.Thread.run(Thread.java:595)
                Caused by: javax.naming.NameNotFoundException: jaas not bound
                 at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
                 at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
                 at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
                 at org.jnp.server.NamingServer.lookup(NamingServer.java:396)
                 at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:713)
                 at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:673)
                 at javax.naming.InitialContext.lookup(InitialContext.java:351)
                 at org.jboss.jms.server.security.SecurityMetadataStore.start(SecurityMetadataStore.java:242)
                
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:585)
                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                 at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
                 at $Proxy36.start(Unknown Source)
                 at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle
                Action.java:42)
                 at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle
                Action.java:37)
                 at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(Sim
                pleControllerContextActio
                n.java:62)
                 at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControlle
                rContextAction.java:71)
                 at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerC
                ontextActions.java:51)
                 at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.
                java:348)
                 at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext
                .java:286)
                 at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                 at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93
                4)
                 at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1
                062)
                 at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9
                84)
                 at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                 at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                 at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
                 at org.jboss.system.ServiceController.start(ServiceController.java:460)
                 at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
                 at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
                 ... 23 more
                12:45:16,054 INFO [SnmpAgentService] SNMP agent going active
                12:45:20,714 INFO [DefaultPartition] Initializing partition DefaultPartition
                12:45:20,777 INFO [STDOUT]
                -------------------------------------------------------
                GMS: address is 127.0.0.1:2870
                -------------------------------------------------------
                12:45:21,026 INFO [PlatformMBeanServerRegistration] JBossCache MBeans were successfully registered
                to the platform mbean ser
                ver.
                12:45:21,120 INFO [STDOUT]
                -------------------------------------------------------
                GMS: address is 127.0.0.1:2870
                -------------------------------------------------------
                12:45:22,896 INFO [DefaultPartition] Number of cluster members: 1
                12:45:22,896 INFO [DefaultPartition] Other members: 0
                12:45:23,146 INFO [RPCManagerImpl] Received new cluster view: [127.0.0.1:2870|0] [127.0.0.1:2870]
                12:45:23,146 INFO [RPCManagerImpl] Cache local address is 127.0.0.1:2870
                12:45:23,177 INFO [ComponentRegistry] JBoss Cache version: JBossCache 'Naga' 3.0.1.GA
                12:45:23,177 INFO [DefaultPartition] Fetching serviceState (will wait for 30000 milliseconds):
                12:45:23,177 INFO [DefaultPartition] State could not be retrieved (we are the first member in group
                )
                12:45:23,286 INFO [HANamingService] Started HAJNDI bootstrap; jnpPort=1100, backlog=50, bindAddress
                =/127.0.0.1
                12:45:23,286 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /127.0.0.1:1102, group=
                230.0.0.4, HA-JNDI addres
                s=127.0.0.1:1100
                12:45:25,827 INFO [UnifiedInvokerHA] Service name is jboss:service=invoker,type=unifiedha
                12:45:27,385 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.an
                notation.ManagementCompon
                ent
                12:45:27,806 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc
                .
                12:45:27,806 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
                12:45:28,196 INFO [TransactionManagerService] Initializing recovery manager
                12:45:28,430 INFO [TransactionManagerService] Recovery manager configured
                12:45:28,430 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
                12:45:28,507 INFO [TransactionManagerService] Starting transaction recovery manager
                12:45:30,705 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
                12:45:30,721 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
                12:45:30,721 INFO [StandardService] Starting service jboss.web
                12:45:30,721 INFO [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.1.GA
                12:45:30,845 INFO [Catalina] Server startup in 695 ms
                12:45:30,877 INFO [TomcatDeployment] deploy, ctxPath=/invoker, vfsUrl=httpha-invoker.sar/invoker.wa
                r
                12:45:32,092 INFO [TomcatDeployment] deploy, ctxPath=/juddi, vfsUrl=juddi-service.sar/juddi.war
                12:45:32,201 INFO [RegistryServlet] Loading jUDDI configuration.
                12:45:32,217 INFO [RegistryServlet] Resources loaded from: /WEB-INF/juddi.properties
                12:45:32,217 INFO [RegistryServlet] Initializing jUDDI components.
                12:45:32,591 INFO [TomcatDeployment] deploy, ctxPath=/jbossws, vfsUrl=jbossws.sar/jbossws-managemen
                t.war
                12:45:32,747 INFO [TomcatDeployment] deploy, ctxPath=/web-console, vfsUrl=management/console-mgr.sa
                r/web-console.war
                12:45:34,274 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/jboss5/jboss-5.0.0.
                GA/server/all/deploy/jbos
                s-local-jdbc.rar/META-INF/ra.xml
                12:45:34,430 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/jboss5/jboss-5.0.0.
                GA/server/all/deploy/jbos
                s-xa-jdbc.rar/META-INF/ra.xml
                12:45:34,617 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/jboss5/jboss-5.0.0.
                GA/server/all/deploy/jms-
                ra.rar/META-INF/ra.xml
                12:45:34,679 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/jboss5/jboss-5.0.0.
                GA/server/all/deploy/mail
                -ra.rar/META-INF/ra.xml
                12:45:34,757 INFO [RARDeployment] Required license terms exist, view vfszip:/E:/jboss5/jboss-5.0.0.
                GA/server/all/deploy/quar
                tz-ra.rar/META-INF/ra.xml
                12:45:34,944 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
                12:45:34,991 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
                12:45:35,007 INFO [RAMJobStore] RAMJobStore initialized.
                12:45:35,007 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from
                default resource file in
                Quartz package: 'quartz.properties'
                12:45:35,007 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
                12:45:35,007 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
                12:45:36,269 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=Data
                SourceBinding,name=Defaul
                tDS' to JNDI name 'java:DefaultDS'
                12:45:36,830 WARN [QuartzTimerServiceFactory] sql failed: CREATE TABLE QRTZ_JOB_DETAILS(JOB_NAME VA
                RCHAR(80) NOT NULL, JOB_G
                ROUP VARCHAR(80) NOT NULL, DESCRIPTION VARCHAR(120) NULL, JOB_CLASS_NAME VARCHAR(128) NOT NULL, IS_D
                URABLE VARCHAR(1) NOT NUL
                L, IS_VOLATILE VARCHAR(1) NOT NULL, IS_STATEFUL VARCHAR(1) NOT NULL, REQUESTS_RECOVERY VARCHAR(1) NO
                T NULL, JOB_DATA BINARY N
                ULL, PRIMARY KEY (JOB_NAME,JOB_GROUP))
                12:45:36,971 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
                12:45:36,971 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
                12:45:36,971 INFO [JobStoreCMT] Using db table-based data access locking (synchronization).
                12:45:37,095 INFO [JobStoreCMT] Removed 0 Volatile Trigger(s).
                12:45:37,095 INFO [JobStoreCMT] Removed 0 Volatile Job(s).
                12:45:37,095 INFO [JobStoreCMT] JobStoreCMT initialized.
                12:45:37,095 INFO [StdSchedulerFactory] Quartz scheduler 'JBossEJB3QuartzScheduler' initialized fro
                m an externally provided
                properties instance.
                12:45:37,095 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
                12:45:37,095 INFO [JobStoreCMT] Freed 0 triggers from 'acquired' / 'blocked' state.
                12:45:37,111 INFO [JobStoreCMT] Recovering 0 jobs that were in-progress at the time of the last shu
                t-down.
                12:45:37,111 INFO [JobStoreCMT] Recovery complete.
                12:45:37,111 INFO [JobStoreCMT] Removed 0 'complete' triggers.
                12:45:37,111 INFO [JobStoreCMT] Removed 0 stale fired job entries.
                12:45:37,126 INFO [QuartzScheduler] Scheduler JBossEJB3QuartzScheduler_$_NON_CLUSTERED started.
                12:45:37,610 INFO [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war
                12:45:37,766 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war
                12:45:38,030 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deploymen
                ts (SEE PREVIOUS ERRORS F
                OR DETAILS):
                
                *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
                
                jboss.jca:name=JmsXA,service=ConnectionFactoryBinding
                 -> jboss.jca:name=JmsXA,service=TxCM{Create:Configured}
                
                jboss.jca:name=JmsXA,service=ManagedConnectionFactory
                 -> jboss.messaging:service=ServerPeer{Create:** NOT FOUND Depends on 'jboss.messaging:service=ServerPe
                er' **}
                
                jboss.jca:name=JmsXA,service=ManagedConnectionPool
                 -> jboss.jca:name=JmsXA,service=ManagedConnectionFactory{Create:Configured}
                
                jboss.jca:name=JmsXA,service=TxCM
                 -> jboss.jca:name=JmsXA,service=ManagedConnectionPool{Create:Configured}
                
                jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory
                 -> jboss.messaging:service=ServerPeer{Create:** NOT FOUND Depends on 'jboss.messaging:service=ServerPe
                er' **}
                 -> jboss.messaging:service=PostOffice{Create:Configured}
                
                jboss.messaging.connectionfactory:service=ClusteredConnectionFactory
                 -> jboss.messaging:service=PostOffice{Create:Configured}
                 -> jboss.messaging:service=ServerPeer{Create:** NOT FOUND Depends on 'jboss.messaging:service=ServerPe
                er' **}
                
                jboss.messaging.connectionfactory:service=ConnectionFactory
                 -> jboss.messaging:service=PostOffice{Create:Configured}
                 -> jboss.messaging:service=ServerPeer{Create:** NOT FOUND Depends on 'jboss.messaging:service=ServerPe
                er' **}
                
                jboss.messaging.destination:name=DLQ,service=Queue
                 -> jboss.messaging:service=PostOffice{Create:Configured}
                 -> jboss.messaging:service=ServerPeer{Create:** NOT FOUND Depends on 'jboss.messaging:service=ServerPe
                er' **}
                
                jboss.messaging.destination:name=ExpiryQueue,service=Queue
                 -> jboss.messaging:service=PostOffice{Create:Configured}
                 -> jboss.messaging:service=ServerPeer{Create:** NOT FOUND Depends on 'jboss.messaging:service=ServerPe
                er' **}
                
                jboss.messaging.destination:name=SAMPLEQ,service=Queue
                 -> jboss.messaging:service=ServerPeer{Create:** NOT FOUND Depends on 'jboss.messaging:service=ServerPe
                er' **}
                 -> jboss.messaging:service=PostOffice{Create:Configured}
                
                jboss.messaging:service=PostOffice
                 -> jboss.messaging:service=ServerPeer{Create:** NOT FOUND Depends on 'jboss.messaging:service=ServerPe
                er' **}
                
                jboss.mq:service=DestinationManager
                 -> jboss.messaging:service=ServerPeer{Create:** NOT FOUND Depends on 'jboss.messaging:service=ServerPe
                er' **}
                
                
                *** CONTEXTS IN ERROR: Name -> Error
                
                vfsfile:/E:/jboss5/jboss-5.0.0.GA/server/all/deploy/messaging/messaging-service.xml -> javax.naming.NameNotFoundException: ja
                as not bound
                
                jboss.messaging:service=ServerPeer -> ** NOT FOUND Depends on 'jboss.messaging:service=ServerPeer' **
                
                
                12:45:38,233 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
                12:45:38,327 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
                12:45:38,342 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=
                200812041714)] Started in
                 1m:37s:927ms
                




                I really don't know what is the issue. Please help.
                And i followed the URL : http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.1.Beta1/html/configuration.html

                But of no use. Please help.


                • 5. Re: JBoss messaging help
                  ataylor

                  That configuration has changed since that version. If you want to change the security configuration, you'll see it in messaging-jboss-beans.xml.

                  • 6. Re: JBoss messaging help
                    venuwin

                    Hi Andy,
                    Given the inputs, could you help me out ?
                    Please..

                    • 7. Re: JBoss messaging help
                      ataylor

                      what is it you're trying to achieve