on 07-18-2013 6:23 PM
Ok, I've been able to get the SCA files to import and configured the roles for IDM but when I try to go to http://localhost:50000/idmui5 I get:
Cannot process an HTTP request to servlet [default] in [idmui5] web application.
[EXCEPTION]
com.sap.engine.services.servlets_jsp.server.exceptions.WebServletException: Cannot load filter [null]. Error is: [java.lang.ClassNotFoundException: com.sap.ui5.resource.CacheControlFilter
------------------------- Loader Info -------------------------
ClassLoader name: [sap.com/tc~idm~ui5~ear]
Loader hash code: 3583246e
Living status: alive
Direct parent loaders:
[system:Frame]
[interface:webservices]
[interface:cross]
[interface:security]
[interface:transactionext]
[library:webservices_lib]
[library:opensql]
[library:jms]
[library:ejb20]
[service:p4]
[service:ejb]
[service:servlet_jsp]
[sap.com/tc~idm~rest~ear]
Resources:
C:\usr\sap\ZZZ\J00\j2ee\cluster\apps\sap.com\tc~idm~ui5~ear\servlet_jsp\idmui5\root\WEB-INF\classes
---------------------------------------------------------------]
at com.sap.engine.services.servlets_jsp.server.application.WebComponents.reinstantiateFilter(WebComponents.java:1270)
at com.sap.engine.services.servlets_jsp.server.application.WebComponents.getFilter(WebComponents.java:1204)
at com.sap.engine.services.servlets_jsp.server.application.ApplicationContext.instantiateFilterChain(ApplicationContext.java:1159)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:412)
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:276)
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)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
Caused by: java.lang.ClassNotFoundException: com.sap.ui5.resource.CacheControlFilter
------------------------- Loader Info -------------------------
ClassLoader name: [sap.com/tc~idm~ui5~ear]
Loader hash code: 3583246e
Living status: alive
Direct parent loaders:
[system:Frame]
[interface:webservices]
[interface:cross]
[interface:security]
[interface:transactionext]
[library:webservices_lib]
[library:opensql]
[library:jms]
[library:ejb20]
[service:p4]
[service:ejb]
[service:servlet_jsp]
[sap.com/tc~idm~rest~ear]
Resources:
C:\usr\sap\ZZZ\J00\j2ee\cluster\apps\sap.com\tc~idm~ui5~ear\servlet_jsp\idmui5\root\WEB-INF\classes
---------------------------------------------------------------
at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:278)
at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:247)
at com.sap.engine.services.servlets_jsp.server.application.WebComponents.getResourceClass(WebComponents.java:1902)
at com.sap.engine.services.servlets_jsp.server.application.WebComponents.reinstantiateFilter(WebComponents.java:1263)
... 39 more
The only thing I can think of is that my idm.authenticated role has both rest and non rest actions defined:
J2EE tc~idm~jmx~app $SAP_J2EE_Engine_Upload
J2EE tc~idm~jmx~rest~app $SAP_J2EE_Engine_Upload
UME tc~idm~jmx~ump idm_authenticated
J2EE tc~idm~rest~ear idm_authenticated_restapi
J2EE tc~idm~rest~ear $SAP_J2EE_Engine_Upload
J2EE tc~idm~rest~ear all
J2EE tc~idm~ui5~ear idm_authenticated_ui5
J2EE tc~idm~ui5~ear $SAP_J2EE_Engine_Upload
J2EE tc~idm~ui5~ear all
J2EE tc~idm~uwl $SAP_J2EE_Engine_Upload
Any thoughts?
Hi Matt - I know your pretty thourough but just to rule out does your test system meet the prerequisites as detailed at
http://help.sap.com/saphelp_nwidmic72/helpdata/en/6e/
8de34cb780494c9ac4a8178274589e/content.htm?frameset=/en/f2/
14244e0fe24ba3a230f2613c477999/frameset.htm
Rest Interface 2.0 is also required.
Cheers,
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Matt,
Got a similar issue but with idmrest not with idmui what you had earlier. Am on NW731 SP08.
OData is already patched to the latest SP08P1, the idm.user role is already assigned.
We don't use logon tickets, so Basic auth should be fine. The log says: Login OK.
The URI /idmui5 is accessible but returning empty No error message on the index page, whatsoever.
In the log the app sap.com/tc~idm~rest~ear keeps throwing the error:
Cannot process an HTTP request to servlet [OData] in [idmrestapi] web application.
Did you also experience this? what would be the solution?
Cheers, Feri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Matt,
It's all ma mistake
I know it's prereq but I didn't install the IDM UI SP08. Funnily, that delivers kinda model(?!) update to IdM that resolves the problem with the RestAPI v2.
You install the MC SP08 only for having and importing the UI html5.mcc file.
If you know what and how to do then you can update the config file
\usr\sap\C14\J00\j2ee\cluster\apps\sap.com\tc~idm~ui5~ear\servlet_jsp\idmui5\root\com\sap\idm\ui5\cfg\ODataUrlCfg.js which hardcodes the links to the (display) tasks of the "standard" /idmui5 that uses the above imported ui5 html tasks.
But usually, you want to develop your own (layout), with your own tasks.
Cheers, Feri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Matt,
Yeah, it was a bit of a bear.
You'll need to work with Dennis and the BASIS team to make sure that all UI5, REST, ODATA and HTML components are at the correct service pack level based on the version of NetWeaver you have. Did a lot of iterative work on this with a friend of mine who is more of a BASIS person than me.
If all of that is up to snuff, I think there was one bit of tweaking I needed to do. If you need it, call me and I'll help you through it. (No strings attached! )
Hope it helps!
Matt
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.