Pregunta

Estoy tratando de integrar ActiveMQ v5.4.3 con Jboss v4.0.5 usando integrarActivemq con jboss y ActiveMQ JBoss Integration pero no está funcionando y estoy obteniendo errores siguientes:

    2011-12-07 10:54:45,042 [main] ERROR org.jboss.deployment.scanner.URLDeploymentScanner - Incomplete Deployment listing:

--- Packages waiting for a deployer ---
org.jboss.deployment.DeploymentInfo@a3aa0ff2 { url=file:/C:/Users/workspace/mdi-trunk/devel/platform/jboss-4.0.5.GA/server/node/deploy/activemq-rar-5.4.3/ }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/C:/Users/workspace/mdi-trunk/devel/platform/jboss-4.0.5.GA/server/node/deploy/activemq-rar-5.4.3/
  altDD: null
  lastDeployed: 1323273285039
  lastModified: 1323209490284
  mbeans:

--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@a3aa0ff2 { url=file:/C:/Users/workspace/mdi-trunk/devel/platform/jboss-4.0.5.GA/server/node/deploy/activemq-rar-5.4.3/ }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/C:/Users/workspace/mdi-trunk/devel/platform/jboss-4.0.5.GA/server/node/deploy/activemq-rar-5.4.3/
  altDD: null
  lastDeployed: 1323273285039
  lastModified: 1323209490284
  mbeans:

--- MBeans waiting for other MBeans ---
ObjectName: jboss.jca:service=TxCM,name=activemq/QueueConnectionFactory
  State: CONFIGURED
  I Depend On:
    jboss.jca:service=ManagedConnectionPool,name=activemq/QueueConnectionFactory
    jboss.jca:service=CachedConnectionManager
    jboss:service=TransactionManager
  Depends On Me:
    jboss.jca:service=ConnectionFactoryBinding,name=activemq/QueueConnectionFactory

ObjectName: jboss.jca:service=ManagedConnectionPool,name=activemq/QueueConnectionFactory
  State: CONFIGURED
  I Depend On:
    jboss.jca:service=ManagedConnectionFactory,name=activemq/QueueConnectionFactory
  Depends On Me:
    jboss.jca:service=TxCM,name=activemq/QueueConnectionFactory

ObjectName: jboss.jca:service=ManagedConnectionFactory,name=activemq/QueueConnectionFactory
  State: CONFIGURED
  I Depend On:
    jboss.jca:service=RARDeployment,name='activemq-ra.rar'
  Depends On Me:
    jboss.jca:service=ManagedConnectionPool,name=activemq/QueueConnectionFactory

ObjectName: jboss.jca:service=ConnectionFactoryBinding,name=activemq/QueueConnectionFactory
  State: CONFIGURED
  I Depend On:
    jboss.jca:service=TxCM,name=activemq/QueueConnectionFactory

ObjectName: jboss.jca:service=TxCM,name=activemq/TopicConnectionFactory
  State: CONFIGURED
  I Depend On:
    jboss.jca:service=ManagedConnectionPool,name=activemq/TopicConnectionFactory
    jboss.jca:service=CachedConnectionManager
    jboss:service=TransactionManager
  Depends On Me:
    jboss.jca:service=ConnectionFactoryBinding,name=activemq/TopicConnectionFactory

ObjectName: jboss.jca:service=ManagedConnectionPool,name=activemq/TopicConnectionFactory
  State: CONFIGURED
  I Depend On:
    jboss.jca:service=ManagedConnectionFactory,name=activemq/TopicConnectionFactory
  Depends On Me:
    jboss.jca:service=TxCM,name=activemq/TopicConnectionFactory

ObjectName: jboss.jca:service=ManagedConnectionFactory,name=activemq/TopicConnectionFactory
  State: CONFIGURED
  I Depend On:
    jboss.jca:service=RARDeployment,name='activemq-ra.rar'
  Depends On Me:
    jboss.jca:service=ManagedConnectionPool,name=activemq/TopicConnectionFactory

ObjectName: jboss.jca:service=ConnectionFactoryBinding,name=activemq/TopicConnectionFactory
  State: CONFIGURED
  I Depend On:
    jboss.jca:service=TxCM,name=activemq/TopicConnectionFactory

ObjectName: activemq.queue:name=outboundQueue
  State: CONFIGURED
  I Depend On:
    jboss.jca:service=RARDeployment,name='activemq-ra.rar'

ObjectName: activemq.topic:name=inboundTopic
  State: CONFIGURED
  I Depend On:
    jboss.jca:service=RARDeployment,name='activemq-ra.rar'

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.jca:service=RARDeployment,name='activemq-ra.rar'
  State: NOTYETINSTALLED
  Depends On Me:
    jboss.jca:service=ManagedConnectionFactory,name=activemq/QueueConnectionFactory
    jboss.jca:service=ManagedConnectionFactory,name=activemq/TopicConnectionFactory
    activemq.queue:name=outboundQueue
    activemq.topic:name=inboundTopic

He desplegado activemq-ra.rar en el directorio de implementación de JBoss y, por lo tanto, no estoy seguro de por qué no está funcionando, realmente apreciaría cualquier puntero o sugerencias para avanzar.

gracias.

actualización Pude subir y correr, tuve un problema muy tonto, el nombre de la carpeta donde se especificó mi activemq-ra.rar como ActiveMQ-RA.1.2.2.RAR y, por lo tanto, JBoss no pudo reconocerlo mientras se inicia elsolicitud.

¿Fue útil?

Solución

Muy bien puede ser porque está utilizando una versión bastante antigua de JBoss (4.0.x) con una versión más nueva de ActiveMQ (5.4.x).JBoss está ahora en la versión 7, y han cambiado muchas cosas en el tiempo medio (solo se ha escrito el micro contenedor solo).Además, el artículo que está siguiendo es bastante viejo, ya que reemplaza a JBoss 4.x y ActiveMQ 4.0.1.Mi recomendación es seguir ese artículo y usar la versión exacta de cada como se mencionó allí o para usar el último JBoss y MQ activo y tratar de actualizar las instrucciones con documentación más reciente, como las cosas discutidas en este hilo: http://community.jboss.org/thread/172319

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top