2479908 - The MessageServlet URL failed with "500 Internal Server Error"
Symptom
You installed a new PO/AEX system and have run the CTC wizard successfully.
When you access the MessageServlet URL http://<host>:<port>/XISOAPAdapter/MessageServlet?ximessage=true, it failed with error:
HTTP 500 internal server error
You have taken the following check:
- From defaultTrace, the following log could be found:
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:160) - Check the following SOAP applications from NWA -> Start & Stop, they are in the started status:
- com.sap.aii.adapter.soap.app
- com.sap.aii.adapter.soap.lib
- Check the CPACache history, there is no successful CPACache update in the system (https://<host>:<port>/CPACache/).
Environment
- SAP NetWeaver
- SAP Process Integration
Reproducing the Issue
Access the Servlet URL of the PI SOAP Adapter(http://<host>:<port>/XISOAPAdapter/MessageServlet?ximessage=true).
Cause
The SLD Data Cache is empty, because the Adapter Metadata are corrupt or missing.
The reason is due to an incomplete initial setup (ESR Content import missing/failed) or a broken CPA Full Cache Refresh.
Resolution
- Ensure the SAP_BASIS has been imported to ESR successfully.
- Take a full cache update from URL http://<host>:<port>/CPACache/refresh. with user pisuper
See Also
Note 1444305 Configuration Wizard: PI / ESR Support Package Update
SAP KBA 1536986 How to import PI Content into the ESR
SAP KBA 1575249 How to check the patch level of the PI Basis content
Note 2224375 Exchange Profile Cache disabled during upgrade procedure
Note 2369008 PI SOAP Adapter - 500 Internal Server Error
Note 2034226 Configuration Wizard: PI AEX SLD Self Registration
Keywords
MessageServlet, XISOAPAdapter, 500 Internal Server Error, 500, CPACache, SOAP, SAP_BASIS, ESR content, initial, SLD, Process Integration 7.0, PI 7.0, PI 7.01, PI 7.02, Process Integration 7.10, PI 7.10, Process Integration 7.11, PI 7.11, Process Integration 7.30, PI 7.30, Process Integration 7.31, PI 7.31, Process Orchestration 7.40, PI 7.40, PO 7.40, Process Orchestration 7.50, PI 7.50, PO 7.50, NetWeaver, XI.