on 10-18-2012 1:39 PM
Hi,
When I go into an adapter and attempt to put something in the "Command Line" parameter of "Run Operating System Command After Message Processing" I get the following horrific error trail when I attempt to Save the changes:
#79 13:22:36 [AWT-EventQueue-0] ERROR com.sap.aii.utilxi.swing.toolkit.ExceptionDialog: Throwable
Thrown:
MESSAGE ID: com.sap.aii.ib.sbeans.oa.rb_all.RUNTIME_EXCEPTION_OCCURED
com.sap.aii.utilxi.swing.framework.PersistenceException: Runtime error (RuntimeException). See details
at com.sap.aii.ib.gui.editor.XiDocument.save(XiDocument.java:472)
at com.sap.aii.utilxi.swing.framework.cmd.SaveCommand.execute(SaveCommand.java:56)
at com.sap.aii.utilxi.swing.framework.ExecutionContext.execute(ExecutionContext.java:196)
at com.sap.aii.utilxi.swing.framework.ExecutionContext.executeSafe(ExecutionContext.java:134)
at com.sap.aii.utilxi.swing.framework.CommandAction.actionPerformed(CommandAction.java:69)
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.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.pumpOneEventForHierarchy(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)
Root cause:
MESSAGE ID: com.sap.aii.ib.sbeans.oa.rb_all.RUNTIME_EXCEPTION_OCCURED
com.sap.aii.ib.core.oa.ObjectAccessException: Runtime error (RuntimeException). See details
at com.sap.aii.ib.sbeans.oa.ObjectAccessBean.wrapRuntimeException(ObjectAccessBean.java:492)
at com.sap.aii.ib.sbeans.oa.ObjectAccessBean.update(ObjectAccessBean.java:388)
at com.sap.aii.ib.sbeans.oa.ObjectAccessRemoteObjectImpl1_0.update(ObjectAccessRemoteObjectImpl1_0.java:2128)
at com.sap.aii.ib.sbeans.oa.ObjectAccessRemoteObjectImpl1_0p4_Skel.dispatch(ObjectAccessRemoteObjectImpl1_0p4_Skel.java:712)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:330)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:201)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:137)
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:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Serialized server exceptions:
MESSAGE ID: java.lang.NullPointerException (serialized)
java.lang.NullPointerException: java.lang.NullPointerException
at com.sap.aii.ibdir.server.check.InternalCheckServiceFileChannel.isAttributeChanged(InternalCheckServiceFileChannel.java:147)
at com.sap.aii.ibdir.server.check.InternalCheckServiceFileChannel.checkObject(InternalCheckServiceFileChannel.java:54)
at com.sap.aii.ibdir.server.check.InternalCheckServiceChannel.checkObject(InternalCheckServiceChannel.java:164)
at com.sap.aii.ib.core.check.CheckServiceProvider$CheckServiceImpl.checkObject(CheckServiceProvider.java:98)
at com.sap.aii.ib.server.oa.ServerObjectAccess.update(ServerObjectAccess.java:1445)
at com.sap.aii.ib.sbeans.oa.ObjectAccessBean.update(ObjectAccessBean.java:382)
at com.sap.aii.ib.sbeans.oa.ObjectAccessRemoteObjectImpl1_0.update(ObjectAccessRemoteObjectImpl1_0.java:2128)
at com.sap.aii.ib.sbeans.oa.ObjectAccessRemoteObjectImpl1_0p4_Skel.dispatch(ObjectAccessRemoteObjectImpl1_0p4_Skel.java:712)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:330)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:201)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:137)
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:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
I get no issues when I put something in the "Command Line" parameter of "Run Operating System Command Before Message Processing".
Is anyone able to interpret the above error and tell me what the issue is on our dev PI environment ?
Cheers,
PaulC.
Hello,
There have been some recent changes to authorizations required to run these OS commands. See note #1645844 PI SEC: Missing authorization check in Integration. Check if the user has the required authorizations. See also note #1717530 PI File Adapter OS Command error - ERROR_OSCMD_NOT_ALLOWED.
Regards
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Paul,
Could you please help me to solve this issue, I have facing same situation of error.
Thank you very much.
Best Regards,
Sateesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sateesh,
I raised a support call with SAP this morning. I will let you know what they come back with. All I can confirm for now is that this error has resulted after a support package upgrade. We have recently gone from:
NW 7.02 Support Package 10
to
NW 7.02 Support Package 12
...and only since then I am getting this problem with OS command permissions.
Cheers,
PaulC.
Hi Paul,
Yes you are correct, in my case also We upgraded the XI 3.0 Support package 20 to 30 after that we faced this error.
And also I raised the SAP ticket for this , SAP responded me and ask to check Integration Builder --> Intergration Repoistory(ESR) ---> SAP Basis Swcv ----> go to Details tab
check their about your support package no, if still shows in your case Support Package 10, then you must need to implement the below SAP Note according to your version.
Please find the SAP note 1536986 - How to import PI Content into the ESR
Thank you very much.
Sateesh
Hi Paul,
Please let us know if any recent Upgrade happened in your PI server. This issue comes usually for Service pack upgrades.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sateesh,
Please check the SAP Note: 904833.
You get this error when ever u upgrade to a different SP level. Make sure all the components are upgraded to SP30 by checking with Basis team.
Apply SP 30 to all components as per the XI section of the SAP PDF document "Applying Support Packages in SAP Netweaver 04 Scenarios" from sap service mktplace/sp-stacks.
You should be able to view the sp level of all the components using the following link
http://server:port/sap/monitoring/ComponentInfo
Incomplete up-gradation is the cause for this type of error.
Hi Paul,
I am facing same issue in my production environment. Could you please help me about this how to solve?
Thank you very much.
Sateesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Paul,
This looks to me as some basis setting problem in the attributes of the file channel in your server.
I would suggest raising an OSS note and checking with SAP itself.
Best Luck,
V J
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.