cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with KM

Former Member
0 Kudos

Hi

I have installed KM in my machine, it was running fine, suddenly this error is coming. Does anyone has faced similar problem. Any help in this is highly appreciated.

Regards

Senthil

java.lang.NoClassDefFoundError: com/sapportals/htmlb/AbstractCompositeComponent

-


Loader Info -


ClassLoader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@c826d6]

Parent loader name: [com.sapportals.portal.prt.util.AutoClassLoader@ef98ac]

No references !

Resources:

C:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.km.cm.main\lib\km.appl.controller.controller_api.jar

C:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.km.cm.main\lib\km.appl.docapplet.docapplet_api.jar

C:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.km.cm.main\lib\km.appl.servlet.base_api.jar

C:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.km.cm.main\lib\km.appl.servlet.webdav_api.jar

-


The error occurred while trying to load "com.sapportals.wdf.WdfCompositeController".

-


Loader Info -


ClassLoader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@c826d6]

Parent loader name: [com.sapportals.portal.prt.util.AutoClassLoader@ef98ac]

No references !

Resources:

C:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.km.cm.main\lib\km.appl.controller.controller_api.jar

C:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.km.cm.main\lib\km.appl.docapplet.docapplet_api.jar

C:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.km.cm.main\lib\km.appl.servlet.base_api.jar

C:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.km.cm.main\lib\km.appl.servlet.webdav_api.jar

-


The error occurred while trying to load "com.sapportals.wcm.app.controller.ControllerComposite".

at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:328)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

at com.sapportals.wcm.app.controller.ControllerServlet.getPage(ControllerServlet.java:71)

at com.sapportals.htmlb.page.PageProcessorServlet.handleRequest(PageProcessorServlet.java:58)

at com.sapportals.htmlb.page.PageProcessorServlet.doGet(PageProcessorServlet.java:29)

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

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

at com.sapportals.wcm.app.servlet.WcmHtmlbBaseServlet.service(WcmHtmlbBaseServlet.java:100)

at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:313)

at com.sapportals.portal.prt.core.broker.ServletComponentItem$ServletWrapperComponent.doContent(ServletComponentItem.java:110)

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

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

at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)

at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)

at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:627)

at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)

at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)

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

at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)

at java.security.AccessController.doPrivileged(Native Method)

at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)

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

at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:153)

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

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

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:339)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:317)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:810)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:238)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)

at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)

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

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

Accepted Solutions (0)

Answers (2)

Answers (2)

detlev_beutner
Active Contributor
0 Kudos

Hi,

I hope the answer given was helping... If yes, please consider awarding points and mark the question as answered. If no, please come back to give feedback why the hint did not bring you foward. This not only for being polite against me, but also for others running into the same issue to get feedback if they should go the way given in the answer or where else a solution could be found.

Thanks in advance

Detlev

Former Member
0 Kudos

Dear Detlev

My portal went down so I couldn't check what you have suggested. Thanks for your support.

Thanks

Regards

Senthil

detlev_beutner
Active Contributor
0 Kudos

Hi Senthil,

please check if \usr\sap\[...]\j2ee\j2ee_[...]\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.htmlb\lib\htmlb.jar still exists (maybe someone has deleted / moved this or a dir part of it by accident).

If it doesn't exist, check if it has been moved (search for htmlb.jar) and move back or rename com.sap.portal.htmlb.par.bak to com.sap.portal.htmlb.par within the deployment dir.

Hope it helps

Detlev

PS: The path given holds for EP6 SP2, for NW it's \usr\sap\[...]\JC[...]\j2ee\cluster\server[...]\apps\sap.com\irj\servlet_jsp\irj\...

Former Member
0 Kudos

Hi Detlev

I searched the file but it is available in this folder

C:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.htmlb\lib

And I didn't see any folder as services in server folder.

Can you let me know what is that I should do next?

Regards

Senthil

detlev_beutner
Active Contributor
0 Kudos

Hi Senthil,

next idea comes from "no references" line. Under [...]\irj\root\WEB-INF\portal\portalapps\com.sap.km.cm.main, look if there is a portalapp.xml to be found, and within this, there must be the line

<property name="SharingReference" value="com.sap.km.bs.crt, com.sap.km.bs.rf, com.sap.km.bs.rf.manager, com.sap.km.bs.util, com.sap.km.bs.rf.service, com.sap.km.bs.sf.service, com.sap.km.bs.ui.wdf, com.sap.km.trex.ui, com.sap.km.cm.command,  com.sap.km.cm.security, com.sap.km.cm.service, com.sap.km.cm.service.base, com.sap.km.cm.ui, com.sap.km.cm.xmlforms, com.sap.km.cm.repository.filter, com.sap.km.cm.repository.manager, com.sap.km.cm.repository.service, com.sap.km.cm.repository.service.base, prt.config, prt.config.component, htmlb, laf, com.sap.portal.runtime.system.clusterinformation, com.sap.portal.ivs.iviewservice, com.sap.portal.pcmbuilderservice, com.sap.portal.pcd.glservice"/>

Espescially the htmlb reference!

If also this all is to be found, I have no more idea...

If the line is missing, add.

If the file is missing, ask again, I would copy&paste the whole content.

Hope it helps

Detlev

PS: The services folder only holds for EP6 SP2, so this doesn't matter.