cancel
Showing results for 
Search instead for 
Did you mean: 

activate-abap-proxies-with-aex

Former Member
0 Kudos

Hi ALL,

I am facing issue while connecting my ERP system to PO 7.4.

I have done the exact steps as http://scn.sap.com/people/michal.krawczyk2/blog/2012/01/19/michals-pi-tips-how-do-you-activate-abap-..., but the RFC PI_AAE is failing with 500 error.

When i checked launching the URL:
http://<aaehost>:<port>/XISOAPAdapter/MessageServlet?ximessage=true

It is failing with 500 Server error:


In default Trace, Error log says below:

Error#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#

com.sap.ASJ.web.000137#BC-XI-CON-SOP#sap.com/com.sap.aii.adapter.soap.app#C000C0A8A39802AC0000000000000DCC#1737950000000004#sap.com/com.sap.aii.adapter.soap.app#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Guest#0##12693CADAC5411E4C5F20000001A84DE#12693cadac5411e4c5f20000001a84de#12693cadac5411e4c5f20000001a84de#0#Thread[HTTP Worker [@228500667],5,Dedicated_Application_Thread]#Plain##

Cannot process an HTTP request to servlet [MessageServlet] in [XISOAPAdapter] web application.

[EXCEPTION]

null; nested exception caused by:

com.sap.engine.interfaces.messaging.api.exception.MessagingException: Connection SOAP_http://sap.com/xi/XI/Systemcannot be created as it was not registered before!

  at com.sap.engine.messaging.impl.api.ConnectionFactoryImpl.checkConnectionRegistration(ConnectionFactoryImpl.java:259)

  at com.sap.engine.messaging.impl.api.ConnectionFactoryImpl.createConnection(ConnectionFactoryImpl.java:113)

  at com.sap.engine.messaging.impl.api.ConnectionFactoryImpl.createConnection(ConnectionFactoryImpl.java:99)

  at com.sap.aii.adapter.soap.web.SOAPHandler.<init>(SOAPHandler.java:153)

  at com.sap.aii.adapter.soap.web.MessageServlet.init(MessageServlet.java:185)

  at com.sap.engine.services.servlets_jsp.server.application.WebComponents.getServlet(WebComponents.java:864)

  at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)

  at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)

  at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)

  at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)

  at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)

  at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

  at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)

  at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

  at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)

  at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

  at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)

  at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

  at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

  at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)

  at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

  at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

  at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)

  at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

  at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

  at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)

  at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

  at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

  at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)

  at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

  at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

  at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)

  at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

  at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

  at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)

  at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

  at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

  at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)

  at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)

  at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)

  at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)

Can anyone please assist me in resolving the same.


Regards,

Prashanth


Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Dear All,

This issues is resolved? I encounter same problem. I execute the report SPROX_CHECK_HTTP_COMMUNICATION, failed. The third-party system submit a request to ECC via PI 7.4 single stack. I set a external breakpoint. BUT there is no vaule for every field.

Anybody know the reasons?

Thank you for support.

Many thanks & best regards,

Hubery

Former Member
0 Kudos

Cach refresh worked for me.

The HTTP rfc from ECC to PO is working fine now.

Thanks a lot Paul for the solution

pvishnuvardan_reddy
Active Contributor
0 Kudos

Hi Prashanth,

I assume you have newly installed/migrated to PI 7.4 system.

Can you please cross check whether post installation configuration steps were performed completely or not.


In most of the cases, this could be the issue.


Also, please check whether you are having issues with RFC destination SAP_PROXY_ESR or not.

Regards

Vishnu

paul_abrahamson_sap
Active Participant
0 Kudos

We experienced exactly the same issue in a Unix HA Clustered Production environment, but did not experience it on the same unix Development / QA which aren't clustered.

We tried all of the above suggestions to no avail. However our Default Traces contained a lot of other SLD Errors.

The steps below were the reply from SAP Support and these solved the problem for us:

Reply from SAP:

We have checked the default traces you have provided us with and they

are indeed full of SLD related errors.

The most important one should be the following:

SLD Registration Job: Error during Http request to

