aspose file tools*
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 Java 8 in Action this week in the Java 8 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
Similar Threads
Problem in Debug mode only, works in Run mode!
I get message to queue, but not to MDB Bean. So close yet so far!
When does java stack trace show the offending line number?
java.lang.NoSuchMethodError GenericValidator
Connection Factory not found