Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javax.ejb.EJBException: Nested

forums UseR
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I created a EJB session bean 3.0 (Remote and Local). I created a web service from this bean.

When I test the web service, I get following exception...

javax.ejb.EJBException: Exception raised from invocation of public java.lang.String com.<name>...doeHeader(java.lang.String) method on bean instance com.<name>...@714647bf for bean nested exception is: java.lang.ClassCastException: class ..jndi.persistent.UnsatisfiedReferenceImpl:service:naming@..t.loader.ResourceMultiParentClassLoader@4807ccf6@alive incompatible with interface

My ejb-jar.xml is almost empty:

<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar version="3.0" xmlns="" xmlns:xsi="" xsi:schemaLocation="">

Server logs show

at $Proxy3060.salesOrderCreateOut(Unknown Source)

Am I missing any properties in the ejb-jar.xml?


  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic