The Source for Java Technology Collaboration

Home » java.net Forums » Java Web Services and XML » Java WS & XML Community News

Thread: Class Loader Problem while sending a response from EJB to a webapplication

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 0 Threads: [ Previous | Next ]
prakash_rajo

Posts: 1
Class Loader Problem while sending a response from EJB to a webapplication
Posted: Jan 7, 2008 1:43 AM
  Click to reply to this thread Reply

Hi All,

I am using EJB 2.0, Axis2 Websrvice and Weblogic 8.1 Server.

I am trying to make a EJB call from my Axis2 Webservice part. I am deploying an ear file which contains both ejb and webservice war file.
Here, the EJB call is going fine, but wile returning a response object i am getting a ClassLoader Problem, which says that " Loader constrained violated for com.ejb.Response class".
I am having this class in com.jar file and placed in ear file. I have added the com.jar in manifest classpath entry of both war file and ejb.jar file. Both are sharing the same jar file.

But if while I am testing the ejb alone from a Junit test case the response is coming correctly.
and while I am testing the web service alone, with out having the ejb call inside, its going fine.

Can anybody help me out to resolve this issue.




 XML java.net RSS