Java proxy problem:com.sap.aii.proxy.xiruntime cannot be resolved to a type
hi:
i am new to Java proxy and new to SAP netweaver developer studio.
thei PI version is 7.1
I have generate a java proxy , then create a project in netweaver developer studio and import this java proxy according document "How Tou2026Work with XI 3.0 Java Proxies".
but i can not find :aii_proxy_xirt.jar aii_msg_runtime.jar on the PI server, only guidgenerator.jaraii_utilxi_misc.jar could be found. then i could not config the build path.
in the SAP netweaver developer studio, the error shows like :com.sap.aii.proxy.xiruntime cannot be resolved to a type
then how to resolve this problem
thank you very much
Hi Cheng,
I am trying to create a java proxy to send message from WebAS to PI using java proxy.
I am using NWDS 7.1. Can you please help with step on how to create a java proxy in NWDS 7.1?
Thanks and best regards,
Arun prabhu S
Similar Messages
-
Hi, only for register, when i tested the communication channel, the test failed and this error "java.lang.NoSuchMethodError: com.sap.aii.af.lib.util.ejb.FastEjbFactory.createEjbInstance" appear in communication channel monitoring (RWB). I Found the solution, only deploy the last version of messaging component of netweaver.
Best Regards
Josue NetoHi,
What is the value mentioned for the Parameter
--icm/conn_timeout and icm/keep_alive_timeout
Check this Blog.. Might help
/people/michal.krawczyk2/blog/2006/06/08/xi-timeouts-timeouts-timeouts
Regards
Agasthuri Doss -
Import com.sap.isa.backend.r3 cannot be resolved
Hi,
I am working on E-Commerce package 5.0 B2B application.
I have created a 'customized' OrderStatusR3.java file in SHREXT component. It is almost the replica of the standard OrderStatusR3.java and has the imports of com.sap.isa.backend.r3 package. The problem is, I am getting compilation error with the message as 'import com.sap.isa.backend.r3 cannot be resolved'.
Please help me in identifying the 'Required DC' or the jar file that contains this package. I have checked the 'SAP-SHRJAV-> crm/isa/isacore' component, it does not contain the com.sap.isa.backend.r3 package.
Thanks!
YuvarajHi
You need to go to:
SHRWEB
> crm/home/shr/ext
> DC Metadata
> DC Definition
> Used DC
press right mouse click on Used DC and press "Add Used DC".
Go to SHRJAV tree and crm/isa/isacorer3, open tree to Definition DC and after Public Part.
Press to "default" package and click "Finish".
Rebuild Project and now you can use there classes.
Nicola -
JSPM SPS13 Problem : com.sap.aii.adapter.axis.app
Hello all,
For the PI 7.00 SP10 server we have applied a SP13 patch .All the Java patches are applied except SAP_XIAF we are gettting an error :
Error: Aborted: development component 'com.sap.aii.adapter.axis.app'/'sap.com'/'SAP AG'/'7.0013.20071224120620.0000'/'1', grouped by software component 'SAP_XIAF'/'sap.com'/'SAP AG'/'1000.7.00.13.4.20071226125540''/'1':
Caught exception during application deployment from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: Cannot register EarLoader for application sap.com/com.sap.aii.adapter.axis.app..
Log File ::::::::
Info: Begin of log messages of the target system:
08/02/10 08:48:06 - ***********************************************************
08/02/10 08:48:08 - Start updating EAR file...
08/02/10 08:48:08 - start-up mode is lazy
08/02/10 08:48:10 - EAR file updated successfully for 1292ms.
08/02/10 08:48:10 - Start deploying ...
08/02/10 08:48:11 - EAR file uploaded to server for 526ms.
08/02/10 08:48:14 - ERROR: Not deployed. Deploy Service returned ERROR:
java.rmi.RemoteException: Cannot register EarLoader for application sap.com/com.sap.aii.adapter.axis.app..
Reason: null; nested exception is:
java.lang.NullPointerException
at java.lang.Throwable.<init>(Throwable.java:194)
at java.lang.Exception.<init>(Exception.java:41)
at java.io.IOException.<init>(IOException.java:40)
at java.rmi.RemoteException.<init>(RemoteException.java:71)
at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:567)
at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1555)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:204)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:0)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:117)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:30)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:35)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:99)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:119)
Caused by: java.lang.NullPointerException
at com.sap.engine.lib.util.HashMapObjectObject.get(HashMapObjectObject.java:601)
at com.sap.engine.core.classload.impl0.LoadContextImpl.registerReferenceInternal(LoadContextImpl.java:537)
at com.sap.engine.core.classload.impl0.LoadContextImpl.registerReference(LoadContextImpl.java:296)
at com.sap.engine.core.service630.container.LoadContextWrapper.registerReference(LoadContextWrapper.java:54)
at com.sap.engine.services.deploy.server.DeployServiceImpl.registerEARloader(DeployServiceImpl.java:2101)
at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:230)
at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:307)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3184)
at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:552)
... 9 more
For detailed information see the log file of the Deploy Service.
08/02/10 08:48:14 - ***********************************************************
Feb 10, 2008 8:48:15 AM Info: End of log messages of the target system.
Feb 10, 2008 8:48:15 AM Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
Feb 10, 2008 8:48:15 AM Error: Aborted: development component 'com.sap.aii.adapter.axis.app'/'sap.com'/'SAP AG'/'7.0013.20071224120620.0000'/'1', grouped by software component 'SAP_XIAF'/'sap.com'/'SAP AG'/'1000.7.00.13.4.20071226125540''/'1':
Caught exception during application deployment from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: Cannot register EarLoader for application sap.com/com.sap.aii.adapter.axis.app..
Reason: null; nested exception is:
* java.lang.NullPointerException*
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineJ2EE620OnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
Feb 10, 2008 8:48:15 AM Info: Starting to save the repository
Feb 10, 2008 8:48:18 AM Info: Finished saving the repository
Feb 10, 2008 8:48:18 AM Info: Starting: Update: Selected software component 'SAP_XIAF'/'sap.com'/'SAP AG'/'1000.7.00.13.4.20071226125540''/'1' updates currently deployed software component 'SAP_XIAF'/'sap.com'/'SAP AG'/'1000.7.00.10.3.20070321093500''/'0'.
Feb 10, 2008 8:48:18 AM Error: Aborted: software component 'SAP_XIAF'/'sap.com'/'SAP AG'/'1000.7.00.13.4.20071226125540''/'1':
Failed deployment of SDAs:
development component 'com.sap.aii.adapter.axis.app'/'sap.com'/'SAP AG'/'7.0013.20071224120620.0000'/'1' : aborted
Feb 10, 2008 8:48:22 AM Error: -
At least one of the Deployments failed -
Any idea how to resolve this issue
Thanks,
GangaPrasadHello Prasad,
Seems like this one is similar to the other post from you. I responded in that one :
XIAF and XITOOLS packages depend on XIAFC package. It is first recommended you first upgrade XIAFC to the latest one if already not done.
After this, try to deploy the XIAF and XITOOLS.
Please also check SAP Note 1028961 .
Hope that helps !
Regards,
Snehal -
Com.sap.aii.af.ra.ms.api.Message is class that would be used in Adapter Module development, but I found I can't find the document of it in neither Adapter Module related document nor XI Mapping related document.
Anyone can help me?YiNing,
Did you check this link,
http://help.sap.com/saphelp_nw04/helpdata/en/87/3ef4403ae3db12e10000000a155106/content.htm
Does it help? Also did you look into the Java Docs Section,
https://help.sap.com/javadocs/index.html
Regards
Bhavesh -
Java docs for com.sap.aii.mappingtool.*
Hi ,
I was looking for the javadocs for com.sap.aii.mappingtool.* .
Can anyonle let me knwo where can i find the docs for this .
Thanks
Nikhildid u try for <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/javadocs">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/javadocs</a>
-
Hi there,
I'm trying to generate Java Proxies for SAPJCO using the SAP Java Connectivity Builder (JCB). I got it from the NetWeaver 6.20 Release. The tool installs and runs properly but after putting in the connection properties and klicking "next", the application hangs. When activating System output, I get the error shown below.
I already tried to put all jar files contained in the C:\JBuilder5\lib\ext directiry into the classpath (but none of them contains the class mentioned).
Which is the right (standalone) tool for generating Java Proxies for a standalone Java application?
If it is JCB, is there a bug on the version I use (NetWeaver Release 6.20)?
Any help would be apreciated.
C:\JBuilder5>java -Dlog.handler.FileLog=FileHandler,log.txt -Dlog.logger.com=ALL,FileLog -cp lib/ext/aii_basis.jar;lib/e
xt/aii_ifr_core.jar;lib/ext/aii_ifr_jbtool.jar;lib/ext/aii_lcraccess.jar;lib/ext/aii_msg_runtime.jar;lib/ext/aii_proxy_g
en.jar;lib/ext/aii_proxy_rt.jar;lib/ext/aii_util.jar;lib/ext/aii_util_log.jar;lib/ext/lcrclient.jar;lib/ext/logging.jar;
lib/ext/SapIdeHelp.jar;lib/ext/SapIdeJBUtil.jar;lib/ext/SapIdeJspInsight.jar;lib/ext/SapIdeTaglibReflection11.jar;lib/ex
t/SapIdeTracing.jar;lib/ext/SapIdeUtil.jar;lib/ext/SAPJ2EEEngineJBuilderPlugin.jar;lib/ext/sapjco.jar;lib/ext/SAPmdi.jar
;lib/ext/servlet.jar;lib/ext/tc_sec_core.jar com.sap.aii.ifr.tool.jbuilder.JBuilderTool
#0 12:35:37 [main] DEBUG com.sap.aii.util.misc.api.AIIProperties: Initial AIIProperties
com.sap.aii.client = true
#1 12:35:37 [main] FINE com.sap.aii.util.misc.api.AIIProperties: changed Property "com.sap.aii.standalone" from "null" t
o "true"
#2 12:35:37 [main] FINE com.sap.aii.util.misc.api.AIIProperties: changed Property "com.sap.aii.xml.parserFactory" from "
null" to "com.inqmy.lib.jaxp.SAXParserFactoryImpl"
#3 12:35:37 [main] FINE com.sap.aii.util.misc.api.AIIProperties: changed Property "com.sap.aii.xml.transformerFactory" f
rom "null" to "com.inqmy.lib.jaxp.TransformerFactoryImpl"
#4 12:35:46 [AWT-EventQueue-0] DEBUG com.sap.aii.ifr.upload.client.SAPNavigationPane: New file is C:\Documents and Setti
ngs\kalkoo1\Desktop\t.jar
#5 12:36:08 [AWT-EventQueue-0] FINER com.sap.aii.ifr.upload.client.R3LogonScreen: setting for Client : 010
#6 12:36:08 [AWT-EventQueue-0] FINER com.sap.aii.ifr.upload.client.R3LogonScreen: setting for Logon Name : kalkoo1
#7 12:36:08 [AWT-EventQueue-0] FINER com.sap.aii.ifr.upload.client.R3LogonScreen: setting for Password : #########
#8 12:36:08 [AWT-EventQueue-0] FINER com.sap.aii.ifr.upload.client.R3LogonScreen: setting for Language : EN
#9 12:36:08 [AWT-EventQueue-0] FINER com.sap.aii.ifr.upload.client.R3LogonScreen: setting for Host name: bgstsapedai01.s
t.behr.de
#10 12:36:08 [AWT-EventQueue-0] FINER com.sap.aii.ifr.upload.client.R3LogonScreen: setting for System number : 20
#11 12:36:08 [AWT-EventQueue-0] INFO com.sap.aii.ifr.upload.client.R3LogonScreen: trying to establish connection
#12 12:36:08 [AWT-EventQueue-0] FINEST com.sap.aii.ifr.util.IdentityCheck: Looking up identity
#13 12:36:08 [AWT-EventQueue-0] DEBUG com.sap.aii.ifr.util.IdentityCheck: Results of identity check: isIFRServer: false;
isIFRRMIClient: false; isStandaloneIFR: true
#14 12:36:08 [AWT-EventQueue-0] FINEST com.sap.aii.ifr.util.IdentityCheck: Checking IdentityCheck.isIFRServer. Result: f
alse
#15 12:36:08 [AWT-EventQueue-0] INFO com.sap.aii.ifr.upload.sap.SAPConnection: connecting to system 20 on bgstsapedai01.
st.behr.de via JCo
#16 12:36:09 [AWT-EventQueue-0] DEBUG com.sap.aii.ifr.upload.sap.SAPUploadSource: init MDI to System bgstsapedai01.st.be
hr.de (system=20, client=010) (BasisRelease: 620)
#17 12:36:09 [AWT-EventQueue-0] DEBUG com.sap.aii.ifr.upload.UploadBuffer: new UploadBuffer
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com/sap/aii/ifr/client/editor/Reference
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.getDeclaredMethod(Unknown Source)
at java.awt.Component.isCoalesceEventsOverriden(Unknown Source)
at java.awt.Component.access$100(Unknown Source)
at java.awt.Component$2.run(Unknown Source)
at java.awt.Component$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Component.checkCoalescing(Unknown Source)
at java.awt.Component.<init>(Unknown Source)
at java.awt.Container.<init>(Unknown Source)
at javax.swing.JComponent.<init>(Unknown Source)
at javax.swing.JTree.<init>(Unknown Source)
at javax.swing.JTree.<init>(Unknown Source)
at com.sap.aii.ifr.navigation.IFRJTree.<init>(IFRJTree.java:84)
at com.sap.aii.ifr.navigation.IFRTreePane.buildPane(IFRTreePane.java:123)
at com.sap.aii.ifr.navigation.IFRTreePane.<init>(IFRTreePane.java:33)
at com.sap.aii.ifr.upload.client.SAPNavigationPane.<init>(SAPNavigationPane.java:43)
at com.sap.aii.ifr.upload.client.SAPBrowser.setIsConnected(SAPBrowser.java:252)
at com.sap.aii.ifr.upload.client.SAPBrowser$ConnectAction.actionPerformed(SAPBrowser.java:594)
at com.sap.aii.ifr.upload.client.SAPBrowser$NextAction.actionPerformed(SAPBrowser.java:536)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)Hi,
>> Error :- java.lang.NoClassDefFoundError: com/sap/aii/security/proxy/KeystoreHelp
1) Can you check the class path you have mentioned is correctly
2) Setting of the Java in your system ( Desk top /Lap top ) check the Proxy settings
3) Re start the J2EE engine in the server
Regards
Agasthuri Doss -
I'm using a User defined function "getFGN" to call a Java Class developed in NWDS. the source in NWDS has no errors when it is build. But when i Run the code i get error below.
Buy using the Debugging facility in NWDS i can see that the problem is this code linie:
<i>SldApplicationServiceInterface srvContext = (SldApplicationServiceInterface) jndiContext.lookup(SldApplicationServiceInterface.KEY);</i>
<u><b>NWDS Log</b></u>
07:50:12 Start of test
Exception:[java.lang.NoClassDefFoundError: com/sap/sldserv/SldApplicationServiceInterface] in class com.sap.xi.tf._SAP_APPL_Invoice_to_CustomerInvoice_ method getFGN$[invoicenumber, CUSTOMER, com.sap.aii.mappingtool.tf3.rt.Context@daa46b]
com.sap.aii.utilxi.misc.api.BaseRuntimeException: Exception:[java.lang.NoClassDefFoundError: com/sap/sldserv/SldApplicationServiceInterface] in class com.sap.xi.tf._SAP_APPL_Invoice_to_CustomerInvoice_ method getFGN$[invoicenumber, CUSTOMER, com.sap.aii.mappingtool.tf3.rt.Context@daa46b]
at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:56)
at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:186)
at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:298)
at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:63)
at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:77)
at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431)
at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169)
at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52)
at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:259)
at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Root Cause:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:47)
at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:186)
at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:204)
at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:298)
at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:63)
at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:77)
at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431)
at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169)
at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52)
at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:259)
at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: java.lang.NoClassDefFoundError: com/sap/sldserv/SldApplicationServiceInterface
at com.danfoss.xi.mapping.util.GenerateFileNumber.getFileGeneratedNumber(GenerateFileNumber.java:53)
at com.sap.xi.tf._SAP_APPL_Invoice_to_CustomerInvoice_.getFGN$(_SAP_APPL_Invoice_to_CustomerInvoice_.java:2556)
... 29 more
RuntimeException in Message-Mapping transformation: Exception:[java.lang.NoClassDefFoundError: com/sap/sldserv/SldApplicationServiceInterface] in class com.sap.xi.tf._SAP_APPL_Invoice_to_CustomerInvoice_ method getFGN$[invoicenumber, CUSTOMER, com.sap.aii.mappingtool.tf3.rt.Context@daa46b]Hi,
Looks like your CLASSPATH is not set properly...Just try to Put the Jar inside "<DOMAIN_HOME>\lib" directory...in that case u need not to alter anything in the Classpath variable...it will be appended at the end of Classpath at the run time, Using Extended Directory ClassLoader.
by default Classpath settings doesnt take effect if we specify it in the startScript of Servers but we start them using NodeManagers...So if you are using Nodemanagers to start your Servers... then you can follow the below link to set the Classpath & Memory Arguments http://weblogic-wonders.com/weblogic/2010/03/26/nodemanager-based-managedservers-setting-mem_args/
Thanks
Jay SenSharma
http://weblogic-wonders.com/weblogic (WebLogic Wonders Are Here) -
I am working on a synchronous scenario SOAP <-> XI <-> RFC.
This worked fine, when I run it without SOAP adapter, direct via XI Pipeline.
Now I want to use the SOAP sender adapter, but get the error as described below this post.
As this is a real new XI installation, some patches or updates might be required to make it work. Or some adapter modules ?
Any suggestions on how to solve this problem will be rewarded.
What worries me a bit is the line " " in the error description.
Extra info: I use SoapSonar as a test webservice client. The error is the message as received in te test client.
<?xml version="1.0"?>
<!-- see the documentation -->
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<SOAP:Fault>
<faultcode>SOAP:Server</faultcode>
<faultstring>Server Error</faultstring>
<detail>
<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
<context>XIAdapter</context>
<code>ModuleUnknownException</code>
<text><![CDATA[
com.sap.aii.af.mp.module.ModuleException: either no channelID specified or no channel found for the specified party, service, and channel name, MessageServlet(Version $Id: //tc/xi/645_VAL_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#9 $)
at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:427)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
]]></text>
</s:SystemError>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>Hi Chandravadhana,
The colon should be there :
http://help.sap.com/saphelp_nw04/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm
The inbound address for SOAP messages is: http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel
Under party:service:channel enter the party name, the service name, and the name of the communication channel. If no party has been created, enter the following: channel=:service:channel
Regards
Suraj -
Hello,
In order to configure JMS Receiver Adapter to access Websphere Application Server 7.0, I have recently deployed file com.sap.aii.adapter.lib.sca with the following libraries:
com.sap.aii.adapter.lib_api.jar
com.ibm.ws.ejb.thinclient_7.0.0.jar
com.ibm.ws.orb_7.0.0.jar
com.ibm.ws.sib.client.thin.jms_7.0.0.jar
com.ibm.ws.runtime.jar
javax.j2ee.jms.jar
The communication channel can reach the queue but when I send a message it fails because services sap.com/com.sap.aii.adapter.jdbc.svc and com.sap.aii.adapter.jms.svc are not started.
Checking dev_server0 file I found the following error.
==============================================================================================
Service com.sap.aii.adapter.jdbc.svc start ================= ERROR =================
com.sap.engine.frame.ServiceException: Could not obtain an initial context due to a communication failure. Since no provider
URL was specified, the default provider URL of "corbaloc:iiop:1.0(at)sapdpi-lpar:2809/NameService" was used. Make sure that any
bootstrap address information in the URL is correct and that the target name server is running. Possible causes other than
an incorrect bootstrap address or unavailable name server include the network environment and workstation network configurati
on.
at com.sap.aii.adapter.jdbc.SapAdapterServiceFrameImpl.start(SapAdapterServiceFrameImpl.java:151)
at com.sap.engine.core.service630.container.ServiceRunner.startFrame(ServiceRunner.java:155)
at com.sap.engine.core.service630.container.ServiceRunner.startService(ServiceRunner.java:113)
at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:60)
at com.sap.engine.frame.core.thread.Task.run(Task.java:73)
at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:162)
at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:260)
Caused by: javax.naming.ServiceUnavailableException: Could not obtain an initial context due to a communication failure. Sinc
e no provider URL was specified, the default provider URL of "corbaloc:iiop:1.0(at)sapdpi-lpar:2809/NameService" was used. Make
sure that any bootstrap address information in the URL is correct and that the target name server is running. Possible caus
es other than an incorrect bootstrap address or unavailable name server include the network environment and workstation netwo
rk configuration. [Root exception is org.omg.CORBA.TRANSIENT: java.net.ConnectException: Connection refused:host=sapdpi-lpar,
port=2809 vmcid: 0x4942f000 minor code: 3586 completed: No]
at com.ibm.ws.naming.util.WsnInitCtxFactory.mapInitialReferenceFailure(WsnInitCtxFactory.java:2228)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getWsnNameService(WsnInitCtxFactory.java:1414)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootContextFromServer(WsnInitCtxFactory.java:944)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnInitCtxFactory.java:865)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:545)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:123)
at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:798)
at com.ibm.ws.naming.util.WsnInitCtx.rebind(WsnInitCtx.java:242)
at com.ibm.ws.naming.util.WsnInitCtx.rebind(WsnInitCtx.java:255)
at javax.naming.InitialContext.rebind(InitialContext.java:367)
at javax.naming.InitialContext.rebind(InitialContext.java:367)
at com.sap.aii.adapter.jdbc.SapAdapterServiceFrameImpl.start(SapAdapterServiceFrameImpl.java:100)
... 6 more
Caused by: org.omg.CORBA.TRANSIENT: java.net.ConnectException: Connection refused:host=sapdpi-lpar,port=2809 vmcid: 0x4942f0
00 minor code: 3586 completed: No
at com.ibm.CORBA.transport.TransportConnectionBase.connect(TransportConnectionBase.java:425)
at com.ibm.ws.orbimpl.transport.WSTransport.getConnection(WSTransport.java:436)
at com.ibm.CORBA.transport.TransportBase.getConnection(TransportBase.java:187)
at com.ibm.rmi.iiop.TransportManager.get(TransportManager.java:89)
at com.ibm.rmi.iiop.GIOPImpl.getConnection(GIOPImpl.java:120)
at com.ibm.rmi.iiop.GIOPImpl.locate(GIOPImpl.java:209)
at com.ibm.rmi.corba.Corbaloc.locateUsingINS(Corbaloc.java:307)
at com.ibm.rmi.corba.Corbaloc.resolve(Corbaloc.java:378)
at com.ibm.rmi.corba.ORB.objectURLToObject(ORB.java:3721)
at com.ibm.CORBA.iiop.ORB.objectURLToObject(ORB.java:3256)
at com.ibm.rmi.corba.ORB.string_to_object(ORB.java:3619)
at com.ibm.ws.naming.util.WsnInitCtxFactory.stringToObject(WsnInitCtxFactory.java:1524)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getWsnNameService(WsnInitCtxFactory.java:1389)
... 16 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:522)
at java.net.Socket.connect(Socket.java:470)
at java.net.Socket.<init>(Socket.java:367)
at java.net.Socket.<init>(Socket.java:180)
at com.ibm.ws.orbimpl.transport.WSTCPTransportConnection.createSocket(WSTCPTransportConnection.java:270)
at com.ibm.CORBA.transport.TransportConnectionBase.connect(TransportConnectionBase.java:354)
... 28 more
Service com.sap.aii.adapter.jms.svc start ================= ERROR =================
com.sap.engine.frame.ServiceRuntimeException: Could not obtain an initial context due to a communication failure. Since no pr
ovider URL was specified, the default provider URL of "corbaloc:iiop:1.0(at)sapdpi-lpar:2809/NameService" was used. Make sure t
hat any bootstrap address information in the URL is correct and that the target name server is running. Possible causes othe
r than an incorrect bootstrap address or unavailable name server include the network environment and workstation network conf
iguration.
at com.sap.aii.adapter.jms.core.service.AdapterServiceFrameImpl.bindAdapter(AdapterServiceFrameImpl.java:171)
at com.sap.aii.adapter.jms.core.service.AdapterServiceFrameImpl.start(AdapterServiceFrameImpl.java:125)
at com.sap.engine.core.service630.container.ServiceRunner.startFrame(ServiceRunner.java:155)
at com.sap.engine.core.service630.container.ServiceRunner.startService(ServiceRunner.java:113)
at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:60)
at com.sap.engine.frame.core.thread.Task.run(Task.java:73)
at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:162)
at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:260)
Caused by: javax.naming.ServiceUnavailableException: Could not obtain an initial context due to a communication failure. Sinc
e no provider URL was specified, the default provider URL of "corbaloc:iiop:1.0(at)sapdpi-lpar:2809/NameService" was used. Make
sure that any bootstrap address information in the URL is correct and that the target name server is running. Possible caus
es other than an incorrect bootstrap address or unavailable name server include the network environment and workstation netwo
rk configuration. [Root exception is org.omg.CORBA.TRANSIENT: Connection state: State: ABORT (5) vmcid: 0x4942f000 minor co
de: 775 completed: No]
at com.ibm.ws.naming.util.WsnInitCtxFactory.mapInitialReferenceFailure(WsnInitCtxFactory.java:2228)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getWsnNameService(WsnInitCtxFactory.java:1414)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootContextFromServer(WsnInitCtxFactory.java:944)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getRootJndiContext(WsnInitCtxFactory.java:865)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:545)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:123)
at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:798)
at com.ibm.ws.naming.util.WsnInitCtx.rebind(WsnInitCtx.java:242)
at com.ibm.ws.naming.util.WsnInitCtx.rebind(WsnInitCtx.java:255)
at javax.naming.InitialContext.rebind(InitialContext.java:367)
at javax.naming.InitialContext.rebind(InitialContext.java:367)
at com.sap.aii.adapter.jms.core.service.AdapterServiceFrameImpl.bindAdapter(AdapterServiceFrameImpl.java:163)
... 7 more
Caused by: org.omg.CORBA.TRANSIENT: Connection state: State: ABORT (5) vmcid: 0x4942f000 minor code: 775 completed: No
at com.ibm.rmi.iiop.Connection.checkEstablished(Connection.java:3091)
at com.ibm.rmi.iiop.Connection.send(Connection.java:2145)
at com.ibm.rmi.iiop.Connection._locate(Connection.java:463)
at com.ibm.rmi.iiop.Connection.locate(Connection.java:439)
at com.ibm.rmi.iiop.GIOPImpl.locate(GIOPImpl.java:219)
at com.ibm.rmi.corba.Corbaloc.locateUsingINS(Corbaloc.java:307)
at com.ibm.rmi.corba.Corbaloc.resolve(Corbaloc.java:378)
at com.ibm.rmi.corba.ORB.objectURLToObject(ORB.java:3721)
at com.ibm.CORBA.iiop.ORB.objectURLToObject(ORB.java:3256)
at com.ibm.rmi.corba.ORB.string_to_object(ORB.java:3619)
at com.ibm.ws.naming.util.WsnInitCtxFactory.stringToObject(WsnInitCtxFactory.java:1524)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getWsnNameService(WsnInitCtxFactory.java:1389)
... 17 more
==============================================================================================
Could anyone tell me why is trying to connect to "corbaloc:iiop:1.0(at)sapdpi-lpar:2809/NameService"? Do I have to configure a default provider URL for SAP PI server? If so, where I configure it? Any help will be appreciated.
Thank you in advance.
Roger Allué i VallHi Roger,
we also experience the same issue and would be very keen to understand how you resolved this problem.
Many thanks.
Dieter -
ERROR- com.sap.aii.utilxi.misc.api.BaseRuntimeException
Hi All,
In mapping i used udf's. while testing the mapping i got runtime exception error as the following.i have refresh "SXI_CACHE" adn also executed the report "SAI_REFRESH_CACHE" but i am facing same problem. i used "DateTimeFormat" udf in this mappping. Please help me to solve this.
15:04:29 Start of test
Compilation of MM_EAST successful Method DateTimeFormat1$ with 2 arguments not found in class com.sap.xi.tf._MM_EAST_ com.sap.aii.utilxi.misc.api.BaseRuntimeException: Method DateTimeFormat1$ with 2 arguments not found in class com.sap.xi.tf._MM_EAST_ at com.sap.aii.mappingtool.tf3.AMappingProgram.getMethod(AMappingProgram.java:437) at com.sap.xi.tf._MM_EAST_.getMethod(_MM_EAST_.java:574) at com.sap.xi.tf._MM_EAST_.__CreateStructures(_MM_EAST_.java:247) at com.sap.aii.mappingtool.tf3.AMappingProgram.preStart(AMappingProgram.java:171) at com.sap.xi.tf._MM_EAST_.preStart(_MM_EAST_.java:583) at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:332) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:60) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:105) at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431) at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169) at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:259) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Method DateTimeFormat1$ with 2 arguments not found in class com.sap.xi.tf._MM_EAST_
15:04:33 End of test
regards
PeeraHi Anand,
while testing the mapping in test tab i got this error. and also i came back to design tab adn check the queue that time i got same error adn also it is not showing the queue.
actually my scenario is RFC to file. in this, for one mapping condition i used DateTimeFormat udf . i explained for what purpose i am using this udf.
in rfc i have a field through which Date adn time values are passed. First this udf get date vaule adn wait for time value after getting time value the udf do concat with both values adn then send to target field in format yyyy-MM-ddTHH:mm:ss.
i am giving javacode for DateTimeFormat adn classes which we are used for java code
import java.awt.Container;
import java.awt.TextComponent;
import java.awt.TextField;
import java.io.*;
public String dateTimeFormat(String a,String b,Container container)
String dateTimeString = "";
if (a.length() == 8 && b.length() == 6)
//Substrings for extracting date
String year = "";
String mon = "";
String day = "";
//Substrings for extracting time
String hour = "";
String min = "";
String sec = "";
//Extracting date into year , month and day
year = a.substring(0,4);
mon = a.substring(4,6);
day = a.substring(6,8);
//Extracting time into hour , minute and second
hour = b.substring(0, 2);
min = b.substring(2, 4);
sec = b.substring(4, 6);
//Now constructing final date time string
dateTimeString = year"-"mon"-"day"T"hour"-"min"-"sec;
return dateTimeString;
Thanks adn regards
Peera -
Error for package com.sap.aii.mapping.lookup
Hi All
I am writing a code for the DB lookup. When I import the package in the Message
Mapping (Advance Function) I am getting an Error.
C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map6af6f7d1335111dc9b51000c2967ead8/source/com/sap/xi/tf/_MM_File2JMS_.java:3: package com.sap.aii.mapping.lookup does not exist
import com.sap.aii.mappingtool.tf3.;import com.sap.aii.mappingtool.tf3.rt.;import java.util.;import java.io.; import java.lang.reflect.;import com.sap.aii.mapping.lookup.; ^
C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map6af6f7d1335111dc9b51000c2967ead8/source/com/sap/xi/tf/_MM_File2JMS_.java:57: cannot resolve symbol symbol : class Channel location: class com.sap.xi.tf._MM_File2JMS_ Channel channel = null;
C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map6af6f7d1335111dc9b51000c2967ead8/source/com/sap/xi/tf/_MM_File2JMS_.java:58: cannot resolve symbol symbol : class DataBaseAccessor location: class com.sap.xi.tf._MM_File2JMS_ DataBaseAccessor accessor = null; ^
Thanks
Farooq.Hey satish I am getting same Error:
C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map7801d381335311dc8660000c2967ead8/source/com/sap/xi/tf/_MM_File2JMS_.java:3: package com.sap.aii.mapping.lookup does not exist import com.sap.aii.mappingtool.tf3.;import com.sap.aii.mappingtool.tf3.rt.;import java.util.;import java.io.; import java.lang.reflect.;import com.sap.aii.mapping.lookup.;import java.io.*; ^ C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map7801d381335311dc8660000c2967ead8/source/com/sap/xi/tf/_MM_File2JMS_.java:57: cannot resolve symbol symbol : class Channel location: class com.sap.xi.tf._MM_File2JMS_ Channel channel = null; ^ C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map7801d381335311dc8660000c2967ead8/source/com/sap/xi/tf/_MM_File2JMS_.java:58: cannot resolve symbol symbol : class DataBaseAccessor location: class com.sap.xi.tf._MM_File2JMS_ DataBaseAccessor accessor = null; ^ 3 errors -
Hi All,
I am workign on a scenario, where i am getting dtaa from SQL server using sender JDBC adapter.
I need to pass this data into a Z-RFC to update a ztable.
While executing the scenario, the messages are populatingin SXMB_MONI with the following error and Red Flag.
com.sap.aii.utilxi.misc.api.BaseRuntimeException
thrown during application mapping
com/sap/xi/tf/_pavan_mm_: RuntimeException in
Message-Mapping transformatio~
I have tested Message Mapping in Repository. Its working fine.
But when i copy the payload from SXMB_MONI and paste the same payload in Message Mapping (Repository), the system is showing following Error.....
Details
java.lang.NullPointerException
STACKTRACE:
com.sap.aii.ib.core.mapping.exec.ExecuteException: java.lang.NullPointerException
at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:477)
at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169)
at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52)
at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:301)
at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
java.lang.NullPointerException
STACKTRACE:
java.lang.NullPointerException
at com.sap.aii.mappingtool.tf3.AMappingProgram.exceptionCaught$(AMappingProgram.java:59)
at com.sap.aii.mappingtool.tf3.Transformer.checkParserException(Transformer.java:182)
at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:149)
at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:102)
at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431)
at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169)
at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52)
at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:301)
at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
I have tested the Configuration in Integration Directory with the payload from SXMB_MONI... The error is same as above mentioned.
In message mapping, the source message type is a data type similar to the selected fields from sql server.
The target message type is the imported RFC.
The RFC is working fine, when i enter the data manually in R/3.
I am unable to trace out the error behind this kind of situation....
Can any one guide me in this regard...??
Regards
PavanThe payload got from Message Mapping....
<?xml version="1.0" encoding="UTF-8"?>
<ns0:SENDER_MT xmlns:ns0="http:
infotech-enterprises">
<zkunnr>AB10</zkunnr>
<zname1>PRATT</zname1>
<zstras>412,DALAL STREET</zstras>
<zadrnr>BGLR,FDFDFDF</zadrnr>
<ztelf1>434343434</ztelf1>
</ns0:SENDER_MT>
The Payload got from SXMB_MONI as follows...
<?xml version="1.0" encoding="utf-8" ?>
- <ROW>
- <row>
<zkunnr>AB10</zkunnr>
<zname1>PRATT</zname1>
<zstras>412,DALAL STREET</zstras>
<zadrnr>BGLR,FDFDFDF</zadrnr>
<ztelf1>434343434</ztelf1>
</row>
If i paste the payload from sxmb_moni into message mapping, i am getting following error...
java.lang.NullPointerException
If i paste the payload from sxmb_moni into Tools--->Test Configuration in Integration Directory, the following errro occurs in Interface Mapping.
java.lang.NullPointerException thrown during application mapping
Any idea what need to be done to resolve this error?
Regards
Pavan -
Hi all,
some of you now where is the .JAR that contains the com.sap.aii.proxy.xiruntime.core.* api's? Generated java proxies from PI 7.0 are using many classes at this package, and I couldn't find it... some tip?
Thank you!
regards!
robertiRoberti,
You can get them from this location in XI Server:
aii_proxy_xirt.jar C:usrsapJ2EJC00j2eeclusterserver0 inextcom.sap.aii.proxy.xiruntime
aii_msg_runtime.jar C:usrsapJ2EJC00j2eeclusterserver0 inextcom.sap.aii.messaging.runtime
aii_utilxi_misc.jar C:usrsapJ2EJC00j2eeclusterserver0 inextcom.sap.xi.util.misc
guidgenerator.jar C:usrsapJ2EJC00j2eeclusterserver0 inextcom.sap.guid
Also check this document:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d06315a6-e66e-2910-039c-ba8bbbd23702
Regards,
---Satish -
Hello All,
I have generated a java proxy and trying to compile in Developer Studio. I am getting this error while doing so. I have all my jars in classpath.
com.sap.aii.utilxi.misc.api.BaseException
Below are the jars i have in my class path.. Anybosy has idea
aii_msg_runtime.jar
aii_proxy_xirt.jar
aii_utilxi_misc.jar
guidgenerator.jar
ejb20.jar
exception.jar
jARM.jar
sapj2eeclient.jar
sapxmltoolkit.jar
-SrinivasHi Srinivasa,
Other than that u can try importing these jars as well:
aii_adapter_xi_svc
aii_af_cci
aii_af_cpa
aii_af_mp
aii_af_ms_api
aii_af_ms_spi
aii_af_service_message_security
aii_msg_runtime
aii_proxy_xirt
aii_utilxi_misc
jperflib
jta
log_api
logging
sapni
It might help.
Thanks and Regards,
Sanjeev.
Maybe you are looking for
-
I was doing several things at once on my iMac (ripping a DVD, on iChat video, etc) and my mac crashed. Now it won't open iTunes. I have a 500 gig music library and hundreds of playlists etc, so I'd hate to have to reinstall iTunes and lose all that.
-
Function Module or BAPI for Sales price calculation and Pricing worklist
Hi Retail experts, We frequently change purchase conditions, but not that frequently for cases like perishables, so sales price calculations needs to be done each time. This means pricing worklist generation and release is done often and then sales p
-
Adobe Download Assistant Not working
I tried all the troubleshooting many times it still will not work. I keep getting error 107. I put in my id and then it stops and will not download after effects.
-
How can I determine what is making FireFox slow?
I am using FF 34.0.5 on Win 8.1 64-bit. It works very well, but occasionally it will get very noticeably slower. When I go to Task Manager, it reports FF is using 29-31% of my i5 3570K 3.4 GHz CPU. It continues to work, and does not use up more resou
-
Ucm connection configuration on webcenter portal app
Hi All, We create a webcenter portal application and connect with Webcenter content using Application Resources --> connections --> content repository connection. The parameters that we provided for the connection are: Socket type: socket, Hostname,