OK. Here are more interesting problems. We have a test application which is 
hosted as a jnlp, which simulates the actual process of sending / receiving 
messages from external systems. Iam able to lookup XAConnectionFactory from a 
standalone JMSclient program and send messages without any problems. However, 
when the webstart program tries to post a message using XAConnectionFactory, it 
gives the following exception.   
  | org.jboss.jms.util.MessagingJMSException: Cannot start callbackserver after 
50 retries
  | 
  |     at 
org.jboss.jms.client.remoting.JMSRemotingConnection.<init>(JMSRemotingConnection.java:153)
  | 
  |     at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.invoke(ClientConnectionFactoryDelegate.java:158)
  | 
  |     at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.java)
  | 
  |     at 
org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:80)
  | 
  |     at 
org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect0.invoke(StateCreationAspect0.java)
  | 
  |     at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.java)
  | 
  |     at 
org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69)
  | 
  |     at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.java)
  | 
  |     at 
org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107)
  | 
  |     at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404.java)
  | 
  |     at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java)
  | 
  |     at 
org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:203)
  | 
  |     at 
org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:109)
  | 
  |     at 
org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:104)
  | 
  |     at 
org.sturim.xltester.common.Publisher.initializeJMS(Publisher.java:307)
  | 
  |     at org.sturim.xltester.common.Publisher.init(Publisher.java:173)
  | 
  |     at org.sturim.xltester.test.Test$ExecutionDaemon.run(Test.java:1408)
  | 
  |     at java.lang.Thread.run(Unknown Source)
  | 
  | 


Ideally, I would want to use a XA connection factory deployed in the name of 
WMXQueueConnectionFactory and be able to look up the connectionfactory from the 
application deployed, stand alone client and jnlp program. If not can you 
suggest an alternative. Thanks for your speedy  response. 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951983


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to