cancel
Showing results forΒ 
Search instead forΒ 
Did you mean:Β 

Portal runtime exception

deepa_prabhu
Participant
0 Kudos

HI All,

We are not able to view any of the iViews in the portal and

we are getting the following exception on the screen

"

Portal Runtime Error

An exception occurred while processing a request for :

iView : N/A

Component Name : N/A

com/sapportals/htmlb/AbstractCompositeComponent.

Exception id: 10:24_03/02/06_0037_3480150

See the details for the exception ID in the log file

"

The trace for the same is as under.

#1.5#000D603E8C8B00520000001B0000169000040BDCB6BA8E08#1138942492977#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#was7adminuser#5946##CTSWAS7.cts.com_J2E_3480150#was7adminuser#800bb5b0947011dacb26000d603e8c8b#SAPEngine_Application_Thread[impl:3]_10##0#0#Error#1#/System/Server#Java###Exception ID:10:24_03/02/06_0036_3480150

[EXCEPTION]

#1#com.sapportals.portal.prt.runtime.PortalRuntimeException: PortalRuntimeException at com.sapportals.portal.prt.core.PortalRequestManager.handleRequestException(PortalRequestManager.java:921) at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:803) at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240) 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:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148) 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(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160) Caused by: java.lang.NoClassDefFoundError: com/sapportals/htmlb/AbstractCompositeComponent -


Loader Info -
ClassLoader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@a337fb] Parent loader name: [com.sapportals.portal.prt.util.AutoClassLoader@f8e24a] References: not registered! Resources: 😧
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 😧
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 😧
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 😧
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@a337fb] Parent loader name: [com.sapportals.portal.prt.util.AutoClassLoader@f8e24a] References: not registered! Resources: 😧
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 😧
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 😧
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 😧
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:389) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at com.sapportals.wcm.portal.component.base.ControllerComponent.getPage(ControllerComponent.java:90) at com.sapportals.portal.htmlb.page.PageProcessorComponent.getPage(PageProcessorComponent.java:193) at com.sapportals.wcm.portal.component.base.ControllerComponent.getPage(ControllerComponent.java:101) at com.sapportals.portal.htmlb.page.PageProcessorComponent.doOnNodeReady(PageProcessorComponent.java:62) at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:388) at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252) at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:369) at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:340) at com.sapportals.portal.pb.PageBuilder.createAndAddEmbeddediView(PageBuilder.java:178) at com.sapportals.portal.pb.PageBuilder.createiView(PageBuilder.java:391) at com.sapportals.portal.pb.PageBuilder.createAndAddiViews(PageBuilder.java:234) at com.sapportals.portal.pb.PageBuilder.doOnNodeReady(PageBuilder.java:576) at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:388) at com.sapportals.portal.pb.PageBuilder.handleEvent(PageBuilder.java:725) at com.sapportals.portal.prt.component.CachablePortalComponent.handleEvent(CachablePortalComponent.java:685) at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252) at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:369) at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:340) at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:642) ... 21 more # #1.5#000D603E8C8B00620000000D0000169000040BDCB6F1C4F6#1138942496587#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#was7adminuser#5946##CTSWAS7.cts.com_J2E_3480150#was7adminuser#800bb5b0947011dacb26000d603e8c8b#SAPEngine_Application_Thread[impl:3]_29##0#0#Error#1#/System/Server#Java###Exception ID:10:24_03/02/06_0037_3480150 [EXCEPTION] #1#com.sapportals.portal.prt.runtime.PortalRuntimeException: PortalRuntimeException

at com.sapportals.portal.prt.core.PortalRequestManager.handleRequestException(PortalRequestManager.java:921)

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

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

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

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

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

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

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

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

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

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

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

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

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(Native Method)

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

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

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

-


Loader Info -


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

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

References:

not registered!

Resources:

😧
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

😧
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

😧
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

😧
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@a337fb]

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

References:

not registered!

Resources:

😧
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

😧
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

😧
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

😧
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:389)

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

at com.sapportals.wcm.portal.component.base.ControllerComponent.getPage(ControllerComponent.java:90)

at com.sapportals.portal.htmlb.page.PageProcessorComponent.getPage(PageProcessorComponent.java:193)

at com.sapportals.wcm.portal.component.base.ControllerComponent.getPage(ControllerComponent.java:101)

at com.sapportals.portal.htmlb.page.PageProcessorComponent.doOnNodeReady(PageProcessorComponent.java:62)

at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:388)

at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)

at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:369)

at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:340)

at com.sapportals.portal.pb.PageBuilder.createAndAddEmbeddediView(PageBuilder.java:178)

at com.sapportals.portal.pb.PageBuilder.createiView(PageBuilder.java:391)

