SXI_CACHE Cache Refresh Error

Hi,
I am getting Runtime Cache Error when running transaction SXI_CACHE in PI 7.1:
Unable to refresh cache contents
INTERNAL_ERROR
Error 'HTTP status code 401  Unauthorized' while executing HTTP request (calling method 'get_status')
Error during last attempt to refresh cache
INTERNAL_ERROR
Error 'HTTP status code 401  Unauthorized' while executing HTTP request (calling method 'get_status')
Can anyone help to resolve this issue?
Thanks.

Hi RMS,
As you see in the error messages its purely credentials and authorization issue.
Please ensure below items are intact in your system.
1.  Under 'echnical Setting' ensure, you are using the correct port number (It will be your system HTTP port)
2. ensure Path Prefix has value /dir/CacheRefresh
3. Under Logon & Security - Select 'Basic Authentication' confirm the popups and ignore if any warnings
4. For logon data,  enter the client of your Integration Server and the user PIISUSER with the valid password.
5. Under  Special Options, set Timeout:30000,  HTTP Settings: HTTP Version: HTTP 1.0, Compression: inactive, Compressed Response: No; TTP Cookies: Accept Cookies: Yes (All).
6. Save these settings, perform Test Connection
report back if you find any further issues.
Regards
Sekhar

Similar Messages

  • Cache refresh error in Production Server in XI

    Hi All,
    whenever any object in ID gets changed cache refresh stops in XI in the production server.It throws error that it is unable to refresh the cache.All post installation activities are done properly.What should be done to solve the issue.

    What is the exact error? You may try looking into these two guides:
    [How Tou2026 Handle Caches in SAP XI 3.0:|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/1a69ea11-0d01-0010-fa80-b47a79301290?quicklink=index&overridelayout=true]
    [How Tou2026 Handle XPI Caches in SAP NetWeaver 7.0:|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0332b2a-eb97-2910-b6ba-dbe52a01be34?quicklink=index&overridelayout=true]
    For an overview of cache refresh errors in the Integration Repository or Integration Directory you can check SAP Note 780747.

  • Cache refresh error, while activating changelists

    Hi all,
    I got a problem, concerning XI Runtime Cache on XI 3.0, SP15 -> when I try to activate changelists from Integration Directory, (SOMETIMES!)XI_CACHE shows status: Error, while refreshing cache
    with Errortype: Communication,
    "if_http_client receive http_communication_failure"
    When I then do a delta or full cache refresh from transaction SXI_CACHE it allways works, even after an error occured before. Some ideas, what I could check?
    Thank you in advance..
    Daniel

    Hi,
    Just check with Tcode SICF and check for all the services are working fine.
    Go thru following links
    http://service.sap.com/NW04 ->How-to Guides-> Exchange Infrastructure->How To handle Caches in SAP XI 3.0
    Also go thru following thread.
    problem with xi cache
    Hope this helps.
    Regards,
    Moorthy
    Regards
    Suraj
    Regards,
    Moorthy

  • CPA cache refresh error

    Hi All,
    While doing CPA cache refresh by
    http://<host>:<port>/CPACache/refresh?mode=full
    the following message is dislayed
    403 Forbidden SAP J2EE Engine/7.00
    You are not authorized to view the requested resource.
    What is the authorization needed for doing CPA cache refresh..?
    If i tried with Admin user also, same error message is coming.
    Suggest some solution in detail.
    Regards
    JSAP

    Hi! JSAP JSAP,
    Even I faced this problem recently that uanbelt o login into CPA Cache refresh URL and getting access forbidden.
    First check whether respective roles are assigned or not.
    CPA Cache Referesh Link:  http://HOST:PORT/CPACache/refresh?mode=full
    J2ee                           ABAP
    xi_af_cpa_monitor = SAP_XI_MONITOR_J2EE, SAP_XI_ADMINISTRATOR_J2EE, SAP_XI_CONFIGURATOR_J2EE, SAP_XI_DISPLAY_USER_J2EE
    xi_af_cpa_invalidate = SAP_XI_ID_SERV_USER
    Then try doing cache refresh
    According to my inf another thing this CPA cache refresh is using in Old Service packs but for recent SP20and SP22 you can do whether from Integration Builder page --> ADmnistration tab then do CPA Cache refresh and also do go to SXI_CAche in SAP logon pad and do Adapter cache refresh okay
    I hope this inf is useful to you
    Reward Points if useful
    Thanks
    Amar Srinivas ELi

  • Cache Refresh Error.

    We transported the objects from dev to QA.But when we tries to do cache refresh it results in the following error?
    com.sap.aii.ibdir.server.abapcache.mapping.Refresh$CacheRefreshQueryException: Connection to system REPOSITORY using application REPOSITORY lost. Detailed information: IOException while sending request to "http://pat0057.services.shell.net:50500/rep/query/int?container=any"! Exception is:
    Message: A remote host refused an attempted connect operation.
    Stacktrace:
    java.net.ConnectException: A remote host refused an attempted connect operation.
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:331)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:196)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)
         at java.net.Socket.connect(Socket.java(Compiled Code))
         at java.net.Socket.connect(Socket.java(Inlined Compiled Code))
         at sun.net.NetworkClient.doConnect(NetworkClient.java(Inlined Compiled Code))
         at sun.net.www.http.HttpClient.openServer(HttpClient.java(Inlined Compiled Code))
         at sun.net.www.http.HttpClient.openServer(HttpClient.java(Compiled Code))
         at sun.net.www.http.HttpClient.<init>(HttpClient.java(Compiled Code))
         at sun.net.www.http.HttpClient.<init>(HttpClient.java(Inlined Compiled Code))
         at sun.net.www.http.HttpClient.New(HttpClient.java(Compiled Code))
         at sun.net.www.http.HttpClient.New(HttpClient.java(Inlined Compiled Code))
         at sun.net.www.http.HttpClient.New(HttpClient.java(Inlined Compiled Code))
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java(Compiled Code))
         at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java(Inlined Compiled Code))
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java(Compiled Code))
         at com.sap.aii.utilxi.hmi.api.HmiHttpClientImpl.sendRequestAndReceiveResponseViaHttp(HmiHttpClientImpl.java(Compiled Code))
         at com.sap.aii.utilxi.hmi.api.HmiHttpClientImpl.sendRequestAndReceiveResponse(HmiHttpClientImpl.java(Compiled Code))
         at com.sap.aii.utilxi.hmi.api.HmiClientAdapter.invokeMethod(HmiClientAdapter.java(Compiled Code))
         at com.sap.aii.ib.core.query.QueryServiceHttp30.generalQuery(QueryServiceHttp30.java(Inlined Compiled Code))
         at com.sap.aii.ib.server.query.QueryServiceImpl.generalQuery(QueryServiceImpl.java(Compiled Code))
         at com.sap.aii.ibdir.server.abapcache.mapping.Refresh.queryComponents(Refresh.java:306)
         at com.sap.aii.ibdir.server.abapcache.mapping.Refresh.refreshFull(Refresh.java:96)
         at com.sap.aii.ibdir.server.abapcache.content.CacheMappings.addContent(CacheMappings.java:67)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.addContent(CacheRefreshRequest.java:342)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.addContent(CacheRefreshRequest.java:292)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.processHTTPRequest(CacheRefreshRequest.java:142)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.handleHTTPRequest(CacheRefreshRequest.java:103)
         at com.sap.aii.ibdir.web.abapcache.CacheRefreshSession.setXmlDataAndBufferSize(CacheRefreshSession.java:121)
         at com.sap.aii.ibdir.web.abapcache.CacheRefreshSession.<init>(CacheRefreshSession.java:40)
         at com.sap.aii.ibdir.web.abapcache.CacheRefreshSession.getInstance(CacheRefreshSession.java:54)
         at com.sap.aii.ibdir.web.abapcache.CacheRefreshServlet.doGet(CacheRefreshServlet.java:45)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
         at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java(Compiled Code))
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Inlined Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java(Inlined Compiled Code))
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java(Compiled Code))
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code))
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
         at com.sap.aii.ibdir.server.abapcache.mapping.Refresh.queryComponents(Refresh.java:315)
         at com.sap.aii.ibdir.server.abapcache.mapping.Refresh.refreshFull(Refresh.java:96)
         at com.sap.aii.ibdir.server.abapcache.content.CacheMappings.addContent(CacheMappings.java:67)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.addContent(CacheRefreshRequest.java:342)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.addContent(CacheRefreshRequest.java:292)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.processHTTPRequest(CacheRefreshRequest.java:142)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.handleHTTPRequest(CacheRefreshRequest.java:103)
         at com.sap.aii.ibdir.web.abapcache.CacheRefreshSession.setXmlDataAndBufferSize(CacheRefreshSession.java:121)
         at com.sap.aii.ibdir.web.abapcache.CacheRefreshSession.<init>(CacheRefreshSession.java:40)
         at com.sap.aii.ibdir.web.abapcache.CacheRefreshSession.getInstance(CacheRefreshSession.java:54)
         at com.sap.aii.ibdir.web.abapcache.CacheRefreshServlet.doGet(CacheRefreshServlet.java:45)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
         at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java(Compiled Code))
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Inlined Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java(Inlined Compiled Code))
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java(Compiled Code))
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code))
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
    com.sap.aii.ib.core.query.QueryServiceException: Connection to system REPOSITORY using application REPOSITORY lost. Detailed information: IOException while sending request to "http://pat0057.services.shell.net:50500/rep/query/int?container=any"! Exception is:
    Message: A remote host refused an attempted connect operation.
    Stacktrace:
    java.net.ConnectException: A remote host refused an attempted connect operation.
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:331)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:196)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)
         at java.net.Socket.connect(Socket.java(Compiled Code))
         at java.net.Socket.connect(Socket.java(Inlined Compiled Code))
         at sun.net.NetworkClient.doConnect(NetworkClient.java(Inlined Compiled Code))
         at sun.net.www.http.HttpClient.openServer(HttpClient.java(Inlined Compiled Code))
         at sun.net.www.http.HttpClient.openServer(HttpClient.java(Compiled Code))
         at sun.net.www.http.HttpClient.<init>(HttpClient.java(Compiled Code))
         at sun.net.www.http.HttpClient.<init>(HttpClient.java(Inlined Compiled Code))
         at sun.net.www.http.HttpClient.New(HttpClient.java(Compiled Code))
         at sun.net.www.http.HttpClient.New(HttpClient.java(Inlined Compiled Code))
         at sun.net.www.http.HttpClient.New(HttpClient.java(Inlined Compiled Code))
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java(Compiled Code))
         at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java(Inlined Compiled Code))
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java(Compiled Code))
         at com.sap.aii.utilxi.hmi.api.HmiHttpClientImpl.sendRequestAndReceiveResponseViaHttp(HmiHttpClientImpl.java(Compiled Code))
         at com.sap.aii.utilxi.hmi.api.HmiHttpClientImpl.sendRequestAndReceiveResponse(HmiHttpClientImpl.java(Compiled Code))
         at com.sap.aii.utilxi.hmi.api.HmiClientAdapter.invokeMethod(HmiClientAdapter.java(Compiled Code))
         at com.sap.aii.ib.core.query.QueryServiceHttp30.generalQuery(QueryServiceHttp30.java(Inlined Compiled Code))
         at com.sap.aii.ib.server.query.QueryServiceImpl.generalQuery(QueryServiceImpl.java(Compiled Code))
         at com.sap.aii.ibdir.server.abapcache.mapping.Refresh.queryComponents(Refresh.java:306)
         at com.sap.aii.ibdir.server.abapcache.mapping.Refresh.refreshFull(Refresh.java:96)
         at com.sap.aii.ibdir.server.abapcache.content.CacheMappings.addContent(CacheMappings.java:67)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.addContent(CacheRefreshRequest.java:342)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.addContent(CacheRefreshRequest.java:292)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.processHTTPRequest(CacheRefreshRequest.java:142)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.handleHTTPRequest(CacheRefreshRequest.java:103)
         at com.sap.aii.ibdir.web.abapcache.CacheRefreshSession.setXmlDataAndBufferSize(CacheRefreshSession.java:121)
         at com.sap.aii.ibdir.web.abapcache.CacheRefreshSession.<init>(CacheRefreshSession.java:40)
         at com.sap.aii.ibdir.web.abapcache.CacheRefreshSession.getInstance(CacheRefreshSession.java:54)
         at com.sap.aii.ibdir.web.abapcache.CacheRefreshServlet.doGet(CacheRefreshServlet.java:45)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
         at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java(Compiled Code))
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Inlined Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java(Inlined Compiled Code))
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java(Compiled Code))
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code))
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
         at com.sap.aii.ib.core.query.QueryServiceHttp30.generalQuery(QueryServiceHttp30.java(Inlined Compiled Code))
         at com.sap.aii.ib.server.query.QueryServiceImpl.generalQuery(QueryServiceImpl.java(Compiled Code))
         at com.sap.aii.ibdir.server.abapcache.mapping.Refresh.queryComponents(Refresh.java:306)
         at com.sap.aii.ibdir.server.abapcache.mapping.Refresh.refreshFull(Refresh.java:96)
         at com.sap.aii.ibdir.server.abapcache.content.CacheMappings.addContent(CacheMappings.java:67)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.addContent(CacheRefreshRequest.java:342)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.addContent(CacheRefreshRequest.java:292)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.processHTTPRequest(CacheRefreshRequest.java:142)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.handleHTTPRequest(CacheRefreshRequest.java:103)
         at com.sap.aii.ibdir.web.abapcache.CacheRefreshSession.setXmlDataAndBufferSize(CacheRefreshSession.java:121)
         at com.sap.aii.ibdir.web.abapcache.CacheRefreshSession.<init>(CacheRefreshSession.java:40)
         at com.sap.aii.ibdir.web.abapcache.CacheRefreshSession.getInstance(CacheRefreshSession.java:54)
         at com.sap.aii.ibdir.web.abapcache.CacheRefreshServlet.doGet(CacheRefreshServlet.java:45)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
         at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java(Compiled Code))
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Inlined Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java(Inlined Compiled Code))
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java(Compiled Code))
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code))
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
    I have tried increasing the time out value for http communication in smicm and j2ee stack but still the problem remains the same.

    Hi Sravya,
    Could you please tell me how you solved this problem. I am getting the following error in SXI_CACHE:
    com.sap.aii.ibdir.server.abapcache.mapping.Refresh$CacheRefreshQueryException: Connection to system REPOSITORY using application REPOSITORY lost. Detailed information: IOException while sending request to "http://pspdxid.pspd.com:55000/rep/query/int?container=any"! Exception is:
    Message: pspdxid.pspd.com
    Stacktrace:
    java.net.UnknownHostException: pspdxid.pspd.com
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
         at java.net.Socket.connect(Socket.java:471)
         at java.net.Socket.connect(Socket.java:421)
         at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
         at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
         at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
         at sun.net.www.http.HttpClient.New(HttpClient.java:339)
         at sun.net.www.http.HttpClient.New(HttpClient.java:320)
         at sun.net.www.http.HttpClient.New(HttpClient.java:315)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:521)
         at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:498)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:569)
         at com.sap.aii.utilxi.hmi.api.HmiHttpClientImpl.sendRequestAndReceiveResponseViaHttp(HmiHttpClientImpl.java:161)
         at com.sap.aii.utilxi.hmi.api.HmiHttpClientImpl.sendRequestAndReceiveResponse(HmiHttpClientImpl.java:105)
         at com.sap.aii.utilxi.hmi.api.HmiClientAdapter.invokeMethod(HmiClientAdapter.java:88)
         at com.sap.aii.ib.core.query.QueryServiceHttp30.generalQuery(QueryServiceHttp30.java:73)
         at com.sap.aii.ib.server.query.QueryServiceImpl.generalQuery(QueryServiceImpl.java:187)
         at com.sap.aii.ibdir.server.abapcache.mapping.Refresh.queryObjectsOfComponent(Refresh.java:334)
         at com.sap.aii.ibdir.server.abapcache.mapping.Refresh.distributeComponentObjects(Refresh.java:229)
         at com.sap.aii.ibdir.server.abapcache.mapping.Refresh.distributeReference(Refresh.java:215)
         at com.sap.aii.ibdir.server.abapcache.mapping.Refresh.distributeMultipleReferences(Refresh.java:177)
         at com.sap.aii.ibdir.server.abapcache.mapping.Refresh.refreshPartial(Refresh.java:153)
         at com.sap.aii.ibdir.server.abapcache.content.CacheMappings.addContent(CacheMappings.java:45)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.addContent(CacheRefreshRequest.java:360)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.addContent(CacheRefreshRequest.java:323)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.processHTTPRequest(CacheRefreshRequest.java:145)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.handleHTTPRequest(CacheRefreshRequest.java:103)
         at com.sap.aii.ibdir.web.abapcache.CacheRefreshSession.setXmlDataAndBufferSize(CacheRefreshSession.java:121)
         at com.sap.aii.ibdir.web.abapcache.CacheRefreshSession.<init>(CacheRefreshSession.java:40)
         at com.sap.aii.ibdir.web.abapcache.CacheRefreshSession.getInstance(CacheRefreshSession.java:54)
         at com.sap.aii.ibdir.web.abapcache.CacheRefreshServlet.doGet(CacheRefreshServlet.java:45)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
         at com.sap.aii.ibdir.server.abapcache.mapping.Refresh.queryObjectsOfComponent(Refresh.java:355)
         at com.sap.aii.ibdir.server.abapcache.mapping.Refresh.distributeComponentObjects(Refresh.java:229)
         at com.sap.aii.ibdir.server.abapcache.mapping.Refresh.distributeReference(Refresh.java:215)
         at com.sap.aii.ibdir.server.abapcache.mapping.Refresh.distributeMultipleReferences(Refresh.java:177)
         at com.sap.aii.ibdir.server.abapcache.mapping.Refresh.refreshPartial(Refresh.java:153)
         at com.sap.aii.ibdir.server.abapcache.content.CacheMappings.addContent(CacheMappings.java:45)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.addContent(CacheRefreshRequest.java:360)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.addContent(CacheRefreshRequest.java:323)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.processHTTPRequest(CacheRefreshRequest.java:145)
         at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.handleHTTPRequest(CacheRefreshRequest.java:103)
         at com.sap.aii.ibdir.web.abapcache.CacheRefreshSession.setXmlDataAndBufferSize(CacheRefreshSession.java:121)
         at com.sap.aii.ibdir.web.abapcache.CacheRefreshSession.<init>(CacheRefreshSession.java:40)
         at com.sap.aii.ibdir.web.abapcache.CacheRefreshSession.getInstance(CacheRefreshSession.java:54)
         at com.sap.aii.ibdir.web.abapcache.CacheRefreshServlet.doGet(CacheRefreshServlet.java:45)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Thanks & Regards,
    Shobhit
    p.s. Im getting the following on pasting the url mentioned above:
    "Worker "internal client" of servlet "HMI servlet #1" is reachable!"

  • Cache Refresh Error and Adaptors Missing in RWB Monitoring

    Hi,
    We are in NW04s (SP13) of PI.
    3 problems:
    1. SXI_CACHE
    Partial Cache Refresh gives OK (Green)
    Full Cache Refresh gives error:
    "Error During last attempt to refresh cache"
    Double click on the red message indicates:
    Error Id: UPDATE
    HTTP status code401 Unauthorized
    2. In Runtime Workbench : Adaptor Monitoring:
    Only JPR shows with red.
    All other adapters are missing.
    3. <host>:<port>/CPACache/refresh?mode=full
    Gives error:
    Global Error
    Couldn't parse Configuration Data cache update XML string from Directory
    Help is urgently needed.
    Thank you,
    Amith

    Hi,
    This problems are resolved now.
    1. Adapter Monitoring not showing other types:
    Reset the user/password: PIRWBUSER
    In R/3:
    User type: service
    Bring the password to Exchange Profile:
    com.sap.aii.rwb.serviceuser.name: PIRWBUSER
    com.sap.aii.rwb.serviceuser.pwd
    Do a cache refresh:
    <host>:<port>/CPACache/refresh?mode=full
    2. Check <host>:<port>/CPACache/history.jsp
    Status should be green on the latest Status.
    (No Error: " Global Error Couldn't parse Configuration Data cache update XML string from Directory" )
    Thank you, all.
    The checklists you have posted were helpful to verify the configurations.
    Also useful: <host>:<port>/nwa
    and check "Trace and Log " to find exact cause where it fails.

  • PI 7.1 Java Cache Refresh error

    When performing Data Cache Refresh from Data Cache Overview on Java stack, I am getting login prompt for client 000, the Integration Server client is 100. We have maintained the new client as per SAP recommendations, not sure why the Data Cache Overview would prompt for client 000 and would not validate any user at all. There are no locks or discrepancies. Please advice.
    Thanks.

    Hi,
    Here is part of defaulttrace file I got some portion from top of the file since the file is quite large to paste the contents here. Hope it can give some indications...
    Thank you.
    #1.5 #000C293A0C5D003B0000004B00000EFC00CA8C9112428951#1258497859358#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#J2EE_GUEST#3271####bdec5450d3ca11de9c29000c293a0c5d#HTTP Worker [9]##0#0#Error##Plain###Processing HTTP request to servlet [dispatcher] finished with error. The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebIllegalStateException: The stream has already been taken by method [getWriter()].
         at com.sap.engine.services.servlets_jsp.server.runtime.client.HttpServletResponseFacade.getOutputStream(HttpServletResponseFacade.java:227)
         at com.sap.tc.webdynpro.serverimpl.core.adapter.AbstractHttpResponseAdapter.finalizeResponse(AbstractHttpResponseAdapter.java:122)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.finalizeRequest(RequestManager.java:657)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:340)
         at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToRequestManager(AbstractExecutionContextDispatcher.java:205)
         at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForRequestManager.doService(DispatchHandlerForRequestManager.java:38)
         at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)
         at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
         at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToRequestManager(ExecutionContextDispatcher.java:140)
         at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:93)
         at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:105)
         at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)
         at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doGet(AbstractDispatcherServlet.java:54)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)
         at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:32)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:431)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:289)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376)
         at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:67)
         at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         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:71)
         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:71)
         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:71)
         at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:309)
         at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:222)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:152)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
    #1.5 #000C293A0C5D003B0000004D00000EFC00CA8C9112428951#1258497859530#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#J2EE_GUEST#3271####bdec5450d3ca11de9c29000c293a0c5d#HTTP Worker [9]##0#0#Error#1#/System/Server/WebRequests#Plain###Processing HTTP request to servlet [dispatcher] finished with error.
    The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebIllegalStateException: The stream has already been taken by method [getWriter()].000C293A0C5D003B0000004B00000EFC00CA8C9112428951#
    #1.5 #000C293A0C5D0041000000A100000EFCFFFFFFFFFFFFFFFF#1258498099171#com.sap.conn.jco##com.sap.conn.jco######f1d68eb0d2fe11de8869000c293a0c5d#Thread[R3RoleDataSource_UpdateThread[918637153],5,SystemThreadGroup]##0#0#Error#1#/System/Server/Connector/Rfc#Plain###Context does not exist session id=com.sap.engine.session.exec.UserContextImpl@4c49a32d[ clientId=null, clientSessions=[], persistent Model=null]#
    #1.5 #000C293A0C5D0041000000A200000EFCFFFFFFFFFFFFFFFF#1258498099202#com.sap.engine.services.dsr##com.sap.engine.services.dsr######f1d68eb0d2fe11de8869000c293a0c5d#Thread[R3RoleDataSource_UpdateThread[918637153],5,SystemThreadGroup]##0#0#Error##Plain###java.lang.NullPointerException
         at com.sap.jdsr.frame.ComponentStaticDataImpl0.getActionType(ComponentStaticDataImpl0.java:39)
         at com.sap.engine.services.dsr.jco.ClientStatisticsHandlerNew.callStarted(ClientStatisticsHandlerNew.java:59)
         at com.sap.conn.jco.rt.ClientConnection.beginCall(ClientConnection.java:212)
         at com.sap.conn.jco.rt.ClientConnection.execute(ClientConnection.java:982)
         at com.sap.conn.jco.rt.RfcDestination.execute(RfcDestination.java:987)
         at com.sap.conn.jco.rt.RfcDestination.execute(RfcDestination.java:977)
         at com.sap.conn.jco.rt.AbapFunction.execute(AbapFunction.java:300)
         at com.sap.security.core.persistence.datasource.imp.r3persistence.R3JCo700Proxy$Client700.execute(R3JCo700Proxy.java:310)
         at com.sap.security.core.persistence.datasource.imp.R3RoleDataSource.checkBufferRefresh(R3RoleDataSource.java:2032)
         at com.sap.security.core.persistence.datasource.imp.R3RoleDataSource.access$000(R3RoleDataSource.java:57)
         at com.sap.security.core.persistence.datasource.imp.R3RoleDataSource$1.run(R3RoleDataSource.java:593)
         at java.lang.Thread.run(Thread.java:606)
    #1.5 #000C293A0C5D0041000000A300000EFCFFFFFFFFFFFFFFFF#1258498099202#com.sap.conn.jco##com.sap.conn.jco######f1d68eb0d2fe11de8869000c293a0c5d#Thread[R3RoleDataSource_UpdateThread[918637153],5,SystemThreadGroup]##0#0#Warning##Plain###[JCoAPI] com.sap.conn.jco.JCoException: (152) JCO_ERROR_DSR_PASSPORT_NOT_VALID: Dsr passport is not valid.#
    #1.5 #000C293A0C5D0041000000A400000EFCFFFFFFFFFFFFFFFF#1258498099202#com.sap.conn.jco##com.sap.conn.jco######f1d68eb0d2fe11de8869000c293a0c5d#Thread[R3RoleDataSource_UpdateThread[918637153],5,SystemThreadGroup]##0#0#Warning##Plain###[JCoAPI] JCoClient.beginCall(): cannot get jDSR passport for call 'PRGN_J2EE_GET_ROLES', because of com.sap.conn.jco.JCoException: (152) JCO_ERROR_DSR_PASSPORT_NOT_VALID: Dsr passport is not valid.#
    #1.5 #000C293A0C5D002B0000010B00000EFC00CA8C91125EB259#1258498492812#com.sap.aii.utilxi.sld.XIIntegrationServer##com.sap.aii.utilxi.sld.XIIntegrationServer#J2EE_GUEST#13##[HostName]_[SID]_5701250#Guest#5b88f4a0d2fb11de881d000c293a0c5d#Application [1]##0#0#Warning##Java###No HTTPS Port for Integration Server is.00.[HostName] defined.
    Thrown:
    com.sap.aii.utilxi.misc.api.InvalidArgumentException: Parameter httpPort has the invalid value
         at com.sap.aii.utilxi.sld.SldUtil.constructHttpsUrl(SldUtil.java:331)
         at com.sap.aii.utilxi.sld.XIIntegrationServer.setMsgUrlInclSecureUrl(XIIntegrationServer.java:557)
         at com.sap.aii.utilxi.sld.XIIntegrationServer.setMsgUrls(XIIntegrationServer.java:507)
         at com.sap.aii.utilxi.sld.XIIntegrationServer.syncBSInfo(XIIntegrationServer.java:267)
         at com.sap.aii.utilxi.sld.XIIntegrationServer.readFromSld(XIIntegrationServer.java:242)
         at com.sap.aii.utilxi.sld.XIEntityInSld.syncFromSld(XIEntityInSld.java:120)
         at com.sap.aii.utilxi.sld.XIEntityInSld.syncFromSld(XIEntityInSld.java:142)
         at com.sap.aii.af.lib.sld.impl.SLDAccessor.getISData(SLDAccessor.java:248)
         at com.sap.aii.af.lib.sld.impl.SLDAccessImpl.getISData(SLDAccessImpl.java:47)
         at com.sap.aii.adapter.xi.ms.SLDReader.fire(SLDReader.java:79)
         at com.sap.aii.adapter.xi.ms.SLDReader.run(SLDReader.java:182)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:152)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
    Caused by: java.lang.NumberFormatException: For input string: ""
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
         at java.lang.Integer.parseInt(Integer.java:468)
         at java.lang.Integer.<init>(Integer.java:620)
         at com.sap.aii.utilxi.sld.SldUtil.constructHttpsUrl(SldUtil.java:328)
         ... 14 more
    #1.5 #000C293A0C5D002B0000010C00000EFC00CA8C91125EB259#1258498492812#com.sap.aii.adapter.xi.ms.SLDReader##com.sap.aii.adapter.xi.ms.SLDReader.fire()#J2EE_GUEST#13##[HostName]_[SID]_5701250#Guest#5b88f4a0d2fb11de881d000c293a0c5d#Application [1]##0#0#Warning##Java###The SLDAccess returned null values for the following fields: #1#SecureURL#
    #1.5 #000C293A0C5D002B0000010D00000EFC00CA8C91125EB259#1258499392984#com.sap.aii.utilxi.sld.XIIntegrationServer##com.sap.aii.utilxi.sld.XIIntegrationServer#J2EE_GUEST#13##[HostName]_[SID]_5701250#Guest#5b88f4a0d2fb11de881d000c293a0c5d#Application [1]##0#0#Warning##Java###No HTTPS Port for Integration Server is.00.[HostName] defined.
    Thrown:
    com.sap.aii.utilxi.misc.api.InvalidArgumentException: Parameter httpPort has the invalid value
         at com.sap.aii.utilxi.sld.SldUtil.constructHttpsUrl(SldUtil.java:331)
         at com.sap.aii.utilxi.sld.XIIntegrationServer.setMsgUrlInclSecureUrl(XIIntegrationServer.java:557)
         at com.sap.aii.utilxi.sld.XIIntegrationServer.setMsgUrls(XIIntegrationServer.java:507)
         at com.sap.aii.utilxi.sld.XIIntegrationServer.syncBSInfo(XIIntegrationServer.java:267)
         at com.sap.aii.utilxi.sld.XIIntegrationServer.readFromSld(XIIntegrationServer.java:242)
         at com.sap.aii.utilxi.sld.XIEntityInSld.syncFromSld(XIEntityInSld.java:120)
         at com.sap.aii.utilxi.sld.XIEntityInSld.syncFromSld(XIEntityInSld.java:142)
         at com.sap.aii.af.lib.sld.impl.SLDAccessor.getISData(SLDAccessor.java:248)
         at com.sap.aii.af.lib.sld.impl.SLDAccessImpl.getISData(SLDAccessImpl.java:47)
         at com.sap.aii.adapter.xi.ms.SLDReader.fire(SLDReader.java:79)
         at com.sap.aii.adapter.xi.ms.SLDReader.run(SLDReader.java:182)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:152)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
    Caused by: java.lang.NumberFormatException: For input string: ""
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
         at java.lang.Integer.parseInt(Integer.java:468)
         at java.lang.Integer.<init>(Integer.java:620)
         at com.sap.aii.utilxi.sld.SldUtil.constructHttpsUrl(SldUtil.java:328)
         ... 14 more

  • XI cache refresh error 'HTTP status code503 Service Unavailable'

    We are running XI 3.0, SP 9
    XI cache refresh stopped working today (red traffic light). Tried a Delta refresh. Got a program dump with error 'Access with ‘ZERO’ object reference not possible'.
    Activated all objects in Change lists of Repository, directory. Tried Delta refresh again. Same error again.
    Re-started XI server.Now XI cache has error
    'Unable to refresh cache contents'.
    Detail says 'HTTP status code503 Service Unavailable'.
    Tested RFC connection of INTEGRATION_DIRECTORY_HMI and other XI related destinations. Everything works fine.
    Please let me know if anyone faced this before and what is the solution..
    Thanks
    Partha

    Ok, well this note i am note able to handle because of missing poissibity to use the Visual Admin.
    Another thing that came up: i still have probs with queues! Sometimes (today, and only today) a message runs through XI, so everything is fine.
    Because of this i tried to deregister and register the queues once again - but the scheduler status is still on "inactive"....
    what is the prob?!

  • CACHE REFRESH ERROR (SXI_CACHE)

    Dear Gurus,
    I am trying to execute SXI_CACHE tcode on ABAP system i getting some error.
    I have maintained the INTEGRATION_DIRECTORY_HMI RFC (H) & User : PIDIRUSER and given the required authorizations:
    Kindly find the screen shots kindly help us.

    Dear Sriram,
    pl check.
    18.09.2014 Exchange Infrastructure: Test LCR Connection 1
    Communication mode: HTTP only (WBEM client)
    SLD destination settings:
      Alias: SLD_CONFIG
      Host name: solman157
      Port number: 51200
      User: SLDDSUSER
    Use transaction SLDAPICUST if you wish to maintain the SLD server access data
    Launching the SLD GUI in a separate browser window...
    => Verify in the browser GUI that the SLD is in a healthy running state!
    Calling function LCR_LIST_BUSINESS_SYSTEMS
    Retrieving data from the SLD server...
    Function call terminated sucessfully
    List of business systems maintained in the SLD:
      SOLMAN_EDM
      ECC_EDT
      ECC_EDS
      PI_EDP
      SOLMAN_JAVA_EDM
    Calling function LCR_GET_OWN_BUSINESS_SYSTEM
    Retrieving data from the SLD server...
    Function call terminated sucessfully
    Properties of own business system associated to system EDP      client 001
      id = PI_EDP
      role = HUB
    Calling function LCR_GET_BS_DETAILS
    Retrieving data from the SLD server...
    Function call terminated sucessfully
    Details of own business system PI_EDP
      caption = PI_EDP
      product = SAP NETWEAVER
    IS-URL  = http://solman157:50000/sap/xi/engine?type=entry
    Summary: Connection to SLD works correctly
    Now checking access to the XI Profile
    Properties of RFC destination LCRSAPRFC
      RFC host:
    %%RFCSERVER%%
      program id:      LCRSAPRFC_EDP
      gateway host:
    192.168.168.157
      gateway service: sapgw00
    Testing the RFC connection to the SLD java client...
    RFC ping was successful
    Calling function EXCHANGE_PROFILE_GET_PARAMETER
    Retrieving data from the XI Profile...
    Function call terminated sucessfully
    Retrieved value of
    section   = Connections
    parameter = com.sap.aii.ib.server.connect.webas.r3.ashost
    -> value =
    Summary: Connection to the XI Profile works correctly

  • Testing Cache Refresh

    I'm having a problem when creating a test business service with which to test the cache refresh (INTEGRATION_DIRECTORY_HMI).  After creating the business service "test", I activate the change list and I get the following error.
    Unexpected error during message processing: javax.transaction.HeuristicMixedException: com.sap.engine.services.ts.exceptions.BaseHeuristicMixedException: One or more XAResources were not commited because of Exception in the second commit phase. at com.sap.engine.services.ts.jta.impl.TransactionImpl.commit(TransactionImpl.java:432) at com.sap.engine.services.ts.jta.impl.TransactionManagerImpl.commit(TransactionManagerImpl.java:319) at com.sap.engine.services.ts.jta.impl.UserTransaction.commit(UserTransaction.java:79) at com.sap.aii.ib.server.notification.AbstractMessageReceiver.commitMsgProcessingTx(AbstractMessageReceiver.java:223) at com.sap.aii.ib.server.notification.AbstractMessageReceiver.onMessage(AbstractMessageReceiver.java:138) at com.sap.jms.client.session.Session.run(Session.java:715) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Caused by: javax.transaction.xa.XAException: XA operation cannot be completed successfully. at com.sap.jms.client.xa.XAResource.commit(XAResource.java:47) at com.sap.engine.services.jmsconnector.spi.ManagedSession$XAManagedResource.commit(ManagedSession.java:322) at com.sap.engine.services.ts.jta.impl.ResourceList.commitTwoPhase(ResourceList.java:107) at com.sap.engine.services.ts.jta.impl.TransactionImpl.commit(TransactionImpl.java:360) ... 9 more
    Anyone know whats causing this?
    Points will be awarded.
    Thanks.

    hi,
    see the below links
    /people/sravya.talanki2/blog/2005/12/02/sxicache--ripped-off - SXI_CACHE - Ripped Off
    Cache Contents Are Obsolete
    >>>>
    XI Runtime cache error: Cache contents are obsolete
    Cache Refresh - SAI_CACHE_REFRESH
    /people/sravya.talanki2/blog/2005/11/03/cache-refresh-errors--new-phenomena
    Regards
    chilla..

  • Error in INTEGRATION_DIRECTORY_HMI and CACHE REFRESH

    Hi guys, well after checking the forum and several blogs i can't get rid of my problem!
    I have a problem concerning INTEGRATION_DIRECTORY_HMI and CACHE REFRESH.
    i wanted to get a file from a FTP-Server via CC and i got error:
      <SAP:AdditionalText>Error when reading HTTP destination: INTEGRATION_DIRECTORY_HMI.</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error while refreshing the XI runtime cache</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
    Because of this i tried to update my cache (SXI_CACHE). When i do a Delta Cache Refresh i get:
    Prefix Number: entry missing for system SSID client 100.
    When i do a complete Cache Refresh nothing happens at all. I also checked the cache notification in IB - Integration Directory where i fin dout that only the Integration Server (ABAP Cache) won't refresh. Well status is started but nothing else is happening.
    Then i checked the RFC INTEGRATION_DIRECTORY_HMI, did a connection test where i get an Internal Server error.
    Let me tell u that the systems runs very well in the last days but now i have no clue what might be wrong.
    Can somebody please advice me? I already read all blogs concerning this and also did a complete system-restart....
    br Jens

    when you check INTEGRATION_DIRECTORY_HMI with SM59 it is normal to get
    HTTP Response 500 - Internal Server Error. In this case it meens everything OK
    see the rediness check, that is attached to SAP note 817920
    when you start the complete cache refresh, you can see
    the function module SAI_CACHE3_REFRESH_BACKGROUND in SM58. As long as you can see this entry, the cache
    refresh is ongoing. If the refresh takes too long and runs on an error, try to specify another timeout in INTEGRATION_DIRECTORY_HMI or in the ICM
    Best Regards
    Alexander
    Message was edited by:
            Alexander Wrobel
    Message was edited by:
            Alexander Wrobel
    Message was edited by:
            Alexander Wrobel

  • Problems in SLD and Cache refresh (SXI_CACHE).

    Dear Experts,
    I am facing SLD and Cache refresh problems in PI 7.0 on HP-UX.
    1) SXI_CACHE : Last Error During Cache refresh is showing LCR_GET_OWN_BUSINESS_SYSTEM - NO_BUSINESS_SYSTEM error. And also Start Delta Cache Refresh / Start Complete Cache refresh are in deactive mode (Frozen).
    2) SLDCHECK : Log says No Business System for ABC Client 100 ".
    where ABC=SID. Business System INTEGRATION_SERVER_ABC is declared in SLD and client 100 is assigned.
    My question is : Is this a BASIS or DEVELOPER issue? Also please let me know if you have any solutions for the above mentioned issue. Thanks in Advance.
    SLDCHECK Log Snippet:
    SLD server access settings:
    host name: ABCXIDEV
    port number: 50000
    user : PIAPPLUSER
    Use transaction SLDAPICUST if you wish to maintain the SLD server access data
    Launching the SLD GUI in a separate browser window...
    => Verify in the browser GUI that the SLD is in a healthy running state!
    Calling function LCR_LIST_BUSINESS_SYSTEMS
    Retrieving data from the SLD server...
    Function call terminated sucessfully
    List of business systems maintained in the SLD:
    INTEGRATION_SERVER_ABC
    ERP_DEV_100
    Calling function LCR_GET_OWN_BUSINESS_SYSTEM
    Retrieving data from the SLD server...
    No corresponding business system found for system ABC client 100
    => Check and maintain the SLD content for the current client

    Hello,
    Since this is an PI system, your XI consultant must have created/will need to create business systems in SLD for the scenario to work properly. This error is because it cannot find the business system.
    You cannot point out the fingers on Basis or XI and say that it is THEIR issue. Please consult with the consultant who is doing the XI interface and check if the business systems he require are properly created in SLD. If not, create them or ask them to create it (if they are allowed to..).
    From the error, what i can see is that you have defined an integration server INTEGRATION_SERVER_ABC in SLD . the XI interface is checking the required business system in the integration server INTEGRATION_SERVER_ABC in SLD but cannot find it over there. Please check the integration server INTEGRATION_SERVER_ABC in SLD and talk to the XI consultant and you will be able to fix this with their help.
    Hope this helps you..
    Regards,
    Jazz

  • Error during Cache Refresh in 2004s after installation

    Hi All,
    we are getting the following error when we did the Cache Refresh after completing the installation and configuration of 2004s PI usgae type.
    <b>
    Error data from ID:</b>Unable to determine the name of the central Adapter Engine from the System Landscape Directory at this time.
    Notifications to the central Adapter Engine are therefore listed using the technical name of the Adapter Engine.
    This is usually structured as follows:
    af.<SAP System ID>.<Name of application server>
    <b>Error info in SXI_CACHE:</b>
    HTTP Status code 401 unauthorized.
    <b>Error data from RWB:</b>
    Cache notification from Integration Directory failedError when accessing the System Landscape Directory
    ---Detailed Error Message
    Unable to find an associated SLD element (source element: SAP_XIIntegrationServer, [CreationClassName, SAP_XIIntegrationServer, string, Name, is.01.ltiib00812, string
    would be great if somebody could help us.
    Thanks in advance.
    RGds,
    Vasanth.

    Hi
    Check this Blog by Krishna Moorthy for all HTTP erros
    /people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
    Also check the blog by Michal
    /people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
    Thanks,
    Prakash

  • Delta cache Refresh shows error

    Hi,
    In SXI_CACHE
    I did Delta cache Refresh
    In XI RunTime Cache Status shows :
    1. cache contants are up-to-date (Green light)
    2. Error during last attempt to refresh cache(red error)
    Adapter Engine Connect Data Cache shows the following error
    04D3344F63C6074CBB50E4E910CDB54A
    AE Name: af.sxi.eccserver
    Adapter Engine URL: http://eccserver:50100/MessagingSystem/receive/AFW/XI
    USER: XIISUSER
    whats meant by this error ? How to rectify this ?
    Thanks,
    srinivas
    Message was edited by:
            srinivas

    Is you adapter engine...centalized or decentralized   and is it a new installation or was it working before....
       If its centralized check the communication channels...If its decentralized you need to select the appropriate name in the drop down list for adapter engine option else you need select it as Integration server.
      Also check whether you specified the exact adapter engine  and XIAFUSER in exchange profile(Adapter framework node)...also check whether the users XIAFUSER and XIISUSER exists and are not locked......
    Hope this helps...
    Regards,
    Ravi

  • CACHE refresh -- runtime Error

    Hi
    When I am going to refresh cache using T code -  SXI_CACHE  status of runtime it gives an error.
         Unable to refresh cache contents
         Error during last attempt to refresh cache
    INTERNAL ERROR --> HTTP response does not contain a valid XML log.
    how to resolve the problem...
    regards
    Chandana
    Edited by: wijetunga on Mar 8, 2012 7:08 AM

    Dear Pogul
      in RFC Destination
    in technical setting
    Target Host: erppi1
    Path Prefix :/dir/start/index.jsp
    response header:-
    ~response_line     HTTP/1.1 200 OK
    ~server_protocol     HTTP/1.1
    ~status_code     200
    ~status_reason     OK
    connection     close
    server     SAP NetWeaver Application Server 7.10 / AS Java 7.10
    content-type     text/html;charset=ISO-8859-1
    content-encoding     gzip
    date     Thu, 08 Mar 2012 07:11:40 GMT
    ~remote_addr     
    ~uri_scheme_expanded     NONE
    Test-result:-
    Status HTTP Response     200
    Status Text     OK
    Duration Test Call     8 ms
    Response text:
    HTTP/1.1 200 OK
    Content-Type: text/html;charset=ISO-8859-1
    Content-Length: 10584
    connection: close
    server: SAP NetWeaver Application Server 7.10 / AS Java 7.10
    content-encoding: gzip
    date: Thu, 08 Mar 2012 07:11:40 GMT
    regards
    chandana
    Edited by: wijetunga on Mar 8, 2012 8:07 AM
    Edited by: wijetunga on Mar 8, 2012 8:16 AM

Maybe you are looking for