[jboss-user] [JBoss Messaging] New message: "Re: Sending message to JBOSS queue from WebSphere"
Hitesh Patel
do-not-reply at jboss.com
Sat Mar 13 12:55:21 EST 2010
User development,
A new message was posted in the thread "Sending message to JBOSS queue from WebSphere":
http://community.jboss.org/message/531830#531830
Author : Hitesh Patel
Profile : http://community.jboss.org/people/sunil_patel
Message:
--------------------------------------------------------------
Here are the steps I followed (WebSphere needs some fix, so it will not work, not with 6.1 at least):
1. Created a queue in JBOSS server. Tested the queue successfully from command prompt and from within RAD by running a java program with following jar files provided by JBOSS.
jboss-remoting.jar
jboss-messaging-client.jar
jbossall-client.jar
jboss-aop.jar
javassist.jar
trove.jar
log4j.jar
2. Created a JMS provider (JBOSS Messaging Provider) in local WebSphere with Admin Console. Added all jar files mentioned in step 1 in the classpath for the provider.
3. Created a Queue connection factory in local WebSphere with Admin Console.
4. Created a queue (with external jndi name same as provided in step 1) in local WebSphere with Admin Console.
5. Wrote a servlet to test this by sending a message in local WebSphere with Admin Console.
6. Ran the servlet. Connection is successful but get exception "javax.jms.IllegalStateException: Isn't an XASession" while trying to create sender.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/531830#531830
More information about the jboss-user
mailing list