0 Replies Latest reply on Aug 12, 2011 3:46 AM by nareshpa

    jboss as Hornetq starting exception

    nareshpa Newbie

      I followed following steps to start jboss

       

      1.   Open the command prompt and set the JBOSS_HOME environment to the JBoss installation directory

      set JBOSS_HOME=C:\jboss-5.1.0.GA

      set HORNETQ_HOME environment variable to the HornetQ installation  directory.

      set HORNETQ_HOME=C:\hornetq-2.1.1.Final

      2.Run build.bat under HORNETQ_HOME/config/jboss-as-5 directory

      C:\hornetq-2.1.1.Final\config\jboss-as-5>build.bat

      This will create 2 new profiles under $JBOSS_HOME/server directory:

      –> default-with-hornetq — it corresponds to AS 5 default profile with HornetQ as its JMS provider. In this profile, HornetQ is non-clustered

      –> all-with-hornetq — it corresponds to AS 5 all profile with HornetQ as its JMS provider. In this profile, HornetQ is clustered

      You can then start JBoss AS 5 using one of these profiles, e.g. :

      $JBOSS_HOME/bin/run.bat -c default-with-hornetq

       

      after completion of above steps, I have started jboss but I got following exception. please tell me how to resolve

       

      2:47:38,778 INFO  [JMXIntroduction] Registered MBean jboss:service=invoker,type=jrmpha

      2:47:39,247 INFO  [UnifiedInvokerHA] Service name is jboss:service=invoker,type=unifiedha

      2:47:39,247 INFO  [JMXIntroduction] Registered MBean jboss:service=invoker,type=unifiedha

      2:47:39,731 INFO  [JMXIntroduction] Registered MBean jboss:service=HASingletonDeploymentScanner,partitionName=DefaultPartition

      2:47:41,044 ERROR [AbstractKernelController] Error installing to Described: name=MBeanServer state=Not Installed

      ava.lang.IllegalArgumentException: javax.management.MBeanServer is an interface

             at org.jboss.beans.info.plugins.AbstractBeanInfoFactory.getBeanInfo(AbstractBeanInfoFactory.java:132)

             at org.jboss.config.plugins.AbstractConfiguration.getBeanInfo(AbstractConfiguration.java:73)

             at org.jboss.kernel.plugins.config.AbstractKernelConfig.getBeanInfo(AbstractKernelConfig.java:55)

             at org.jboss.kernel.plugins.config.AbstractKernelConfigurator.getBeanInfo(AbstractKernelConfigurator.java:65)

             at org.jboss.kernel.plugins.config.AbstractKernelConfigurator.getBeanInfo(AbstractKernelConfigurator.java:84)

             at org.jboss.kernel.plugins.dependency.DescribeAction.installAction(DescribeAction.java:63)

             at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:96)

             at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

             at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)

             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709)

             at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429)

             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538)

             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472)

             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:274)

             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:177)

             at org.jboss.deployers.plugins.deployers.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:67)

             at org.jboss.deployers.plugins.deployers.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:42)

             at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:53)

             at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52)

             at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:145)

             at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:440)

             at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:451)

             at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:381)

             at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:366)

             at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:246)

             at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)

             at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:401)

             at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:340)

             at org.jboss.Main.boot(Main.java:210)

             at org.jboss.Main$1.run(Main.java:508)

             at java.lang.Thread.run(Thread.java:619)

      2:47:41,576 ERROR [STDERR] Aug 12, 2011 12:47:41 PM org.hornetq.core.logging.impl.JULLogDelegate warn

      ARNING: AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal

      2:47:42,232 INFO  [ServiceEndpointManager] WebServices: jbossws-2.0.0.CR2.DEV (date=200611171751)

      2:47:44,248 INFO  [TomcatDeployment] deploy, ctxPath=/invoker, warUrl=.../deploy/httpha-invoker.sar/invoker.war/