Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

javax.ejb.EJBException: Nested Exception:javax.xml.ws.WebServiceException:  RSS feed

 
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: javax.xml.ws.WebServiceException: 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="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd">
</ejb-jar>

Server logs show

at $Proxy3060.salesOrderCreateOut(Unknown Source)


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

Thanks

Srinivas
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!