on 03-04-2014 3:11 PM
Hi experts,
I set up the Java Idoc adapter a couple of months ago using this guide and it worked fine with the one test I did. But I never got around to changing any of my Idoc scenarios to using the Java IDoc adapter at that time. In the meanwhile I have upgraded my system from PI 7.3 to PI 7.31 (dual Stack). Now I wanted to change the port for one Idoc type from the ABAP Idoc Adapter to the Java Idoc adapter, and I get this error in the Idoc adapter:
J2EE_GUEST has no permission for accessing Business Component :MTB_SAP_ERP_Q
In SM58 the error message is : Commit fault: ASJ.ejb.005043 (Failed in component: sap.com/com.sap.aii.ad amd inm the developer trace in PI I have this:
com.sap.conn.jco.JCoException: (104)
JCO_ERROR_SYSTEM_FAILURE: Commit fault: ASJ.ejb.005043 (Failed in component:
sap.com/com.sap.aii.adapter.idoc.app, BC-XI-CON-IDO) Exception raised from
invocation of public void
com.sap.aii.af.idoc.inbound.IDocReceiverBean.onCommit(java.lang.String) method
on bean instance com.sap.aii.af.idoc.inbound.IDocReceiverBean@2bf09545 for bean
sap.com/com.sap.aii.adapter.idoc.app*xml|com.sap.aii.adapter.idoc.ejb.jar*xml|IDocReceiverBean
in application sap.com/com.sap.aii.adapter.idoc.app.; nested exception is:
com.sap.conn.idoc.IDocRuntimeException (raised by system
xxxxxxxxx|XXX_001_IDOC)
at
com.sap.conn.jco.rt.MiddlewareJavaRfc.generateJCoException(MiddlewareJavaRfc.java:681)
at
com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.listen(MiddlewareJavaRfc.java:2476)
at
com.sap.conn.jco.rt.DefaultServerWorker.dispatch(DefaultServerWorker.java:254)
at
com.sap.conn.jco.rt.DefaultServerWorker.loop(DefaultServerWorker.java:346)
at
com.sap.conn.jco.rt.DefaultServerWorker.run(DefaultServerWorker.java:232)
at
com.sap.mw.jco.jra.JRA$ReaderThread.run(JRA.java:8642)
at
com.sap.engine.services.connector.jca15.work.TaskImpl.run(TaskImpl.java:245)
at
com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
at
com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
at
com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
Caused
by: RfcException: [xxxxxxx|XXX_001_IDOC]
message: Commit fault:
ASJ.ejb.005043 (Failed in component: sap.com/com.sap.aii.adapter.idoc.app,
BC-XI-CON-IDO) Exception raised from invocation of public void
com.sap.aii.af.idoc.inbound.IDocReceiverBean.onCommit(java.lang.String) method
on bean instance com.sap.aii.af.idoc.inbound.IDocReceiverBean@2bf09545 for bean
sap.com/com.sap.aii.adapter.idoc.app*xml|com.sap.aii.adapter.idoc.ejb.jar*xml|IDocReceiverBean
in application sap.com/com.sap.aii.adapter.idoc.app.; nested exception is:
com.sap.conn.idoc.IDocRuntimeException
Return code: RFC_FAILURE(1)
error group: 104
key: RFC_ERROR_SYSTEM_FAILURE
Exception raised by
xxxxxxxx|XXX_001_IDOC
I again went through the above mentioned document and noticed that in the comments step 2 (JCO RFC Provider) had been removed. I also removed this, checked all other settings and connections. All is fine. Only I get this error when sending an IDoc to this port which is created for the Java IDoc adapter.
I have searched SCN and notes for some help on this, but no result. Perhaps one of you have an idea?
Thanks
Jenny
Hello Jenny,
do you still have this issue?
I was facing a similar issue, error logs from the default tace:
java.security.AccessControlException: J2EE_GUEST has no permission for accessing Integrated configuration represented by : XXXCLNTXXX : FIN_DCFL_TV_PAY_CONF.FIN_DCFL_TV_PAY_CONF : urn:sap-com:document:sap:idoc:messages
[JRA] serverExceptionOccurred. Server XI_IDOC_DEFAULT_PIV, Managed_Application_Thread_91, connectionId=8-pivmain.wdf.sap.corp|sapgw01|XI_IDOC_DEFAULT_PIV, Exception: com.sap.conn.jco.JCoException: (104) JCO_ERROR_SYSTEM_FAILURE: Commit fault: ASJ.ejb.005043 (Failed in component: sap.com/com.sap.aii.adapter.idoc.app, BC-XI-CON-IDO) Exception raised from invocation of public void com.sap.aii.af.idoc.inbound.IDocReceiverBean.onCommit(java.lang.String) method on bean instance com.sap.aii.af.idoc.inbound.IDocReceiverBean@14b5b002 for bean sap.com/com.sap.aii.adapter.idoc.app*xml|com.sap.aii.adapter.idoc.ejb.jar*xml|IDocReceiverBean in application sap.com/com.sap.aii.adapter.idoc.app.; nested exception is: com.sap.conn.idoc.IDocRuntimeException: User has no permission for processing (raised by system serverxxx|PIV_AAE_IDOC)
Now the issue here was caused by the ACL settings of the Integrated Configuration, this ACL (user allowed to execute the object) is also available for Business Componens. The user that is maintained in the NWA destination XI_IDOC_DEFAULT_DESTINATION must bei either added within the 'Assigned Users' tab or do not maintain any user at all here.
Best regards
marc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jenny,
please check the RFC user authorizations in sm 59 and NWA [JCO RFC Destinations].
Do the connection testing.
Refer the link
Regards
Bhargava krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.