Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 Software Craftsman this week in the Agile 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
Author

problem with message driven bean

preeti gupta
Greenhorn

Joined: Oct 01, 2007
Posts: 3
Hello,

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>(Throwable.java)
at java.lang.Throwable.<init>(Throwable.java)

Any pointers to this will be very helpful.

Thanks,
Preeti
 
Consider Paul's rocket mass heater.
 
subject: problem with message driven bean