Error in parsing jsp pages

Folks,
I have deployed my Sun IDM Application on Weblogic Application Server 8.1, I am getting error
(parsing error in admin as well as user interface) while hitting any of the tab in admin console.
See the error...
Parsing of JSP File '/account/find.jsp' failed:
java.lang.RuntimeException: Could not parse embedded JSP code: weblogic.utils.ParsingException: nested TokenStreamException: antlr.TokenStreamIOException*
at weblogic.servlet.jsp.JspLexer.parseJspCode(JspLexer.java:1226)
at weblogic.servlet.jsp.JspLexer.parseJspCode(JspLexer.java:1195)
at weblogic.servlet.jsp.JspLexer.buildTimeInclude(JspLexer.java:934)
at weblogic.servlet.jsp.JspLexer.mINCLUDE_DIRECTIVE(JspLexer.java:5003)
at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4761)
at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2161)
at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1947)
at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1820)
at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:963)
at weblogic.servlet.jsp.JspLexer.parseJspCode(JspLexer.java:1221)
at weblogic.servlet.jsp.JspLexer.parseJspCode(JspLexer.java:1195)
at weblogic.servlet.jsp.JspLexer.buildTimeInclude(JspLexer.java:934)
at weblogic.servlet.jsp.JspLexer.mINCLUDE_DIRECTIVE(JspLexer.java:5003)
at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4761)
at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2161)
at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1947)
at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1820)
at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:963)
at weblogic.servlet.jsp.JspParser.doit(JspParser.java:106)
at weblogic.servlet.jsp.JspParser.parse(JspParser.java:234)
at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:125)
at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:396)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:246)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:196)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:598)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:406)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
Thanks
Randhir Singh

This forum is for directory (proxy) server.
You should visit the IDM forums: http://forums.sun.com/forum.jspa?forumID=764

