Skip to Content
avatar image
Former Member

Reg:Java Server proxies

Hi ...

I was doing soap to Java Proxy scenario.I have deployed the ear file in the server. Then while executing the sceanrio, in SXMB_MONI i am getting the below error.

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Inbound Message

-->

- http://sap.com/xi/XI/Message/30" xmlns:SOAP=" http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>XIAdapterFramework</SAP:Category>

<SAP:Code area="MESSAGE">GENERAL</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.ejb.EJBException: Exception raised from invocation of public void com.sap.aii.proxy.xiruntime.sbeans.JPRBean.onMessage(com.sap.engine.interfaces.messaging.api.Message) throws com.sap.engine.interfaces.messaging.api.exception.MessagingException method on bean instance com.sap.aii.proxy.xiruntime.sbeans.JPRBean2802c977 for bean sap.com/com.sap.aii.proxy.app xml|com.sap.aii.proxy.ejb.jarxml|JPR; nested exception is: java.lang.ClassCastException: class $Proxy2782_10000:sap.com/JavaSeverProxy_EARcom.sap.engine.boot.loader.ResourceMultiParentClassLoader569b805ealive incompatible with interface com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundHome4:service:com.sap.aii.proxy.svccom.sap.engine.boot.loader.ResourceMultiParentClassLoader77a5ff38alive

<SAP:Stack />

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

Can you pelase tell why this error is cuming?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Jan 13, 2009 at 06:15 AM

    hi,

    there is some problem with the java proxy code which you have deployed on the server.

    You are getting class cast exception ie some part of code is obselete or you are not casting the classes properly.you can see

    http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ClassCastException.html

    http://www.jspwiki.org/wiki/A2AClassCastException

    you first try to do a standalone testing of your code and see whether its working fine.

    And you try and deploy the code on a decentral adapter engine via visual admin(if you are having a decentral adapter engine).

    regards,

    ujjwal kumar

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 13, 2009 at 07:42 AM

    Hi Leela,

    Have you registered the inteface for Java Server Proxies?

    Thanks,

    Kalyan.

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 19, 2009 at 06:19 AM

    Hi Leela,

    Please check which version of JAVA r u using it must equal or above jdk1.5.

    Regards,

    Raj

    Add comment
    10|10000 characters needed characters exceeded