This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes EJB and other Java EE Technologies and the fly likes problem with message driven bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "problem with message driven bean" Watch "problem with message driven bean" New topic

problem with message driven bean

preeti gupta

Joined: Oct 01, 2007
Posts: 3

In my project we are reading message from MQ series using message driven bean. And after recieving message we need to go back to CICS for some operations.
We are using WSAD 5.1 and making ECIRequest to connect to CICS.

For making ECIRequest we are using IBMConnectorCICS304.jar.

I have addded it as external jar in ejb project. Also added it in ear's utility jars. Added jar dependency in ejb project.

Problem is I am getting run time exception ClassFormatError for JavaGatewayRequest class present in above jar.

Following is the stack trace:-
CNTR0020E: Non-application exception occurred while processing method "onMessage" on bean "BeanId(Dnr#dnrMdb.jar#MQListener, null)". Exception data: java.lang.reflect.InvocationTargetException
Caused by: java.lang.ClassFormatError: (com/ibm/ctg/client/JavaGatewayInterface) abstract method may not be private, static, final, native, synchronized or strict at offset=2669
at java.lang.Throwable.<init>(
at java.lang.Throwable.<init>(

Any pointers to this will be very helpful.

I agree. Here's the link:
subject: problem with message driven bean