Similar Messages

  • Error while running jsp page

    Hi,
    While running JSP page in weblogic I am getting following error.
    java.lang.NullPointerException
         at java.util.Hashtable.put(Hashtable.java:396)
         at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:395)
         at weblogic.xml.jaxp.WebLogicSAXParser.setProperty(WebLogicSAXParser.java:117)
         at weblogic.xml.jaxp.RegistrySAXParser.setProperty(RegistrySAXParser.java:117)
         at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:246)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
         at org.apache.axis.serviceContext.ServiceContext.updateImplicitHeader(ServiceContext.java:269)
         at com.cognos.developer.schemas.bibus._3.ContentManagerServiceStub.query(ContentManagerServiceStub.java:4907)
         at jsp_servlet._pages.__viewreports._jspService(__viewreports.java:166)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:380)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:298)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    I am using jdk1.5. And I am using this jsp page for cognos connection.

    swattiii.....yaar..u are tring to put a null value inside hashtable..prbly u are doing this in ur jsp......
    send ur jsp code

  • XML syntax error in a JSP page.

    Hi,
    i was trying to include xml syntax in a jsp page in stead of core jsp syntax. it didn't work.But the jsp document with the core jsp syntax works. I'm wondering what's the problem.any help would be really helpful. I'm using Tomcat 3.2.1.
    Thanx in adv,
    Ganesh
    JSP file - NOT WORKING
    <jsp:directive.page import="java.util.Date"/>
    <jsp:declaration>
    private static String loadTime = new Date().toString();
    private static String getLoadTime() { return loadTime; }
    private static String getCurrentTime() { return new Date().toString(); }
    </jsp:declaration>
    <HTML>
    <HEAD><TITLE>XML and JSP</TITLE></HEAD>
    <BODY>
    JSP page is created using XML syntax...<BR>
    This page was loaded into memory at <%= getLoadTime() %>.<BR>
    The current time is <%= getCurrentTime() %>
    </BODY>
    </HTML>
    ERROR :
    Error: 500
    Location: /test/declarations.jsp
    Internal Servlet Error:
    org.apache.jasper.JasperException: Unable to compile class for JSPC:\tomcat321\tomcat\work\localhost_8080%2Ftest\_0002fdeclarations_0002ejspdeclarations_jsp_6.java:59: Method getLoadTime() not found in class _0002fdeclarations_0002ejspdeclarations_jsp_6.
    out.print( getLoadTime() );
    ^
    C:\tomcat321\tomcat\work\localhost_8080%2Ftest\_0002fdeclarations_0002ejspdeclarations_jsp_6.java:65: Method getCurrentTime() not found in class _0002fdeclarations_0002ejspdeclarations_jsp_6.
    out.print( getCurrentTime() );
    ^
    2 errors

    Hi,
    any help on this question would be really appreciated..
    Thanx in adv,
    Ganesh

  • Error in a jsp page...

    Hi guys,
    i'm a new user of Jsf and i've this error when i run my first application:
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: javax.servlet.jsp.JspException: Component javax.faces.component.UIViewRoot@5b38d7 not expected type. Expected: UIOutput. Perhaps you're missing a tag?
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:821)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
         org.apache.jsp.pages.Login_jsp._jspService(Login_jsp.java:97)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:670)
         org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:637)
         org.apache.jsp.index_jsp._jspService(index_jsp.java:43)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    java.lang.IllegalStateException: Component javax.faces.component.UIViewRoot@5b38d7 not expected type. Expected: UIOutput. Perhaps you're missing a tag?
         com.sun.faces.taglib.html_basic.OutputTextTag.setProperties(OutputTextTag.java:90)
         javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:712)
         javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:429)
         com.sun.faces.taglib.html_basic.OutputTextTag.doStartTag(OutputTextTag.java:155)
         org.apache.jsp.pages.Login_jsp._jspx_meth_h_outputText_0(Login_jsp.java:113)
         org.apache.jsp.pages.Login_jsp._jspService(Login_jsp.java:80)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:670)
         org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:637)
         org.apache.jsp.index_jsp._jspService(index_jsp.java:43)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.
    How can i solve it?
    i post you my Login.jsp and config files
    Login.jsp
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <html>
      <head>
        <title>
          <h:outputText value="MicroArray Classifier"/>
        </title>
      </head>
      <body>
        <f:view>
          <h:form>
            <table cellpadding="0" cellspacing="0">
              <tr>
                <td>
                  <h:graphicImage alt="Welcome to MicroArray Application" title="Welcome to MicroArray Application" url="/images/srfc_gourcuff1.jpg" width="170" height="200"/>     
                </td>
                <td>
                  <table cellpadding="5" cellspacing="4">
                    <tr>
                      <td colspan="2">
                        <font faces="Arial,sans serif" size="5">
                          <h:outputText value="Welcome to MicroArray Application"/>     
                        </font>
                      </td>
                    </tr>
                    <tr>
                      <td>
                        <h:outputLabel for="userNameInput" >
                          <h:outputText value="Enter Your Name"/>
                        </h:outputLabel>
                      </td>
                      <td>
                        <h:inputText id="userName Input" maxlength="30" size="20"/>
                      </td>
                    </tr>
                    <tr>
                      <td>
                        <h:outputLabel for="passwordInput">
                          <h:outputText value="Password"/>
                        </h:outputLabel>
                      </td>
                      <td>
                        <h:inputSecret id="passwordInput" maxlength="30" size="20"/>
                      </td>
                    </tr>
                    <tr>
                      <td>
                        <h:outputLabel for="Group Input">
                          <h:outputText value="Enter Your Group"/>
                        </h:outputLabel>
                      </td>
                      <td>
                        <h:inputText id="Group Input" maxlength="30" size="20"/>
                      </td>
                    </tr>
                    <tr>
                      <td>
                        <h:commandButton action="Ok" value="Submit" title="submit"/>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </h:form>
        </f:view>
      </body>     
    </html> web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC
        "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
        "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
        <context-param>
            <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
            <param-value>client</param-value>
        </context-param>
         <filter>
            <filter-name>ExtensionsFilter</filter-name>
            <filter-class>
                org.apache.myfaces.component.html.util.ExtensionsFilter
            </filter-class>
            <init-param>
                <param-name>uploadMaxFileSize</param-name>
                <param-value>100m</param-value>
            </init-param>
            <init-param>
                <param-name>uploadThresholdSize</param-name>
                <param-value>100k</param-value>
            </init-param>
            </filter>
        <filter-mapping>
            <filter-name>ExtensionsFilter</filter-name>
            <servlet-name>FacesServlet</servlet-name>
        </filter-mapping>
        <servlet>
            <servlet-name>FacesServlet</servlet-name>
            <servlet-class>
                javax.faces.webapp.FacesServlet
            </servlet-class>
            <load-on-startup>1</load-on-startup>
        </servlet>
        <servlet-mapping>
            <servlet-name>FacesServlet</servlet-name>
            <url-pattern>/faces/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>FacesServlet</servlet-name>
            <url-pattern>*.faces</url-pattern>
        </servlet-mapping>
        <welcome-file-list>
            <welcome-file>index.jsp</welcome-file>
        </welcome-file-list>
    </web-app>
    faces-config.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
                                  "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <faces-config>
         <managed-bean>
              <managed-bean-name>myBean</managed-bean-name>
              <managed-bean-class>giu.MyBean</managed-bean-class>
              <managed-bean-scope>request</managed-bean-scope>
         </managed-bean>
         <navigation-rule>
              <from-view-id>/pages/Login.jsp</from-view-id>
              <navigation-case>
                   <from-outcome>Ok</from-outcome>
                   <to-view-id>/pages/MyForm.jsp</to-view-id>
              </navigation-case>
         </navigation-rule>
         <navigation-rule>
              <from-view-id>/pages/MyForm.jsp</from-view-id>
              <navigation-case>
                   <from-outcome>success</from-outcome>
                   <to-view-id>/pages/MyResult.jsp</to-view-id>
              </navigation-case>
         </navigation-rule>
    </faces-config>Can you help me please?I'm inexpert...

        <title>
          <h:outputText value="MicroArray Classifier"/>
        </title>You cannot put faces elements outside the f:view.
    Put it in a f:subview.
        <title>
            <f:subview id="title">
                <h:outputText value="MicroArray Classifier"/>
            </f:subview>
        </title>

  • Error while deploying .jsp page

    Hi all,
    I created a single sample jsp page using jdeveloper and moved this jsp file to $OA_HTML. This page will be called from existing apps jsp page through hyperlink. When i click the hyperlink request passed for my jsp page but the following error occured,
    "You are not authorized to access ABC.jsp".
    What may be the problem. Do we have to register a jsp page. I already bounced the server.
    Thanks,
    Kannan

    Kannan,
    seems to be obvious that the directory you are trying to access is security protected. So you need to logon
    Frank

  • Error in running jsp page

    Hi,
    I managed to connect to the DB using sql developer.
    But when i try to run the jsp page that i create.
    it gives me the following error:
    While trying to retrieve the URL: http://192.168.1.64:8988/StaffDirectorySystem-ViewController-context-root/addUser.jsp
    The following error was encountered:
    Connection Failed
    The system returned:
    (113) No route to hostThe remote host or network may be down. Please try the request again.
    Your cache administrator is root.
    Can anyone please advise me on what is wrong?
    Thanks and regards,
    Esther

    HI frank,
    I can accessed the DB within jdeveloper.
    But i do not understand when i get the error message still.
    The error message i got is:
    ERROR
    The requested URL could not be retrieved
    While trying to retrieve the URL: http://192.168.1.64:8988/StaffDirectorySystem-ViewController-context-root/deleteStaff.jsp
    The following error was encountered:
    Connection Failed
    The system returned:
    (113) No route to hostThe remote host or network may be down. Please try the request again.
    Your cache administrator is root.
    I am using hibernate:
    <property name="connection.url">jdbc:oracle:thin:@localhost:1521:orcl</property>

  • Wireld 500 Internal Server Error in my JSP page

    My JSP page (maed by ADF) works good for about one week but after that it gives error:
    500 Internal Server Error
    javax.faces.el.EvaluationException: javax.faces.FacesException: javax.faces.FacesException: Can't instantiate class: 'invoiceEntry'.. class invoiceEntry : java.lang.NullPointerException
    Would some one help tell me what the issue could be?
    Here is the whole error message:
    500 Internal Server Error
    javax.faces.el.EvaluationException: javax.faces.FacesException: javax.faces.FacesException: Can't instantiate class: 'invoiceEntry'.. class invoiceEntry : java.lang.NullPointerException     at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:206)     at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)     at oracle.adf.view.faces.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:55)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.ValueRenderer.getValue(ValueRenderer.java:63)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.ValueRenderer.getConvertedString(ValueRenderer.java:32)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.OutputTextRenderer.encodeEnd(OutputTextRenderer.java:56)     at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:163)     at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)     at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:236)     at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:255)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelLabelAndMessageRenderer.renderFieldCellContents(PanelLabelAndMessageRenderer.java:59)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.LabelAndMessageRenderer._renderFieldCell(LabelAndMessageRenderer.java:293)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.LabelAndMessageRenderer.encodeAll(LabelAndMessageRenderer.java:163)     at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:159)     at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)     at oracle.adfinternal.view.faces.uinode.UIComponentUINode._renderComponent(UIComponentUINode.java:317)     at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:262)     at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:239)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)     at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)     at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:67)     at oracle.adfinternal.view.faces.uinode.UIXComponentUINode.renderInternal(UIXComponentUINode.java:177)     at oracle.adfinternal.view.faces.uinode.UINodeRendererBase.encodeEnd(UINodeRendererBase.java:53)     at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)     at oracle.adfinternal.view.faces.uinode.UIComponentUINode._renderComponent(UIComponentUINode.java:317)     at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:262)     at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:239)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)     at oracle.adfinternal.view.faces.ui.laf.base.xhtml.RowLayoutRenderer.renderChild(RowLayoutRenderer.java:95)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)     at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)     at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:67)     at oracle.adfinternal.view.faces.uinode.UIXComponentUINode.renderInternal(UIXComponentUINode.java:177)     at oracle.adfinternal.view.faces.uinode.UINodeRendererBase.encodeEnd(UINodeRendererBase.java:53)     at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)     at oracle.adfinternal.view.faces.uinode.UIComponentUINode._renderComponent(UIComponentUINode.java:317)     at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:262)     at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:239)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)     at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)     at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:67)     at oracle.adfinternal.view.faces.uinode.UIXComponentUINode.renderInternal(UIXComponentUINode.java:177)     at oracle.adfinternal.view.faces.uinode.UINodeRendererBase.encodeEnd(UINodeRendererBase.java:53)     at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)     at oracle.adfinternal.view.faces.uinode.UIComponentUINode._renderComponent(UIComponentUINode.java:317)     at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:262)     at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:239)     at oracle.adfinternal.view.faces.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(ContextPoppingUINode.java:224)     at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)     at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderNamedChild(BaseRenderer.java:384)     at oracle.adfinternal.view.faces.ui.laf.base.desktop.PageHeaderLayoutRenderer._renderTabBar(PageHeaderLayoutRenderer.java:570)     at oracle.adfinternal.view.faces.ui.laf.base.desktop.PageHeaderLayoutRenderer.renderContent(PageHeaderLayoutRenderer.java:429)     at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)     at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:67)     at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)     at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)     at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)     at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:67)     at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)     at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)     at oracle.adfinternal.view.faces.ui.composite.UINodeRenderer.renderWithNode(UINodeRenderer.java:90)     at oracle.adfinternal.view.faces.ui.composite.UINodeRenderer.render(UINodeRenderer.java:36)     at oracle.adfinternal.view.faces.ui.laf.oracle.desktop.PageLayoutRenderer.render(PageLayoutRenderer.java:76)     at oracle.adfinternal.view.faces.uinode.UIXComponentUINode.renderInternal(UIXComponentUINode.java:177)     at oracle.adfinternal.view.faces.uinode.UINodeRendererBase.encodeEnd(UINodeRendererBase.java:53)     at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)     at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:623)     at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:546)     at oracle.adf.view.faces.webapp.UIXComponentTag.doEndTag(UIXComponentTag.java:100)     at invoiceEntryNew.jspService(_invoiceEntryNew.java:3702)     [SRC:/invoiceEntryNew.jsp:669]     at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:253)     at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)     at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)     at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)     at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)     at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)     at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)     at Session.ApplicationSessionExpiryFilter.doFilter(ApplicationSessionExpiryFilter.java:50)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:534)Caused by: javax.faces.FacesException: javax.faces.FacesException: Can't instantiate class: 'invoiceEntry'.. class invoiceEntry : java.lang.NullPointerException     at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:266)     at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:78)     at oracle.adfinternal.view.faces.el.AdfFacesVariableResolver.resolveVariable(AdfFacesVariableResolver.java:40)     at oracle.adfinternal.view.faces.model.VariableResolverUtils$JspResolver.resolveVariable(VariableResolverUtils.java:79)     at com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:125)     at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:146)     at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243)     at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173)     ... 114 moreCaused by: javax.faces.FacesException: Can't instantiate class: 'invoiceEntry'.. class invoiceEntry : java.lang.NullPointerException     at com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:209)     at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:256)     ... 121 moreCaused by: java.lang.ClassNotFoundException: class invoiceEntry : java.lang.NullPointerException     at java.beans.Beans.instantiate(Beans.java:208)     at java.beans.Beans.instantiate(Beans.java:48)     at com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:203)     ... 122 more

    Looks like a NPE in your invoiceEntry class - I cannot tell for sure is that a managed bean or a jsp tag. My guess would be that the NPE is in that class' constructor... time to get out the debugger.
    John

  • Error shown on JSP page

    I have an error showing up for my JSP page, where no error should be.
    The page looks like:
    <%@ page import="atg.servlet.ServletUtil" %>
    <%@ taglib uri="dsp" prefix="dsp" %>
    <%@ taglib uri="c" prefix="c" %>
    <dsp:page>
      <dsp:importbean bean="/rh/configurator/service/ProductService"/>
      <dsp:importbean bean="/atg/dynamo/droplet/ForEach"/>
      <dsp:importbean bean="/rh/configurator/Configuration"/>
      <dsp:importbean bean="/rh/configurator/formhandler/ConfiguratorFormHandler"/>
      <dsp:importbean bean="/rh/configurator/droplet/PossibleOptionsDroplet"/>
      <p>
        <dsp:valueof bean="Configuration.question[bean:ProductService.currentSize]"/>
        <!-- Current index = <dsp:valueof bean="ProductService.currentIndex"/> -->
      </p>
      <dsp:form method="post" action="<%= ServletUtil.getDynamoRequest(request).getRequestURI() %>" name="myform" synchronized="/rh/configurator/service/ProductService">
        <%-- Use a list box rather than a combo box. --%>
        <dsp:select bean="ConfiguratorFormHandler.propertyValue" onchange="document.myform.addPropertyValue.click();" size="20" style="width: 200px">
          <dsp:droplet name="PossibleOptionsDroplet">
            <dsp:param name="productService" bean="ProductService"/>
            <dsp:oparam name="output">
              <dsp:droplet name="ForEach">
                <dsp:param name="array" param="options"/>
                <dsp:param name="sortProperties" value="+value"/>
                <dsp:oparam name="outputStart">
                  <dsp:option value="" selected="<%= true %>">Select...</dsp:option>
                </dsp:oparam>
                <dsp:oparam name="output">
                  <dsp:param name="item" param="element"/>
                  <dsp:option paramvalue="item.id">
                    <dsp:valueof param="item.value"/>
                  </dsp:option>
                </dsp:oparam>
              </dsp:droplet>
            </dsp:oparam>
          </dsp:droplet>
        </dsp:select>
        <dsp:input type="submit" name="addPropertyValue" bean="ConfiguratorFormHandler.addPropertyValue" value="Go">
      </dsp:form>
    </dsp:page>[/code:1:92ab377bb2]
    And the error is on the first <dsp:option> tag, where the "Select..." text is.
    The error has a tooltip description, but there is no corresponding description in the Problems tab.  I copied down the description as the following:
    Syntax error on token "}", try expected on this token.
    Syntax error, insert "}" to complete MethodBody.
    Syntax error, insert "}" to complete Block.
    Syntax error,  insert "Finally" to complete try statement.
    But... well, there's barely any java in this page.  I don't know where this error is coming from, or how to find the compiled class associated with it.
    Any ideas on how to fix this?
    Will ([email protected]).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Okay, fixed.
    <dsp:input type="submit" name="addPropertyValue" bean="ConfiguratorFormHandler.addPropertyValue" value="Go">[/code:1:703fdcee35]
    should have been:
    [code:1:703fdcee35]<dsp:input type="submit" name="addPropertyValue" bean="ConfiguratorFormHandler.addPropertyValue" value="Go"/>[/code:1:703fdcee35]
    Still a strange error, though.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Interrmittant dispaly of error message on JSP Page

    Hi ,
    I am developing an application using JSP and servlets. I ma having a peculiar issue with it.
    I have few links on a JSP page. When a user clicks on the link, its credentials are verified from database and if he is authorised, he will be taken to corresponding link page. Otherwise an error message is dispalyed on the same JSP page.
    When user is not authorised, an exception is thrown from backend to UI passing an error code. This error code is extracted in UI and error description for this error code is read from a properties file.
    From the servlet I use send.redirect() calls to redirect to the url with error code concatenated at the end of the url.
    It is something like this
    try {
    if(validUser)
    //do stuff
    response.sendRedirect("abc/xyzServlet");
    } catch(Exception ex) {
    errid=ex.getErrid();
    response.sendRedirect("abc/MainPageServlet?errid=" + errid);
    }In the MainPageServlet, i read error properties file and display error desc for that error id.
    The problem I am facing is that when an unauthorised user clicks on link repeatedly, he sees the error message intermittently.
    But the error id could be seen on the page url appended.
    Sometimes I also see IllegalStateException in the logs.
    I am using WebSphere server to deploy the application.
    Please help me on this, I have spent much time on this and haven't got a clue. Any pointers will be useful.
    Thank You,
    Priyanshu.
    Edited by: galapagos on Feb 28, 2008 10:43 PM
    Edited by: galapagos on Feb 28, 2008 10:44 PM

    I've tried this and the message still comes up all the time. Have also tried resetting and this doesn't work either. The message appears whether or not it is connected to an accessory (eg speakers). Any further ideas?

  • Error with Portal JSP Page Upload

    i've run into a problem with trying to deploy custom JSP pages to Portal. basically, if i enable JSP page types for the Page Group, generate a simple page, download it using the Download JSP link, and then try to upload it again as a JAR or WAR via the JSP Source tab, even without modifying the page at all, i receive the following error:
    Unexpected error - User-Defined Exception (WWC-35000)
    Unexpected error - User-Defined Exception (WWC-35000)
    Path ID does not exist. (WWC-50001)
    i've tried logging in as ORCLADMIN in case it was a permissions thing, but that didn't help.
    anyone else experience this? any ideas?
    thanks,
    .rich

    i've run into a problem with trying to deploy custom JSP pages to Portal. basically, if i enable JSP page types for the Page Group, generate a simple page, download it using the Download JSP link, and then try to upload it again as a JAR or WAR via the JSP Source tab, even without modifying the page at all, i receive the following error:
    Unexpected error - User-Defined Exception (WWC-35000)
    Unexpected error - User-Defined Exception (WWC-35000)
    Path ID does not exist. (WWC-50001)
    i've tried logging in as ORCLADMIN in case it was a permissions thing, but that didn't help.
    anyone else experience this? any ideas?
    thanks,
    .rich

  • Error accessing my jsp page

    I have created a simple web application and using tomcat 5. when i try accessing my jsp page..it just gives an error message..HTTP Status 404...The requested resource (/carnhotel/date.jsp) is not available.
    however, it works fine when i deploy in default applications (servlet-examples, jsp-examples,root)...plz help..

    How are you deploying this web application? Just in the webapps >directory?iewebapps/carnhotel/date.jsp?i have deployed in the webapps directory with the same directory structure...and also WEB-INF/web.xml
    also, when i open tomcat admin console...click on host(localhost/context(/carnhotel))..displays an error ...
    HTTP Status 500 - Error retrieving attribute debug
    type Status report
    message Error retrieving attribute debug
    description The server encountered an internal error (Error retrieving attribute debug) that prevented it from fulfilling this request.
    thnx...
    .

  • Error when requesting JSP page

    We have just finished getting our environment set up. We are running
    WebLogic 4.5.1 sp7 on a Sun server, and are frontending it with IIS 4.0
    SP6a using the iisproxy.dll WebLogic plugin.
    We can get things working for a while, but eventually, we get the
    following error in the NT event log when requesting the first JSP on our
    site:
    "Out of process application '/LM/W3SVC/1/Root' terminated unexpectedly"
    The Web server is still up, it's just when the JSP page is called that
    we get "Page can not be displayed" errors. Any HTML pages come up just
    fine. To fix the problem, we just stop and restart the Web Publishing
    service.
    Has anyone seen this error or does anyone know what events cause this
    problem?
    Thanks,
    -Mike

    There is a big difference between this;
    http://www.mydomain.com/blabla
    and this;
    http://www.mydomain.com/blah.jsp
    blabla - this is the name of the Web application. When you reference this Web application name Tomcat will check the welcom file descriptor and redirect for that web application.
    blah.jsp - is the name of a JSP page. When you reference this page the way you did above, you are not stating where the JSP page is located. It would be locatied in the "http://www.mydomain.com/blabla/blah.jsp" location.

  • Gateway Timeout error when running JSP page in 10.1.3 preview

    I am unable to run a JSF JSP page with nothing in it but text. I get an error in the browser:
    Gateway Timeout
    The following error occurred:
    [code=GATEWAY_TIMEOUT] A gateway timeout occurred. The server is unreachable. Retry the request.
    The url is:
    http://82.123.84.247:8988/ListProto2-ViewController-context-root/faces/test.jsp
    My laptop uses DHCP and 82.123.84.247 is currently my IP address. If I change the url to use localhost instead of the IP address, the page displays without error. I tried changing Tools -> Preferences -> Web Browser and Proxy to exclude the proxy for 82.123.84.247 (localhost was already excluded), but this didn't help.
    I saw a post from a year ago where someone had the same problem with an earlier version of JDev, so I don't think it is specific to the preview release. It must be some kind of setup problem. Unfortunately, no one responded to the other post.

    Hi Vicki,
    Under the main menu, pick:
    Tools | Embedded OC4J Server Preferences
    and visit the "Startup" panel in that dialog.
    For the "Host Name or IP Address Used to Refer to the Embedded OC4J" field, click the (*) Specific Host Name option, and type in "localhost" for the host name.
    That usually fixes it for me.

  • Tomcat - Error when executing JSP pages

    Hi,
    I installed tomcat 5.0.30 on a Windows XP os.
    I tried to write a simple JSP page, the classic "Hello World", but when I access the page, I obtain the following error message:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    Generated servlet error:
    javac: invalid flag: -source
    Usage: javac <options> <source files>
    where possible options include:
    -g Generate all debugging info
    -g:none Generate no debugging info
    -g:{lines,vars,source} Generate only some debugging info
    -O Optimize; may hinder debugging or enlarge class file
    -nowarn Generate no warnings
    -verbose Output messages about what the compiler is doing
    -deprecation Output source locations where deprecated APIs are used
    -classpath <path> Specify where to find user class files
    -sourcepath <path> Specify where to find input source files
    -bootclasspath <path> Override location of bootstrap class files
    -extdirs <dirs> Override location of installed extensions
    -d <directory> Specify where to place generated class files
    -encoding <encoding> Specify character encoding used by source files
    -target <release> Generate class files for specific VM version
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:437)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:497)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:476)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    What can be the problem? I use JRE v. 1.4.2.
    Thank for any help.

    I use JRE v. 1.4.2.What is your JAVA_HOME variable set to?
    Do you have a full Java1.4 installation? - ie not just the JRE but the compiler as well?
    javac: invalid flag: -sourceThis message would indicate that the -source flag is invalid for javac.
    This flag was introduced with java1.4.
    Most probably you have a java1.3 installed on the machine confusing tomcat.

  • ""." expected" error when compiling jsp page

    Hi all,
    I moved to develop all my applications from IBM WASD to JDeveloper but when I compile the projects in JDev, there's error ""." expected" for nearly all jsp pages. But these jsp pages for sure are working very well since almost of them are in production.
    Could you help me to get rid of this.
    Thanks in advance.

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <%@page language = "java"
    contentType = "text/html"
    session = "true"
    autoFlush = "true"
    import = "java.util.*,java.sql.*,C_DBHandler"
    buffer = "4kb"
    isThreadSafe = "true"
    info = "Common File"
    %>
    <jsp:useBean id="hndQuery" scope="page" class="C_DBHandler" />
    <%
    // these are the application settings included in the pages where needed
    String txtQuery = ""; // SQL statement
    String ipaddress = "";
    String ipport = "";
    String virtualdir = "";
    String rowdisplay = "";
    hndQuery.doConnect((String)request.getAttribute("DB_DRIVER"),
    (String)request.getAttribute("URL_CONNECTION"),
    (String)request.getAttribute("CMN.USER_ID"),
    (String)request.getAttribute("CMN.USER_PASS"));
    txtQuery = "select ip_address, ip_port, virtual_dir, row_display from xserver_config where environment='Live' and application='M13000'";
    hndQuery.doSelect (txtQuery, 1);
    if (hndQuery.getRowCount() > 0)
    hndQuery.moveFirst ();
    ipaddress = hndQuery.getColumn("IP_ADDRESS");
    ipport = hndQuery.getColumn("IP_PORT");
    virtualdir = hndQuery.getColumn("VIRTUAL_DIR");
    rowdisplay = hndQuery.getColumn("ROW_DISPLAY");
    request.setAttribute("CE_SERVER", ipaddress+":"+ipport+"/"+virtualdir);
    request.setAttribute("ROW_DISPLAY", rowdisplay);
    hndQuery.doDisConnect();
         hndQuery.finalize();
    %><HTML>
    <HEAD>
    <META name="GENERATOR" content="IBM WebSphere Studio">
    </HEAD>
    </HTML>
    The jsp page is as above. And the error line is line 1. It 's always line 1 no matter what content of that line.

Maybe you are looking for