Skip to Content
0
Former Member
Mar 04, 2014 at 03:11 PM

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

213 Views


Hi experts,

I set up the Java Idoc adapter a couple of months ago using this guide How to create and configure Sender Idoc AAE Scenario - PI 7.3 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