No class found error in ESR Interface mapping ?

Hi all ,
I am trying to add a java validation in my Interface mapping .
When i am compiling it in eclipse it is working fine.But when i am exporting and using it in my IM it is giving error as
TEst_210/test/validation/OldFileJava6; details: java.lang.NoClassDefFoundError.
i am compiling it in JDK 1.5.is there any compatibility issie???
please helppp.....

Hi XIGIRL,
Compatibility issues: It depends on what version of XI / PI you're on. You can do a bit more research on it bit as far as I remember for PI 7.0 you should use JDK 1.4 & for PI 7.1 you use 1.5. You probably also need to be weary of the Eclipse version you're using & compatibility issues too. I don't think that is your problem though.
Example based on PI 7.0 usage:
When you're exporting from Eclipse (after compiling with JDK 1.4 but you have the option of decididng which JDK you want to compile with)), make sure you export the class as well as the source (there's a check box for this while exporting). You can also double check this when you double click on the imported archive in the PI Integration Repository, you should have the compiled .class file & the .java soure file listed. If you don't see that then you know where the problem lies.
Best Regards, Trevor

Similar Messages

  • "XML not well-formed" error while testing Interface mapping.

    Hello Experts,
      I have a simple Interface mapping test, where a single input field of type string is mapped to a target Interface.
    The content of a string actually will be a XML. I am using a XSLT mapping to convert string XML to XML. The XSLT mapping used by me is as :
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:output omit-xml-declaration="yes" />
    <xsl:template match="@*|node()">
    <xsl:copy>
      <xsl:apply-templates select="@*|node()" />
      </xsl:copy>
      </xsl:template>
    <xsl:template match="/">
      <xsl:value-of select="//string" disable-output-escaping="yes" />
      </xsl:template>
      </xsl:stylesheet>
    Test data to be used is :
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <string>
    <catalog>
         <cd>
              <title>Empire Burlesque</title>
              <artist>Bob Dylan</artist>
              <country>USA</country>
              <company>Columbia</company>
              <price>10.90</price>
              <year>1985</year>
         </cd>
         <cd>
              <title>Unchain my heart</title>
              <artist>Joe Cocker</artist>
              <country>USA</country>
              <company>EMI</company>
              <price>8.20</price>
              <year>1987</year>
         </cd>
    </catalog>
    </string>
    My Target structure is like:
    catalog
      CD
        title
        artist
        country
        company
        price
        year
    No matter what I input as a test data , I get the error as "XML not well-formed" while testing Interface mapping.  
    Please suggest what could be the reason for this error?
    Regards,
    Abhi.

    Hi check your XSLT mapping in XMLY spy with test data,the out of the XSLT Mapping should be valid XML , then only you can see output in interface mapping.
    Regards,
    Raj

  • No Class Found Error on invoking java class from PL/SQL

    Hi There,
    I have followed instructions on how to create a java proc in the DB to invoke it from PL/SQL.
    I get a 'java.lang.NoClassDefFoundError' error because it cannot access 'org.apache.axis.description.TypeDesc' in this case. The instuctions say to add the supporting jars which contain the additional classes to the project's Additional Classpath's which I have done.
    I deploy the java classes and create the java stored proc using JDev.
    Can someone please tell me how to go about resolving this?
    I can see 'org.apache.axis.description.TypeDesc' in the DB via JDev's Databse connection in the Java Classes tree?
    Thanks,
    Anthony

    Hi There,
    I have followed instructions on how to create a java proc in the DB to invoke it from PL/SQL.
    I get a 'java.lang.NoClassDefFoundError' error because it cannot access 'org.apache.axis.description.TypeDesc' in this case. The instuctions say to add the supporting jars which contain the additional classes to the project's Additional Classpath's which I have done.
    I deploy the java classes and create the java stored proc using JDev.
    Can someone please tell me how to go about resolving this?
    I can see 'org.apache.axis.description.TypeDesc' in the DB via JDev's Databse connection in the Java Classes tree?
    Thanks,
    Anthony

  • Java.lang no class found error please help

    Please can anyone help me to once and for all solve this problem.
    I'm using win2k.
    jdk1.3.1_01 and apache tomcat 4.0
    i can compile but i can't execute any code.
    when i try to compile servlet code i get the httpservletpackage does not exist.
    regular java code compiles just fine.
    The error message below i get whever i try to execute any code.
    ------- java ----------
    java.lang.NoClassDefFoundError: Comparison
    Exception in thread "main" Normal Termination
    Output completed (1 sec consumed).
    This is my CLASSPATH: c:\javax\;c:\unzipped\servlet-2_3-fcs-classfiles\;c:\java;c:\jdk1.3.1_01\server.jar;c:\Apache Tomcat\lib\servlet.jar
    My PATH is: c:Apache Tomcat 4.0\common\lib;c:\jdk1.3.1_01\bin;
    JAVA_HOME c:\jdk1.3.1_01
    TOMCAT_HOME c:\Apache Tomcat 4.0

    under DOS, navigate to your current directory that contains the java file you want to compile.
    Do the following
    1) type in: set classpath=.
    (Including the period after the equals sign!)
    2) then compile as normal.
    This should work.

  • No Class found error in client java proxy

    Hi guys,
    I have configured a java proxy and I'm calling that proxy in a stand alone java program. I'm getting the below error when I execute the program.
    If any one can provide any inputs on the issue it'be great..
    Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/aii/utilxi/sld/XIEntityInSld
         at com.sap.aii.proxy.xiruntime.core.XmlSystemAccess.getProperties(XmlSystemAccess.java:679)
         at com.sap.aii.proxy.xiruntime.core.XmlSystemAccess.getProperty(XmlSystemAccess.java:709)
         at com.sap.aii.proxy.xiruntime.core.XmlSystemAccess.initLogging(XmlSystemAccess.java:471)
         at com.sap.aii.proxy.xiruntime.core.XmlProxy.send(XmlProxy.java:79)
         at com.sap.aii.proxy.xiruntime.core.AbstractProxy$XmlProxyHelper.send(AbstractProxy.java:181)
         at com.sap.aii.proxy.xiruntime.core.AbstractProxy.send$(AbstractProxy.java:142)
         at com.unilever.aa.xproc.procComm.file.kalido.MIKalidoTestOutAs_PortType.mIKalidoTestOutAs(MIKalidoTestOutAs_PortType.java:18)
         at com.bcone.FTP.TestFTPClient.main(TestFTPClient.java:60)

    Try following libs:
    From XI:
    aii_adapter_xi_svc.jar, aii_af_cci.jar, aii_af_cpa.jar, aii_af_mp.jar,
    aii_af_ms_api.jar, aii_af_ms_spi.jar,
    aii_af_service_message_security.jar
    From the J2EE client JARs: (/usr/sap/<SID>/JC00/j2ee/j2eeclient/signed):
    ejb20.jar, exception.jar, guidgenerator.jar, jARM.jar, jperflib.jar,
    jta.jar, log_api.jar, logging.jar, sapj2eeclient.jar, sapni.jar,
    sapxmltoolkit.jar
    See also this guide:
    SAP on DB2 for Linux, UNIX, and Windows
    Regards
    Stefan

  • Testing Config in ID but no Interface mapping found!

    Hi,
    I am testing configurations I have done in ID and it went all successfully but with one error stating <b>"Interface mapping not found ,  Runtime error
    Unable to read payload from the message object"</b>
    after going through some links in SDN ....
    I did check the Interface mapping is active and the exact one used in the config.
    and did all the chache refreshes in SXI_CACHE and Administration in te main menu of XI start page ,bbut no use.
    in SM59 I checked INTEGRATION_DIRECTORY_HMI connection and I got 
    "Http : 500    
    Status Tex: Internal Server Error",
    i understood from sdn links and readyness check check guide this is not a problem.
    so what might be the cause?
    thank you.
    Babu

    Satish,
    i got doubt ,do you think this is not a problem/
    <b>in SM59 I checked INTEGRATION_DIRECTORY_HMI connection and I got
    "Http : 500
    Status Tex: Internal Server Error",</b>
    cos,thats how communication happens between IR and Id right?if there is any error in INTEGRATION_DIRECTORY_HMI  connection,I think it might be an issue,but readiness check guide says ok ,in the guide it has not been mentioned that "internal server error is OK""
    any comments?
    thx

  • Exception in thread "main" java.lang no class def found error

    hi,
    I am new to java. I have just started using java.I have installed jdk1.3 in my computer and tried to run the following code
    public class NumberCheck
    public static void main(String[] args)
    int number=0;
    number=1+(int)(100*Math.random());
    if(number%2==0)
    System.out.println("You have got an even number"+number);
    else
    System.out.println("You have got an odd number"+number);
    the following code compiles properly but when i use the command java NumberCheck to run the program it shows the above message that no class found error.
    As I am new to programming I dont know what to do. Can anyone please help me about it?

    The Gateway to Classpath Nirvana
    Setting the class path (Windows)
    How Classes are Found
    java -cp .;<any other directories or jars> YourClassNameYou get a NoClassDefFoundError message because the JVM (Java Virtual Machine) can't find your class. The way to remedy this is to ensure that your class is included in the classpath. The example assumes that you are in the same directory as the class you're trying to run.

  • SXMB_MONI: Interface-Mapping not in runtime-cache

    Hi everybody,
    I got the error in SXMB_MONI:
    Interface-Mapping XYZ not in runtime-cache.
    We did a full cache refresh in sxi_cache.
    In integration directory I got the cache-notification:
    >>>  if_http_client receive http_communication_failure <<<
    Does anybody know, what I have to do?
    Thanks regards
    Mario

    Hi
    Pls check, this may help you
    Cache Refresh Errors - New Phenomena
    Ram

  • Interface Mapping Object - No class definition found

    Hi
    I have created a simple Interface Mapping in the Integration Repo. When i try to TEST the interface mapping i get class not found errors.See the stacktrace below.
    LinkageError at JavaMapping.load(): Could not load class: com/sap/xi/tf/_PO_MAPPING_
      - java.lang.NoClassDefFoundError: Illegal name: com/sap/xi/tf/_PO_MAPPING_
    Looks like some standard sap packages are missing from the CLASSPATH. Anyidea where it has to be specified ?
    PO_MAPPING is the message mapping object i have created and the test is successful for this object.However when i reference it in Interface Mapping , i get the above errors.
    I suppose XI generates Java Code when i create these objects and the mappings.Any idea where the JVM seems to reference these packages and How to rectify it ?
    Thanks
    Saravana

    Hi,
    Please check whether you have applied note 755302.
    - Sreekanth

  • Error Interface Mapping Not found..

    Hi Friends,
    I am simply using file to ABAP proxy scenario.
    I am getting error as : This I am getting while test my configuration at Scenario level  Tools  - > Test Configuration..
    Interface Mapping  :    
    Runtime error
    com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_MM_Source_Target_Proxy_: Parsing an empty source. Root element expected!
    Plz help.
    Regard
    Deepak Sodhi

    Hi Rajesh,
    I am keeping the file as it is from Meassage mapping SRC File..
    Message Mapping is giving me no error..
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_Source_Proxy xmlns:ns0="https://tcsfenest/test">
       <EmpId>315143</EmpId>
       <EmpName>Deepak Sodhi</EmpName>
       <EmpOffc>Gurgaon</EmpOffc>
    </ns0:MT_Source_Proxy>
    Only at the time of Testing configuration Environment -> Test Scenario.
    Its giving me error Interface mapping not found.. My strucuture is flat.
    DT - Complex type
    Empid element string
    Empname element string
    Empoffc element string
    Please help to resolove this issue.
    Regards
    depak

  • BPM Error in Transformation Step: Interface Mapping not found

    Hi,
    Can you help me on this? I have a tranformation step in my BPM that combines a request and response message of a previous Send step to create a Source message for the next Send step. However, on my transformation step, I got the mapping error in workflow log: Interface mapping http://gl.euhreka.com/learning/skillsoft/catalogSy.YGLXI_OM_MergeRequestAndHandleResponseAB_To_PollFo (SWCV=DF8549309ECE11DFB58DF3570A341E0F) not found
    Do you have any idea about this error? My mapping program is working fine. I also checked if the container elements assigned to the transformation steps are correct. 
    Can you suggest of other way on how can I achieve on merging 2 messages (request and response) and set it to the Request for another send step?
    Thanks,
    Jenny

    Hello,
    I already solved the problem. The namespace and Operation mapping name is too long that's why it cannot be located at runtime.
    After the rename, another error appeared.
    "Incorrect XML format after mapping: Root-Tag expected instead of Messages"
    There are no useful information on the trace:
      <?xml version="1.0" encoding="utf-8" ?>
    - <MappingTrace>
      <Trace level="1" type="T">Mapping http://test YGLXI_OM_Merge , Software Component Version DF8549309ECE11DFB58DF3570A341E0F</Trace>
      <Trace level="1" type="T">Mapping Step 1 , Type XSLT , Program PollForReport_Merge</Trace>
      <Trace level="2" type="T">Call XSLT processor with stylsheet PollForReport_Merge.xsl.</Trace>
      <Trace level="2" type="T">Returned form XSLT processor.</Trace>
      </MappingTrace>
    Here is myXSLT program:
    <?xml version='1.0' encoding='utf-8' ?>
    <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"  >
         <xsl:template match="/">
              <YGLXI_MT_PollForReportRequest>
                   <customerID>
                        <xsl:value-of select="//customerID"/>
                   </customerID>
                   <customerPassword>
                        <xsl:value-of select="//customerPassword"/>
                   </customerPassword>
                   <reportIDHandle>
                        <xsl:value-of select="//reportHandle"/>
                   </reportIDHandle>
              </YGLXI_MT_PollForReportRequest>
         </xsl:template>
    Here is my source message:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
          <ns1:YGLXI_MT_InitiateFullCourseListingRequest xmlns:ns1="http://gl.euhreka.com/learning/skillsoft/catalogSynchronization">
             <customerID>ZZZ</customerID>
             <customerPassword>XXX</customerPassword>
             <reportFormat>VVV</reportFormat>
             <mode>VCC</mode>
             <userName>CC</userName>
          </ns1:YGLXI_MT_InitiateFullCourseListingRequest>
       </ns0:Message1>
       <ns0:Message2>
          <ns1:YGLXI_MT_InitiateFullCourseListingResponse xmlns:ns1="http://gl.euhreka.com/learning/skillsoft/catalogSynchronization">
             <reportHandle>SADA</reportHandle>
          </ns1:YGLXI_MT_InitiateFullCourseListingResponse>
       </ns0:Message2>
    </ns0:Messages>
    I tested my program in Operation mapping and it is working. How come it is not in BPM?
    Thanks,
    Jenny

  • Interface Mapping not found error

    I'm getting "Interface Mapping <name> (SWCV=<id>) not found" error during runtime. I did not do anything to the specified interface mapping. If I go into the repository and put into modify mode, add space to description, save, activate, it all works fine. Any idea why my interface mappings are getting "lost" in the runtime cache... any way to do a bulk reload of repository objects into the runtime cache?

    Hi Tadd,
    It may help to eliminate the possible erros:
    1) In the Runtime Workbench, simulate the message in the Component Monitoring / Adapter Engine. If this does not work:
    2) Try to restart the JVM. I have seen sometimes that the mapping functions stored as Java files do not get refreshed.
    Cheers,
    Bhanu

  • ID-Error: Interface Mapping Not Found

    Hi,
    While doing the test configuration in Integration Directory, i'm getting the below errors, after pasting in the payload area & after executing step by step:
    Sender Agreement
    Also, once when i'm adding message interface to interface mapping in Integration Repository, i'm getting the error as:
    "Message Interface does not exits on any software components"
    afterwards this error not came once again.
    Plsssssssss help me to resolve the same.
    Regards,
    Balaji

    Hi Balaji,
    try to do a cache refresh,using tools>>clear SLD cache.
    also see if message mapping and interface mapping have been created properly and activated.
    Check the following:
    --> The o/b and i/b interfaces in the mapping program are same as used to create the interface det. object.
    --> THe Interface mapping shld be active...
    Refer to the topics at the below link
    http://help.sap.com/saphelp_nw04/helpdata/en/21/6faf35c2d74295a3cb97f6f3ccf43c/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/4f/ef761a5ecfb1418b79896e10fe4c57/content.htm
    Reward points if this helps
    Regards
    Vani.

  • Getting Java mapping errors when testing my Interface mapping

    Hi,
    I'm trying to test my interface mapping from IR, I keep getting these exceptions. All I'm doing in my interface mapping is I have two mapping programs a XSLT mapping with java helper functions with the XSL and a message mapping. In the test it pass thru the XSLT mapping but fails at Message mapping and throws the following exception. Any help on this is really appreciated.
    10:03:26 Start of test
    Call XSLT processor with stylsheet com/earthlink/xi/mapping/xmlc_to_crm_resp.xsl.
    START APPLICATION TRACE ***
    Response:
    0
    END APPLICATION TRACE ***
    Returned form XSLT processor.
    Call method execute of the application Java mapping com.sap.xi.tf._MM_XMLC_RESP_
    Error during appliction Java mapping com/sap/xi/tf/_MM_XMLC_RESP_
    java.lang.NullPointerException at com.sap.aii.mappingtool.tf3.AMappingProgram.exceptionCaught$(AMappingProgram.java:59) at com.sap.aii.mappingtool.tf3.Transformer.checkParserException(Transformer.java:182) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:149) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:102) at com.sap.aii.ibrep.server.mapping.ibrun.RepJavaMapping.execute(RepJavaMapping.java:73) at com.sap.aii.ibrep.server.mapping.ibrun.RepSequenceMapping.execute(RepSequenceMapping.java:54) at com.sap.aii.ibrep.server.mapping.ibrun.RepMappingHandler.run(RepMappingHandler.java:80) at com.sap.aii.ibrep.server.mapping.rt.MappingHandlerAdapter.run(MappingHandlerAdapter.java:107) at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInterfaceMapping(ServerMapService.java:127) at com.sap.aii.ibrep.server.mapping.ServerMapService.transform(ServerMapService.java:104) at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.transform(MapServiceBean.java:40) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.transform(MapServiceRemoteObjectImpl0.java:167) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:104) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    10:03:26 End of test

    Joe,
    most likely your XSLT is outputting a not well-formed XML message.
    Remove message mapping from the mapping list and execute it again, to check output.
    Also, for mapping debugging in java enhanced function inside XSLT mappings, use the following:
    1st, you need to pass the "inputparam" parameter from the XSLT runtime to the Java function (it needs to be one of the input parameters for the executed java function).
    In the Java code itself, implement the following code:
    AbstractTrace trace = (AbstractTrace) param.get(StreamTransformationConstants.MAPPING_TRACE);
    trace.addInfo("Log your message here!");
    where <i>param</i> is the input parameter refering to the <i>inputparam</i> from XSLT.
    The AbstractTrace and StreamTransformationConstants classes can be found in the aii_map_api.jar file (used in Java mappings).
    Regards,
    Henrique.

  • Interface Mapping Not Found in Integration Directory

    Hey guys!
    I'am getting this error in the test configuration part of the integration directory:
    "Interface Mapping: <Not Found> com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping"
    I don't see why I should be getting this error since I have properly defined a message and interface mapping for the receiving interface.
    BTW,  I get this error when I use XSLT mapping. If I point my interface mapping to a normal message mapping, I get no error. Is there anything I am missing?
    Regards,
    Glenn

    The weird thing is that when I test the the configuration in the Integration Directory, it is still looking for my old message mapping (the one i created using xi editor) even though I already replaced the referenced message mapping in the interface mapping to the XSL one.
    Yes, I tested the interface mapping with the same data using the XSL mapping and there's no problem.
    When I send the message though, I get an error saying "NO_RECEIVER_CASE_ASYNC" I really don't see why it should not recognize the receiver. I tried refreshing the cache but it still looks for my old mapping program...
    :P

Maybe you are looking for

  • Unable to create index ..can anyone help me

    Dan, I have created the following table and the values are as following, create table zonetemp( name varchar2(15), SHAPE MDSYS.SDO_GEOMETRY) insert into zonetemp values('Raju', MDSYS.SDO_GEOMETRY(2003,null,null, MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3), M

  • Toshiba A660-1 General Problems

    Hello there, My name is Diego and I have had some troubles with my computer lately. I recently did a backup of all my information and reinstalled Windows 7 on my Satellite A660-1 since it was running slow. However I have had some problems since then,

  • What should i take for customer account group

    wat is the best to customize customer account group i m thginking to creat one exportcustomer and other one is domestic or else i ll make one one as sold to party plz help

  • Microsoft Office 2008 SP1 Upgrade Problem

    Hi, I have Office 2008 running perfectly on my computer, and just recently downloaded the two upgrades from the MS website for SP1 12.1.0 and then the latest update for 12.1.3. However, when I install 12.1.0, every time I try to open an MS applicatio

  • Crazy low speed from the off

    hi all, im a (relatively) new BT customer in a brand new build house. Before moving in i did some digging around to see what sort of speeds i could get with different providers and settled on BT as they seemed to be the best average and i preferred t