JBoss Community

Problem creating Queue for use with ESB Service

created by Steve Kruse in JBoss ESB Development - View the full discussion

Hi,

 

I am having problem creating a Queue that is used for my service and I'm not real sure what the issue is.  I have tried to recreate my jboss-service.xml file thinking it may be corrupt but that doesn't seem to help.  I don't understand either why the second queue seems to be created fine but not the first(this can be seen in the log).  Here is the error I am getting,  any help would be much appreciated.

 

jboss-service.xml that resides in the deployment directory:

 

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

<server>

  <mbean code="org.jboss.mq.server.jmx.Queue"

    name="jboss.messaging.destination:service=Queue,name=com.ngc.fni.CommOutbound">

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

      jboss.mq:service=DestinationManager

    </depends>

  </mbean>

  <mbean code="org.jboss.mq.server.jmx.Queue"

    name="jboss.messaging.destination:service=Queue,name=com.ngc.fni.CommInbound">

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

      jboss.mq:service=DestinationManager

    </depends>

  </mbean>

  <mbean code="org.jboss.mq.server.jmx.Queue"

    name="jboss.messaging.destination:service=Queue,name=com.ngc.fni.QueueFeedback">

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

      jboss.mq:service=DestinationManager

    </depends>

  </mbean>

  <mbean code="org.jboss.mq.server.jmx.Queue"

    name="jboss.messaging.destination:service=Queue,name=com.ngc.fni.QueueInbound">

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

      jboss.mq:service=DestinationManager

    </depends>

  </mbean>

</server>

 

This is the exception I keep getting:

 

2011-05-25 08:48:46,158 INFO  [org.jboss.jms.server.connectionfactory.ConnectionFactory] (main) org.jboss.jms.server.connectionfactory.ConnectionFactory@4dab04cf started

2011-05-25 08:48:46,332 ERROR [org.jboss.messaging.util.ExceptionUtil] (main) Queue[null, name=com.ngc.fni.CommOutbound] startService

java.io.EOFException

    at java.io.DataInputStream.readFully(DataInputStream.java:180)

    at java.io.DataInputStream.readUTF(DataInputStream.java:592)

    at java.io.DataInputStream.readUTF(DataInputStream.java:547)

    at org.jboss.messaging.util.StreamUtils.readMap(StreamUtils.java:313)

    at org.jboss.messaging.core.impl.JDBCPersistenceManager.bytesToMap(JDBCPersistenceManager.java:2317)

    at org.jboss.messaging.core.impl.JDBCPersistenceManager$1GetMessageListTX.doTransaction(JDBCPersistenceManager.java:577)

    at org.jboss.messaging.core.impl.JDBCPersistenceManager$1GetMessageListTX.doTransaction(JDBCPersistenceManager.java:497)

    at org.jboss.messaging.core.impl.JDBCSupport$JDBCTxRunner2.execute(JDBCSupport.java:474)

    at org.jboss.messaging.core.impl.JDBCSupport$JDBCTxRunner2.executeWithRetry(JDBCSupport.java:512)

    at org.jboss.messaging.core.impl.JDBCPersistenceManager.getMessages(JDBCPersistenceManager.java:614)

    at org.jboss.messaging.core.impl.PagingChannelSupport.processReferences(PagingChannelSupport.java:565)

    at org.jboss.messaging.core.impl.PagingChannelSupport.doLoad(PagingChannelSupport.java:498)

    at org.jboss.messaging.core.impl.PagingChannelSupport.load(PagingChannelSupport.java:211)

    at org.jboss.jms.server.destination.QueueService.startService(QueueService.java:105)

    at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376)

    at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:322)

    at sun.reflect.GeneratedMethodAccessor81.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

    at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)

    at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)

    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)

    at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)

    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:189)

    at $Proxy38.start(Unknown Source)

    at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)

    at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)

    at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

    at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

    at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.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:1631)

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

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

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

    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:163)

    at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)

    at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)

    at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.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.java:1157)

    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java: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:1631)

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

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

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

    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:702)

    at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)

    at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)

    at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)

    at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)

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

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

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

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

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

    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

    at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)

    at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)

    at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)

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

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

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

2011-05-25 08:48:46,348 INFO  [org.jboss.jms.server.destination.QueueService] (main) Queue[/queue/com.ngc.fni.QueueInbound] started, fullSize=200000, pageSize=2000, downCacheSize=2000

2011-05-25 08:48:46,358 INFO  [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] (main) Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'

Reply to this message by going to Community

Start a new discussion in JBoss ESB Development at Community