Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [Messaging, JMS & JBossMQ] - Too many MDB's

scott.stark@jboss.org

2007-07-11


I am trying to set up mdb's to integrate 5 applications. I am trying to set up an WSMQ queue/mdb for each function. I can define 4 mdbs in ejb-jar.xml and jboss.xml with no problems but once I define 5, I start getting an error (see below) on the last ones defined in ejb-jar.xml. I assume there is a "maximum" setting somewhere but I cannot find it in MQSeries or jboss doc.


Will someone point me in the right direction on this?


10:25:14,937 ERROR [JMSContainerInvoker] Reconnect failed: JMS provider failure
detected for ERPMDB
org.jboss.deployment.DeploymentException: Error during queue setup; - nested thr
owable: (javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for
'localhost:QM_ftvint001')
    at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException
(DeploymentException.java:53)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSC
ontainerInvoker.java:811)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl$E
xceptionListenerRunnable.run(JMSContainerInvoker.java:1428)
    at java.lang.Thread.run (Thread.java:595)
Caused by: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager fo
r 'localhost:QM_ftvint001'
    at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironm
ent.java:586)
    at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:2301)
    at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:1703)
    at com.ibm.mq.jms.MQQueueConnection.createQueueSession(MQQueueConnection
.java:405)
    at com.ibm.mq.jms.MQQueueConnection.createQueueSession(MQQueueConnection
.java:242)
    at org.jboss.jms.asf.StdServerSessionPool.create(StdServerSessionPool.ja
va:341)
    at org.jboss.jms.asf.StdServerSessionPool.(StdServerSessionPool.ja
va:160)
    at org.jboss.jms.asf.StdServerSessionPoolFactory.getServerSessionPool(St
dServerSessionPoolFactory.java:91)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker.createSessionPool(JMSCo
ntainerInvoker.java:1171)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSC
ontainerInvoker.java:783)
    ... 2 more
10:25:14,968 INFO [JMSContainerInvoker] Waiting for reconnect internal 20000ms
for ERPMDB








<container-configuration>
   <container-name>Standard Message Driven Bean</container-name>
   <call-logging>false</call-logging>
   <invoker-proxy-binding-name>message-driven-bean</invoker-proxy-binding-name>
   <container-interceptors>
    org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
    org.jboss.ejb.plugins.LogInterceptor
    org.jboss.ejb.plugins.RunAsSecurityInterceptor
    <!-- CMT -->
    org.jboss.ejb.plugins.TxInterceptorCMT
    org.jboss.ejb.plugins.CallValidationInterceptor
    org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor
    <!-- BMT -->
    org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor
    org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT
    org.jboss.ejb.plugins.CallValidationInterceptor
    org.jboss.resource.connectionmanager.CachedConnectionInterceptor
   </container-interceptors>
   <instance-pool>org.jboss.ejb.plugins.MessageDrivenInstancePool</instance-pool>
   <instance-cache></instance-cache>
   <persistence-manager></persistence-manager>
   <container-pool-conf>
    100
   </container-pool-conf>
  </container-configuration>

   <container-configuration extends="Standard Message Driven Bean">
     <container-name>WSMQ Message Driven Bean</container-name>
     <invoker-proxy-binding-name>wsmq-message-driven-bean</invoker-proxy-binding-name>
   </container-configuration>



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063021#4063021

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063021
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.