Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 13, 2009 at 07:42 AM

    Hi Leela,

    Have you registered the inteface for Java Server Proxies?

    Thanks,

    Kalyan.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.