cancel
Showing results for 
Search instead for 
Did you mean: 

IDoc_AAE Sender - J2EE_GUEST has no permission for accessing Business Component :XXX

Former Member
0 Kudos


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

Accepted Solutions (0)

Answers (2)

Answers (2)

Marc44
Employee
Employee
0 Kudos

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

Bhargavakrishna
Active Contributor
0 Kudos

Hi Jenny,

please check the RFC user authorizations in sm 59 and NWA [JCO RFC Destinations].

Do the connection testing.

Refer the link

(PI) RFC_ERROR_SYSTEM_FAILURE Server repository could error in SM58 on sender system - Technology Tr...

Regards

Bhargava krishna

Former Member
0 Kudos

Thanks, but I had allready checked this. in SM59 there is a registered program with no user. And in NWA the connection test is also OK.

Jenny

former_member184720
Active Contributor
0 Kudos

Hi Jenny - Somewhere the user j2ee_guest is being used and it is unable to read the Business system "MTB_SAP_ERP_Q" i believe.

Is your SLDCHECK working on ECC system?

Former Member
0 Kudos

Hi Hareesh,

the SLDCHECK in my ECC System is working fine.

Jenny

former_member184720
Active Contributor
0 Kudos

Hi Jenny - Just to see if it is really an authorization issue with j2ee_guest.... Can you assign SAP_ALL role to it and see if the IDOC's gets processed?

If it works you can debug further on where this user is being used..