on 03-04-2011 7:43 AM
Hi All;
I get an error when I try do a full cache refresh. I've read all the posts have been solved before in sdn for the same issue as same mine but stil there's no help.
I've checked the sm59 RFC connection test for INTEGRATION_DIECTORY_HMI configuration.
I've checked the all services about cache in SICF tcode and all off them is active.
I've started Delta Cache Refreshn in SXI_CHACHE
Any ideas how to resolve the issue?
It can be beacuse of the roles of PIDIRUSER?
The issue is;
CacheRefresh>
<Info>CPA cache refresh (mode=full) executed in 33 milliseconds.</Info>
- <Confirmation>
- <CacheRefreshError>
<EngineType>AE</EngineType>
<EngineName>af.mpi.sapsrv2</EngineName>
<RefreshMode>F</RefreshMode>
- <GlobalError>
<Message>CPA Cache not updated with directory data.</Message>
<Trace>com.sap.aii.af.service.cpa.impl.exception.CPADirectoryCacheException: Could not open Directory URL (http://sapsrv2:50400/dir/hmi_cache_refresh_service/ext?method=CacheRefresh&mode=F&consumer=af.mpi.sapsrv2). Reason: com.sap.aii.af.service.cpa.impl.exception.CPADirectoryCacheException: HTTP 401: Unauthorized at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getDataFromDirectory(DirectoryAccess.java:304) at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getFullCacheUpdateXML(DirectoryAccess.java:427) at com.sap.aii.af.service.cpa.impl.cache.CacheManager.performCacheUpdate(CacheManager.java:454) at com.sap.aii.af.service.cpa.impl.servlet.CacheRefresh.process(CacheRefresh.java:116) at com.sap.aii.af.service.cpa.impl.servlet.CacheRefresh.doGet(CacheRefresh.java:59) at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:162) at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:81) at com.sap.engine.services.servlets_jsp.server.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:124) at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:73) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:468) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:298) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:399) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:388) at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:48) at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78) at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:84) at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78) at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:244) at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78) at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:78) 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
thanx a lot
SEYDA
First, the problem is with CPACache and not SXI_CACHE.
Second, role of PIDIRUSER is OK. But are you using this user to perform CPACache refresh. Important point is that the user you use while performing CPACache refresh should have same authorization as the user PIDIRUSER have. If you are not the one assigning roles, contact your basis team and they should understand what I wrote.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prateek;
I'm the one who can also assign roles to users and i use PIDIRUSER to call CPACache refresh.
But my problem is;
when i want to go the link below,i got error message,
http://sapsrv2:50400/CPACache/refresh?mode=full
could you please check and see the the html page i got?
What can be the problem?
<?xml version="1.0" encoding="UTF-8" ?>
- <CacheRefresh>
<Info>CPA cache refresh (mode=full) executed in 29 milliseconds.</Info>
- <Confirmation>
- <CacheRefreshError>
<EngineType>AE</EngineType>
<EngineName>af.mpi.sapsrv2</EngineName>
<RefreshMode>F</RefreshMode>
- <GlobalError>
<Message>CPA Cache not updated with directory data.</Message>
<Trace>com.sap.aii.af.service.cpa.impl.exception.CPADirectoryCacheException: Could not open Directory URL (http://sapsrv2:50400/dir/hmi_cache_refresh_service/ext?method=CacheRefresh&mode=F&consumer=af.mpi.sapsrv2). Reason: com.sap.aii.af.service.cpa.impl.exception.CPADirectoryCacheException: HTTP 401: Unauthorized at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getDataFromDirectory(DirectoryAccess.java:304) at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getFullCacheUpdateXML(DirectoryAccess.java:427) at com.sap.aii.af.service.cpa.impl.cache.CacheManager.performCacheUpdate(CacheManager.java:454) at com.sap.aii.af.service.cpa.impl.servlet.CacheRefresh.process(CacheRefresh.java:116) at com.sap.aii.af.service.cpa.impl.servlet.CacheRefresh.doGet(CacheRefresh.java:59) at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:140) at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:37) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:493) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:298) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:399) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:388) at
Additionaly;
when i look at the error logs i see the message below.
Message: LOGIN.FAILED
User: N/A
IP Address: 192.168.18.102
Authentication Stack: sap.com/com.sap.xi.directory*dir
Login Module Flag Initialize Login Commit Abort Details
1. com.sap.security.core.server.jaas.EvaluateTicketLoginModule SUFFICIENT ok false true
2. com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule REQUISITE ok exception true Authentication did not succeed.
Date: 2011-03-07
Time: 09:13:07:558
Category: /System/Security/Authentication
Location: com.sap.engine.services.security.authentication.logincontext.table
Application: sap.com/com.sap.xi.directory
Thread: Thread[HTTP Worker [@1646011178],5,Dedicated_Application_Thread]
Data Source: j2ee\cluster\server0\log\system\security_00.log
Arguments:
DSR Transaction: 1ab8a3f6488811e0b8c40000029afefa
Message Code:
Session: 0
Transaction:
User: J2EE_GUEST
Time Zone: +0200
CSN Component: BC-JAS-SEC
DC Component: security
Correlation ID: 43712250000000004
DSR Root Context ID: 1AB8A3F6488811E0B8C40000029AFEFA
DSR Connection: 1ab8a3f6488811e0b8c40000029afefa
DSR Counter: 0
Log ID: 00155D12970400F70000000000000DF0
Host: SAPSRV2
System: MPI
Instance: DVEBMGS04
Hi;
Is there anyone can help me please ??
I try to execute runtime workbench >> cache monitoring >>show cache status table and i got the error log in Central Adapter Engine tab.Cache status light is red and says inconsistent.
<?xml version="1.0" encoding="ISO-8859-1"?>
<ConfirmationXML>
<CacheRefreshError>
<EngineType>
AE
</EngineType>
<EngineName>
af.mpi.sapsrv2
</EngineName>
<RefreshMode>
F
</RefreshMode>
<GlobalError>
<Message>
CPA Cache not updated with directory data.
</Message>
<Trace>
com.sap.aii.af.service.cpa.impl.exception.CPADirectoryCacheException: Could not open Directory URL (http://sapsrv2:50400/dir/hmi_cache_refresh_service/ext?method=CacheRefresh&mode=F&consumer=af.mpi.sapsrv2). Reason: com.sap.aii.af.service.cpa.impl.exception.CPADirectoryCacheException: HTTP 503: Service Unavailable
at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getDataFromDirectory(DirectoryAccess.java:304)
at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getFullCacheUpdateXML(DirectoryAccess.java:427)
at com.sap.aii.af.service.cpa.impl.cache.CacheManager.performCacheUpdate(CacheManager.java:454)
at com.sap.aii.af.service.cpa.impl.cache.CacheManager$CacheUpdateRunnable.run(CacheManager.java:291)
at com.sap.engine.frame.core.thread.Task.run(Task.java:73)
at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:175)
at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:274)
Caused by: com.sap.aii.af.service.cpa.impl.exception.CPADirectoryCacheException: HTTP 503: Service Unavailable
at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryAccess.getDataFromDirectory(DirectoryAccess.java:295)
... 6 more
</Trace>
</GlobalError>
<GlobalError>
<Message>
Confirmation handling failed.
</Message>
<Trace>
Thank you so much
Bilge
Hi,
Please check these role for the user PIDIRUSER.
---> SAP_XI_APPL_SERV_USER
And also check these roles for the user PIRWBUSER
-
> SAP_XI_RWB_SERV_USER
-
> SAP_XI_RWB_SERV_USER_MAIN
Hope this help.
Regards,
P.Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi;
I've already read this thread before i post my message.
I read but I did not understand which roles they mentioned?
My PIDIRUSER in 001 client have the roles below. Is there someting missing with PIDIRUSER's authorizations?
SAP_BC_WEBSERVICE_PI_CFG_SRV
SAP_SLD_CONFIGURATOR
SAP_XI_ADMINISTRATOR_J2EE
SAP_XI_CONFIGURATOR_J2EE
SAP_XI_DISPLAY_USER_J2EE
SAP_XI_ID_SERV_USER
SAP_XI_ID_SERV_USER_MAIN
SAP_XI_MONITOR_J2EE
If the issue is not releated with the roles what can it be?
Thank you so much..
Hi again;
I've realised that I've done a mistake when testing INTEGRATION_DIECTORY_HMI RFC connection in SM59.
When i test connection I get this error message;
DETAIL VALUE
Status HTTP Response: 500
Status Text: Internal Server Error
Duration Test Call: 85 ms
When i look at the RESPONSE HEADER FIELD;
NAME VALUE
~response_line HTTP/1.1 500 Internal Server Error
~server_protocol HTTP/1.1
~status_code 500
~status_reason Internal Server Error
connection close
server SAP NetWeaver Application Server 7.11 / AS Java 7.11
date Fri, 04 Mar 2011 08:11:14 GMT
content-type text/html;charset=ISO-8859-1
pragma no-cache
content-encoding gzip
set-cookie saplb_*=(SAPSRV2_MPI_04)43712250; Version=1; Path=/
set-cookie JSESSIONID=09jZmScR0Av3GBaoDa413oCjqet_LgH6_poC_SAPrKUN9NlcY5NZU3SV2o-fTdTI; Version=1; Path=/
set-cookie JSESSIONMARKID=oCTF_QDYoWbmz1gnQYUcN_jQIhcLTkxxrrv_r-mgI; Version=1; Path=/
~remote_addr
~uri_scheme_expanded NONE
~uri_scheme_expanded NONE
WHEN i look at the RESPONSE BODY;
~500 Internal Server Error
SAP NetWeaver Application Server 7.11 / AS Java 7.11
Error: "Application error occurred during the request processing."
Troubleshooting Guide https://sdn.sap.com/irj/sdn/wiki?path=/display/jsts/home
Details: "The WebApplicationException log ID is [00155D129704003B0000000D000020F8]."
Hi Bilge,
First, the 500 Internal Server Error as response for INTEGRATION_DIECTORY_HMI is totally correct!
That's the response we should receive.
Concerning the error with Cache Refresh...
Ensure you have maintained the correct password, which MUST be the same, for all the service users on PI. You may check all the places it should be maintained, such as Exchange Profile, SU01, SLDAPICUST, etc..
Please kindly check the note below:
#999962 - PI 7.10: Change passwords of PI service users
And ensure that the user has the correct role as per link below:
http://help.sap.com/saphelp_nwpi71/helpdata/en/9f/d12940cbf2195de10000000a1550b0/frameset.htm
You may check note #764176 for inconsistences on SLD. It may be related to your cache issue as well.
Regards,
Caio Cagnani
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.