cancel
Showing results for 
Search instead for 
Did you mean: 

Cache is not getting updated from the Integration Directory.

uday_nalla
Explorer
0 Kudos

Hi All,

I am receiving the following cache error in the ID -


>>> Environment --->>> cache notifications -


>>> repeat cache update instance while I make any changes in the repository and directory.

Unable to establish http connection "http://<xxxx>:80xx/sap/xi/cache?sap-client=001".

Unable to establish http connection "http://<xxxx>:80xx/sap/xi/cache?sap-client=001" (MSG_HTTP_FAILED)

MESSAGE ID: com.sap.aii.ib.server.abapcache.rb.rb_CheckMessages.MSG_HTTP_FAILED STACKTRACE:

com.sap.aii.utilxi.misc.api.ResourceException: Unable to establish http connection "http://mg-xiprd_new:8000/sap/xi/cache?sap-client=001"

at com.sap.aii.ibdir.sbeans.misc.DirSpecMiscServicesBean.invalidateCache(DirSpecMiscServicesBean.java:280)

at com.sap.aii.ibdir.sbeans.misc.DirSpecMiscServicesRemoteObjectImpl0.invalidateCache(DirSpecMiscServicesRemoteObjectImpl0.java:301)

at com.sap.aii.ibdir.sbeans.misc.DirSpecMiscServicesRemoteObjectImpl0p4_Skel.dispatch(DirSpecMiscServicesRemoteObjectImpl0p4_Skel.java:427)

at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)

at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)

at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)

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(AccessController.java:219)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

Unable to establish http connection "http://mg-xiprd_new:8000/sap/xi/cache?sap-client=001" (MSG_HTTP_FAILED)

MESSAGE ID: com.sap.aii.ib.server.abapcache.rb.rb_CheckMessages.MSG_HTTP_FAILED

STACKTRACE:

com.sap.aii.ib.server.abapcache.CacheRefreshException: Unable to establish http connection "http://mg-xiprd_new:8000/sap/xi/cache?sap-client=001"

at com.sap.aii.ib.server.abapcache.CacheRefreshException.getBabelInstance(CacheRefreshException.java:26)

at com.sap.aii.ibdir.server.abapcache.events.HTTP_CacheInvalidator.execute(HTTP_CacheInvalidator.java:77)

at com.sap.aii.ibdir.server.abapcache.events.ChangeListNotification.invalidateCache(ChangeListNotification.java:420)

at com.sap.aii.ibdir.sbeans.misc.DirSpecMiscServicesBean.invalidateCache(DirSpecMiscServicesBean.java:279)

at com.sap.aii.ibdir.sbeans.misc.DirSpecMiscServicesRemoteObjectImpl0.invalidateCache(DirSpecMiscServicesRemoteObjectImpl0.java:301)

at com.sap.aii.ibdir.sbeans.misc.DirSpecMiscServicesRemoteObjectImpl0p4_Skel.dispatch(DirSpecMiscServicesRemoteObjectImpl0p4_Skel.java:427)

at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)

at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)

at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)

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(AccessController.java:219)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

Not a valid URL: Unexpected character found ['_' at

position 15]

STACKTRACE:

java.net.MalformedURLException: Not a valid URL: Unexpected character found ['_' at position 15]

at com.tssap.dtr.client.lib.protocol.impl.URLScanner.next_token(URLScanner.java:587)

at com.tssap.dtr.client.lib.protocol.URL.parse(URL.java:518)

at com.tssap.dtr.client.lib.protocol.URL.<init>(URL.java:63)

at com.tssap.dtr.client.lib.protocol.Connection.parseURL(Connection.java:2704)

at com.tssap.dtr.client.lib.protocol.Connection.<init>(Connection.java:216)

at com.sap.aii.utilxi.hmi.api.SapHttpClientUtil.createConnection(SapHttpClientUtil.java:75)

at com.sap.aii.ibdir.server.abapcache.events.HTTP_CacheInvalidator.execute(HTTP_CacheInvalidator.java:56)

at com.sap.aii.ibdir.server.abapcache.events.ChangeListNotification.invalidateCache(ChangeListNotification.java:420)

at com.sap.aii.ibdir.sbeans.misc.DirSpecMiscServicesBean.invalidateCache(DirSpecMiscServicesBean.java:279)

at com.sap.aii.ibdir.sbeans.misc.DirSpecMiscServicesRemoteObjectImpl0.invalidateCache(DirSpecMiscServicesRemoteObjectImpl0.java:301)

at com.sap.aii.ibdir.sbeans.misc.DirSpecMiscServicesRemoteObjectImpl0p4_Skel.dispatch(DirSpecMiscServicesRemoteObjectImpl0p4_Skel.java:427)

at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)

at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)

at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)

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(AccessController.java:219)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

Edited by: udaynalla on Aug 2, 2011 8:18 AM

Edited by: udaynalla on Aug 2, 2011 8:22 AM

Accepted Solutions (1)

Accepted Solutions (1)

naveen_chichili
Active Contributor
0 Kudos

Hi Uday,

Check cache connectivity test in RWB also cache in SXI_CACHE.

Regards,

Naveen

Answers (2)

Answers (2)

former_member194786
Active Contributor
0 Kudos

Hi Uday,

Can you please check if the HTTP destination INTEGRATION_DIRECTORY_HMI is working fine in SM59?

Regards,

Sanjeev.

uday_nalla
Explorer
0 Kudos

Hi Sanjeev,

While checking the INTEGRATION_DIRECTORY_HMI in SM59, It is showing HTTP response code as 500. I dont think we have a problem here.

Former Member
0 Kudos

Please check if the PI system users are not locked and they have all the required authorization.

Aldo check the roles of the user used in INTEGRATION_DIRECTORY_HMI.

are you not getting a message along with the red status while doing cache connectivity test?

Edited by: Sreehari Nambiar on Aug 2, 2011 10:58 AM

Edited by: Sreehari Nambiar on Aug 2, 2011 10:59 AM

aashish_sinha
Active Contributor
0 Kudos

Hi,

You can check cache connectivity in RWB for all the components.

Go to RWB->Component Monitoring -> Display and then click on Cache Connectivity Test. Next page will show you all components and it should be green. If not test connectivity from here. If failed, contact your basis team to set it up.

Regards

Aashish Sinha

uday_nalla
Explorer
0 Kudos

Hi Aashish,

I am the only person who is handling XI activities. May I know how to solve this issue. I am getting it as red during the cache connectivity test in the RWB.

Edited by: udaynalla on Aug 2, 2011 8:54 AM

aashish_sinha
Active Contributor
0 Kudos

Hi ,

Have a look into below discussion, this will help you to close this issue.

Regards

Aashish Sinha

Edited by: Aashish Sinha on Aug 2, 2011 9:48 AM

Former Member
0 Kudos

Hi,

Please check "PI Readiness Check" and "Admin Check" guides available on SMP and follow the steps mentioned there.

Thanks.

uday_nalla
Explorer
0 Kudos

Hi Aashish,

Thank you very much for your information. I will ask our Basis guys to check this. Once it is fixed, I will close this thread.