However, though it seems connecting, the mdb never receive any Message when I 
published the msg to the queue in weblogic. The mdb is coded correct ly and it 
works when I connect to the local jboss queue. 

According to the javadoc of ConnectionConsumer 
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/jms/ConnectionConsumer.html
"For application servers, Connection objects provide a special facility for 
creating a ConnectionConsumer (optional). The messages it is to consume are 
specified by a Destination and a message selector. In addition, a 
ConnectionConsumer must be given a ServerSessionPool to use for processing its 
messages."

So after I skipped the ConnectionConsumer, though it seems it can connect to 
the weblogic server, but it wont get start to process the message there. But if 
I keep it, the weblogic library throws like the previous posted I provided. One 
thing I forget to state is I include the weblogic.jar in 
jboss_home/server/default/lib. I tried with those wl client jar before but fail 
. Only the weblogic.jar can give such a result.

Is there anyone can give a hint ? or share any alternative solution to solve 
teh scenario?

The possible solution that I haven't tried yet: 
1. Create a message bridge in weblogic, and propagate the msg from weblogic 
queue to jboss queue, and mdb just subscribed the local queue. 
2. Write a session bean on jboss which uses the jms api to initiate the 
weblogic initial context and subscribe the weblogic remote queue directly. 
Would there be any threading issue (or etc) to consider (or potential problem) 
? 

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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to