JSP Dynpage runtime error - Urgent

Hello All,
I have a JSP Dynpage application with 1 jsp file and one bean (TestProject, test.jsp,test.class). My Problem - After deploying the par file on one portal (Ex: PORTAL1) when I run the component from portalapp.xml, I am getting the following error:
>>> JSPCompiler >>> ERROR in Compiling :JSPFileInfo :987761117
JSP File : /opt/usr/sap/PORTAL1/JC00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/testproject/pagelet/test.jsp
Class Name: sapportalsjsptest
Java File : /opt/usr/sap/PORTAL1/JC00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/testproject/work/pagelet/_sapportalsjsp_test.java
Package Name : pagelet
Class File : /opt/usr/sap/PORTAL1/JC00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/testproject/work/pagelet/_sapportalsjsp_test.class
Is out dated : false [email protected]8b467
When I deployed the same project on another portal (PORTAL2), I do not have any problems. When I compared the project structure of this project on both the portals - from ROOT/WEB-INF/portal/portalapps/TestProject/work I found that these three files are missing from PORTAL1. Somehow these three files are not generated on PORTAL1 but generated on PORTAL2.
Any ideas why this is happening? Is something missing on PORTAL1?
What is this work folder? I could not find it on NWDS. Is it generated only on Portal.
Please help me as this is Urgent.
Thanks,

Hi Srinivas,
Thanks for your response. I looked at the complete log - the jsp file is not compiled into a java file and the error is about this missing file. I don't think there is anything wrong with the code because, this does not happen on the other portal. The JSP  file is compiled into java file and I can run the component without any errors.
Also on the portal with problems, I cannot deploy any par file. I am getting the same error in all the applications. Can this be a version issue?
Thanks

