While Activating Message mapping, error.
Hi
While activating my message mapping i am getting this error "JMS server failed"
How to resolve this and whats the cause of it?
Please do not post links.
Thanks in advance
Saiyog
Points will be awarded
Edited by: Saiyog Gonsalves on Jun 13, 2008 6:09 PM
Hi,
There seems to be problem with J2EE Server. Please follow the following steps and it will resolve your error.
login to J2EE Visual aadmin ->cluster ->services ->.JMS connector ->runtime(Right side tab) ->check the factories / destinations (if anything is in red color X mark).
Fix it and restart the server.
Pls reward points if answer is useful
Thanks
Amit
Similar Messages
-
Problem while activating message mapping
Hi all,
I am facing a problem while activating message mapping in IR.It says Object being edited by XXXX and cannot be activated.It's giving my user name itself and even it doesn't allow to go to edit mode even.But I am not opening it twice.How to monitor all the XI users logged into the XI system and find the users using IR and ID objects.Please help in this regard.
Thanks.Hi Jaya
It is .....
http://<host:port>/rep/support/public/LockAdminService
Hope this helps !!!
Regards,
J Augastine -
Error while activating message mapping
Hi,
We are trying to activate message mappings and getting error as CHECK_EXCEPTION and in error details its showing that usr/sap/server.........................../classpath_resolver/Map.......................no such file or directory.........
What can be the issue?We can activate all other objects(DT,MT,IM,etc)
Best Regards,
Harleen Kaur ChadhaHi
Check this thread you can find the reason for this error CHECK_EXCEPTION solved here
Activating Object in IR - Getting Null Pointer Exception
Re: mapping test error
Internal error while checking object Message Mapping...
Problem Activating Mappings in the IR
Message Mapping activation Error
Regards
Abhishek -
Problemin activating Message Mapping
Hi experts,
I am facing some problem while activating the message mapping, error is as follows:
"Internal error while checking object Message Mapping.
[][db2][jcc][102][10040] Non-atomic batch failure.
The batch was submitted, but at least one exception
occurred on an individual member of the batch.
Use
getNextException() to retrieve the exceptions for specific
batched elements."
PLEASE PROVIDE ME WITH SOME IDEA ABOUT WHY IT IS HAPPNING.
Thanks in advance.
Regards
PradeepHi,
The same error is solved in this thread..
Problem Activating Mappings in the IR -- see the last 2 comments.
Thanks
Swarup -
Message Mapping Error in Text File to XML file Scenario
Hi Gurus,
This is Sudheer...I am New to SAP-PI......
Below link is File to File Scenario(Text File to XML File)...
https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/basicFileAdapterContentConversion
I am facing Message Mapping Error....I am not able to map the fileds...
Please help me.
-SudheerThanks Shabarish & Manisha for your reply....
Ya I am getting error while I am testing in IR....
I dont know how to map the fields that shown given below...
Message Type --- Message Type
Record Employee
Header EmployeeID
Key Name
EmpID Company
Name Phone
Company Prior_Employer
Phone Company
Detail Location
Key
Company
Location -
Error while activation of mapping
Hi experts,
i am getting folowing error while activation of the mapping object. Checked the cache and updated it .
there are no locks by any user also
Version management was unable to execute the last action because a temporary internal lock has been set. Repeat the action
please help if you faced similar issue.
Regards,
srinivasHi,
Did you have a chance to look at this thread?
Internal lock version management : Unable to copy objects
Regards,
Ravi -
Error while opening Message Mapping
Hi All,
I have one MM in ESR, IDoc to EDI, it has been developed before, and the interface is working successfully.But when I open this MM in ESR, it given a STOP error with desc as 'For input string: ""'.
and then there is nothing displayed on Screen under Definition,Test and Functions tab of MM.The Signature tab content is visible properly.
I am working on PI 7.1.
Is this issue is because of version comapatibilty or missing object. Please provide your inputs to resolve this issue,
Thanks,
RuchiHi All,
I have checked with my basis team, but they suggested that the patches can not be installed as this problem is happening with single message mapping.
When I open this MM, it gives the same STOP error :For input string: "". and when I click on Message Mapping -> Check button, it prompts a message 'Parameter #ParamName# has the invalid value null'.
Please help me to resolve this.As the mapping itself is not getting loaded, so not getting how to set this parameter value(if it is used in MM). -
Error Activating Message Mapping
HI All,
I am getting the below error when i try to activate any message mapping in the IR. Any ideas?
" Starting compilation Source code has syntax error: java.lang.NoClassDefFoundError: com/sun/tools/javac/Main Exception in thread "main"
Thank you in Advance.
DHi,
Is there recently been an update like WAS ABAP and WAS JAVA to SPS13(nw2004s)?
Please check this thread there are some pointers in it:
Re: 500 internal server error
Best regards,
Guido -
I am receiving errors when trying to activate my MM. I believe the issues are in one of two UDF's. These UDF's do work in another MM without error. Below are the error's and UDF's.
ERRORS:
Activation of the change list canceled Check result for Message Mapping MM_WPDBBY_WPDBBY01_TO_POS_WAWAFILE | http://wawa.com/xi/erp/pos: Starting compilation Source code has syntax error: /usr/sap/XID/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map5420e070cabe11dcab4b00306ef38da9/source/com/sap/xi/tf/_MM_WPDBBY_WPDBBY01_TO_POS_WAWAFILE_.java:3291: cannot resolve symbol symbol : variable container location: class com.sap.xi.tf._MM_WPDBBY_WPDBBY01_TO_POS_WAWAFILE_ map = container.getTransformationParameters(); ^ /usr/sap/XID/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map5420e070cabe11dcab4b00306ef38da9/source/com/sap/xi/tf/_MM_WPDBBY_WPDBBY01_TO_POS_WAWAFILE_.java:3293: cannot return a value from method whose result type is void return constant; ^ 2 errors
UDF's:
public String getSender(Container container){
String constant;
java.util.Map map;
// get constant map
map = container.getTransformationParameters();
constant = (String) map.get (StreamTransformationConstants.SENDER_SERVICE);
return constant;
IMPORTS: com.sap.xi.mapping.parse.dom.;javax.xml.parsers.;java.io.;com.sap.aii.mapping.lookup.;org.w3c.dom.*;
public String getSeqNum(String fileType,String objNum,String Sender,Container container){
String request = "<ns0:ZRFC_NUMBER_GET_NEXT xmlns:ns0=\"urn:sap-com:document:sap:rfc:functions\"><NR_RANGE_NR>" + fileType + "</NR_RANGE_NR><OBJECT>" + objNum + "</OBJECT><QUANTITY/></ns0:ZRFC_NUMBER_GET_NEXT>";
InputStream isRequest = new ByteArrayInputStream(request.getBytes());
SystemAccessor accessor = null;
String num = null;
try{
// 1. Determine a channel.
Channel channel = LookupService.getChannel(Sender, "R_RFC_ERP");
// 2. Get a system accessor for the channel.
accessor = LookupService.getSystemAccessor(channel);
// 3. Create a payload according to the data type which the adapter expects.
// Use service.getBinaryPayload() for binary payload,
// and service.getTextPayload() for text payloads.
Payload payload = LookupService.getXmlPayload(isRequest);
// 4. Execute lookup.
Payload response = accessor.call(payload);
//Parse response
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder();
InputStream resStream = response.getContent();
Document doc = builder.parse(resStream);
Element sequence = doc.getDocumentElement();
NodeList number = sequence.getElementsByTagName("NUMBER");
//Extract Number
num = DOMUtil.getSimpleElementText((Element) number.item(0));
} catch (Exception e) {
return e.getMessage();
} finally {
try {
if (accessor != null) accessor.close();
} catch (Exception e) {
return e.getMessage();
GlobalContainer gc = container.getGlobalContainer();
gc.setParameter("Num", num);
return num;
Any help is appreciated.
Regards,
DarrellFauver,
Just to narrow down the problem first remove the first udf and only use the 2nd user defined function. Also in the 2nd udf you have to change this line:
try{
// 1. Determine a channel.
Channel channel = LookupService.getChannel(Sender, "R_RFC_ERP");
In the above line instead of Sender you use the business service or business system where R_RFC_ERP RFC communication channel is created in Integration Directory. So you are hardcoding it first.
Once you have done this changes do save and test it once again. If this works then you can change back to original and your first udf needs to be checked.
Regards,
---Satish -
Process Composer - Automated Activity - Output Mapping Error
Hi,
I am trying to consume the standard
DocumentERPCreateRequestConfirmation_In_V1
service in a process - CE 7.1 EHP1.
Created one automated activity in the process to execute this service.
When I try to do Output Mapping for the automated activity to Context, it throws an error:
Incompatible expression type.
Expected:Log,ns="http://example.org/test"
Found:Log,ns="http://sap.com/xi/EA-APPL/SE/Global"
"http://example.org/test" is the namespace of the context I'm using - a Web Dynpro Context.
Any idea why is it so & what the error is?
Thanks,
HarishHi Harish,
When I try to do Output Mapping for the automated activity to Context, it throws an error:
Incompatible expression type.
Expected:Log,ns="http://example.org/test"
Found:Log,ns="http://sap.com/xi/EA-APPL/SE/Global"
"http://example.org/test" is the namespace of the context I'm using - a Web Dynpro Context
once u have mapped the node, u will get this error message. to remove the error message, map all the attributes from Node A to Node B.
Hope your problem will be solved.
Thanks and regards -
Request Message Mapping - error
Hello,
Scenario :
Flat file => File adapter => XI 2.0 => IDoc => SAP
The adapter picks up the file, sends it to Integration Engine. In the Monitoring tool, the following are fine : Inbound Message, Receiver determination, Interface determination, Technical routing, Receiver grouping, Message split.
We are getting error in Request Message Mapping. The error is below :
===========
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <SAP:ErrorHeader xmlns:SAP="http://sap.com/exchange/MessageFormat">
<SAP:Context />
<SAP:Code p1="Error during mapping" p2="--- Creating Java mapping com.sap.xi.tf._zMsgMap_ --- Using MappingResolver with context URL /sapmnt/XID/global/xi/mapping/http%3A%2F%2FABCxyz%2Ecom%2Fxi%2FTest%2F/bc52cef0be3411d8b277cade640701c6/ --- Loaded class com.sap.xi.tf._zMsgMap_ --- com.sap.aii.util.misc.api.BaseRuntimeException: Fatal Error: com.inqmy.lib.xml.parser.ParserException: XMLParser: No data allowed here:BLO (:main:, row:1, col:3) at com.sap.aii.mappingtool.tf.Transformer.start(Transformer.java:60) at com.sap.aii.mappingtool.tf.AMappingProgram.execute(AMappingProgram.java:100) at com.sap.aii.ibrun.server.map.RUMappingJava.execute(RUMappingJava.java:47) 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:62) at com.sap.aii.ibrun.sbeans.map.MappingServiceImpl.processFunction(MappingServiceImpl.java:72) 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:73) at com.inqmy.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:47) 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:479) --- An error occured during the execution of the Java mapping com.sap.xi.tf._zMsgMap_ . Fatal Error: com.inqmy.lib.xml.parser.ParserException: XMLParser: No data allowed here:BLO (:main:, row:1, col:3) ---" p3="" p4="">MAPPING.GENERIC</SAP:Code>
<SAP:Text language="EN">Error during mapping</SAP:Text>
</SAP:ErrorHeader>
===========
For same scenario, another interface, we get the below error :
===========
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <SAP:ErrorHeader xmlns:SAP="http://sap.com/exchange/MessageFormat">
<SAP:Context />
<SAP:Code p1="Error during mapping" p2="--- Creating Java mapping com.sap.xi.tf._xMsg_mapping_ --- Using MappingResolver with context URL /sapmnt/XID/global/xi/mapping/http%3A%2F%2FABCxyz%2Ecom%2Fxi%2FTest%2F/bc52cef0be3411d8b277cade640701c6/ --- Load of com/sap/xi/tf/_xMsg_mapping_.class from /sapmnt/XID/global/xi/mapping/http%3A%2F%2FOwensCorning%2Ecom%2Fxi%2Ftest%2F/bc52cef0be3411d8b277cade640701c6 failed. --- Class not found: com.sap.xi.tf._xMsg_mapping_ --- java.lang.ClassNotFoundException at RUMappingJava.load(): Could not load class: com.sap.xi.tf._xMsg_mapping_ Class not found: com.sap.xi.tf._xMsg_mapping_ --- 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.load(RUMappingJava.java:119) at com.sap.aii.ibrun.server.map.RUMappingJava.execute(RUMappingJava.java:40) 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:62) at com.sap.aii.ibrun.sbeans.map.MappingServiceImpl.processFunction(MappingServiceImpl.java:72) 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:73) at com.inqmy.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:47) 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:479) ---" p3="" p4="">MAPPING.GENERIC</SAP:Code>
<SAP:Text language="EN">Error during mapping</SAP:Text>
</SAP:ErrorHeader>
===========
Any help in resolving these issues is greatly appreciated.
Thanx,
Homiar.Hallo Homiar,
to the first problem:
Do you get the same error, if you test the mapping in the Integration Builder:Design? I mean, you can download the XML instance which is entered into the Message
Mapping zMsgMap in the Integration Engine Monitor (R/3 Transaction SXMB_MONI) and use this XML in the test environment of the Message Mapping in the Integration Builder:Design.
to the second problem:
It looks like that the Message Mapping xMsg_mapping could not be found by the Integration Engine. You can try to reactivate the Message Mapping in the Integration Builder. This is done for example by changing the description of the corresponding Message Mapping object and saving and activating the object.
Regards Franz -
Message Mapping error: RuntimeException in Message-Mapping transformation
Hi,
Being new to XI, I am struglling to sort out a basic mapping error. Appreciate if you could help out.
Its an File->XI->R/3 scenario.
My FCC successfully reads the File and creates an XML. However this XML is not transferred to the target XML structure which is exactly same except the root element name is different at top.
I tried various forum tips but I still am getting the error.
( When I Test the Message mapping in test mode..it seems fine, however if I copy the XML from SXMB_MONI, it then throws the above error)
I looked at the MM in text mode: below is the extract
/ns0:MT_REQUEST_TO_SAP/REQUEST_DETAILS/MSG_HEADER=/ns0:MT_REQUEST/REQUEST_DETAILS/MSG_HEADER=
/ns0:MT_REQUEST_TO_SAP/REQUEST_DETAILS/MSG_HEADER/SOURCE=/ns0:MT_REQUEST/REQUEST_DETAILS/MSG_HEADER/SOURCE=
/ns0:MT_REQUEST_TO_SAP/REQUEST_DETAILS/MSG_HEADER/DESTINATION=/ns0:MT_REQUEST/REQUEST_DETAILS/MSG_HEADER/DESTINATION=
/ns0:MT_REQUEST_TO_SAP/REQUEST_DETAILS/MSG_HEADER/MESSAGE_ID=/ns0:MT_REQUEST/REQUEST_DETAILS/MSG_HEADER/MESSAGE_ID=
As seen the name space in both starts with nS0 and end of each line has '=' sign. Is that ok.
I have run out of options and dont know , whats the problem. Please help.
The target and Source XML structures are exactly same as shown below
MT_REQUEST MT_REQUEST_TO_SAP
|__MSG_HEADER |__MSG_HEADER
|__SOURCE |__SOURCE
|__DESTINATION |__DESTINATION
|__MESSAGE_ID |__MESSAGE_ID
And the SXMB_MONI Trace shows the following error
<Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation:
Cannot produce target element /ns0:MT_REQUEST_TO_SAP.
Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at ..
Thanks
Shirin
Edited by: Shirin K on May 29, 2008 10:29 AMHi Prakasu,
As structure are exactly same, I have done 1:1 mapping. So all the fields in target structure are mapped, so no field has beeen left.
In this structure, I do not have any 1:n relation. So 1:1 mapping should be fine.
Apart from this could teher be any other reason.
Regards
Rajiv -
Message Mapping Error - Runtime
Hi,
I am able to execute message mapping in graphical mapping editor succesfully. But when i include mapping in interface determination throws as error.. In sxmb_moni as shown below
i<SAP:Error xmlns:SAP=throws as error.. In sxmb_moni as shown below"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">EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:P1>com/sap/xi/tf/_MM_DEMO1_</SAP:P1>
<SAP:P2>com.sap.aii.mappingtool.tf7.IllegalInstanceExcepti</SAP:P2>
<SAP:P3>on: Cannot create target element /ns0:MT_Demo. Val</SAP:P3>
<SAP:P4>ues missing in queue context. Target XSD requires~</SAP:P4>
<SAP:AdditionalText />
<SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_MM_DEMO1_; com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot create target element /ns0:MT_Demo. Values missing in queue context. Target XSD requires~</SAP:Stackt
Please share your thoughts..Hi Guys,
I have done a one to one mapping, it runs fine in the editor but fails at run time.
I took the payload from moni put it in messagemapping test tab, it shows red...
I compared the payload with the payload i get after successfulll message mapping...it is the same..
yet i get red signal...
im on PI 7.1..have ne of u faced ne thign similiar? -
Problem in activating message mapping
hi all,
When I try to activate the message mapping, it is saying that my namespace does not belong to my s/w component,
So I checked my namespace, it was not active. I tried activating it but it says user pi7gen is currently editing the namespace.
But no one is logged into the PI system except me (I checked it in sm12). Kindly help me with this issue.
Thanks and Regards
ManoharanHi Manoj,
Here is the direct URL to remove lock from your object use this if your facing any problem in above mentioned ways.
http://<ServerName>:<port>/rep/support/public/LockAdminService
<port> is generally 50000 <Server name> is same which used fro opening Integration builder .
Regards,
Saurabh -
Retrive message mapping error from java class
Hi,
I'm trying to create a scenario that if exist an error in the message mapping step this error will be inserted in a Ztable. I'm thinking in to call to the message mapping from a java class to catch the exception and this java class will be used in the interface mapping.
Is it possible? If yes, How to call the message mapping from java code?
Exists other possible solution?
I need to do it because we want store all mapping errors in a Ztable. (Customer requeriment)
Thanks, in advance
Jose Manuelyou can throw generic exceptions from the message mapping like this - /people/michal.krawczyk2/blog/2007/04/26/xipi-throwing-generic-exceptions-from-any-type-of-mapping
you can then decide how to handle these exceptions
Maybe you are looking for
-
HT204088 How to know the rest of money in a credit card and the total of purchase amount?
How to know the rest of money in a credit card and the total of purchase amount?
-
Help with Hidden Drop Down Lists in RBList subforms
I have created a form that contains 3 isolated Radio Button lists, each with hidden subforms that are unique per each button. Two of my RBLists and subforms work perfectly, showing hidden Drop Down List options and other fields as they should when a
-
Javax.servlet.ServletException: Cannot find bean CustForm in any scope
while i m running my struts application.. i m getting this error.. can any one pointout wat error is this... javax.servlet.ServletException: Cannot find bean CustForm in any scope at org.apache.jasper.runtime.PageContextImpl.handlePageException(
-
Received a manual from a supplier in PDF format. Left and right 1/2 inch of document does not print. Tried letter & legal paper, Adobe help and zooming.
-
I have a consultation, I have a server with Windows 2003 which runs 6 Lookout and one PC with Windows XP with LK6, but as when loading the PC with Windows XP becomes slow, decidi to leave the one that has the 2003 is the one who keeps the data base,