Im trying to deploy within a rar within an Ear. the resource adapter does
not though. I get the below exception when i try to run it. the Ear is
laid out in the following fashion.

/META-INF/application.xml (only one entry for the rar)
/Myconnector.rar (no jars in this, Manifest has Myconnector.jar in the    
                     Class-Path though)
/Myconnector.jar ( contains all classes needed by the resource adapter
                   Class-Path contains the rest of the .jars in ear)
/axis.jar
/axis-ant.jar
/commons-logging.jar
/commons-discovery.jar
/log4j-1.2.8.jar
/jaxrpc.jar
/saaj.jar
/wsdl4j.jar

java.lang.reflect.InvocationTargetException: AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: java.lang.ClassCastException:
org.apache.axis.attachments.AttachmentsImpl
 faultActor:
 faultNode:
 faultDetail:

{http://xml.apache.org/axis/}stackTrace:java.lang.ClassCastException:
org.apache.axis.attachments.AttachmentsImpl
        at org.apache.axis.Message.setup(Message.java:326)
        at org.apache.axis.Message.<init>(Message.java:244)
        at org.apache.axis.client.Call.invoke(Call.java:2298)
        at org.apache.axis.client.Call.invoke(Call.java:2239)
        at org.apache.axis.client.Call.invoke(Call.java:1738)
        at
net.ivankelly.testing.webservice.ejb.RequesterBindingStub.run(Unknown
Source)
        at java.lang.reflect.Method.invoke(Native Method)
        at
net.ivankelly.testing.ra.webservice.WSInteraction.exec(WSInteraction.java:87)
        at
net.ivankelly.testing.ra.webservice.WSInteraction.executeRequest(WSInteraction.java:146)
        at
net.ivankelly.testing.ra.webservice.WSInteraction.execute(WSInteraction.java:107)
        at net.ivankelly.testing.webappServlet.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
        at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5445)
        at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
        at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
        at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)

could anyone shed some light on this issue.

Regards
Ivan Kelly

Reply via email to