• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

MDB in JBoss listening to a Weblogic queue

 
Ranch Hand
Posts: 128
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 45
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey Jai/Peter,

where are you guys? I am looking for your inputs.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry, I know nothing about WebLogic or accessing WebLogic queues.
 
uttam kumar
Ranch Hand
Posts: 128
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic