cancel
Showing results for 
Search instead for 
Did you mean: 

com.sap.engine.boot.loader.ResourceMultiParentClassLoader in EP 7.4

honam_yu
Explorer
0 Kudos
912

Hi Experts,

We upgrade EP Server from 7.0 to 7.4. So We have shifted to a new server project(without any change).


JAVA Source


IJCOClientService clientService = ( IJCOClientService) PortalRuntime.getRuntimeResources().getService(IJCOClientSErvice.KEY);


full trace:----


java.lang.ClassCastException: class com.sapportals.portal.prt.service.jco.JCOClientService:WCE_PRIVATE_CL_sap.com/com.sap.portal.runtime.application.jcoclient@com.sap.engine.boot.loader.ResourceMultiParentClassLoader@7447e409@alive incompatible with interface com.sapportals.portal.prt.service.jco.IJCOClientService:sap.com/com.skp.portal.navigation.common@com.sap.engine.boot.loader.ResourceMultiParentClassLoader@43feb8db@alive

  at com.skp.portal.navigation.common.util.SAPConn.getClientPoolEntry(SAPConn.java:42)

  at com.skp.portal.navigation.common.PasswordCheckComponent.getPWDValidation(PasswordCheckComponent.java:92)

  at com.skp.portal.navigation.common.PasswordCheckComponent.doGetData(PasswordCheckComponent.java:36)

  at com.skp.portal.navigation.common.PasswordCheckComponent.doContent(PasswordCheckComponent.java:23)

  at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:213)

  at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:129)

  at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher$5.service(RequestDispatcherFactory.java:308)

  at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:270)

  at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher.service(RequestDispatcherFactory.java:298)

  at com.sap.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:229)

  at com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:107)

  at com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:141)

  at com.sap.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:206)

  at com.sap.portal.prt.pom.PortalNode.service(PortalNode.java:588)

  at com.sap.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:233)

  at com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:107)

  at com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:141)

  at com.sap.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:520)

  at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:202)

  at com.sap.portal.prt.dispatcher.DispatcherServlet.service(DispatcherServlet.java:132)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

  at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)

  at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)

  at com.sap.portal.http.EnrichNavRequestFilter.doFilter(EnrichNavRequestFilter.java:49)

  at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)

  at com.sap.portal.prt.dispatcher.CustomHeaderFilter.doFilter(CustomHeaderFilter.java:58)

  at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)

  at com.sap.portal.http.EnrichNavRequestFilter.doFilter(EnrichNavRequestFilter.java:49)

  at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)

  at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:432)

  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:278)

  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)

-


I tried to debugged, but I cann't find any problem.

Additional Information:

SAP NetWeaver Developer Studio

SAP NetWeaver 7.4 SP05

VM-Name: SAP Java Server VM

Regards,


Honam

Accepted Solutions (0)

Answers (1)

Answers (1)

saar_dagan
Advisor
Advisor
0 Kudos

Hi Honam,

Could it be a lower case issue?

IJCOClientService clientService = ( IJCOClientService) PortalRuntime.getRuntimeResources().getService(IJCOClientSErvice.KEY);

IJCOClientSErvice.KEY should be IJCOClientService.KEY

or

IJCOClientService should be IJCOClientSErvice

BR,

Saar

honam_yu
Explorer
0 Kudos

Hi Saar

Thank you your reply.

It was a just mistake when I post question.

If it was coded as above, I think warning nwds or compile error's occurred.

Regards,

Honam

siddharth_jain
Active Contributor
0 Kudos

Try comiling the project on jvm compatible for ep 7.4 do necessary mod in compatible nwds for 7.4 and after succesful build deploy and test I guess

honam_yu
Explorer
0 Kudos

Hi Siddharth

my reply is late , i am sorry

I dont understand "compiling the project on jvm compatible for ep 7.4 do necessary mod"

especially "do necessary mode"

would you please recommend document or url for me?

Thank you Siddharth

Regard,

Honam