at com.sapportals.portal.pb.PageBuilder.createAndAddiViews(PageBuilder.java:234)

at com.sapportals.portal.pb.PageBuilder.doOnNodeReady(PageBuilder.java:576)

at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:388)

at com.sapportals.portal.pb.PageBuilder.handleEvent(PageBuilder.java:725)

at com.sapportals.portal.prt.component.CachablePortalComponent.handleEvent(CachablePortalComponent.java:685)

at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)

at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:369)

at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:340)

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

... 21 more

#

#1.5#000D603E8C8B0070000000010000169000040BDCB77F2609#1138942505853#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#127730#5981##CTSWAS7.cts.com_J2E_3480150#127730#3c99d220947111dab03e000d603e8c8b#SAPEngine_Application_Thread[impl:3]_14##0#0#Error#1#/System/Server#Java###Exception ID:10:25_03/02/06_0038_3480150

[EXCEPTION]

#1#com.sapportals.portal.prt.runtime.PortalRuntimeException: PortalRuntimeException

at com.sapportals.portal.prt.core.PortalRequestManager.handleRequestException(PortalRequestManager.java:921)

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

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

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

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

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

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

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

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

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

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

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

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

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(Native Method)

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

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

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

-


Loader Info -


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

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

References:

not registered!

Resources:

While we try to deploy any application we get the exception

"Error is parsing taglib".

Can anyone of you help us resolving the issue?

Thanks

Deepa

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Deepa,

I think some Jar files are missing in your class path.

Try to add the appropriate jar files in your class path.

To add the jar files.

Right click project - >properties->javabuild path-->libraries->Add Jars/Add External Jars/Add appropriate jar files.

and go to Windows-preference-Class/Jar locator->add folder->Give your folder Name which is having all the jar files.

Tell me if you need more info.

If you dont have the jar files let me know your mail id I'll send it to you.

Regards,

Karthick Eswaran

former_member200748
Contributor
0 Kudos

Hi Deepa

Check if the htmlb.jar file is missing.

Please refer to this <a href="https://www.sdn.sap.com/irj/sdn/thread?forumID=42&threadID=25951&messageID=239510">thread</a> for details.

Best Regards

Priya

Former Member
0 Kudos

Hi Suneeta,

The error you are getting is very basic. The class you are looking for (com.sapportals.htmlb.AbstractCompositeComponent) is in htmlb.jar

Just you have to download the class finder first.

you can get the jar "htmlb.jar" easily.

Login to portal->JavaDevelopment->Tools->Portal Browser->ROOT/WEB-INF/portal/portalapps/->

Search for com.sap.portal.htmlb -> click Download option.->give some location to download->extract the downloaded file.->Lib will be extracted->inside that you 'll see the htmlb.jar file.

Put this jar file inside dist /PORTAL-INF/lib ...

Now go to yor NWDS->Right click the project->properties->Java Build path->Libraries->Click add jars->select your project/dist/portal-inf/lib ->select htmlb.jar->add the jar now..Now it shold not give you the error.

Try this and let me know.

Thank you.

Regards,

Karthick

Former Member
0 Kudos

Hi Suneetha,

See this WebLog to know more about JAR class finder..

Regards,

Karthick

Former Member
0 Kudos

Hi,

While Writing the portalapp.xml

sample:

<application-config>

<property name="SharingReference" value="htmlb"/>

</application-config>

Note : If you want to use more than one service, list them separated by commas:

<property name="SharingReference" value="htmlb,jcoclient"/>

Caution :

Services with cyclic dependencies (for example, two services that reference each other) will cause errors.

Regards,

Karthick

Former Member
0 Kudos

Thanks for the help karthick.

deepa_prabhu
Participant
0 Kudos

Hi All,

The exception stated in the beginning of the thread is re-occuring. If we have a close watch on the trace, it says

2 things

a) NoClassDefFound exception for AbstractCompositeComponent

b)The error while loading WdfCompositeController.

We have upgraded our portal to SP14 recently.

Can anyone help us in this regards?

As this is a very important problem any help is greatly appreciated.

Thanks and regards

Deepa

Former Member
0 Kudos

Hi Deepa,

Add htmlb.jar file under dist/portal-inf/lib.

Refer this jar file and dont refer htmlb.jar file which is in your local drive.

Try this It should work fine.

Let me know if you need more help.

Hope it helps.

Regards,

Karthick

P.S.:Award points in sdn for helpful answers.

Former Member
0 Kudos

Hi,

As i understand the error is displayed for all components and is not restricted to Custom Components.

I think the jars/classes arent getting downloaded due to lack of memory. The solution lies in the hardware setting recommended by SAP.

i think we should increase

1. System's Virtual Memory setting.

2. Instance Heap Size.

Regards,

Divakar