Skip to Content
0
Former Member
Dec 13, 2004 at 10:16 PM

Problem while working with JSP DYNPAGE

26 Views

Hi

I have to make use of JDBC System in my program to connect to a Sql database. I had written a code and its working fine with Abstract Portal Component. Once after successful execution, I copied the same code into Page Processor Component, and here my problem started, Im unable to execute the code and getting errors like below in my Eclipse IDE:

Portal Runtime Error

An exception occurred while processing a request for :

iView : N/A

Component Name : N/A

com/sapportals/portal/security/usermanagement/IUMPrincipal.

Exception id: 03:45_14/12/04_0036

See the details for the exception ID in the log file

AND IN LOG FILE this is the EXCEPTION DETAIL.

com.sapportals.portal.prt.connection.ContentExceptionHandler@12a858f #

Dec 14, 2004 12:23:35 AM # SAPEngine_Applica... Fatal Exception ID:12:23_14/12/04_0028

com.sapportals.portal.prt.component.PortalComponentException: Error in init method

Component : oratest2.oratest2

at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:248)

at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:216)

at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:264)

at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:384)

at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:423)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Caused by: com.sapportals.portal.prt.core.broker.PortalComponentInstantiationException: Could not instantiate implementation class oratest2.oratest2 of Portal Component oratest2.oratest2 because: Could not instantiate implementation class

at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:266)

at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getComponentInstance(PortalComponentItemFacade.java:158)

at com.sapportals.portal.prt.core.broker.PortalComponentItem.getComponentInstance(PortalComponentItem.java:660)

at com.sapportals.portal.prt.component.PortalComponentContext.getComponent(PortalComponentContext.java:100)

at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:239)

... 26 more

Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: [PortalApplicationItem.__prepareClassLoaderAndDependencies]: oratest2

at com.sapportals.portal.prt.core.broker.PortalApplicationItem.__prepareClassLoaderAndDependencies(PortalApplicationItem.java:361)

at com.sapportals.portal.prt.core.broker.PortalApplicationItem.prepare(PortalApplicationItem.java:207)

at com.sapportals.portal.prt.core.broker.PortalApplicationItem.getCoreLoader(PortalApplicationItem.java:276)

at com.sapportals.portal.prt.core.broker.PortalComponentItem.getClassLoader(PortalComponentItem.java:524)

at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getClassLoader(PortalComponentItemFacade.java:101)

at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:225)

... 30 more

Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: [PortalApplicationItem.__prepareClassLoaderAndDependencies]: com.sap.portal.usermanagement.usermanagement

at com.sapportals.portal.prt.core.broker.PortalApplicationItem.__prepareClassLoaderAndDependencies(PortalApplicationItem.java:361)

at com.sapportals.portal.prt.core.broker.PortalApplicationItem.prepare(PortalApplicationItem.java:207)

at com.sapportals.portal.prt.core.broker.PortalApplicationItem.__prepareClassLoaderAndDependencies(PortalApplicationItem.java:352)

... 35 more

Caused by: com.sapportals.portal.prt.core.broker.PortalApplicationNotFoundException: Could not find portal application com.sap.portal.usermanagement.usermanagement

at com.sapportals.portal.prt.core.broker.PortalApplicationItem.__prepareClassLoader(PortalApplicationItem.java:518)

at com.sapportals.portal.prt.core.broker.PortalApplicationItem.__prepareClassLoaderAndDependencies(PortalApplicationItem.java:356)

... 37 more

Can any one help me out?

thanks

raj