http://<host>:<port>/AdapterFramework/regtest. Http code: 503

All other SLD related errors that can be found within the traces might

be a result of this error.

In order to try to fix this, please check the configuration maintained

in "NWA -> Configuration -> Infrastructure -> SLD Data Supplier

Configuration" and note the following:

To properly configure this service, use the Destinations Service to:

1. Set up the registration by creating a destination called

"SLD_DataSupplier" of type HTTP. Enter the following configuration

settings. (Note: The specified user must have the user role

"SAP_SLD_DATA_SUPPLIER" or higher on the target SLD Server.)

- Appropriate URL (http://<host>:)

- Authentication should be set to BASIC

- Appropriate Username and Password

2. Set up the AS Java access to the SLD by creating a destination

called "SLD_Client" of type HTTP. Enter the same configuration

settings as in the SLD_DataSupplier destination. (Note: The specified

user must have user role "SAP_SLD_GUEST" or higher. Additional write

access permissions may be required by certain applications. Refer to

the corresponding application documentation for SLD access requirements.

In addition to the above, please also perform the following steps:

- Access the SLD - http://<host>:<port>/dir -> SLD

- Log on as an administrator for AS Java / SLD administrator

- Choose Administration

-> Settings

-> "Perform Role Mapping"

Afterwards, please try registering the PI components in the SLD again.

Finally, please try to perform CPACache refreshes as follows:

http://host:j2eeport/CPACache/refresh?mode=full
and
http://host:j2eeport/CPACache/refresh?mode=delta

0 Kudos

Hi ,

I am facing the same issue and tried everything suggested above still not able resolve the issue. Please help if any one has get this corrected

Former Member
0 Kudos

Hi Paul,

Thanks for your help. I had the same problem but your last advice of performing CPA Cache refreses helped me.

naveen_chichili
Active Contributor
0 Kudos

Hi Prashanth,

configure the following property in the XI Service.

1. Open nwa > Configuration > Infrastructure > Java System Properties

2. Select Services tab and Filter for 'XPI Adapter: XI'

3. In the properties tab search for 'xiadapter.version.minor'

4. Change the value to 0

Thanks,

Naveen

Former Member
0 Kudos

Thanks Naveen for your response but unfortunately it doesn't helped

JaySchwendemann
Active Contributor
0 Kudos

Hi Prashanth,

sorry if this sounds too obvoius but did you revise the steps you made by double checking with the official helpfile? While in every way, Michal's blogs are exceptionally well written taking a different viewing angle to a problem sometimes helps to find a missing link / step.

Connecting the ABAP Backend to Advanced Adapter Engine - Configuring Process Integration After Insta...

Apart from that:

  • Increase trace level on your PO system for com.sap.aii.adapter.soap and com.sap.engine.services.httpserver (assuming our PO system is not production one)
  • Check on business system of integration engine in SLD especially pileline URL. Should read http://<host>:<port>/XISOAPAdapter/MessageServlet
  • Try installing XPI Inspector and give it a spin (e.g selecting "SAP System State" and using Example "Default Trace")

Cheers

Jens

Former Member
0 Kudos
Former Member
0 Kudos

Hi Gaurav,

I have verified all the services are active as mentioned in above thread. I think it is not issue with services.

And is there any relation for RFC with SLD, because the this PO system connecting to SLD of other PO system.

Regards,

Prashanth

Former Member
0 Kudos

The User that you are using should have service user excess. Please check that as well.

Thanks

JaySchwendemann
Active Contributor
0 Kudos

OP said error is happening when opening the link on the AEX (PO / AEE) server, not the ERP system, so there's no SICF assuming that OP really has a AEX / AEE

former_member184619
Active Contributor
0 Kudos

Hi Prashant,

Please ask you basis team to have the Service User - PIAF* user (* is your system ID) and it should be working fine.

With this Destination you are connecting to Adapter framework of PO system not the SLD.

Regards,

Sachin Dhingra

www.saphelp.me

Former Member
0 Kudos

Hi Sachin,

Yes, we are using PIAF* user only. And yes, destination PO is not the SLD.

regards,

Prashanth