This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes MDB in JBoss listening to a Weblogic queue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "MDB in JBoss listening to a Weblogic queue" Watch "MDB in JBoss listening to a Weblogic queue" New topic
Author

MDB in JBoss listening to a Weblogic queue

uttam kumar
Ranch Hand

Joined: Jan 27, 2009
Posts: 128

Hi,

I have an MDB deployed in JBoss (v5.1) that listens to a Weblogic (v10.3) queue. Can anyone guide me through the configurations that need to be done in JBoss?

Thanks in Advance.
Uttam Kumar
uttam kumar
Ranch Hand

Joined: Jan 27, 2009
Posts: 128

When I am adding weblogic thin client jars (wljmsclient.jar and wlclient.jar), JBoss starts throwing exceptions. I wonder why its happening.

Even if you add these jars to fresh JBoss you will get exceptions while JBoss startup.

Can anyone explain me the reason and its solution?
Kuldip Shetty
Ranch Hand

Joined: Jan 07, 2010
Posts: 39

In previous release of Weblogic, weblogic.jar file contained all classes. From Weblogic 10.x release one can generate wlfullclient.jar.

Refer this url : http://download.oracle.com/docs/cd/E12840_01/wls/docs103/client/jarbuilder.html

Kuldip
uttam kumar
Ranch Hand

Joined: Jan 27, 2009
Posts: 128

Well Kuldip,

I tried adding wlfullclient.jar and I am getting following error.


I did a google and find that after reinstalling JDK problem will be solved but that too didn't worked. Any idea what is going wrong?
uttam kumar
Ranch Hand

Joined: Jan 27, 2009
Posts: 128

Hey Jai/Peter,

where are you guys? I am looking for your inputs.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

Sorry, I know nothing about WebLogic or accessing WebLogic queues.


JBoss In Action
uttam kumar
Ranch Hand

Joined: Jan 27, 2009
Posts: 128

Hi Peter,

You can tell me the procedure how to do it using any other Application Server. Let it be 2 instances of JBoss running on different machines. My MDB would be deployed on one JBoss and listening to the queues of another JBoss. How to do it?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

I don't know of any way to get an MDB to listen to a queue in a remote server. Is this EJB 2.x or 3? Perhaps information/documentation about MDB configuration will give some hints as to if this can be done and how to do it.

The fun part, or course, is that you have to include the WLS messaging client JARs in with your EAR file containing the MDB. Then you get to resolve the version and duplicate class conflicts between those JARs and the JARs provided by JBoss AS.
 
 
subject: MDB in JBoss listening to a Weblogic queue
 
Similar Threads
JMS in JBoss
Time To Deliver Facility in Jboss
message sare sent to the queue but mdb dosnt handle them
JMS ConnectionFactory configurations in JBoss AS 5.1.0
MDB