2 Replies Latest reply on Jun 19, 2009 4:04 AM by Jeff Mesnil

    divert example failing

    Andy Taylor Master

      with the following

      runExample:
       [java] serverProps = -XX:+UseParallelGC -Xms256M -Xmx256M -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -Dcom.sun.management.jmxremote -Djava.util.logging.config.file=/home/andy/projects/JBMTrunk2/examples/common/config/logging.properties -Dorg.jboss.logging.Logger.pluginClass=org.jboss.messaging.integration.logging.JBMLoggerPlugin -Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory -Djava.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
       [java] 19-Jun-2009 08:47:53 org.jboss.common.example.JBMExample run
       [java] INFO: jbm.example.runServer is true
       [java] 19-Jun-2009 08:47:53 org.jboss.common.example.JBMExample startServer
       [java] INFO: starting server with config 'server0' logServerOutput true
       [java] JBMServer err:08:47:55,030 SEVERE [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Start: name=Configuration state=Create
       [java] JBMServer err:java.lang.IllegalArgumentException: routing-name must neither be null nor empty
       [java] JBMServer err: at org.jboss.messaging.core.config.impl.Validators$2.validate(Validators.java:65)
       [java] JBMServer err: at org.jboss.messaging.utils.XMLConfigurationUtil.getString(XMLConfigurationUtil.java:67)
       [java] JBMServer err: at org.jboss.messaging.core.config.impl.FileConfiguration.parseDivertConfiguration(FileConfiguration.java:658)
       [java] JBMServer err: at org.jboss.messaging.core.config.impl.FileConfiguration.start(FileConfiguration.java:271)
       [java] JBMServer err: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       [java] JBMServer err: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       [java] JBMServer err: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       [java] JBMServer err: at java.lang.reflect.Method.invoke(Method.java:597)
       [java] JBMServer err: at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
       [java] JBMServer err: at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
       [java] JBMServer err: at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
       [java] JBMServer err: at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
       [java] JBMServer err: at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
       [java] JBMServer err: at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
       [java] JBMServer err: at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
       [java] JBMServer err: at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
       [java] JBMServer err: at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
       [java] JBMServer err: at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
       [java] JBMServer err: at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
       [java] JBMServer err: at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
       [java] JBMServer err: at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
       [java] JBMServer err: at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
       [java] JBMServer err: at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
       [java] JBMServer err: at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
       [java] JBMServer err: at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
       [java] JBMServer err: at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
       [java] JBMServer err: at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
       [java] JBMServer err: at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
       [java] JBMServer err: at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:319)
       [java] JBMServer err: at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:297)
       [java] JBMServer err: at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:130)
       [java] JBMServer err: at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:96)
       [java] JBMServer err: at org.jboss.messaging.integration.bootstrap.JBMBootstrapServer.deploy(JBMBootstrapServer.java:246)
       [java] JBMServer err: at org.jboss.messaging.integration.bootstrap.JBMBootstrapServer.deploy(JBMBootstrapServer.java:215)
       [java] JBMServer err: at org.jboss.messaging.integration.bootstrap.JBMBootstrapServer.bootstrap(JBMBootstrapServer.java:164)
       [java] JBMServer err: at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:83)
       [java] JBMServer err: at org.jboss.messaging.integration.bootstrap.JBMBootstrapServer.run(JBMBootstrapServer.java:126)
       [java] JBMServer err: at org.jboss.common.example.SpawnedJBMServer.main(SpawnedJBMServer.java:44)
       [java] JBMServer err:08:47:55,132 SEVERE [org.jboss.messaging.integration.bootstrap.JBMBootstrapServer] Failed to start server
       [java] JBMServer err:java.lang.IllegalStateException: Incompletely deployed:
       [java] JBMServer err:
       [java] JBMServer err:DEPLOYMENTS IN ERROR:
       [java] JBMServer err: Deployment "Configuration" is in error due to: java.lang.IllegalArgumentException: routing-name must neither be null nor empty
       [java] JBMServer err:
       [java] JBMServer err:DEPLOYMENTS MISSING DEPENDENCIES:
       [java] JBMServer err: Deployment "JMSServerManager" is missing the following dependencies:
       [java] JBMServer err: Dependency "MessagingServer" (should be in state "Installed", but is actually in state "Described")
       [java] JBMServer out:FAILED::Incompletely deployed:
       [java] JBMServer err: Deployment "MessagingServer" is missing the following dependencies:
       [java] JBMServer err: Dependency "Configuration" (should be in state "Installed", but is actually in state "**ERROR**")
       [java] JBMServer err:
       [java] JBMServer err: at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:278)
       [java] JBMServer err: at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:174)
       [java] JBMServer err: at org.jboss.messaging.integration.bootstrap.JBMBootstrapServer.bootstrap(JBMBootstrapServer.java:167)
       [java] JBMServer err: at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:83)
       [java] JBMServer err: at org.jboss.messaging.integration.bootstrap.JBMBootstrapServer.run(JBMBootstrapServer.java:126)
       [java] JBMServer err: at org.jboss.common.example.SpawnedJBMServer.main(SpawnedJBMServer.java:44)
       [java] java.lang.RuntimeException: server failed to start
       [java] at org.jboss.common.example.SpawnedVMSupport.spawnVM(SpawnedVMSupport.java:143)
       [java] at org.jboss.common.example.JBMExample.startServer(JBMExample.java:165)
       [java] at org.jboss.common.example.JBMExample.startServers(JBMExample.java:181)
       [java] at org.jboss.common.example.JBMExample.run(JBMExample.java:78)
       [java] at org.jboss.jms.example.DivertExample.main(DivertExample.java:49)
       [java] java.lang.NullPointerException
       [java] at org.jboss.common.example.JBMExample.stopServer(JBMExample.java:198)
       [java] at org.jboss.common.example.JBMExample.stopServers(JBMExample.java:189)
       [java] at org.jboss.common.example.JBMExample.run(JBMExample.java:109)
       [java] at org.jboss.jms.example.DivertExample.main(DivertExample.java:49)
       [java]
       [java] #####################
       [java] ### FAILURE! ###
       [java] #####################
       [java] JBMServer out:
       [java] JBMServer out:DEPLOYMENTS IN ERROR:
       [java] JBMServer out: Deployment "Configuration" is in error due to: java.lang.IllegalArgumentException: routing-name must neither be null nor empty
       [java] JBMServer out:
       [java] JBMServer out:DEPLOYMENTS MISSING DEPENDENCIES:
       [java] JBMServer out: Deployment "JMSServerManager" is missing the following dependencies:
       [java] JBMServer out: Dependency "MessagingServer" (should be in state "Installed", but is actually in state "Described")
       [java] JBMServer out: Deployment "MessagingServer" is missing the following dependencies:
       [java] JBMServer out: Dependency "Configuration" (should be in state "Installed", but is actually in state "**ERROR**")
       [java] Java Result: 1
      
      BUILD FAILED
      /home/andy/projects/JBMTrunk2/examples/common/build.xml:192: The following error occurred while executing this line:
      /home/andy/projects/JBMTrunk2/examples/jms/divert/build.xml:36: The following error occurred while executing this line:
      /home/andy/projects/JBMTrunk2/examples/common/build.xml:150: Example org.jboss.jms.example.DivertExample failed