Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MDB in JBoss listening to a Weblogic queue

 
uttam kumar
Ranch Hand
Posts: 128
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 128
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 43
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 128
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 128
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Jai/Peter,

where are you guys? I am looking for your inputs.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, I know nothing about WebLogic or accessing WebLogic queues.
 
uttam kumar
Ranch Hand
Posts: 128
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic