4 Replies Latest reply on Feb 11, 2010 5:17 AM by timfox

    Problem Starting Standalone Server

    schwanitzb

      Hi,

       

      I am encountering a problem starting a standalone server using HornetQBootstrapServer. When starting, I get the following output:

       

      Feb 10, 2010 8:14:45 PM org.hornetq.core.logging.impl.JULLogDelegate info
      INFO: Starting HornetQ Server
      Feb 10, 2010 8:14:46 PM org.hornetq.core.logging.impl.JULLogDelegate error
      SEVERE: Failed to start server
      java.lang.IllegalStateException: Incompletely deployed:

      DEPLOYMENTS IN ERROR:
         Deployment "Configuration" is in error due to: java.lang.NullPointerException

      DEPLOYMENTS MISSING DEPENDENCIES:
         Deployment "HornetQServer" is missing the following dependencies:
           Dependency "Configuration" (should be in state "Installed", but is actually in state "**ERROR**")
         Deployment "JMSServerManager" is missing the following dependencies:
           Dependency "HornetQServer" (should be in state "Installed", but is actually in state "Described")

               at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:278)
               at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:174)
               at org.hornetq.integration.bootstrap.HornetQBootstrapServer.bootstrap(HornetQBootstrapServer.java:159)
               at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:83)
               at org.hornetq.integration.bootstrap.HornetQBootstrapServer.run(HornetQBootstrapServer.java:117)
               at org.hornetq.integration.bootstrap.HornetQBootstrapServer.main(HornetQBootstrapServer.java:73)
      Exception in thread "main" java.lang.IllegalStateException: Incompletely deployed:

      DEPLOYMENTS IN ERROR:
         Deployment "Configuration" is in error due to: java.lang.NullPointerException

      DEPLOYMENTS MISSING DEPENDENCIES:
         Deployment "HornetQServer" is missing the following dependencies:
           Dependency "Configuration" (should be in state "Installed", but is actually in state "**ERROR**")
         Deployment "JMSServerManager" is missing the following dependencies:
           Dependency "HornetQServer" (should be in state "Installed", but is actually in state "Described")
               at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:278)
               at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:174)
               at org.hornetq.integration.bootstrap.HornetQBootstrapServer.bootstrap(HornetQBootstrapServer.java:159)
               at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:83)
               at org.hornetq.integration.bootstrap.HornetQBootstrapServer.run(HornetQBootstrapServer.java:117)
               at org.hornetq.integration.bootstrap.HornetQBootstrapServer.main(HornetQBootstrapServer.java:73)

       

      I suspect I'm not setting up the environment properly. But I don't know where to look for additional info.

       

      I have attached a zip file that should reproduce the problem on a Win machine. Just unzip the contents to some temp location. Then CD to templocation\bin and execute run.bat.

       

      Thanks so much for any help you can offer,

      Bill