Skip to Content
author's profile photo Former Member
Former Member

Problem while working with JSP DYNPAGE

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 14, 2004 at 12:29 PM

    Hi,

    You say:

    > e 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

    the code has to be placed in the JSPDynpage not in the PageProcessor...

     
    
    public class PEGLink extends PageProcessorComponent {
      public DynPage getPage() { 
        return new DynPageOne();
      }
    
       public class DynPageOne extends DynPage {
    
             place Your code here. E.g. in the PBO Method for testing
    
       }
    }
    
    

    Walter

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.