RESOURCE_NOT_FOUND for XSLT and Java Mappings (SXMB_MONI)
Experts,
I need your opinion / experience about a problem that we have been facing here:
XI 3.0 was upgraded to PI 7.0, but since then all interfaces that uses XSLT and Java Mappings throws a RESOURCE_NOT_FOUND error in SXMB_MONI only in the production environment.
We found SAP Note 951318 that describes exactly the scenario we have here. The note also inform that the issue is solved at SP 07 (for PI 7.0).
The problem is that we find out that abap and java instance are with different SP ( SP 13 for abap and SP 09 for java) after XI upgrade to 7.0, since they had a error at java instance.
Have anyone of you facing with this problem?
I believe that even having a SP greater than 07 (as sap note 951318 requires), as we have an difference between abap and java SP, this issue might have been causing the problem.
Points will be given.
Regards,
Daniela
Yes, thats true. As you can see,
In XI 3.0 (SAP Netweaver'04), the issue is solved in:
SP 18,
SP 17, patch 1 (archive SAPXITOOL17_1. sca for XI Tools)
SP 16, patch 4 (archive SAPXITOOL16_4.sca for XI Tools).
you need to import and put a patch if you are using XI 3.0. but in your case it is PI 7.0.
So please check out the SAP Note : 950608 and download SP 07,patch 2 (archive SAPXITOOL07_2.sca for XI Tools).and Note 952402 .
Regards
Aashish Sinha
PS : reward points if helpful
Similar Messages
-
Give me description for ABAP and XSLT and JAVA Mapping
i want detailed description for XSLT AND ABAP,JAVA Mapping and where they require coding and some examples for this items and differences for these mappings and message mapping and some examples which shows difference between these items
Hi,
Java mapping:
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
ABAP Mapping:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0302591383
XSLT mapping
/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
ABAP XSLT mapping
/people/r.eijpe/blog/2005/11/04/using-abap-xslt-extensions-for-xi-mapping
Regards
Vijaya -
Hello friends,
Can any one know that how to create a XSLT and Java Mapping file(Jar File).
I am not able to find any of the example so if you create a example or find some where please let me know on that How to create such files...
Thanks...
Gaurav JainHi,
I am trying to invoke a Java Extension Function from a XSLT. I added both the class file and the XSLT file to a folder, then zipped the entire folder and uploaded into the Archive for my Interface MApping.
The CLASS gets loaded but the runtime engine gives an error when calling the JAVA Function.
Here is what it says:
Creating mapping sequence with 2 steps. --- Creating Java mapping Deliveries/stringHandler --- Creating mapping sequence with 2 steps. --- Creating XSLT mapping Deliveries/test1 --- Using MappingResolver with context URL /sapmnt/XD1/global/xi/mapping/http%3A%2F%2Fwolterskluwer%2Ecom%2Fxi%2F wk_midas_deliveries%2Ftest/cd2e6820267511d9cb52c3c5143c3524/ --- Loaded class Deliveries.stringHandler --- com.sap.aii.ibrun.server.map.MappingRuntimeException: at com.sap.aii.ibrun.server.map.MappingRuntimeException.code_STYLESHEET_OR_CLASS_NOT_FOUND(MappingRuntimeException.java:91) at com.sap.aii.ibrun.server.map.RUMappingJava.instantiate(RUMappingJava.java:168) at com.sap.aii.ibrun.server.map.RUMappingJava.execute(RUMappingJava.java:41) at com.sap.aii.ibrun.server.map.RUSequence.execute(RUSequence.java:50) at com.sap.aii.ibrun.server.map.RURunner.run(RURunner.java:58) at com.sap.aii.ibrun.server.map.RUManager.run(RUManager.java:66) at com.sap.aii.ibrun.sbeans.map.MappingRequestHandler.handleRequest(MappingRequestHandler.java:67) at com.sap.aii.ibrun.sbeans.map.MappingServiceImpl.processFunction(MappingServiceImpl.java:83) at com.sap.aii.ibrun.sbeans.map.XMappingServiceObjectImpl0.processFunction(XMappingServiceObjectImpl0.java:24) at com.sap.aii.ibrun.sbeans.map.MappingServiceKey.processFunction(MappingServiceKey.java:10) at java.lang.reflect.Method.invoke(Native Method) at com.inqmy.services.rfcengine.RFCDefaultRequestHandler.invokeBean(RFCDefaultRequestHandler.java:83) at com.inqmy.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:50) at com.inqmy.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java:69) at com.sap.mw.jco.JCO$Server.dispatchRequest(Unknown Source) at com.sap.mw.jco.rfc.MiddlewareRFC$Server.nativeListen(Native Method) at com.sap.mw.jco.rfc.MiddlewareRFC$Server.listen(Unknown Source) at com.sap.mw.jco.JCO$Server.listen(Unknown Source) at com.sap.mw.jco.JCO$Server.run(Unknown Source) at java.lang.Thread.run(Thread.java:513) --
Please tell me what is the problem?
Thanks for your time
A -
HT5243 how do I find my password for adobe and Java
how do I find my password for adobe and Java
"Java" doesn't have a password, unless you mean your admin password for installing software. That's whatever password you (or the person who set your computer up) used to set up your admin account. That's the same password that you use when you start up the computer if you get asked for one. You cannot retrieve this password if you've forgotten it, but you can reset it and make a new one. See this support article if that's the case:
http://support.apple.com/kb/PH14325
"Adobe" is a company and likewise doesn't have a password. However, if you have Adobe cloud-based software you may well have set up a password with them. Adobe also require an account and password for downloading certain products. You'll need to contact Adobe to retrieve any such password if you've lost it.
Try
Adobe ID, sign-in, and account help -
Any website for XSLT AND ABAP mapping
Hi XI experts,
I am looking for any good website/Material for XSLT and ABAP Mapping with examples.
So experts if you any one of you have any clue , i would appreciate it , if you post the info here .
Regds,
Ram.Hi,
For XSLT mapping, please try to create msg types for sender and recv, import these two into XML Mapforces (This is a software which enables us to do mapping this you can download from altova mapforce site) , do mapping in that mapforce , late click on XSLT icon , one XSLT file will be c reated that file , prepare zip and late come to xi , import under imported archieves,do Interface mapping by selecting the XSLT mapping option, select imported archieve..
See below examples..
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1
http://www.troobloo.com/tech/xslt.toc.shtml
http://www.w3schools.com/xsl/
http://www.w3.org/TR/xslt
http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/frameset.htm
https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-code-samples/generic%20xslt%20mapping%20in%20sap%20xi%2c%20part%20i.pdf
/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
Required XSLT Mapping tips!
Regards
Chilla.. -
Simple XML to Text onversion using XSLT and Java?
Hi all!
I'm completly new to using XSLT and Java and are trying to convert a XML file into a ordinary Textfile that I am gonna import into another application.
I started up writing a ordinary XML parser in Java which interpreted the XML file, but realized later on that it was possible to do with a ordinary XSLT.
So far it is a 2-step process right now, I've tied my XSLT to the XML file and then just open the XML file up in a ordinary browser and then get the result.
I found an example (http://www.onjava.com/pub/a/onjava/excerpt/java_xslt_ch5/index.html?page=3) where u hook up a XML file and a XSL file separately and the process it, and dump it to Stdout. But do I need to hook up a XSL file like this when the XML file is tied to a XSL file internally?Just to give you an example to show you how easy it is: http://www.daniweb.com/forums/thread137587.html
-
Message Mapping ... ABAP ,XSLT and JAVA
HI Friends
I have a general question ... but it will confuse me a lot ....
my question is we have four types of message mappings
1) GUI ( and UDFs)
2) ABAP
3)XSLT
4) JAVA
when we have plenty of options in GUI (and User defined functions also) to define sender 2 receiver message mapping
then what is need of JAVA,ABAP and XSLT Message Mapping and when we use these message mappings( exactly in which situation) and difference b/w them
Thanks in Advance
MaheshGreen = recommended
Yellow = Acceptable
Red = not recommended
In my experience.
XSLT mapping: is confotable to convert to another format different to xml(when we do not have a complex logic)
Java Mapping: is to implement complex logics(but the maintainbilityis not good...you need a external tool)
ABAP mapping: I think is the best option when the you have the skills on that technology but take account that is not portable neither good for usability.
Regards
Ivan -
Time out parameters for ABAP and JAVA instance
Hello All,
We are looking for Time out parameters for our ABAP and JAVA instances.
As users are complaining that they are getting time out error
while they are trying to access Cprojects from Portal.
I was able to check/collect the ABAP instance parameters from SMICM Tcode.
Can anybody tell me which parameters we need to look for JAVA instance.
Thanks in advance.
Regards,
Amber Sjstart/shutdownTimeout
(jstartup/shutdown_timeout)
Specifies the shutdown timeout, i.e. the grace period for the AS Java instance to shut down before the Java process terminates itself. Unt is in Seconds. Default is 120
j2ee/ms/connectTimeout
(jstartup/wait_for_scs)
Specifies the timeout for the first connection to the message server. The AS Java instance fails to start if this timeout expires.Unt is in Seconds.Default is 60
j2ee/ms/reconnectTimeout
(jstartup/wait_for_reconnect)
Specifies the timeout for the reconnecting to the message server.The AS Java instance shuts down when this timeout expires.Unt is inSeconds.Default is 3600 (one hour)
Thanks -
Links for ABAP and JAVA Admin + Troubleshooting
Hi Gurus,
Can anyone send me the useful links for Admin + Troubleshooting in SAP BASIS i.e. ABAP and JAVA ?
Also, which are the Routing Maintenance Tasks in SAP BASIS ?
Any / All help is most welcome and would be rewarded with suitable points.
Many Thanks in Advance ,
Regards,
- IshanHello Balaji,
Yes, you can connect the JAVA user adminsitration with the Single CUA.
Make use of the JAVA UME feature for this.
http://help.sap.com/saphelp_nw04/helpdata/en/49/9dd53f779c4e21e10000000a1550b0/content.htm
Regards,
Ammey Kesarkar -
Individual business system for ABAP and Java Stack
Hi All,
I need to send message from a system to XI via ABAP proxy and Java proxy. The sender's ABAP and Java proxy use the same message interface to communicate with XI. Should I create one business system for the ABAP stack and one for Java stack of the sender system?
Thanks + Best Regards
JeromeAre you sending same message type from ABAP proxy and Java Proxy to XI?
If you have ABAP proxy, why do you need Java Proxy? Actually you cannot create any Java proxies on ABAP bases systems. What kind of system sender is? Java proxies are created for pure Java based applications.
Let me know if I didnt understand your question correctly. If so, please explain in detail why you need both proxies and what is your sender application.
--Archana -
i have a AS-ABAP System and AS-JAVA system.
Can i have a single CUA for AS-ABAP system and aS-JAVA system or i should have seperate CUA for ABAP and JAVAHello Balaji,
Yes, you can connect the JAVA user adminsitration with the Single CUA.
Make use of the JAVA UME feature for this.
http://help.sap.com/saphelp_nw04/helpdata/en/49/9dd53f779c4e21e10000000a1550b0/content.htm
Regards,
Ammey Kesarkar -
4.6C to ERP6.0 Upgrade - what are the recommendations for Unicode and Java
Hi All,
Forgive such a basic question.
We are just beginning to look at our ERP6.0 upgrade and am unclear whether we should convert to unicode at the same time, and also what are the uses for the Java stack.
Unicode?
We are a single language Latin-1 site so don't need Unicode. However will it become mandatory eventually? Are we better, if we have the opportunity now, just to convert. Also I believe the Java stack is only Unicode. Does ASCII ABAP and Java Unicode complicate things?
Java?
Will we need it? We are proposing a technical upgrade from our 4.6c Javaless environment. Where does Java come in to play in ERP6.0? Doesn't it increase greatly the iSeries HW requirements? (I'm looking at a 2 way 550 at the moment)
Look forward to hearing your views.
Regards
SteveHi Stephen,
at the moment, in a latin-1 environment Unicode is for old customers not a requrirement. This might change in 5-10 years ...
Java: No problem at all with ASCII (in latin-1 environments)
=> there is no need for you, but you could go for it. We did several Unicode conversions already and these Latin-1 conversions are pretty easy and simple especially on iSeries, because of the special InPlace Unicode Conversion.
... but this can be done at any time ...
Regards
Volker Gueldenpfennig, consolut.gmbh
http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de -
I can not get the plug ins to work for Adobe and Java
When I try to upgrade Adobe Shockwave and Java I am directed to "http://helpx.adobe.com/security/products/flash-player/apsb13-28.html" I am on a mac os 10.7.5.
For Mac and Windows users there is two version options. You only need one.
16.0.0.235 and 13.0.0.259 ESR.
https://www.adobe.com/products/flashplayer/distribution3.html -
What about Java and sharaware market? OK or incompatible?
Does someone knows (or has itself) a successfull java shareware application project?
I mean about million downloads and thousends of customers.Thanks nasch.
As I saw on download.com there are no java-application with more then 70000 downloads (except 2 application for java developers - java-tips and java gui builder). All them have quite low user rating, and I can't imagine that one can pick up good money in a such way. Is it true?
Only 2 million downloads of JRE - so seems no too much users avalable. What about http://www.javashareware.com/ they never show download index, don't they? -
Hi,
I´m trying the "Easy RFC lookup from XSLT mappings using a Java helper class" article and I getting a weird problem.
The result of the RFC lookup called inside the java class is maintained in a kind of cache and I always get the same results independent of the parameters I use in the following calls.
Just after calling a Complete Cache Refresh (SXI_CACHE) I got a new result to the lookup.
If I call in the Interface Mapping Test option it runs fine. However, when I call it from my scenario (SOAP Adapter Sender) the first result of the lookup will be returned until a forced cache refresh.
Any ideas?
Thank you,
Fabiano.Hello Fabiano,
I had the same problem like you had.
The main Problem is that with the example code the request variable is created as NodeList object. In XSLT a variable is somekind of a constant and can't be changed. As the request object is empty after the first request the programm fails at the following line:
Source source = new DOMSource(request.item(0));
So I've created a workaround for this problem.
In the call of the template I've put the request as a parameter object at the template call:
<xsl:with-param name="req">
<rfc:PLM_EXPLORE_BILL_OF_MATERIAL xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
<APPLICATION>Z001</APPLICATION>
<FLAG_NEW_EXPLOSION>X</FLAG_NEW_EXPLOSION>
<MATERIALNUMBER><xsl:value-of select="value"/></MATERIALNUMBER>
<PLANT>FSD0</PLANT>
<VALIDFROM><xsl:value-of select="//Recordset/Row[name='DTM-031']/value"/></VALIDFROM>
<BOMITEM_DATA/>
</rfc:PLM_EXPLORE_BILL_OF_MATERIAL>
</xsl:with-param>
With this change the request will be provided as a String object and not as a NodeList object.
Afterwards the RfcLookup.java has to be changed to the following:
package com.franke.mappings;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.util.Map;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.transform.Source;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import com.sap.aii.mapping.lookup.Channel;
import com.sap.aii.mapping.api.StreamTransformationConstants;
import com.sap.aii.mapping.api.AbstractTrace;
import com.sap.aii.mapping.lookup.RfcAccessor;
import com.sap.aii.mapping.lookup.LookupService;
import com.sap.aii.mapping.lookup.XmlPayload;
* @author Thorsten Nordholm Søbirk, AppliCon A/S
* Helper class for using the XI Lookup API with XSLT mappings for calling RFCs.
* The class is generic in that it can be used to call any remote-enabled
* function module in R/3. Generation of the XML request document and parsing of
* the XML response is left to the stylesheet, where this can be done in a very
* natural manner.
* TD:
* Changed the class that request is sent as String, because of IndexOutOfBound-exception
* When sending multiple requests in one XSLT mapping.
public class RfcLookup {
* Execute RFC lookup.
* @param request RFC request - TD: changed to String
* @param service name of service
* @param channelName name of communication channel
* @param inputParam mapping parameters
* @return Node containing RFC response
public static Node execute( String request,
String service,
String channelName,
Map inputParam)
AbstractTrace trace = (AbstractTrace) inputParam.get(StreamTransformationConstants.MAPPING_TRACE);
Node responseNode = null;
try {
// Get channel and accessor
Channel channel = LookupService.getChannel(service, channelName);
RfcAccessor accessor = LookupService.getRfcAccessor(channel);
// Serialise request NodeList - TD: Not needed anymore as request is String
/*TransformerFactory factory = TransformerFactory.newInstance();
Transformer transformer = factory.newTransformer();
Source source = new DOMSource(request.item(0));
ByteArrayOutputStream baos = new ByteArrayOutputStream();
StreamResult streamResult = new StreamResult(baos);
transformer.transform(source, streamResult);*/
// TD: Add xml header and remove linefeeds for the request string
request = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"+request.replaceAll("[\r\n]+", "");
// TD: Get byte Array from request String to send afterwards
byte[] requestBytes = request.getBytes();
// TD: Not used anymore as request is String
//byte[] requestBytes = baos.toByteArray();
trace.addDebugMessage("RFC Request: " + new String(requestBytes));
// Create input stream representing the function module request message
InputStream inputStream = new ByteArrayInputStream(requestBytes);
// Create XmlPayload
XmlPayload requestPayload =LookupService.getXmlPayload(inputStream);
// Execute lookup
XmlPayload responsePayload = accessor.call(requestPayload);
InputStream responseStream = responsePayload.getContent();
TeeInputStream tee = new TeeInputStream(responseStream);
// Create DOM tree for response
DocumentBuilder docBuilder =DocumentBuilderFactory.newInstance().newDocumentBuilder();
Document document = docBuilder.parse(tee);
trace.addDebugMessage("RFC Response: " + tee.getStringContent());
responseNode = document.getFirstChild();
} catch (Throwable t) {
StringWriter sw = new StringWriter();
t.printStackTrace(new PrintWriter(sw));
trace.addWarning(sw.toString());
return responseNode;
* Helper class which collects stream input while reading.
static class TeeInputStream extends InputStream {
private ByteArrayOutputStream baos;
private InputStream wrappedInputStream;
TeeInputStream(InputStream inputStream) {
baos = new ByteArrayOutputStream();
wrappedInputStream = inputStream;
* @return stream content as String
String getStringContent() {
return baos.toString();
/* (non-Javadoc)
* @see java.io.InputStream#read()
public int read() throws IOException {
int r = wrappedInputStream.read();
baos.write(r);
return r;
Then you need to compile and upload this class and it should work.
I hope that this helps you.
Best regards
Till
Maybe you are looking for
-
Cannot render special HTML character with Java
I'm pretty sure this is a general Swing issue, please don't ignore this because I reference JavaHelp. When using JavaHelp and French as the displayed language, I'm having problems displaying the œ character (HTML entity &# 156;). Below I've incl
-
What is better to buy a ipad 2nd gen or laptop
what do you think is better an ipad or laptop? what are the differences between them? Andjonny
-
Differences between ODI 11.1.1.7 and ODI 11.1.1.6
Hi, Nowadays, I'm working with Oracle Data Integrator 11.1.1.7 and I have to do a downgrade to Oracle Data Integrator 11.1.1.6. So, the problem is that I don't know what are the differences between this two releases. Please, Could anyone help me wit
-
How to change photo in desktop icons on macbook pro
How do i change pictures in desktop icons on MacBook Pro?
-
Hi all I am having a strange problem. I cannot print preview, export to pdf or print to pdf from any of my apps now. I get an "error while printing". Also I have a strange menu under printers called adobePDFPDE that has a line over it. when I go to i