Lucene Highlighter linkage Error

Hello!
I am working with Tomcat. I have put the Lucene highlighter.jar in the folder lib. And I have created an extra css, where I say that the background color has to be yellow. The searchword has to be highlighted know.
I have got a dataTable in which the result of the following Lucene method is loaded:
public void search(String q,  File index, String [] fields, ArrayList subresult, int numresults)  throws Exception {
                   Directory fsDir = FSDirectory.getDirectory(index, false);
                   IndexSearcher is = new IndexSearcher(fsDir);
                    Analyzer analyzer = new StandardAnalyzer();
                    Fragmenter fragmenter = new SimpleFragmenter(100);
                    QueryParser queryparser = new MultiFieldQueryParser (fields, analyzer);
                              Query query = queryparser.parse(q);
                              Hits hits = is.search(query);
                              IndexReader reader=null;
                              query=query.rewrite(reader);
                              QueryScorer scorer = new QueryScorer(query);
                              SimpleHTMLFormatter formatter= new SimpleHTMLFormatter("<span class=\"highlight\">","</span>");
                              Highlighter high = new Highlighter(formatter,scorer);
                              high.setTextFragmenter(fragmenter);
                              numresults = numresults == -1 || numresults > hits.length() ? hits.length() : numresults;
                              String rating = "";
                              for (int i = 0; i <numresults; i++) {
                                   if (hits.score(i)>schwelli){
                                        float f = hits.score(i);
                                        if (0.9f <= f) {rating = "******";}
                                        else if (0.8f <= f && f<0.9f){rating = "*****";}
                                        else if (0.7f <= f && f<0.8f){rating = "****";}
                                        else if (0.6f <= f && f<0.7f){rating = "***";}
                                        else if (0.5f <= f && f<0.6f){rating = "**";}
                                        else if (f <= 0.5f){rating = "*";}
                                        Document doc = hits.doc(i);
                                        String abstracts =doc.get("ABSTRACTS");
                                        String title = doc.get("TITLE");
                                        TokenStream abstract_stream = analyzer.tokenStream(q, new StringReader(abstracts));
                                        TokenStream title_straem = analyzer.tokenStream(q, new StringReader(title));
                                        String fragment_abstract = high.getBestFragments(abstract_stream,abstracts, 5, "...");
                                        String fragment_title = high.getBestFragments(title_straem,title, 5, "...");
                                        if(fragment_title.length()==0){
                                                  setAusgabeTitle(doc.get("TITLE"));
                                        }else{
                                                  setAusgabeTitle(fragment_title);
                                        if(fragment_abstract.length()==0){
                                                  setAusgabeAbstract(doc.get("ABSTRACTS"));
                                        }else{
                                                  setAusgabeAbstract(fragment_abstract);
                                        //list.add(i+1+"\t"+q+"\t"+doc.get(entry_medline)+"\t"+hits.score(i)+"\t"+abstract_stream+"\t"+title_straem+"\t"+"MEDLINE");
                                   /*int No = i;
                                   subresult.add((new Integer(No)).toString());*/
                                   subresult.add(doc.get(entry_medline));
                                   subresult.add("No Id");
                                   subresult.add("No Id");
                                   float sco = hits.score(i);
                              subresult.add(rating);//(hits.score(i));
                              subresult.add(abstract-stream);
                              subresult.add(title_straem);
                              subresult.add("No hits for this index");
                              subresult.add("MEDLINE");
But I get the following error.
Error:
javax.servlet.ServletException: #{suggestBox.Search}: javax.faces.el.EvaluationException: java.lang.LinkageError: Class org/apache/lucene/search/Query violates loader constraints
     javax.faces.webapp.FacesServlet.service(FacesServlet.java:209)
     org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
     org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
Does someone know what I am doing wrong?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Thank you guyz for your replies...Let me try to explain this a bit further.
Initially I got this error while testing a graphical mapping which was a straight forward ,source structure to JDBC UPDATE_INSERT structure without any functions or UDFs.
Then to check whether its my mapping problem I created some simple two field mappings as well , but all has the same problem now.While testing the mapping using the test tab you get the 'Class "com.sap.xi.tf._ <message mapping name> not found'
It gives a linkage_error while running the interface (runtime)
We tried restarting the Java Stack but with no luck
Mathews
Edited by: Mathews Joseph on May 4, 2009 8:24 AM
Edited by: Mathews Joseph on May 4, 2009 4:37 PM

Similar Messages

  • Linkage error while doing java mapping

    Hi,
    I Have written a java mapping but when i use it in xi.It is showing an error as linkage error
    LinkageError at JavaMapping.load(): Could not load class: com/satyam/nestle/JavaMap
    Can anyone explain what does this mean and how to overcome it.
    Thanks in advance,
    Bhargav

    Did you try testing the java mapping seperately....that it does not have any errors??? Also check the cahce update. Sometimes it happens that XI is not able to load the class file from the cache. Perform a CPA cache refresh (delta). This should solve the problem
    Reward if helpful.

  • How to avoid Linkage Error in JAVA Mapping

    Dear Experts,
    I am trying to test the JAVA mapping compiled in NWDS but receiving the error
    "LinkageError at JavaMapping.load(): Could not load class".
    java.lang.NoClassDefFoundError: JSONXMLProject/bin/com/sap/json/ConvJson2Xml (wrong name: com/sap/json/ConvJson2Xml)
    at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:735)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:716) at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    at com.sap.aii.ib.server.mapping.execution.MappingLoader.findClass(MappingLoader.java:195)
    Following are the details:
    SAP PO 7.4
    SP Stack Number 05
    JDK Version jdk16
    NWDS
    SAP Enhancement Package 1 for SAP NetWeaver Developer Studio 7.3 SP10 PAT0000
    1.Created the Project , Package and then class (Included the logic)
    2. Included 1 JSON Jar file into my project and the Added to build path.
    3.Exported the project as Archive File and saved in desktop
    4.Imported into SAP PO system as Imported Archive
    5.Could not observe the JSON jar file which i used as referenced JAR in NWDS
    6.Tested in OM after referencing the JAVA class and found the above error.
    I have JDK 5, 6 and 7 present in my local desktop and I am trying to export the compiled code using both JAVA SE 1.6 and 1.5 in NWDS seperatly after going several discussions.
    Can any one hep me with the screenshots and tell me how to include all the reference jar files in exported project..
    Regards..

    Dear Anand,
    I did exactly as you shared. As the JSON jar has number of classes, then in OM all the Classes had to be assigned. Then the linkage error went.
    But in execution , it shows a new error that all the classes of the JSON jar has to be implemented with interface StremTransformation or AbstractTransformation.
    I assume in the Operation Mapping I will use only 1 class as JAVA Class. Anyway I am attaching the document with navigation.
    Do we have any other alternative??
    Please rename the extension of the document by remove .txt
    Regards

  • LINKAGE ERROR in Java Mapping

    Hi Friends,
    I am getting LINKAGE ERROR when executing JAVA mapping as its not able to reference AbstractTransform class provided by SAP PI API.
    This problem occurs in particular environment for this particular mapping. For other environments this is working fine.
    I assume it has something to do with Java Library reference which is mis-configured during transport. Can anyone let me know how and where the library path is configured for Imported Achieves in SAP PI 7.1.
    We are using java 1.5 for building and creating java achieves.
    Many thanks,
    SK

    Hi Sumant,
      This error occurs when the jdk version of XI server and the library version you used to develop the mapping are incompatible. Make sure you use the same version as of the server
    have a look in SAP Note 755302
    Regds,
    Pinangshuk.

  • Linkage Error while setting up webApp

              Hi,
              In my webApp I bumped into following Exception while running JSPs which queries
              database.
              Platform : Windows NT 4, webLogic 5.1 with SP 8.
              Action : WLSServer crashes with Dr. Watson application error.
              I am using a custom Connect.java class ( through javax.sql.DataSource, as recommended
              by WLS 5.1 docs ) to connect to Oracle database using JDBC thin client. If I do
              not use webApp architecture then the same class works good to connect to DB.
              Also, if I maintain identical class hierachy into my weblogic.class.path classpath
              settings I do not get this exception and everything works fine.
              I read into this search group messages about Linkage problems caused because of
              having duplicate classes available to the server at runtime and so I ensured that
              I do not keep classpaths which can cause duplicate classes into runtime environment
              of wlsserver but still the same problem persists.
              any help is appreciated,
              thanks,
              - Rajesh.
              Mon Apr 02 16:19:11 PDT 2001:<I> <WebAppServletContext-eTools> Generated java
              file: c:\project\etools\WEB-INF\_tmp_war_eTools\jsp_servlet\_jsp\_xyz.java
              Mon Apr 02 16:19:13 PDT 2001:<E> <WebAppServletContext-eTools> Servlet failed
              with Exception
              java.lang.LinkageError: Class java/sql/Connection violates loader constraints
              at weblogic.jdbc20.common.internal.RmiDataSource.getConnection(RmiDataSource.java:53)
              at weblogic.jdbc20.common.internal.RmiDataSource_ServiceStub.getConnection(RmiDataSource_ServiceStub.java,
              Compiled Code)
              at com.bea.etools.common.Connect.getConnection(Connect.java:51)
              at jsp_servlet._jsp._xyz._jspService(_xyz.java, Compiled Code)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:106)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:907)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:851)
              at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
              at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:364)
              at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
              

    Hi again
              Plase check you JAVA_CLASSPATH and WEBLOGIC_CLASSPATH variables
              make sure the paths. May be, the script that you use, define the class in
              the incorrect path
              Rajesh <[email protected]> escribió en el mensaje de noticias
              [email protected]...
              >
              > Hi,
              > The problem is solved.
              > I have 4.5.2 and 5.1 versions of webLogic installed on my machine
              > and in my system classpath I had
              > c:\weblogic452\classes\boot;c:\weblogic510\boot which caused this problem
              > I removed c:\weblogic452\classes\boot from the above classpath and it
              works.
              >
              > I tried to tweak through the above weblogic classes dirs and I did not
              find anything
              > similar to below classes for which the I got Linkage error.
              >
              > question is why would weblogic look for
              weblogic.jdbc20.common.internal.RmiDataSource.getConnection
              > ( (this class resides in c:\weblogic452\classes dir and not in
              c:\weblogic452\classes\boot
              > which is there in system classpath)of /weblogic452 directory when I am not
              even
              > booting up 4.5.2 instance of the server.
              >
              > >java.lang.LinkageError: Class java/sql/Connection violates loader
              constraints
              > > at
              >weblogic.jdbc20.common.internal.RmiDataSource.getConnection(RmiDataSource.j
              ava:53)
              >
              >
              > "Rajesh" <[email protected]> wrote:
              > >
              > >Hi,
              > >
              > >In my webApp I bumped into following Exception while running JSPs which
              > >queries
              > >database.
              > >
              > >Platform : Windows NT 4, webLogic 5.1 with SP 8.
              > >Action : WLSServer crashes with Dr. Watson application error.
              > >
              > >I am using a custom Connect.java class ( through javax.sql.DataSource,
              > >as recommended
              > >by WLS 5.1 docs ) to connect to Oracle database using JDBC thin client.
              > >If I do
              > >not use webApp architecture then the same class works good to connect
              > >to DB.
              > >
              > >Also, if I maintain identical class hierachy into my weblogic.class.path
              > >classpath
              > >settings I do not get this exception and everything works fine.
              > >
              > >I read into this search group messages about Linkage problems caused
              > >because of
              > >having duplicate classes available to the server at runtime and so I
              > >ensured that
              > >I do not keep classpaths which can cause duplicate classes into runtime
              > >environment
              > >of wlsserver but still the same problem persists.
              > >
              > >any help is appreciated,
              > >
              > >thanks,
              > >
              > >- Rajesh.
              > >
              > >------------------
              > >
              > >Mon Apr 02 16:19:11 PDT 2001:<I> <WebAppServletContext-eTools> Generated
              > >java
              > >file:
              c:\project\etools\WEB-INF\_tmp_war_eTools\jsp_servlet\_jsp\_xyz.java
              > >Mon Apr 02 16:19:13 PDT 2001:<E> <WebAppServletContext-eTools> Servlet
              > >failed
              > >with Exception
              > >java.lang.LinkageError: Class java/sql/Connection violates loader
              constraints
              > > at
              weblogic.jdbc20.common.internal.RmiDataSource.getConnection(RmiDataSource.ja
              va:53)
              > > at
              weblogic.jdbc20.common.internal.RmiDataSource_ServiceStub.getConnection(RmiD
              ataSource_ServiceStub.java,
              > >Compiled Code)
              > > at com.bea.etools.common.Connect.getConnection(Connect.java:51)
              > > at jsp_servlet._jsp._xyz._jspService(_xyz.java, Compiled Code)
              > > at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              > > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :106)
              > > at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
              l.java:907)
              > > at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
              l.java:851)
              > > at
              weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
              Manager.java:252)
              > > at
              weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:364)
              > > at
              weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
              > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
              > >Code)
              >
              

  • JAVAMAP-Sax Parser ...............Linkage error when loading the class.

    Dear all,
    Do we have any extra things to execute the Java mapping using the Sax Parser?
    When I am executing the interface mapping ,I am getting the" Linkage error when loading the class" error.
    Kindly let me know your personnel maildId so that I can mail you the screen shots.
    Thanks,
    Srinivasa

    Dear sunil,
    Find the File.
    Source:
    <MTO_FTP_MAT_DETAILS>
    <MATDETAILS>
    <MAKTX>
    <MATNR>
    <WERKS>
    <LABST>
    <MEINS>
    <PERCNT>
    TARGET
    MTI_FTP_MAT_DETAILS
    <MATDETAILS>
    <MAKTX>
    <MATNR>
    <WERKS>
    <LABST>
    <MEINS>
    <PERCNT>
    Source:
    <MTO_FTP_MAT_DETAILS>
    <MATDETAILS>
    <MAKTX>
    <MATNR>
    <WERKS>
    <LABST>
    <MEINS>
    <PERCNT>
    TARGET
    MTI_FTP_MAT_DETAILS
    <MATDETAILS>
    <MAKTX>
    <MATNR>
    <WERKS>
    <LABST>
    <MEINS>
    <PERCNT>
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Map;
    import javax.xml.parsers.SAXParser;
    import javax.xml.parsers.SAXParserFactory;
    import org.xml.sax.Attributes;
    import org.xml.sax.SAXException;
    import org.xml.sax.helpers.DefaultHandler;
    import com.sap.aii.mapping.api.StreamTransformation;
    class Echo {
    public static OutputStream out;
    public class myEcho extends DefaultHandler implements StreamTransformation {
    private Map map;
    public void setParameter(Map param) {
    map = param;
    public void execute(InputStream in, OutputStream out) {
    DefaultHandler handler = this;
    SAXParserFactory factory = SAXParserFactory.newInstance();
    try {
    SAXParser saxParser = factory.newSAXParser();
    Echo.out = out;
    saxParser.parse(in, handler);
    } catch (Throwable t) {
    t.printStackTrace();
    public void startDocument() throws SAXException {
    try {
    Echo.out.write("<?xml version='1.0' encoding='UTF-8'?>".getBytes());
    } catch (IOException e) {
    e.notify();
    public void endDocument() throws SAXException {
    try {
    Echo.out.flush();
    } catch (IOException e) {
    throw new SAXException("I/O error", e);
    public void startElement(String namespaceURI, String sName, // simple name
    String qName, // qualified name
    Attributes attrs) throws SAXException {
    String eName = sName; // element name
    if ("".equals(eName))
    eName = qName; // not namespace-aware
    if ("ns0:MTO_SAP_MAT_DETAILS".equals(qName)) {
    try {
    Echo.out.write(("<MTI_FTP_MAT_DETAILS>").getBytes());
    } catch (Exception e) {
    e.printStackTrace();
    } else {
    try {
    Echo.out.write(("<" + qName + ">").getBytes());
    } catch (Exception e) {
    e.printStackTrace();
    public void endElement(String namespaceURI, String sName, // simple name
    String qName // qualified name
    ) throws SAXException {
    String eName = sName; // element name
    if ("".equals(eName))
    eName = qName; // not namespace-aware
    if ("ns0:MTO_SAP_MAT_DETAILS".equals(qName)) {
    try {
    Echo.out.write(("</MTI_FTP_MAT_DETAILS>").getBytes());
    } catch (Exception e) {
    e.printStackTrace();
    } else {
    try {
    Echo.out.write(("</" + qName + ">").getBytes());
    } catch (Exception e) {
    e.printStackTrace();
    public void characters(char buf[], int offset, int len)
    throws SAXException {
    String s = new String(buf, offset, len);
    try {
    Echo.out.write(s.getBytes());
    } catch (Exception e) {
    e.printStackTrace();

  • Java Mapping - Class versions are incompatible (linkage error)

    Hi Friends,
        While testing java mapping in Integration Repository i am getting an error - "Class versions are incompatible (linkage error)". Can anyone plz tell what might be the reason.
    Regards,
    Gowtham Kuchipudi.

    hello
    I have this message but my trace look like this:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Trace xmlns:SAP="http://sap.com/xi/XI/Message/30">
    - <Trace level="1" type="B" name="interface activity determination">
      <Trace level="1" type="T">Version 000</Trace>
      <Trace level="1" type="T">Message status 000</Trace>
      <Trace level="1" type="T">Interface action INIT</Trace>
      <Trace level="1" type="T">(must be INIT for a new determination)</Trace>
      <Trace level="1" type="T">Message type BEST EFFORT. -> No determination</Trace>
      <Trace level="1" type="T">Set interface action INIT into *MAST*</Trace>
      </Trace>
      <Trace level="1" type="E">CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST</Trace>
    - <Trace level="1" type="B" name="PLSRV_RECEIVER_DETERMINATION">
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">
    - <Trace level="1" type="B" name="CL_RD_PLSRV-ENTER_PLSRV">
      <Trace level="1" type="T">R E C E I V E R - D E T E R M I N A T I O N</Trace>
      <Trace level="1" type="T">Cache Content is up to date</Trace>
      </Trace>
      </Trace>
      </Trace>
      </Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />
    - <Trace level="1" type="B" name="PLSRV_INTERFACE_DETERMINATION">
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">
    - <Trace level="1" type="B" name="CL_ID_PLSRV-ENTER_PLSRV">
      <Trace level="1" type="T">I N T E R F A C E - D E T E R M I N A T I O N</Trace>
      <Trace level="1" type="T">Cache Content is up to date</Trace>
      </Trace>
      </Trace>
      </Trace>
      </Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />
    - <Trace level="1" type="B" name="PLSRV_RECEIVER_MESSAGE_SPLIT">
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">
    - <Trace level="1" type="B" name="CL_XMS_PLSRV_RECEIVER_SPLIT-ENTER_PLSRV">
      <Trace level="1" type="T">number of receivers: 1</Trace>
      <Trace level="1" type="T">Single-receiver split case</Trace>
      </Trace>
      </Trace>
      </Trace>
      </Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />
      <Trace level="1" type="B" name="PLSRV_MAPPING_REQUEST" />
    - <!--  ************************************
      -->
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">
      <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL" />
    - <!--  ************************************
      -->
      <Trace level="1" type="B" name="CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV" />
    - <!--  ************************************
      -->
      <Trace level="1" type="T">Interface Mapping http://Migdal.co.il/CRM/SAP-CRM/ProposalDeatailsService ProposalDeatailsService_WS2RFC_IM</Trace>
      <Trace level="1" type="T">LinkageError at JavaMapping.load(): Could not load class: xmlpayload</Trace>
      <Trace level="1" type="T">java.lang.UnsupportedClassVersionError: xmlpayload (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:539) at java.lang.ClassLoader.defineClass(ClassLoader.java:448) at com.sap.aii.ibrun.server.mapping.MappingLoader.findClass(MappingLoader.java:158) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at com.sap.aii.ibrun.server.mapping.JavaMapping.load(JavaMapping.java:95) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:45) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:92) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0_0.processFunction(MappingServiceObjectImpl0_0.java:131) at sun.reflect.GeneratedMethodAccessor296.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy158.processFunction(Unknown Source) at sun.reflect.GeneratedMethodAccessor428.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:107) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113) at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:157) 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:102) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)</Trace>
      <Trace level="1" type="T">Linkage error occurred when loading class xmlpayload (http://Migdal.co.il/CRM/SAP-CRM/ProposalDeatailsService, d7e31f30-53be-11dc-8fbd-ee09c0a8664d, -1)</Trace>
      <Trace level="1" type="T">com.sap.aii.ibrun.server.mapping.MappingRuntimeException: Linkage error occurred when loading class xmlpayload (http://Migdal.co.il/CRM/SAP-CRM/ProposalDeatailsService, d7e31f30-53be-11dc-8fbd-ee09c0a8664d, -1) at com.sap.aii.ibrun.server.mapping.JavaMapping.load(JavaMapping.java:115) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:45) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:92) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0_0.processFunction(MappingServiceObjectImpl0_0.java:131) at sun.reflect.GeneratedMethodAccessor296.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy158.processFunction(Unknown Source) at sun.reflect.GeneratedMethodAccessor428.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:107) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113) at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:157) 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:102) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172) Root Cause: java.lang.UnsupportedClassVersionError: xmlpayload (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:539) at java.lang.ClassLoader.defineClass(ClassLoader.java:448) at com.sap.aii.ibrun.server.mapping.MappingLoader.findClass(MappingLoader.java:158) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at com.sap.aii.ibrun.server.mapping.JavaMapping.load(JavaMapping.java:95) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:45) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:92) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0_0.processFunction(MappingServiceObjectImpl0_0.java:131) at sun.reflect.GeneratedMethodAccessor296.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy158.processFunction(Unknown Source) at sun.reflect.GeneratedMethodAccessor428.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:107) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113) at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:157) 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:102) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)</Trace>
      <Trace level="1" type="E">CL_XMS_PLSRV_MAPPING~ENTER_PLSRV</Trace>
      </Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    - <!--  ************************************
      -->
      </SAP:Trace>
    the error that I recieve in the SXMB is:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">LINKAGE_ERROR</SAP:Code>
      <SAP:P1>xmlpayload</SAP:P1>
      <SAP:P2>http://Migdal.co.il/CRM/SAP-CRM/ProposalDeatailsS~</SAP:P2>
      <SAP:P3>d7e31f30-53be-11dc-8fbd-ee09c0a8664d</SAP:P3>
      <SAP:P4>-1</SAP:P4>
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Class versions are incompatible (linkage error)</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    this is my XI information
    Runtime Environment
    Java version:1.4.2_12
    Java vendor:Sun Microsystems Inc.
    Version
    Service pack:21
    Release:30_VAL_REL
    Latest change:409678
    Sync time:200709211024
    since I already have the SP required by the note, any other suggestions?
    Thanks
    Kfir

  • Java mapping - Linkage Error

    Hello,
    We are on PI 7.0 SP10.
    Currently we are migrating the XI servers from Solaris to AIX IBM.
    When I try to run Java mapping, I get following error:
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">LINKAGE_ERROR</SAP:Code>
      <SAP:P1>sapmarkets/marketconnect/xcbl/r3/OrderMapping</SAP:P1>
      <SAP:P2>http://xi/SRM/ReceivePurchaseOrders</SAP:P2>
      <SAP:P3>22150771-0ee7-11dc-c87a-fe330a306909</SAP:P3>
      <SAP:P4>-1</SAP:P4>
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Incompatible class versions (linkage error)</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Please help.
    Thanks in advance.
    Beena.
    Edited by: Beena Thekdi on Jan 22, 2008 8:05 PM

    Thanks Raj.
    But this note says
    >> The error is corrected with Support Package 5 for Support Package 03 for the XI TOOLS 3.0 software component.
    and I am already on PI 7.0.
    Please tell me still I need to apply this?
    Thanks,
    Beena.

  • How do you un-highlight text highlighted in error in Reader?

    How do you un-highlight text highlighted in error in Reader?
    Also How can you change the color of the highlighting?

    Yes i saw, but what i don't understand is that i don't see "Allow Page Breaks within Content" on my textfields :
    Maybe i am using an older version of livecycle.
    In an other order of idea, have you checked if the page was set to allow page breaks?

  • Linkage Error Looking up EJB from BPEL (11g)

    I am using 11g TP3.
    I have a BPEL process that is using WSIF to call a plain java class. Then from this class I am attempting to lookup an EJB in another application (but on the same server).
    My code looks like this...
    env.put( Context.INITIAL_CONTEXT_FACTORY, "oracle.j2ee.rmi.RMIInitialContextFactory" );
    env.put( Context.SECURITY_PRINCIPAL, "fmwadmin" );
    env.put( Context.SECURITY_CREDENTIALS, "welcome" );
    env.put(Context.PROVIDER_URL, "ormi://localhost:23891/DisEM");
    javax.naming.InitialContext ctx =
    new javax.naming.InitialContext(env);
    Object obj = ctx.lookup("DisConfigManager");
    I get a Linkage error on the lookup stating it "violates loader constraints" on class com/evermind/server/rmi/RMIClientConnection
    Below is the full error text. Any help would be appreciated. Thanks.
    Mar 26, 2008 8:49:31 AM oracle.j2ee.util.AnnotatedLogger log
    WARNING: Exception returned by remote server: java.lang.LinkageError: Class com/evermind/server/rmi/RMIClientConnection violates loader constraints
    08/03/26 08:49:31 got an exception looking up DisConfigManager: javax.naming.NamingException: Error resolving reference <Reference Class Name: javax.ejb.EJBObject
    Type: location
    Content: test-managers_DisConfigManager_BeanBinding
    Type: CachePolicy
    Content: NEVER
    : javax.naming.NamingException: Lookup error: javax.naming.NamingException: Class com/evermind/server/rmi/RMIClientConnection violates loader constraints [Root exception is java.lang.LinkageError: Class com/evermind/server/rmi/RMIClientConnection violates loader constraints]; nested exception is:      javax.naming.NamingException: Class com/evermind/server/rmi/RMIClientConnection violates loader constraints [Root exception is java.lang.LinkageError: Class com/evermind/server/rmi/RMIClientConnection violates loader constraints] [Root exception is javax.naming.NamingException: Class com/evermind/server/rmi/RMIClientConnection violates loader constraints [Root exception is java.lang.LinkageError: Class com/evermind/server/rmi/RMIClientConnection violates loader constraints]]
    08/03/26 08:49:31 <INFO> WSIFBinding=> [MIB2ScanCartridge/MIB2ScanCartridge!1.0*2008-02-27_13-37-54_124.FinalizeScanService]:finalize Performing outbound request/response interaction..
    Mar 26, 2008 8:49:43 AM oracle.j2ee.util.AnnotatedLogger log

    I was mistaken in this posting. I was able to access the EJB from the startup class so there must be something else that I am doing to cause this problem. I'd still like to know why I get those invalid guid errors though.
    By the way, please forgive me for using the gender-specific gentlemen in my posting. That was accidental.

  • XI Mapping: Class versions are incompatible (linkage error)

    Hi,
    i have a simple File-to-File scenario, and I am getting the following error as observed in the XI Monitor:
    <SAP:Category>Application</SAP:Category>
    <SAP:Code area="MAPPING">LINKAGE_ERROR</SAP:Code>
    <SAP:Stack>Class versions are incompatible (linkage error)</SAP:Stack>
    To troubleshoot the mapping, I have removed all mappings, and put the target nodes to constant values. I am still getting the error in Mapping (linkage error).
    I am using XI3.0SP0 (J2EE SP07, ABAP SP3). Is this a known problem / OSS notes available ? thanks.
    Regards,
    Manish Agarwal.

    Hallo Agarwal,
    have a look in OSS Message #755302
    Regards Franz Forsthofer

  • Incompatible class versions :linkage error- JAVADOM

    HI,
       We have done Mapping using java DOm,created ZIp file & successfully imported in IR.  
    My NWDS is using java 1.4.2_15
    we are using PI70/Sp09/Java Version 1.5.0_14
    During Execution in IE we  are getting this error.
    error -
    <SAP:Code area="MAPPING">LINKAGE_ERROR</SAP:Code>
    <SAP:Stack>Incompatible class versions (linkage error)</SAP:Stack>
    <Trace level="1" type="T">Interface Mapping http://XI/Mapping/JavaDom/DOMMapping4 IM_ORDER1_ORDER</Trace>
      <Trace level="1" type="T">LinkageError at JavaMapping.load(): Could not load class: CSJAVA/com/yash/xi/DOMMapping4</Trace>
      <Trace level="1" type="T">java.lang.NoClassDefFoundError: JAVA/com/xi/DOMMapping4 (wrong name: com//xi/DOMMapping4) at java.lang.ClassLoader.defineClass0
    Regards
    shekar chandra

    Hi,
    Check the links they may help u out.
    Event or DOM parsing?
    http://discuss.joelonsoftware.com/default.asp?design.4.156750.12
    XML Parsers: DOM and SAX Put to the Test
    http://www.devx.com/xml/Article/16922/1954?pf=true
    Regards,
    Phani

  • Class versions are incompatible (linkage error)

    Hi All,
    I New to SAP XI and i've been working on java mapping, i Used RAD 6.0 for generation of class files, i imported the generated files into Integration builder.
    but when i execute the scenario i'm getting this error
    "Class versions are incompatible (linkage error)"
    in message monitoring with a red flag..
    can anyone explain me why i'm getting this error....
    Thanks & Regards,
    Sai Kumar Madduri

    Hi,
    Our PI Details:
    Runtime Environment
    Java version: 1.5.0_14
    Java vendor:Sun Microsystems Inc.
    Version
    Service  pack:09
    Release: 645_VAL_REL
    NWDS IDE: 1.5.0_14
    XI
    Software component details
    XI TOOLS 3.0
       Support Package 11 of SAP_XITOOL, 3.0 SP011 011
    XI TOOLS 7.0
       No Entry for Support Packages.
    Request to advise what is the best option for my JAVA Dom program to run
    regards
    shekar Chandra

  • Linkage error occured when loading javaclass into InterfaceMapping

    Hi All,
    i created java file having input xml and output xml file,i made it as one .jar file ,i imported that one into IntegrationRepository in importedArchive,when i call that .class file into InterfaceMapping iam getting this error, Linkage error occured when loading javaclass . how to solve this one
    regards,
    jasmine

    Hi Prateek,
    iam using jdk1.4.2
    still iam not able to activate the interfacemapping ,iam getting this error
    Linkage error occurred when loading class JavaMapping (http://myxmlnamespace, 21279630-c687-11dd-9b90-db1010109e85, -1)
    here JavaMapping is my java class name
    while activating the interfacemapping iam getting this error.
    regards,
    jasmine

  • Linkage error occurred when loading class MyClass

    Hi
    I have written one simple class name MyClass and i have created jar file and i imported into import archive... but in interface mapping while i am testing i am getting the <b>"<b>Linkage error occurred when loading class MyClass"</b></b> error.... why i am getting this error
    Thanks & Regards
    Ravi Shankar B

    Here it goes:
    Symptom
    The LINKAGE_ERROR error occurs during the mapping.
    The trace contains "java.lang.NoClassDefFoundError: Illegal name":
    Other terms
    XI 30, Mapping, Linkage Error
    Reason and Prerequisites
    As of the jdk 1.4.2_05 from Sun, this program error occurs during the mapping in the runtime or during testing in the Repository. This error may also occur in conjunction with jdks of other vendors or other versions.
    Solution
    The error is corrected with Support Package 5 for Support Package 03 for the XI TOOLS 3.0 software component.
    Import the corresponding archive SAPXITOOL03P_5.SCA for SAP Exchange Infrastructure XI 3.0 as described in the Netweaver 04 Support Package Stac Guide.
    You will find the archive and the guide in the SAP Service Marketplace under the alias "SP stacks -> SAP NetWeaver -> SAP NetWeaver 04".
    Regards
    Vijaya

Maybe you are looking for

  • Report output to desktop as file.

    Hi all,   I need to send a standard reports output to desktop as file (text).   how can i do that. if possible give me an example. Thanks, Nagaraju.

  • SessionStorage warning while program is running

    Hi, I have a desktop application that I developed in NetBeans. Everything compiles and runs, but whenever I open a specific window, I get the following warning: Feb 18, 2008 2:47:12 PM org.jdesktop.application.SessionStorage restoreTree +WARNING: No

  • HT3887 my macbook air isnt connecting via bluetooth or usb to my iphone 4s

    Ive tried countless times, looking at all these answers, but its still not connecting. Why???

  • How can I delete my rescue email, in order to use it as my primary email?

    Im trying to change my primary email, in order to use my rescue email as my primary I just can't do it. I already deleted my alternative email which is my rescue email and it still doesn't let me. Any ideas or what should I do.

  • Problem in Queue

    Hi, When XI receive a lot of Idocs (about 8000) of R/3, sometime one has the following error in the queue (SMQ2): "<i>The ABAP/4 Open SQL array insert results in dupl.</i>". Thus corresponding queue is in error and is blocked. After one has the posss