Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

MessageDrivenBean - JAXB

 
Asman S. More
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I need your help regarding the problem below -
I am writing a message driven bean with a JMS Queue as destination. The message is XML contains and in the onMessage I try to unmarshal the XML message using JAXB generated implementation and then try to read one of the elements in the XML data. The problem is whenever I try reading the element value, the bean throws an error - NoSuchMethodError.

I am working on weblogic8.1 and have an EAR containing the ejb jar and the JAXB implementation jar.
Do you have any pointers?

Since it is able to locate the JAXB impl classes I think it should also see the methods too.
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to be more descriptive. Where is it throwing the exception ... what exactly is throwing the exception. I'm not a mind-reader here!
 
amit mawkin
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Try this, include jaxb jar files in weblogic server classpath and you will be fine.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!