Similar Messages

  • DynPage - Runtime error in Portal

    Hi
    Have the following code in a DynPage application.
    public void doProcessBeforeOutput() throws PageException {
    ... other code here
    IPortalComponentRequest request =(IPortalComponentRequest) this.getRequest();
    com.sapportals.portal.security.usermanagement.IUser user =
         (com.sapportals.portal.security.usermanagement.IUser) request.getUser().getUser();
                   IResourceContext ctxt = new ResourceContext(user);
                   RID rid = RID.getRID("/documents");
    There are no compilation errors.
    Have created a Iview in Portal. On execution of Iview following error is shown
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : DynPageProject.M_Test
    Component Name : DynPageProject.M_Test
    com/sapportals/portal/security/usermanagement/IUser.
    Exception id: 11:14_04/03/08_0051_3930150
    See the details for the exception ID in the log file
    All imports are ok. What could be the error in the code ?
    Content of Portalapp.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <application>
      <application-config>
        <property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>
      </application-config>
      <components>
        <component name="M_Test">
          <component-config>
            <property name="ClassName" value="com.mil.M_Test"/>
          </component-config>
          <component-profile/>
        </component>
      </components>
      <services/>
    </application>
    The error log says
    Caused by: java.lang.NoClassDefFoundError: com/sapportals/portal/security/usermanagement/IUser
    How to resolve this ? I am doing the development using NWDS.
    Regards,
    Sumant
    Edited by: Sumant Mujumdar on Mar 4, 2008 11:12 AM

    Hi,
          Declare service reference for the usermanagement and sharing reference for KM service in portalapp.xml
    <application-config>
    <property name="SharingReference" value="knowledgemanagement"/>
    <property name="ServicesReference" value="com.sap.portal.usermanagement/>
    </application-config>
    Also add all these jars into PORTAL-INF/lib folders and also as external jars in build path. That will solve NoClassDefFound problem.
    Regards,
    Harini S
    Reward points for helpful answers

  • InDesign Runtime Error - Urgent

    Can someone please help?  I just downloaded a trial of CS4 and am using InDesign (in hopes of making a purchase), and there is a RunTime error every time I try to open InDesign and it shuts down.  If it's going to be this difficult to edit a document, it may be easier just to recreate it then try to work with InDesign.  Please help as I have a few days left on my trial that I am testing for my organization, and at this rate, we certainly won't be purchasing CS4.
    Thanks.

    Without more information it's really hard to know what to suggest. Turn off Live Preflight to start.
    Also try making a new user and see if the program works in the new user.
    But there probably isn't a lot of point in trying to fix a CS4 demo -- you'll be hard pressed to find legitiamte CS4 licenses now that CS5 is the current version. Is there a reson you aren't using the CS5 trial?
    Some more info on the machine and OS might help, too.
    I'm about to hit the road for a while, so I may not get back to you for a bit...

  • JSP-UIX runtime error in 10g

    When migrate from 9.0.4 to 9.0.5 my JSP-UIX project, and try to execute them, sends me the following error:
    Exception Details
    java.lang.NoSuchMethodError: java.lang.String java.net.URLEncoder.encode(java.lang.String, java.lang.String)
         java.lang.String oracle.jbo.http.HttpSessionCookieHelperImpl.readCookieValue(javax.servlet.http.HttpServletRequest, java.lang.String)
              HttpSessionCookieHelperImpl.java:44
         java.lang.String oracle.jbo.http.HttpSessionCookieImpl.readValue(java.lang.Object)
              HttpSessionCookieImpl.java:189
         void oracle.jbo.http.HttpSessionCookieImpl.(java.lang.String, java.lang.String, oracle.jbo.common.ampool.ApplicationPool, java.security.Principal, javax.servlet.http.HttpServletRequest)
              HttpSessionCookieImpl.java:101
         oracle.jbo.common.ampool.SessionCookie oracle.jbo.http.HttpSessionCookieFactory.createSessionCookie(java.lang.String, java.lang.String, oracle.jbo.common.ampool.ApplicationPool, java.util.Properties)
              HttpSessionCookieFactory.java:103
         oracle.jbo.common.ampool.SessionCookie oracle.jbo.common.ampool.ApplicationPoolImpl.createSessionCookie(java.lang.String, java.lang.String, java.util.Properties)
              ApplicationPoolImpl.java:418
         oracle.jbo.common.ampool.SessionCookie oracle.jbo.http.HttpContainer.findSessionCookie(javax.servlet.http.HttpSession, java.lang.String, java.lang.String, java.util.Properties)
              HttpContainer.java:651
         int oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doStartTag()
              ApplicationModuleTag.java:152
         void RhAccesoUsuarioView_Browse._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              RhAccesoUsuarioView_Browse.jsp:9
         void oracle.jsp.runtime.HttpJsp.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              HttpJsp.java:139
         void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
              JspPageTable.java:349
         void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              JspServlet.java:509
         void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              JspServlet.java:413
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              HttpServlet.java:853
         void com.evermind.server.http.ResourceFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ResourceFilterChain.java:65
         void oracle.security.jazn.oc4j.JAZNFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)
         void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ServletRequestDispatcher.java:604
         void com.evermind.server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
              ServletRequestDispatcher.java:317
         boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
              HttpRequestHandler.java:790
         void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
              HttpRequestHandler.java:270
         void com.evermind.server.http.HttpRequestHandler.run()
              HttpRequestHandler.java:112
         void com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run()
              ReleasableResourcePooledExecutor.java:192
         void java.lang.Thread.run()
              Thread.java:484
    Now, how can i fix this? In the previous version works fine.

    Invoke your Project Properties, click on the Libraries option and ensure your J2SE version is 1.4.2, not 1.3.1.
    Steve

  • Urgent help needed in redirecting to ErrorPage in case of jsp runtime error

    Hi,
    I have two problems in Portal. I am working with sturts portlets.
    1) Some times I am getting No Provider session Error . I know that struts renderer always needs session. In my provider.xml file I changed the session attribute to true.
    <session>true</session>
    and In my provider Login Frequency is also set to "Once Per User Session" I want to get rid of this error permanently.
    2) Another problem i am facing is handling errors in Jsps (Like some compilation errors in that jsp or runtime jsp exception) I would like to forward to the errorpage. Can I do with
    <%@page errorPage="myErrorPage.jsp" %> in every jsp?
    Currently I am getting the following error if anything goes wrong in the jsp.
    ???: ??????????????????: 500 Internal Server Error
    In that case I would like to forward to an error page. It is not happening now.
    How will get the path to that jsp? Is PortletRenderRequest can be used?
    Any suggestions?
    Thanks,
    Reddi

    Could you post more details perhaps? Eg. the complete files.
    Also, I would recommend that you consider using the runtime include, <jsp:include ...>, and put your variables in the request scope.

  • Urgent(abap runtime error)

    hi all,
    when i tried to findout the name(collective search) by  last name o'brien in PA20 OR PA30 transacton   i got the abap runtime  error  in production
    but when i tried samething in development and quality  by lastname  o'brein in PA20 OR PA30 TRANSACTION i got the 4 names  .please let me know what is the problem . it is very urgent.
    thanks in advance
    rama.

    Hi
    What is the runtime error u got
    Regards
    Pavan

  • How do I get the details of runtime errors to display in errorPage.jsp???

    how do I get the details of a JSP runtime error onto my errorPage.jsp?
    Currently, I'm getting a NumberFormatException - but I can see no details.
    I have to assume that I do not have the errorPage.jsp set up correctly to capture the details of an exception.
    Can someone provide an example (e.g., regular.jsp and errorPage.jsp) that illustrate how this is done (i.e., showing the details - stacktrace, etc - of a runtime exception)?
    Thanks for any help!
    ***my page directie for otherpages.jsp***
    <%@ page language="java" errorPage="errorPage.jsp" %>
    ***my errorPage.jsp***
    <%@ page language='java' contentType='text/html' %>
    <%@ page isErrorPage="true" %>
    <html>
         <head>
              <title> errorPage.jsp </title>
         </head>
         <body>
         <h2>
              Error Encountered:
         </h2>
         <%= exception.toString() %>
         <h2>
              details...
         </h2>
         <%= exception.getMessage() %>
         </body>
    </html>

    You need to create a stringwriter, wrap it in a printwriter, then print to the printwriter, then convert the stringwriter to a string.
    Here's an example:
    StringWriter sw = new java.io.StringWriter();
    PrintWriter pw = new java.io.PrintWriter(sw);
    e.printStackTrace(pw);
    String strError = sw.toString();
    I hope this works. I didn't test the above code. I don't think I'm leaving anything out, but it's been a while since I've done it. Either way, it should get you on the right track to get what you need.
    Hope that helps.
    Michael

  • Jsp calling a function in js -- object expected runtime error

    Hi,
    I have a js file. script.js
    *function popup( url ) {*
    newWin=window.open(url,'popupWindow,resizable=yes,menubar=no,status=no,toolbar=no,scrollbars=yes');
    newWin.focus();
    void(0);
    and a jsp calling the function in js
    *<HTML>*
    *<HEAD>*
    *<SCRIPT>*
    *<jsp:include page="script.js"/>*
    *</SCRIPT>*
    *</HEAD>*
    *<BODY onLoad="javascript:popup('http;//www.google.com');">*
    *</BODY>*
    *</HTML>*
    Now when i execute the jsp, it gives runtime error -> object expected..
    Not able to figure out why this occurs.. am I doing it the right way ?

    Do you think is this the right way to include .js file...
    <SCRIPT>
    <jsp:include page="script.js"/>
    </SCRIPT>I generally do this way...
    <head>
    <script language="javascript" src = "script.js">
    </script>
    </head>

  • Runtime Error by creating Dynpage/HTMLB

    Hi,
    i have create a Portal Application Project with a Dynpage. Within the method doProcessBeforeOutput i write a small piece of code to show an inputField:
        public void doProcessBeforeOutput() throws PageException {
          Form myForm = this.getForm(); // get the form from DynPage
          // create your GUI here....
          myForm.addText("This is my Basic HTMLB Application");
          InputField field = new InputField("myField");
          field.setValue("This is my inputField text");
          myForm.addComponent(field);
    The problem is, if i try to test the application by portalapp.xml or in an appropriate iView i get the following error message:
    <b>Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    com/sapportals/portal/htmlb/page/PageProcessorComponent.
    Exception id: 04:32_21/02/07_0004_8754450
    See the details for the exception ID in the log file
    </b>
    I use 6.40 SP 16 and NWDS 2.0. What is my mistake?
    regards,
    Sharam

    Hello Prem,
    thanks for your reply! I solved the problem. I change the property PrivateSharingReference in SharingReference and now it works. But i don't understand why it does not work with PrivateSharingReference. Do you know the reason?
    regards,
    Sharam

  • Portal runtime error in Theme editor:Urgent

    Hi All,
    I am getting the following error when i am logging as a j2ee_admin user in Theme Editor and
    also when i click on theme transport it is not displaying any contents.
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/administrator/super_admin/super_admin_role/com.sap.portal.system_administration
    /com.sap.portal.system_admin_ws/com.sap.portal.themes/com.sap.portal.theme_editor/com.sap.portal.styleeditor
    Component Name : null
    Page could not create the iView.
    See the details for the exception ID in the log file.
    the default trace is as below
    "application webdynpro/dispatcher Processing HTTP request to servlet [dispatcher] finished with error.
    The error is: java.lang.NullPointerException: null
    Exception id: [0003BA3630CD0076000005BF00005B3B00044B53786F03CB]
    The iview for theme editor does not exist . any clue how to over come this.
    Thanks & Regards
    santosh

    Hi All,
    Issue is resolved . Deleted one of the standard theme through system admin->support->support desk->theme and restarted the server.
    Regards
    Santosh

  • Lightroom 2 runtime error when trying to start up *URGENT ERROR*

    I updated from 2.0 to 2.1 recently. Now everytime I try to start lightroom it will not, and i get a microsoft visual c++ runtime error and it immediately asks to close LR before it even opening.
    I found 3 possible solutions on the adobe knowledge base. none of which work. Deleteing the preference files, deleting the preference folder, and trying to install LR under a different user account. I have Vista sp1 OS running on my computer. I have plenty of room and ram.
    I even went as far as uninstalling LR and deleting all references to it in the registry. I just tried to reinstall 2.0 and open it with the same darned error. I am at my wits end as I have over 100 highschool kids composite protraits to churn out, and their adjustments are all stuck in a lightroom catalog that I can't open.
    Any other solutions floating around about this that i haven't tried?????

    Some more things in random order:
    I think you're right about something deeper going on. The bad install for Flash sounds bad.
    The C++ error sounds like it could be a missing file from something that didn't get installed right.
    You might go buy yourself a new hard-drive, reinstall vista and see if you can get things to work, then, and either use that as your new boot drive or go back to the other one and try again.
    Presumably ScanDisk doesn't show any problems?
    You might disconnect all your USB drives and use just C and see if things work.
    Do you have any permissions issues at all?
    Look in event log and see if it says anything leading up to the C++ error.
    Have you tried reseating the hard-drive cables and memory chips on your MB although usually these things would cause a blue-screen not a C++ error.
    Remove any extra peripherals that you don't need.
    Does the error you get indicate a recognizable GUI-related thing? If so perhaps changing the graphics-card acceleration or other settings could affect it.
    After you system-restore back, are you then installing LR 2.1?
    Why didn't it let you do a Restore and what did you do to finally get it to work?
    This thread started pretty late at night, so the Adobe types are probably not reading things at this point and will have some ideas, tomorrow.

  • Urgent: Regarding Runtime Error in FM

    hi,
    i had made a Function Module which will reterive the production order,but when i use it in the program it gives runtime error.Plzz help me how to solve this problem.
    1st i am pasting the code which i had written:-
    FUNCTION ZFIND_PRDORD.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(QP_CHARG) LIKE  CHVW-CHARG OPTIONAL
    *"     VALUE(P_AUFNR) LIKE  CHVW-AUFNR OPTIONAL
    *"  EXPORTING
    *"     VALUE(P_RETVAL) LIKE  CHVW-AUFNR
    DATA : BEGIN OF T_CHVW OCCURS 0,
                  XZUGA LIKE CHVW-XZUGA,
                  WERKS LIKE CHVW-WERKS,
                  MATNR LIKE CHVW-MATNR,
                  CHARG LIKE CHVW-CHARG,
                  AUFNR LIKE CHVW-AUFNR,
                  EBELN LIKE CHVW-EBELN,
                  MBLNR LIKE CHVW-MBLNR,
                  ZEILE LIKE CHVW-ZEILE,
                  BUDAT LIKE CHVW-BUDAT,
                  SHKZG LIKE CHVW-SHKZG,
                  BWART LIKE CHVW-BWART,
                  MENGE LIKE CHVW-MENGE,
                  MEINS LIKE CHVW-MEINS,
                  KZBEW LIKE CHVW-KZBEW,
              END OF T_CHVW.
    SELECT XZUGA WERKS MATNR CHARG AUFNR EBELN
    MBLNR ZEILE BUDAT SHKZG BWART MENGE MEINS KZBEW
    FROM CHVW INTO TABLE T_CHVW
    WHERE CHARG EQ QP_CHARG
    and XZUGA = ' '
    AND BWART = '101'
    and aufnr eq p_aufnr
    AND KZBEW = 'F' .
    P_RETVAL = T_CHVW-AUFNR.
    ENDFUNCTION.
    Now i am displaying the program for testing this FM which gives the runtime error:-
    TABLES : CHVW.
    SELECT-OPTIONS : P_CHARG FOR CHVW-CHARG,
                     P_AUFNR FOR CHVW-AUFNR .
    CALL FUNCTION 'ZFIND_PRDORD'
    EXPORTING
       QP_CHARG       = P_CHARG
       P_AUFNR        = P_AUFNR
    IMPORTING
       P_RETVAL      = P_AUFNR.
    WRITE : / 'SDSQDA' .
    Plzz help me out as how to solve this problem as i have to use it in 
    the main program.
    regards,
    ric.s

    HI SANTOSH,
    I had changed according what u said and it is not giving runtime error .
    but it is not giving the value as if i send the value of batch and the prd orderr. plz tell me how do it get the output.
    i had written the code of program like this:-
    TABLES : CHVW.
    Parameters : P_CHARG like CHVW-CHARG,
                 P_AUFNR like CHVW-AUFNR.
    DATA: PRD LIKE CHVW-AUFNR.
    CALL FUNCTION 'ZFIND_PRDORD'
    EXPORTING
    QP_CHARG = P_CHARG
    P_AUFNR = P_AUFNR
    IMPORTING
    P_RETVAL = PRD.
    WRITE : / PRD .
    PLZ HELPMEOUT HOW TO DO THIS.

  • URGENT: Bug in Adobe Acrobat X /// Acrobat.exe Runtime Error! R6025 - pure virtual function call

    Hello
    I work usually with large PDF documents, and I was trying to convert a PDF document of 1000 pages ONE THOUSAND PAGES, to little PDF documents of 10 MB each one.
    When I tried to convert the PDF file into little ones, craaashhhhhhhhhhhhhhhhhh
    I got this message:
    Acrobat.exe Runtime Error! R6025 - pure virtual function call - Microsoft Visual C++ Runtime Library
    This seems to be a BUG AS BIG A GRAND PIANO... so I would like someone from Adobe tell me how may I solve this problem or if they will release an update soon?
    Thank you

    This is a user to user forum and we don't post information here (or anywhere else public) about what may or may not be in future patch releases.
    If you have a bug with an Adobe product you must report it using the correct form.

  • URGENT : Portal Runtime Error

    hi,
    We are getting the following error  , when we execute transactional iview  :
    Portal Runtime Error
    An exception occurred while processing your request
    Exception id: 03:36_25/02/08_0050_233604950
    See the details for the exception ID in the log file.
    When we assign a user with  super admin role , the transactional iviews are displaying .
    Thank and regards,
    srini

    In development , for a user  'A' , in user profile it is Activate Accessibility Feature not checked.
    Similarly it is also not checked in Quality .
    When we run , transactional iviews are working fine for dev but not for Quality .
    Note :  it is not displaying accessed denied message :  It is displaying :
    Portal Runtime Error
    An exception occurred while processing your request
    Exception id: 04:47_25/02/08_0061_233604950
    See the details for the exception ID in the log file.
    When I saw in log through nwa : it is displaying the following message :
    Content pass of Application Integrator failed
    Component name : com.sap.portal.appintegrator.sap.Transaction
    Context name : iview
    Srini

  • Urgent: runtime error problem

    hi,
    iam working on development server and when i run a tcode and aftere dat when i press f1 for help on any field den a runtime error occurs.
    saying dat :-
      The current ABAP/4 program terminated due to
      an internal error in the database interface.
    what does it mean and how to solve dis problem,if find useful he or she will be definately rewarded.

    Hi ric,
    Can you please provide more details like type of program, type of screen. (whether you have used call screen or it's standard selection-screen)..
    Regards,
    Mohaiyuddin

Maybe you are looking for

  • Using an iMac as a display

    Would it be possible to connect my MDD to an iMac, and then use the iMac as a display for both?

  • Acrobat XI Standard Doesn't Have a Compare Button on Navigation Panel

    We have a few machines running Acrobat XI Standard. Neither of those users can do the side-by-side view of a previously compared document (accessed via the compare button on the navigation panel) like other users who are using Acrobat 9 Standard, X S

  • CS6 Design view not rendering styles, tried typical fixes already

    I'm using Dreamweaver CS6 on Windows 7. I hand code everything but like to look in design view from time to time. Everything was working fine until a couple days ago it stopped rendering my css styles and now looks like this (see first image), but an

  • Servlet deployment in 9i AS

    while running the makeit.bat file in $ORACLE_HOME\javavm\demo\demo\examples\servlets\basic\helloworld\makeit.bat i got an error /scottRoot/contexts/default is not a Servlet Context can u pls help how to solve this ?

  • Loses frames in iMovie after updating to QT 7.5

    I took the latest update for quicktime 7.5 from software update and since that iMovie and Quicktime both has problems in picture. Meaning the picture looks like it's losing frames. I fixed the problem by re-installing the OS but when I took that spec