JSP Import Error

I'm very new to Netweaver, java and JSP, so please forgive me for what is hopefully a very simple question.
I've created a simple JSP page that needs 2 external JAR files to run.
<%@ page import="org.apache.commons.codec.binary.Base64" %>
<%@ page import="org.apache.commons.ssl.PKCS8Key" %>
I've included these 2 JARS in my class path of my Web Project:
commons-codec-1.3.jar
not-yet-commons-ssl-0.3.10.jar
They get included in the WAR file under web-inf-->classes and the EAR file has the WAR in it when I deploy it.  However, I'm getting a syntax error when I run the JSP:
package org.apache.commons.codec.binary does not exist
import org.apache.commons.codec.binary.Base64;
package org.apache.commons.ssl does not exist
import org.apache.commons.ssl.PKCS8Key;
Can someone please explain to me how I'm supposed to include these JAR files correctly?
Thanks,
Jeff

Hi,
the JAR-Files should be located under WEB-INF/lib.
If the lib directory does not exist create it manually using the resource perspective of NWDS. Then copy or better move the JAR Files to the location WEB-INF/lib. After that correct the JAVA Build Path so that the JARs are found in the new location.
If your imports work in NWDS you should be able to build WAR and EAR. Redeploy the EAR and your JSPs should work without errors
Cheers

Similar Messages

  • Getting import error in jsp in creating war project of masthead for portal 7.31

    Hi,
    I am getting error in customize masthead war project in jsp for import statement.
    <%@ page import="com.sapportals.htmlb.*"%>
    <%@ page import="com.sapportals.htmlb.hovermenu.*"%>
    <%@ page import="com.sap.security.api.UMFactory"%>
    <%@ page import="com.sapportals.portal.prt.service.license.ILicenseService"%>
    <%@ taglib uri="prt:taglib:tlhtmlb" prefix="hbj"%>
    I have asked basis team for jar relative to these but they have not found in system.
    We are using portal 7.31 version.
    Kindly help me to remove this error from jsp.
    Thanks in advance.

    Hi Hemendra,
    At first i have done this and after that even i was facing error that's why i created this thread.
    Kindly check my first post for error.
    Getting import error in jsp in creating war project of masthead for portal 7.31
    This question is Not Answered.(Mark as assumed answered)
    Swati Joshi  Apr 29, 2015 12:34 PM  
    Hi,
    I am getting error in customize masthead war project in jsp for import statement.
    <%@ page import="com.sapportals.htmlb.*"%>
    <%@ page import="com.sapportals.htmlb.hovermenu.*"%>
    <%@ page import="com.sap.security.api.UMFactory"%>
    <%@ page import="com.sapportals.portal.prt.service.license.ILicenseService"%>
    <%@ taglib uri="prt:taglib:tlhtmlb" prefix="hbj"%>
    I have asked basis team for jar relative to these but they have not found in system.
    We are using portal 7.31 version.
    Kindly help me to remove this error from jsp.
    Thanks in advance.

  • Jsp import package error after upgrading to jdk1.4.2_08 and tomcat 5.0

    I am trying to upgrade the jdk and tomcat from 1.3/3.3 to 1.4/5.0.
    My jsp imports worked fine prior to the upgrade, but now I get the following:
    Jun 6, 2005 10:01:17 AM org.apache.jasper.compiler.Compiler generateClass
    SEVERE: Error compiling file: /C:/Tomcat/work/Catalina/localhost/Print//org/apac
    he/jsp\BillingPrompt_jsp.java [javac] Compiling 1 source file
    C:\Tomcat\work\Catalina\localhost\Print\org\apache\jsp\BillingPrompt_jsp.java:11
    : package com.adware.print.database.inquire does not exist
    import com.adware.print.database.inquire.*;
    ^
    1 error
    A fatal error has occured for user: Unable to compile class for JSP
    Generated servlet error:
    C:\Tomcat\work\Catalina\localhost\Print\org\apache\jsp\BillingPrompt_jsp.java:11
    : package com.adware.print.database.inquire does not exist
    import com.adware.print.database.inquire.*;
    The package in the import statement "import com.adware.print.database.inquire.*" actually has no classes in it. The classes are contained in "import com.adware.print.database.inquire.controller.*". If I change the import statement everything works. The problem is that I have 100s of jsps. If there is a work-around outside of changing the import statements, that would be best.
    Can anyone help? Thanks.

    do you know what url is being looked up? the message is complaining that the url is starting with the string "an]", which seems pretty bogus.

  • JSP : Tiles Error �tag.getAsString� : component context is not defined

    JSP : Tiles Error �tag.getAsString� : component context is not defined
    I�m working with Struts 1.1 and Tiles, under Tomcat 5.0.16
    My application works fine using Struts 1.1 alone, however, when attempting to run the application in a �Tiles� environment, I get an error:

    javax.servlet.jsp.JspException: Error - tag.getAsString : component context is not defined. Check tag syntax

    I have �defined� this in my �tiles-defs.xml� file, and as far as I can tell, everything else is configured properly (I have looked over the included Struts document examples, and others on the web, and I seem to have everything configured identically).
    What am I missing???
    I have created a series of �mostly� empty JSP files, for simplicity sake.
    JSP FILES:
    -     header.jsp
    -     footer.jsp
    -     menu.jsp
    -     rootLayout.jsp
    -     user.jsp
    -     show_user.jsp
    -     error.jsp
    -     defaultContentPage.jsp
    All JSP files contain:
    <%@ taglib uri="/WEB-INF/lib/struts-tiles.tld" prefix="tiles" %>
    and

    <title>
    <tiles:getAsString name="title"/>
    </title>

    My �tiles-defs.xml�: =================================================
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE tiles-definitions PUBLIC
    "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN"
    "http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd">
    <tiles-definitions>
    <!-- ================ RootLayout ======================= -->
    <definition name=".root.layout" path="/jsp/rootLayout.jsp" >
    <put name="title" value="Default title"/>
    <put name="header" value="/jsp/header.jsp"/>
    <put name="menu" value="/jsp/menu.jsp"/>
    <put name="content" value="/jsp/defaultContentPage.jsp"/>
    <put name="footer" value="/jsp/footer.jsp"/>
    </definition>
    <!-- ================ Extentions ======================= -->
    <!-- User -->
    <definition name=".view.user" extends=".root.layout">
    <put name="title" value="Welcome to the User Form."/>
    <put name="content" value="/jsp/user.jsp"/>
    </definition >
    <!-- Save -->
    <definition name=".view.save" extends=".root.layout">
    <put name="title" value="Welcome to the Show User Form."/>
    <put name="content" value="/jsp/show_user.jsp"/>
    </definition >
    <!-- Error -->
    <definition name=".view.error" extends=".root.layout">
    <put name="title" value="Error Message."/>
    <put name="content" value="/jsp/error.jsp"/>
    </definition >
    </tiles-definitions>
    My �struts-config.xml�: ==============================================
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE struts-config PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
    "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
    <struts-config>
    <!-- ========== FormBeans =================================== -->
    <form-beans>
    <form-bean name="userForm" type="biz.seamrog.strutstest.model.state.UserForm"/>
    </form-beans>
    <!-- ========== Action Mapping Definitions=================== -->
    <action-mappings>
    <!-- Action using normal forward syntax...
    <action path="/user"
    forward="/jsp/user.jsp">
    </action>
    -->
    <!-- Action using a "Tiles" forward syntax...
    The "forward" path mappings are defined in a file named
    "../WEB-INF/tiles-defs.xml
    -->
    <action path="/user"
    forward=".view.user">
    </action>
    <!-- Action using normal forward syntax...
    <action path="/save"
    type="biz.seamrog.strutstest.model.logic.SaveAction"
    name="userForm" scope="request"
    input="/jsp/user.jsp">
    <forward name="success" path="/jsp/show_user.jsp"/>
    <forward name="failure" path="/jsp/error.jsp"/>
    </action>
    -->
    <!-- Tiles syntax -->
    <action path="/save"
    type="biz.seamrog.strutstest.model.logic.SaveAction"
    name="userForm" scope="request"
    input="/jsp/user.jsp">
    <forward name="success" path=".view.show_user"/>
    <forward name="failure" path=".view.error"/>
    </action>
    </action-mappings>
    <!-- ============== Global Forwards ======================== -->
    <global-forwards>
    <!-- NOTE: paths with "." syntax are Tiles defined paths,
    all other paths follow conventional "/path/to/file.jsp syntax
    -->
    <forward name="user" path=".view.user"/>
    <forward name="show_user" path=".view.show_user"/>
    <forward name="error" path=".view.error"/>
    <forward name="cssBase" path="/stylesheets/common.css"/>
    </global-forwards>
    <!-- ============= Plug-ins =============== -->
    <!-- Tiles Plug-in -->
    <plug-in className="org.apache.struts.tiles.TilesPlugin" >
    <set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml"/>
    <set-property property="definitions-parser-validate" value="true" />
    <set-property property="moduleAware" value="true" />
    </plug-in>
    </struts-config>
    My �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>
    <servlet>
    <!--
    MyController extends org.apache.struts.action.ActionServlet
    NOTE: The servlet could also be specified specifying the
    default Struts ActonServlet...
    <servlet-name>controller</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    ...I have chosen to extend here just for practice sake.
    -->
    <!--
    <servlet-name>MyController</servlet-name>
    <servlet-class>biz.seamrog.strutstest.controller.MyController</servlet-class>
    -->
    <servlet-name>MyController</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <!--
    Point to Struts configuration file(s)
    -->
    <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <!-- Tiles config -->
    <init-param>
    <param-name>definitions-config</param-name>
    <param-value>/WEB-INF/tiles-defs.xml</param-value>
    </init-param>
    <!-- This is the added Application parameter: -->
    <init-param>
    <param-name>application</param-name>
    <param-value>ApplicationResource</param-value>
    </init-param>
    <!-- end -->
    <load-on-startup>5</load-on-startup>
    </servlet>
    <!--
    All incoming requests that end in .do, send to MyController.
    -->
    <servlet-mapping>
    <servlet-name>MyController</servlet-name>
    <url-pattern>*.do</url-pattern>
    </servlet-mapping>
    <!--
    Send initial requests to the login page for this application
    -->
    <welcome-file-list>
    <welcome-file>/jsp/user.jsp</welcome-file>
    </welcome-file-list>
    <!--
    Make all of the necessary related Struts JSP custom tag libraries
    available and define where to find them.
    -->
    <taglib>
    <taglib-uri>/WEB-INF/lib/struts-bean.tld</taglib-uri>
    <taglib-location>/WEB-INF/lib/struts-bean.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/lib/struts-html.tld</taglib-uri>
    <taglib-location>/WEB-INF/lib/struts-html.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/lib/struts-logic.tld</taglib-uri>
    <taglib-location>/WEB-INF/lib/struts-logic.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/lib/struts-tiles.tld</taglib-uri>
    <taglib-location>/WEB-INF/lib/struts-tiles.tld</taglib-location>
    </taglib>
    </web-app>
    My �rootLayout.jsp�: ================================================
    <%@page contentType="text/html"%>
    <%@ taglib uri="/WEB-INF/lib/struts-tiles.tld" prefix="tiles" %>
    <html>
    <header>
    <title>
    <tiles:getAsString name="title" />
    </title>
    <body>
    <tiles:get name="header"/>
    <tiles:get name="menu"/> <tiles:get name="content"/>
    <tiles:get name="footer"/>
    </body>
    </html>

    I found an entry in the Mail Archive for Struts. I got it working. My working code is below. You need to in the base JSP import the header and put the 'title' out to it.
    tiles:def file:
    <!DOCTYPE tiles-definitions PUBLIC
    "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN"
    "http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd">
    <tiles-definitions>
    <definition name=".petstore.Base" path="/common/petstorecommon.jsp">
    <put name="title" value ="${title}"/>
    <put name="header" value="/common/header.jsp"/>
    <put name="message" value="/common/message.jsp"/>
    <put name="content" value="${content}"/>
    <put name="navbar" value="/common/navbar.jsp"/>
    </definition>
    <definition name="petstore.Login" extends=".petstore.Base" >
    <put name="title" value="Login Page" />
    <put name="content" value="/Logon.jsp"/>
    <put name="test1" value="test1value"/>
    </definition>
    base tile def:
    <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html:html>
    <head>
    <html:base/>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>pet store common (jsp)</title>
    </head>
    <body>
    <tiles:insert attribute="header">
    <%-- both of these attributes are accessible from header.jsp It works!!! --%>
    <tiles:put name="title" beanName="title" beanScope="tile" />
    <tiles:put name="test1" beanName="test1" beanScope="tile" />
    </tiles:insert>
    <%-- <tiles:get name="header" /> --%>
    <tiles:get name="message" />
    <tiles:get name="content" />
    <tiles:get name="navbar" />
    </body>
    </html:html>
    Getting access to the title value in the header.jsp file:
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
    <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%>
    <html>
    <head>
    <tiles:getAsString name="title" />
    <tiles:getAsString name="test1" />
    </head>
    <body>
    </body>
    </html>

  • JSP compilation errors in weblogic 6.1

              I'm getting these JSP compilation errors in weblogic 6.1 on Solaris. Please help.
              Full compiler error(s):
              error: Invalid class file format:
              ^
              /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
              tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
              eb/_jsp/_event/__eventForm.java:34: Class
              com.ford.redherring.model.PropertiesAttributesModel not found in import.
              import com.ford.redherring.model.PropertiesAttributesModel; <file://[>
              /web/jsp/event/eventForm.jsp; Line: 64]
              ^
              /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
              tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
              eb/_jsp/_event/__eventForm.java:38: Class com.ford.redherring.util.DialogHeader
              not found in import.
              import com.ford.redherring.util.DialogHeader; <file://[> /web/jsp/event/eventForm.jsp;
              Line: 68]
              ^
              /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
              tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
              eb/_jsp/_event/__eventForm.java:39: Class com.ford.redherring.util.DialogFooter
              not found in import.
              import com.ford.redherring.util.DialogFooter; <file://[> /web/jsp/event/eventForm.jsp;
              Line: 69]
              ^
              /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
              tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
              eb/_jsp/_event/__eventForm.java:40: Class com.ford.redherring.model.DDContainer
              not found in import.
              import com.ford.redherring.model.DDContainer; <file://[> /web/jsp/event/eventForm.jsp;
              Line: 70]
              ^
              /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
              tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
              eb/_jsp/_event/__eventForm.java:41: Class
              com.ford.redherring.model.DDValidationModel not found in import.
              import com.ford.redherring.model.DDValidationModel; <file://[>
              /web/jsp/event/eventForm.jsp; Line: 71]
              

    This appears to be a CLASSPATH problem (you are missing references to
              'com.ford.redherring.model.*' and 'com.ford.redherring.util.*'). The
              CLASSPATH may be set in the server startup script. Hope this helps.
              Wade.
              "Katri Alur" <[email protected]> wrote in message news:<[email protected]>...
              > I'm getting these JSP compilation errors in weblogic 6.1 on Solaris. Please help.
              >
              > ----------------------------------------------------------------------------
              > ----
              > Full compiler error(s):
              > error: Invalid class file format:
              >
              >
              > ^
              > /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
              > tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
              > eb/_jsp/_event/__eventForm.java:34: Class
              > com.ford.redherring.model.PropertiesAttributesModel not found in import.
              > import com.ford.redherring.model.PropertiesAttributesModel; <file://[>
              > /web/jsp/event/eventForm.jsp; Line: 64]
              > ^
              > /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
              > tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
              > eb/_jsp/_event/__eventForm.java:38: Class com.ford.redherring.util.DialogHeader
              > not found in import.
              > import com.ford.redherring.util.DialogHeader; <file://[> /web/jsp/event/eventForm.jsp;
              > Line: 68]
              > ^
              > /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
              > tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
              > eb/_jsp/_event/__eventForm.java:39: Class com.ford.redherring.util.DialogFooter
              > not found in import.
              > import com.ford.redherring.util.DialogFooter; <file://[> /web/jsp/event/eventForm.jsp;
              > Line: 69]
              > ^
              > /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
              > tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
              > eb/_jsp/_event/__eventForm.java:40: Class com.ford.redherring.model.DDContainer
              > not found in import.
              > import com.ford.redherring.model.DDContainer; <file://[> /web/jsp/event/eventForm.jsp;
              > Line: 70]
              > ^
              > /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
              > tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
              > eb/_jsp/_event/__eventForm.java:41: Class
              > com.ford.redherring.model.DDValidationModel not found in import.
              > import com.ford.redherring.model.DDValidationModel; <file://[>
              > /web/jsp/event/eventForm.jsp; Line: 71]
              

  • Tomcat 5.0 JSP ServiceFactory Error

    Hi,
    I am running Apache 2, Tomcat 5.0, Axis on a server for deploying webservics. When I execute a command line java program it works just fine, but When I attempt to use this same code from a JSP it throws a ServiceException for ServiceFactory.newInstance at runtime. The code Find2p is common to both the Command Line and the JSP. For detail Find2p.java is listed way below.
    Any insight into this error would be greatly appreciated, if more info is need I would happily add it to this discussion.
    Thanks in Advance,
    Wayne
    JSP Code
    package test.jsp;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.xml.namespace.QName;
    /** Simple servlet for testing the use of packages
    * and utilities from the same package.
    * <P>
    * Taken from Core Servlets and JavaServer Pages 2nd Edition
    * from Prentice Hall and Sun Microsystems Press,
    * http://www.coreservlets.com/.
    * &copy; 2003 Marty Hall; may be freely used or adapted.
    public class HelloServlet3 extends HttpServlet {
    public void doGet(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException {
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    Find2p f = new Find2p("smith");
    String title = "Hello (z)";
    String x = "RESULTS " + f.getRes() + " INPUT " + f.getParam1();
    out.println(ServletUtilities.headWithTitle(title) +
    "<BODY BGCOLOR=\"#FDF5E6\">\n" +
    "<H1>" + title + x + "</H1>\n" +
    "</BODY></HTML>");
    HERE IS THE COMMAND LINE CODE:
    package test.jsp;
    import javax.xml.namespace.QName;
    import javax.xml.rpc.*;
    import javax.xml.rpc.ServiceFactory;
    import javax.xml.rpc.Service;
    import javax.xml.rpc.Call;
    public class ClientFind2p
    public static void main(String [] args) throws Exception
    String param2 = args[0];
    System.out.println("sending: " + param2);
    Find2p f = new Find2p(param2);
    System.out.println("RESULTS " + f.getRes() + " INPUT " + f.getParam1());
    AND Find2p.java
    package test.jsp;
    import javax.xml.namespace.QName;
    import javax.xml.rpc.*;
    import java.net.*;
    import java.rmi.*;
    import javax.xml.rpc.ServiceFactory;
    import javax.xml.rpc.Service;
    import javax.xml.rpc.Call;
    class Find2p
    public Find2p(String ln)
    try
    String epAddr = "http://172.16.1.232/axis/services/JDBCServiceDMPort1";
    String wsdlAddr = epAddr + "?wsdl";
    param1 = ln;
    String nameSpaceUri = "http://www.ussa.org/test/";
    String svcName = "JDBCServiceDM";
    String portName = "JDBCServiceDMPort1";
    java.net.URL wsdlUrl = new java.net.URL(wsdlAddr);
    ServiceFactory svcFactory = ServiceFactory.newInstance(); THIS LINE THROW A ServiceException in JSP
    QName svcQName = new QName(nameSpaceUri, svcName);
    what = "Nothing Thrown";
    Service svc = svcFactory.createService(wsdlUrl, svcQName);
    Call call = (Call) svc.createCall();
    call.setTargetEndpointAddress(epAddr);
    call.setOperationName( new QName(nameSpaceUri, "findussa") );
    call.setPortTypeName( new QName(nameSpaceUri, portName) );
    Object argx = param1;
    res = (String) call.invoke(new Object[] {argx});
    catch (ServiceException e2)
    servicemsg = e2.getMessage();
    catch (JAXRPCException e3)
    rpcmsg = e3.getMessage();
    catch (MalformedURLException e4)
    malmsg = e4.getMessage();
    catch (RemoteException e5)
    remotemsg = e5.getMessage();
    public String getRes()
    return res;
    public String getParam1()
    return param1;
    public String getWhat()
    return what;
    public String getExceptionmsg()
    return exceptionmsg;
    public String getServicemsg()
    return servicemsg;
    public String getRPCmsg()
    return rpcmsg;
    public String getMALmsg()
    return malmsg;
    public String getRemotemsg()
    return remotemsg;
    private String res;
    private String param1;
    private String what;
    private String exceptionmsg;
    private String servicemsg;
    private String rpcmsg;
    private String malmsg;
    private String remotemsg;
    }

    Can you give us more details of Exception or try to debug your Servlet by using remote debug.

  • JSP import fails unless Jars are included in the PAR

    Hello,
    We have a simple EP6 iView for displaying the Universal Worklist entries (UWL) using a JSPDynPage.
    We import the UWL library symbols and compile/use them in the Java code without problems (e.g. import com.sap.netweaver.bc.uwl.Item; )
    The following entry is made in the portalapp.xml file to make sure the UWL symbols are found at runtime:
         <property name="ServicesReference" value="SAPJ2EE::library:tckmcbc.uwl~api"/>     
    The problem occurs when we try to import the UWL symbols into our JSP with this code:
         <%@ page import="com.sap.netweaver.bc.uwl.Item" %>
    The UWL symbols are just not found.  Here are the exception headers:
    #1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Resource
    Component : pcd:portal_content/MikesFolder/com.lds.mlp.MikesTest1
    #1#com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error occurs during the rendering of jsp component
    Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: D:/usr/sap/EP1/JC00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/mikestest1/work/pagelet/_sapportalsjsp_helloiviewpage.java:22: package com.sap.netweaver.bc.uwl does not exist
    import com.sap.netweaver.bc.uwl.Item;
                                    ^
    1 error
    Now if I add the bc.uwl.service.api_api.jar into PORTAL-INFlib everything is fine.  However this seems like such a 'hack'.  We really shouldn't be distributing a system file in our PAR.
    This person seems to have had the same problem with the system mail jars ( JSP MAIL ERROR ).
    Can anyone please shed some light on this problem?  Do we really have to distribute the system jars to make this JSP import work properly?
    Thanks & Cheers,
    Mike Pastor
    "always generous with points"

    Hi,
    This is exactly the portalapp.xml of the sap application com.sap.netweaver.bc.uwl.par
    check out the difference between this and yours?
    Dont miss out on anything important here. I think it should work.
    If you are still facing problem only while using in jsp I have a cure.
    Write a clean java class in your app which queries the apis in this jar.
    Also add sharing reference to this application in your portalapp.xml. Query your class in your jsp rather than the "standard jar"
    <?xml version="1.0" encoding="utf-8"?>
    <application>
      <registry>
        <entry path="/runtime/hooks/deployment/UniversalWorklistDeploymentHook" name="UniversalWorklistDeploymentHook" type="service"/>
      </registry>
      <application-config>
        <property name="startup" value="true"/>
        <property name="releasable" value="true"/>
        <property name="ServicesReference" value="SAPJ2EE::library:tckmcbc.uwl~api,SAPJ2EE::service:webdynpro,com.sap.portal.runtime.system.inqmy, com.sap.portal.ivs.connectorservice,com.sap.portal.ivs.systemlandscapeservice, urlgenerator, com.sap.portal.usermapping, usermanagement, com.sap.portal.runtime.application.rfcengine,com.sap.portal.runtime.config,knowledgemanagement"/>
        <property name="PreservedConfigPaths" value=""/>
        <property name="Vendor" value="sap.com"/>
        <property name="SecurityArea" value="NetWeaver.KMC"/>
      </application-config>
      <components/>
      <services>
        <service name="com.sap.netweaver.bc.uwl" alias="UniversalWorklistService">
          <service-config>
            <property name="className" value="com.sap.netweaver.bc.uwl.core.portal.UWLPortalService"/>
            <property name="classNameFactory" value=""/>
            <property name="classNameManager" value=""/>
            <property name="poolFactory" value="0"/>
            <property name="startup" value="true"/>
            <property name="SafetyLevel" value="low_safety"/>
          </service-config>
        </service>
        <service name="UniversalWorklistDeploymentHook">
          <service-config>
            <property name="className" value="com.sap.netweaver.bc.uwl.core.portal.UWLDeploymentHook"/>
            <property name="classNameFactory" value=""/>
            <property name="classNameManager" value=""/>
            <property name="poolFactory" value="0"/>
            <property name="startup" value="true"/>
            <property name="SafetyLevel" value="low_safety"/>
          </service-config>
        </service>
      </services>
    </application>

  • Simple JSP gives Error Message

    The following is a simple welcome.jsp file that I am trying to run on a local J2EE sever. As you can see it tries to import classes one being the FaqCategories.class which is located in the folder Ch03 of the WEB-INF directory. When I call the page up on the browser It gives me that it does not recognize the   FaqCategories class and gives an associative error message.   I am wondering why(Is the import statement wrong? Did I put the class in the wrong directory? Etc... I followed everything the book told me to a que and I still received an error.     <&@ page errorPage="/WEB-INF/errorPage.jsp" import="java.util.Iterator,Ch03.FaqCategories" %>   <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">  <html> <head> <title>Java FAQ Welcome Page</title> </head>  <body> <h1>Java FAQ Welcome Page</h1> Welcome to the Java FAQ  <%! FaqCategories faqs = new FaqCategories(); %> Click a link below for answers to the given topic. <% Iterator categories = faqs.getAllCategories(); while(categories.hasNext()) { String category = (String) categories.next(); %> <a href="<%= replaceUnderscore(category) %>.jsp"><%= category
    %></a> <% } %> <%@ include file="/WEB-INF/footer.jspf" %> </body> </html>  <%! public String replaceUnderscore(String s) { return s.replace(' ','_'); } %>

    Iterator categories = faqs.getAllCategories();I think faqs.getAllCategories() seems like a method that returns a Collection class.
    should that be replaced by faqs.getAllCategories().iterator()?
    I think you should post your stacktrace.

  • JSP Exception Error

    This is my Programe
    <html>
    <head>
    <title>JSP JavaMail Example </title>
    </head>
    <body>
    <%@ page import="java.util.*" %>
    <%@ page import="p1.*" %>
    <%@ page import="javax.mail.*" %>
    <%@ page import="javax.mail.internet.*" %>
    <%@ page import="javax.activation.*" %>
    <%
    out.println("hello");
    String host="smtp.gmail.com";
    String to = request.getParameter("to");
    String from = request.getParameter("from");
    String subject = request.getParameter("subject");
    String messageText = request.getParameter("body");
    out.println("hello");
    boolean sessionDebug = false;
    Properties props = System.getProperties();
    props.put("mail.host", host);
    props.put("mail.smtp.auth", "true");
    props.put("mail.transport.protocol", "smtp");
    props.put("mail.smtp.starttls.enable","true");
    Session mailSession = Session.getDefaultInstance(props, "");
    mailSession.setDebug(sessionDebug);
    Message msg = new MimeMessage(mailSession);
    msg.setFrom(new InternetAddress(from));
    InternetAddress[] address = {new InternetAddress(to)};
    msg.setRecipients(Message.RecipientType.TO, address);
    msg.setSubject(subject);
    msg.setSentDate(new Date());
    msg.setText(messageText);
    Transport.send(msg);
    out.println("Mail was sent to " + to);
    out.println(" from " + from);
    out.println(" using host " + host + ".");
    %>
    </body>
    </html>
    When I Run this It gives following error
    Please help me
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    Session cannot be resolved to a type
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    Session cannot be resolved
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    Message cannot be resolved to a type
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    MimeMessage cannot be resolved to a type
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    InternetAddress cannot be resolved to a type
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    InternetAddress cannot be resolved to a type
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    Message.RecipientType.TO cannot be resolved to a type
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    Transport cannot be resolved
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    Session cannot be resolved to a type
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    Session cannot be resolved
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    Message cannot be resolved to a type
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    MimeMessage cannot be resolved to a type
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    InternetAddress cannot be resolved to a type
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    InternetAddress cannot be resolved to a type
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    Message.RecipientType.TO cannot be resolved to a type
    An error occurred at line: 11 in the jsp file: /index.jsp
    Generated servlet error:
    Transport cannot be resolved
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:414)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs

    Maybe print out from the exceptions in the conexionBD directly, even do a printStackTrace. Since the exceptions are encapulated it is hard to tell. Your setup for the database looks good. Not sure about class loading this way and how it will pool. I would suggest using the JNDI capability available from the context administration of Tomcat.

  • Weblogic 9 and JSP compiler errors

    Hello everyone,
              I am having problems with my Jsps in my EAR file deployed on WL 9.0.
              I have a Jsp called upms.jsp that contains the following code snippets:
              After my import statements, I have some code that creates a resource bundle that accesses a properties file:
               <%!
                   ResourceBundle bundle = null;
                   public void jspInit() {
                   bundle = ResourceBundle.getBundle("conf.properties");
              %>
              I get an error from the above code:
              upms.jsp:3:11: 'try' statement has neither 'catch' nor 'finally' clause
                        import="java.util.ResourceBundle"
              ^----------------------^
              I am totally clueless as to what that error means.
              Next I declare a bean I use in the jsp:          
                   <jsp:useBean
                        id="userPrefsManagerBean"
              class="controllers.beans.UserPreferencesManagerBean"
                   scope="session">
                   </jsp:useBean>
                   <jsp:setProperty name="userPrefsManagerBean" property="*" />
              I get these errors from the above portion:
              upms.jsp:27:3: The qualifier of this name is a package, which cannot contain fields.
                   <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: The qualifier of this name is a package, which cannot contain fields.
                   <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Expression expected (found '.' instead)
                   <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Syntax error: expected ) (found 'class' instead)
                   <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Syntax error: expected <identifier> (found ')' instead)
                   <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              Has anyone encountered these before?
              This jsp worked perfectly well when I deployed my EAR file on JBoss...no such luck using Weblogic.
              Is there something I am missing here? I appreciate any help.
              Cheers, :-)
              M.

    Mildred,
              Two suggestions:
              1) use option weblogic.jspc's "-keepgenerated", you can keep the generated
              servlet's source code.
              Please paste it here.
              2) Can you create a simple reproducer(e.g. a war), and put it here, so that
              we can debug it and give more clues.
              To reproduce your issue, I write a simple a simple
              UserPreferencesManagerBean classs below :
              package controllers.beans;
              public class UserPreferencesManagerBean {
              private int p1;
              public void setP1(int p)
              p1 = p;
              public int getP1()
              return p1;
              But it works(oh, I run it under 910MP1).
              We cannot tell too much without your further information
              Thanks
              Leon
              <Mildred A> wrote in message news:[email protected]...
              I am still fighting with this issue.. Dang!
              I don't know what to change in my JSP because the WL JSP compiler errors are
              so out there..
              Here is the first portion of the JSP file:
              <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
              session="true"
              pageEncoding="ISO-8859-1"
              import="java.util.ArrayList"
              import="java.util.HashSet"
              import="java.util.Date"
              import="java.util.Collections"
              import="java.util.ResourceBundle"
              %>
              <%!
              ResourceBundle bundle = null;
              public void jspInit() {
              bundle = ResourceBundle.getBundle("conf.properties");
              %>
              <jsp:useBean
              id="userPrefsManagerBean"
              class="controllers.beans.UserPreferencesManagerBean"
              scope="session">
              </jsp:useBean>
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              Below is the error I get from this section alone (after precompiling):
              upms.jsp:3:11: 'try' statement has neither 'catch' nor 'finally' clause
              import="java.util.ArrayList"
              ^-----------------^
              upms.jsp:27:3: The qualifier of this name is a package, which cannot contain
              fields.
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: The qualifier of this name is a package, which cannot contain
              fields.
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Expression expected (found '.' instead)
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Syntax error: expected ) (found 'class' instead)
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Syntax error: expected <identifier> (found ')' instead)
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Expression expected (found 'catch' instead)
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Illegal use of an expression as a statement.
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: No variable or field with this name could be found at this
              location.
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: No variable or field with this name could be found at this
              location.
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Syntax error: expected ) (found '__ee' instead)
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Illegal use of an expression as a statement.
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Syntax error: expected ; (found ')' instead)
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: No variable or field with this name could be found at this
              location.
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: No variable or field with this name could be found at this
              location.
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Syntax error: expected } (found 'EOF' instead)
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              Can anyone see what I am doing wrong here? ?:| ?:|
              Cheers,
              M

  • Help- BEA JSP compile Error

    Good Afternoon,
    My database is acting up. It has come up with a JSP compile Error. This is the error it comes up with.
    Compilation of 'C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java' failed:
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:357: ')' expected
    (No more information available, probably caused by another error)
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:358: ')' expected
    (No more information available, probably caused by another error)
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:359: illegal start of expression
    (No more information available, probably caused by another error)
    this is my code that it is trying to read:
    /* compiled from JSP: /webclient/login/login.jsp
    * This code was automatically generated at 5:51:57 PM on Jul 19, 2008
    * by weblogic.servlet.jsp.Jsp2Java -- do not edit.
    package jsp_servlet._webclient._login;
    import java.io.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    // User imports
    import psdi.util.*; //[ /webclient/login/login.jsp; Line: 1]
    // built-in init parameters:
    // boolean _verbose -- wants debugging
    // Well-known variables:
    // JspWriter out -- to write to the browser
    // HttpServletRequest request -- the request object.
    // HttpServletResponse response -- the response object.
    // PageContext pageContext -- the page context for this JSP
    // HttpSession session -- the session object for the client
    (if any)
    // ServletContext application -- The servlet (application) context
    // ServletConfig config -- The ServletConfig for this JSP
    // Object page -- the instance of this page's
    implementation class (i.e., 'this')
    * This code was automatically generated at 5:51:57 PM on Jul 19, 2008
    * by weblogic.servlet.jsp.Jsp2Java -- do not edit.
    * Copyright (c) 2008 by BEA Systems, Inc. All Rights Reserved.
    public final class __login
    extends
    weblogic.servlet.jsp.JspBase
    implements weblogic.servlet.jsp.StaleIndicator
    //[ /webclient/common/constants.jsp; Line: 1]
    static final String READ_ONLY_TAB_INDEX="-1"; //[
    /webclient/common/constants.jsp; Line: 2]
    static final String READ_ONLY_DEFAULT_FOCUS="false"; //[
    /webclient/common/constants.jsp; Line: 3]
    static String FIELD_FOCUS_COLOR="#F5F0D5"; //[
    /webclient/common/constants.jsp; Line: 4]
    static final String FIELD_FOCUS_READ_ONLY_COLOR="#CCC18E"; //[
    /webclient/common/constants.jsp; Line: 5]
    //common constants //[ /webclient/common/constants.jsp; Line: 6]
    static final String IMAGE_PATH = "../webclient/images/"; //[
    /webclient/common/constants.jsp; Line: 7]
    static final String DESIGNER_IMAGE_PATH =
    "../webclient/images/designer/"; //[ /webclient/common/constants.jsp; Line: 8]
    //[ /webclient/common/constants.jsp; Line: 9]
    //For "section", "sectionrow" and "sectioncol" controls //[
    /webclient/common/constants.jsp; Line: 10]
    static final String SECTION_HEADER_SUFFIX = "_header"; //[
    /webclient/common/constants.jsp; Line: 11]
    static final String SECTION_LABEL_SUFFIX = "_label"; //[
    /webclient/common/constants.jsp; Line: 12]
    static final String SECTION_CONTENT_SUFFIX = "_content"; //[
    /webclient/common/constants.jsp; Line: 13]
    static final String SECTION_TABLE_SUFFIX = "_table"; //[
    /webclient/common/constants.jsp; Line: 14]
    static final String SECTION_FOOTER_SUFFIX = "_footer"; //[
    /webclient/common/constants.jsp; Line: 15]
    //[ /webclient/common/constants.jsp; Line: 16]
    //Default values for control properties //[
    /webclient/common/constants.jsp; Line: 17]
    //For table //[ /webclient/common/constants.jsp; Line: 18]
    static final int CONST_TABLE_debug = 0; //[
    /webclient/common/constants.jsp; Line: 19]
    static final String
    CONST_TABLE_PROPERTY_beanclass="psdi.webclient.system.beans.DataBean"; //[ /webclient/common/constants.jsp; Line: 20]
    static final int CONST_TABLE_PROPERTY_maxrows = 1000; //[
    /webclient/common/constants.jsp; Line: 21]
    static final int CONST_TABLE_PROPERTY_rowsperpage = 50; //[
    /webclient/common/constants.jsp; Line: 22]
    static final int CONST_TABLE_PROPERTY_headerheight = 50; //[
    /webclient/common/constants.jsp; Line: 23]
    static final int CONST_TABLE_PROPERTY_rowheight = -1; //[
    /webclient/common/constants.jsp; Line: 24]
    static final String L_CONST_TABLE_PROPERTY_norowmsg = "No rows to
    display."; //[ /webclient/common/constants.jsp; Line: 25]
    static final String CONST_TABLE_PROPERTY_selectmode = "multiple"; //[
    /webclient/common/constants.jsp; Line: 26]
    static String CONST_TABLECOL_PROPERTY_headerlabel = null; //[
    /webclient/common/constants.jsp; Line: 27]
    //for tablecol //[ /webclient/common/constants.jsp; Line: 28]
    static final String CONST_TABLECOL_PROPERTY_type = "data"; //[
    /webclient/common/constants.jsp; Line: 29]
    static final String CONST_TABLECOL_PROPERTY_VALUE_TRUE = "true"; //[
    /webclient/common/constants.jsp; Line: 30]
    static final String CONST_TABLECOL_CONTROL_PROPERTY_DEFAULT_ID =
    "tAbLeCoL_fIeLd"; //[ /webclient/common/constants.jsp; Line: 31]
    //For tablebody //[ /webclient/common/constants.jsp; Line: 32]
    static final String CONST_TABLEBODY_PROPERTY_displayrowsperpage =
    "11"; //[ /webclient/common/constants.jsp; Line: 33]
    static final String L_CONST_TABLEBODY_PROPERTY_filterlabel =
    "Filter"; //[ /webclient/common/constants.jsp; Line: 34]
    //[ /webclient/common/constants.jsp; Line: 35]
    //For "table" control     //[ /webclient/common/constants.jsp; Line: 36]
    static final String TABLE_TITLE_SUFFIX = "_title"; //[
    /webclient/common/constants.jsp; Line: 37]
    static final String TABLE_ICON_COLLAPSE_SUFFIX = "_icon_collapse";
    //[ /webclient/common/constants.jsp; Line: 38]
    static final String TABLE_CONTAINER_SUFFIX = "_container"; //[
    /webclient/common/constants.jsp; Line: 39]
    static final String TABLE_DOWNLOAD_SUFFIX = "_download"; //[
    /webclient/common/constants.jsp; Line: 40]
    static final String TABLE_HELP_SUFFIX = "_help"; //[
    /webclient/common/constants.jsp; Line: 41]
    static final String TABLE_HEADER_SUFFIX = "_header"; //[
    /webclient/common/constants.jsp; Line: 42]
    static final String TABLE_HEADER_ICON_PREVROW_ON_SUFFIX =
    "_prevrow_on"; //[ /webclient/common/constants.jsp; Line: 43]
    static final String TABLE_HEADER_ICON_PREVROW_OFF_SUFFIX =
    "_prevrow_off"; //[ /webclient/common/constants.jsp; Line: 44]
    static final String TABLE_HEADER_ICON_NEXTROW_ON_SUFFIX =
    "_nextrow_on"; //[ /webclient/common/constants.jsp; Line: 45]
    static final String TABLE_HEADER_ICON_NEXTROW_OFF_SUFFIX =
    "_nextrow_off"; //[ /webclient/common/constants.jsp; Line: 46]
    static final String TABLE_HEADER_ICON_PREVPAGE_ON_SUFFIX =
    "_prevpage_on"; //[ /webclient/common/constants.jsp; Line: 47]
    static final String TABLE_HEADER_ICON_PREVPAGE_OFF_SUFFIX =
    "_prevpage_off"; //[ /webclient/common/constants.jsp; Line: 48]
    static final String TABLE_HEADER_ICON_NEXTPAGE_ON_SUFFIX =
    "_nextpage_on"; //[ /webclient/common/constants.jsp; Line: 49]
    static final String TABLE_HEADER_ICON_NEXTPAGE_OFF_SUFFIX =
    "_nextpage_off"; //[ /webclient/common/constants.jsp; Line: 50]
    //static final String TABLE_FILTER_ICON_EXPAND =
    "_filter_icon_expand"; //[ /webclient/common/constants.jsp; Line: 51]
    //static final String TABLE_FILTER_ICON_COLLAPSE =
    "_filter_icon_collapse"; //[ /webclient/common/constants.jsp; Line: 52]
    static final String TABLE_FILTER_ACTIONS_SUFFIX = "_filter_actions";
    //[ /webclient/common/constants.jsp; Line: 53]
    static final String TABLE_FILTER_SUFFIX = "_filter"; //[
    /webclient/common/constants.jsp; Line: 54]
    static final String TABLE_CLEARFILTER_SUFFIX = "_clearfilter"; //[
    /webclient/common/constants.jsp; Line: 55]
    static final String TABLE_HEADER_ROW_SUFFIX = "_heder_row"; //[
    /webclient/common/constants.jsp; Line: 56]
    static final String TABLE_HEADER_LABEL_SUFFIX = "_heder_label"; //[
    /webclient/common/constants.jsp; Line: 57]
    static final String TABLE_CONTENT_HEADER_SUFFIX = "_content_header";
    //[ /webclient/common/constants.jsp; Line: 58]
    static final String TABLE_CONTENT_HEADER_RESIZE_SUFFIX =
    "_content_header_resize"; //[ /webclient/common/constants.jsp; Line: 59]
    static final String TABLE_CONTENT_SUFFIX = "_content"; //[
    /webclient/common/constants.jsp; Line: 60]
    static final String TABLE_CONTENT_TABLE = "_content_table"; //[
    /webclient/common/constants.jsp; Line: 61]
    static final String TABLE_NOROW_MSG_SUFFIX = "_norowmessage"; //[
    /webclient/common/constants.jsp; Line: 62]
    static final String TABLE_FILTER_ROW_SUFFIX = "_filter_content"; //[
    /webclient/common/constants.jsp; Line: 63]
    static final String TABLE_TEMPLATE_ROW_SUFFIX = "_template_content";
    //[ /webclient/common/constants.jsp; Line: 64]
    static final String TABLE_ROW_DETAILS_SUFFIX = "_rowdetails"; //[
    /webclient/common/constants.jsp; Line: 65]
    static final String TABLE_BUTTONS_SUFFIX = "_buttons"; //[
    /webclient/common/constants.jsp; Line: 66]
    //[ /webclient/common/constants.jsp; Line: 67]
    static final long TABLE_EXPANDED = 1;                    //is the table expanded
    (visible) //[ /webclient/common/constants.jsp; Line: 68]
    static final long TABLE_AT_FIRST_PAGE = 2;               //is the table at the
    first page //[ /webclient/common/constants.jsp; Line: 69]
    static final long TABLE_AT_LAST_PAGE = 4;               //is the table at the
    last page //[ /webclient/common/constants.jsp; Line: 70]
    static final long TABLE_AT_FIRST_ROW = 8;               //is the table at the
    first row (of all possible rows) //[ /webclient/common/constants.jsp;
    Line: 71]
    static final long TABLE_AT_LAST_ROW = 16;               //is the table at the
    last row (of all possible rows) //[ /webclient/common/constants.jsp; Line:
    72]
    static final long TABLE_FILTER_EXPANDED = 32;          //is the table's
    filter row expanded (visible) //[ /webclient/common/constants.jsp; Line: 73]
    static final long TABLE_DETAILS_EXPANDED = 64;          //is the table's
    details expanded (visible) //[ /webclient/common/constants.jsp; Line: 74]
    static final long TABLE_ROW_CHANGED = 128;               //has the table changed
    rows //[ /webclient/common/constants.jsp; Line: 75]
    static final long TABLE_FILTERED = 256;                    //has the table been
    filtered //[ /webclient/common/constants.jsp; Line: 76]
    static final long TABLE_REFRESH_FILTER = 512;          //does the filter
    inputs need to be refreshed //[ /webclient/common/constants.jsp; Line: 77]
    static final long TABLE_REFRESH_ROW = 1024;               //does the current row
    need to be refreshed //[ /webclient/common/constants.jsp; Line: 78]
    static final long TABLE_REFRESH_ALL_ROWS = 2048;          //does all the
    table's rows need to be refreshed //[ /webclient/common/constants.jsp;
    Line: 79]
    static final long TABLE_ALL_SELECTED = 4096;               //are all the tables
    rows selected //[ /webclient/common/constants.jsp; Line: 80]
    static final long TABLE_START_EMPTY = 8192;               //are all the tables
    rows selected //[ /webclient/common/constants.jsp; Line: 81]
    static final long TABLE_USE_SUBSELECT = 16384;          //does the table use
    sub select mode //[ /webclient/common/constants.jsp; Line: 82]
    static final long TABLE_SUBSELECT_ON = 32768;          //is sub select mode
    on for the table //[ /webclient/common/constants.jsp; Line: 83]
    //[ /webclient/common/constants.jsp; Line: 84]
    static final long TABLECOL_NOT_SORTED = 0; //[
    /webclient/common/constants.jsp; Line: 85]
    static final long TABLECOL_SORTED_ASC = 1; //[
    /webclient/common/constants.jsp; Line: 86]
    static final long TABLECOL_SORTED_DESC = 2; //[
    /webclient/common/constants.jsp; Line: 87]
    //[ /webclient/common/constants.jsp; Line: 88]
    static final int TABLECOL_FILTERABLE_WILDCARDSEARCH = 0; //[
    /webclient/common/constants.jsp; Line: 89]
    static final int TABLECOL_FILTERABLE_EXACTSEARCH = 1; //[
    /webclient/common/constants.jsp; Line: 90]
    static final int TABLECOL_FILTERABLE_TEXTSEARCH = 2; //[
    /webclient/common/constants.jsp; Line: 91]
    static final int TABLECOL_FILTERABLE_NONESEARCH = 3; //[
    /webclient/common/constants.jsp; Line: 92]
    //[ /webclient/common/constants.jsp; Line: 93]
    //For tablecol control     //[ /webclient/common/constants.jsp; Line:
    94]
    static final String TABLECOL_CONTROL_PROPERTY_CLONEDTYPE =
    "clonedfor"; //[ /webclient/common/constants.jsp; Line: 95]
    static final String TABLECOL_CONTROL_PROPERTY_VALUE_FOR_FILTER =
    "filter"; //[ /webclient/common/constants.jsp; Line: 96]
    static final String TABLECOL_CONTROL_PROPERTY_VALUE_FOR_DATA =
    "datarows"; //[ /webclient/common/constants.jsp; Line: 97]
    static final String TABLECOL_FILTER_SUFFIX = "_filter_container"; //[
    /webclient/common/constants.jsp; Line: 98]
    static final String TABLECOL_DATA_SUFFIX = "_data_row"; //[
    /webclient/common/constants.jsp; Line: 99]
    static final String TABLECOL_ROW_DETAILS_ICON_EXPAND = "_expand"; //[
    /webclient/common/constants.jsp; Line: 100]
    static final String TABLECOL_ROW_DETAILS_ICON_COLLAPSE = "_collapse";
    //[ /webclient/common/constants.jsp; Line: 101]
    static final String TABLECOL_SELECT_ROW_SUFFIX = "_select"; //[
    /webclient/common/constants.jsp; Line: 102]
    static final String TABLECOL_PROPERTY_ID     = "id"; //[
    /webclient/common/constants.jsp; Line: 103]
    static final String TABLECOL_CONTROL_PROPERTY_ID_CLONED_SUFFIX     =
    "_clone"; //[ /webclient/common/constants.jsp; Line: 104]
    static final String TABLECOL_CONTROL_PROPERTY_ID_FILTER_SUFFIX =
    "_filter_clone"; //[ /webclient/common/constants.jsp; Line: 105]
    static final String TABLECOL_PROPERTY_INPUT_ID_SUFFIX = "_input"; //[
    /webclient/common/constants.jsp; Line: 106]
    static final String TABLECOL_SELECTALL_ICON_SUFFIX = "_selectall";
    //[ /webclient/common/constants.jsp; Line: 107]
    //[ /webclient/common/constants.jsp; Line: 108]
    static final String TABLEBUTTONS_SUFFIX = "_buttons"; //[
    /webclient/common/constants.jsp; Line: 109]
    static final String TABLEBUTTON_LABEL_SUFFIX = "_button_label"; //[
    /webclient/common/constants.jsp; Line: 110]
    //[ /webclient/common/constants.jsp; Line: 111]
    static final int QUERY_NONE = -1; //[
    /webclient/common/constants.jsp; Line: 112]
    static final int QUERY_ALL = -2; //[ /webclient/common/constants.jsp;
    Line: 113]
    static final int QUERY_KEY = -3; //[ /webclient/common/constants.jsp;
    Line: 114]
    static final int QUERY_ALL_BOOKMARKS = -4; //[
    /webclient/common/constants.jsp; Line: 115]
    //[ /webclient/common/constants.jsp; Line: 116]
    static final int EVENT_CONTINUE = 2; //[
    /webclient/common/constants.jsp; Line: 117]
    //[ /webclient/common/constants.jsp; Line: 118]
    static final int CONTROL_PROPERTY_TRANSLATE_FLAG = 1; //[
    /webclient/common/constants.jsp; Line: 119]
    static final int CONTROL_PROPERTY_GLOBAL_FLAG = 2; //[
    /webclient/common/constants.jsp; Line: 120]
    static final int CONTROL_PROPERTY_DBPERSIST_FLAG = 4; //[
    /webclient/common/constants.jsp; Line: 121]
    //[ /webclient/common/constants.jsp; Line: 122]
    //For DATE DATE_TIME type controls //[
    /webclient/common/constants.jsp; Line: 123]
    static final int DATE_TIME_TOKENNUM_DAY = 0; //[
    /webclient/common/constants.jsp; Line: 124]
    static final int DATE_TIME_TOKENNUM_MONTH = 1; //[
    /webclient/common/constants.jsp; Line: 125]
    static final int DATE_TIME_TOKENNUM_YEAR = 2; //[
    /webclient/common/constants.jsp; Line: 126]
    static final int DATE_TIME_TOKENNUM_HOUR = 3; //[
    /webclient/common/constants.jsp; Line: 127]
    static final int DATE_TIME_TOKENNUM_MINUTE = 4; //[
    /webclient/common/constants.jsp; Line: 128]
    static final int DATE_TIME_TOKENNUM_SECOND = 5; //[
    /webclient/common/constants.jsp; Line: 129]
    //[ /webclient/common/constants.jsp; Line: 130]
    //[ /webclient/common/constants.jsp; Line: 131]
    // StaleIndicator interface
    public boolean _isStale() {
    weblogic.servlet.jsp.StaleChecker sci
    =(weblogic.servlet.jsp.StaleChecker)(getServletConfig().getServletContext());
    java.io.File f = null;
    long lastModWhenBuilt = 0L;
    if (sci.isResourceStale("/webclient/login/login.jsp",
    1206722144000L, "8.1.4.0", "America/Chicago")) return true;
    if (sci.isResourceStale("/webclient/common/constants.jsp",
    1120751470000L, "8.1.4.0", "America/Chicago")) return true;
    return false;
    public static boolean
    _staticIsStale(weblogic.servlet.jsp.StaleChecker sci) {
    java.io.File f = null;
    long lastModWhenBuilt = 0L;
    if (sci.isResourceStale("/webclient/login/login.jsp",
    1206722144000L, "8.1.4.0", "America/Chicago")) return true;
    if (sci.isResourceStale("/webclient/common/constants.jsp",
    1120751470000L, "8.1.4.0", "America/Chicago")) return true;
    return false;
    private static void _writeText(ServletResponse rsp, JspWriter out,
    String block, byte[] blockBytes) throws IOException {
    if (!_WL_ENCODED_BYTES_OK || _hasEncodingChanged(rsp)) {
    out.print(block);
    } else {
    ((weblogic.servlet.jsp.ByteWriter)out).write(blockBytes, block);
    private static boolean _hasEncodingChanged(ServletResponse rsp) {
    if (_WL_ORIGINAL_ENCODING.equals(rsp.getCharacterEncoding())) {
    return false;
    return true;
    private static boolean WLENCODED_BYTES_OK = true;
    private static final String WLORIGINAL_ENCODING = "UTF-8";
    private static byte[] _getBytes(String block) {
    try {
    return block.getBytes(_WL_ORIGINAL_ENCODING);
    } catch (java.io.UnsupportedEncodingException u) {
    WLENCODED_BYTES_OK = false;
    return null;
    private final static String wlblock0 = "���";
    private final static byte[] wlblock0Bytes = getBytes(wl_block0);
    private final static String wlblock1 = "<HTML><HEAD><TITLE>";
    private final static byte[] wlblock1Bytes = getBytes(wl_block1);
    private final static String wlblock2 = "</TITLE>\r<META
    content=\"Evrsoft First Page\"
    name=GENERATOR>\r<SCRIPT>\r\tif(window.top.document!=document)\r\t{\r\t\twindow.top.document.location=document.location;\r\t}\r</SCRIPT>\r\r<META
    http-equiv=content-type content=\"text/html; charset=UTF-8\"><LINK
    \rhref=\"../css/maximo.css\" type=text/css rel=stylesheet><LINK
    href=\"css/login.css\" \rtype=text/css rel=stylesheet>\r<SCRIPT
    language=JavaScript src=\"../javascript/library.js\"></SCRIPT>\r\r<SCRIPT
    language=JavaScript src=\"../javascript/maximo.js\"></SCRIPT>\r</HEAD>\r<BODY
    class=bgpage onkeydown=\"javascript:enterkey(); event.cancelBubble=true;\"
    \rstyle=\"BACKGROUND-IMAGE: url(images/bg_login_template.jpg)\">\r<TABLE
    class=welcometo cellSpacing=0 cellPadding=0 width=\"80%\" border=0>\r
    <TBODY>\r <TR>\r <TD noWrap>";
    private final static byte[] wlblock2Bytes = getBytes(wl_block2);
    private final static String wlblock3 =
    "</TD></TR></TBODY></TABLE>\r<TABLE class=releasestamp cellSpacing=0 cellPadding=0 width=\"80%\"
    border=0>\r <TBODY>\r <TR>\r <TD><!-- release
    --></TD></TR></TBODY></TABLE>\r<TABLE class=companylogo cellSpacing=0 cellPadding=0
    border=0>\r <TBODY>\r <TR>\r <TD vAlign=top><IMG
    src=\"images/companylogo.gif\"> </TD></TR></TBODY></TABLE>";
    private final static byte[] wlblock3Bytes = getBytes(wl_block3);
    private final static String wlblock4 = "\r<TABLE class=languagelist
    cellSpacing=0 cellPadding=0 border=0>\r <TBODY>\r <TR>\r <TD
    class=\"languagetext languageheader\" colSpan=5><IMG height=18 \r
    src=\"images/login_icon_language.gif\" width=17 align=absBottom> ";
    private final static byte[] wlblock4Bytes = getBytes(wl_block4);
    private final static String wlblock5 = "</TD></TR>\r <TR>\r <TD
    class=\"languagecolumn languagetext languagetable\">";
    private final static byte[] wlblock5Bytes = getBytes(wl_block5);
    private final static String wlblock6 = "</TD>\r <TD
    class=\"languagecolumn languagetext\">";
    private final static byte[] wlblock6Bytes = getBytes(wl_block6);
    private final static String wlblock7 = "<A class=languages
    \rhref=\"javascript: selectLang(\'";
    private final static byte[] _wl_block7Bytes = _getBytes(_wl_block7);
    private final static String _wl_block8 = "\')\">";
    private final static byte[] wlblock8Bytes = getBytes(wl_block8);
    private final static String wlblock9 = "</A><BR>";
    private final static byte[] wlblock9Bytes = getBytes(wl_block9);
    private final static String wlblock10 = "<SPAN
    class=selectedlang>";
    private final static byte[] wlblock10Bytes =
    getBytes(wl_block10);
    private final static String wlblock11 = "</SPAN><BR>";
    private final static byte[] wlblock11Bytes =
    getBytes(wl_block11);
    private final static String wlblock12 =
    "</TD></TR></TBODY></TABLE>";
    private final static byte[] wlblock12Bytes =
    getBytes(wl_block12);
    private final static String wlblock13 = "\r<TABLE class=mainbgtable
    cellSpacing=0 cellPadding=0 border=0>\r <TBODY>\r <TR>\r <TD>\r
    <TABLE class=inputheader cellSpacing=0 cellPadding=0 border=0>\r
    <FORM name=loginform action=\"";
    private final static byte[] _wl_block13Bytes =
    _getBytes(_wl_block13);
    private final static String _wl_block14 = "\" method=post>\r
    <TBODY>\r <TR>\r <TD>";
    private final static byte[] wlblock14Bytes =
    getBytes(wl_block14);
    private final static String wlblock15 = "</TD>\r <TD
    control=\"true\"><INPUT class=\"input_parts text inputfield\" \r
    onactivate=textbox_onactivate(this); id=username \r
    ondeactivate=\"textbox_ondeactivate(this.parentElement, this);\" \r
    size=15 value=\"";
    private final static byte[] _wl_block15Bytes =
    _getBytes(_wl_block15);
    private final static String _wl_block16 = "\" name=username
    mxpart=\"textbox\"> </TD></TR>\r <TR>\r <TD>";
    private final static byte[] wlblock16Bytes =
    getBytes(wl_block16);
    private final static String wlblock17 = "</TD>\r <TD
    control=\"true\"><INPUT class=\"input_parts text inputfield\" \r
    onactivate=textbox_onactivate(this); id=password \r
    ondeactivate=\"textbox_ondeactivate(this.parentElement, this);\" \r
    type=password size=15 name=password mxpart=\"textbox\"> </TD></TR>\r
    <TR>\r <TD> </TD>";
    private final static byte[] wlblock17Bytes =
    getBytes(wl_block17);
    private final static String wlblock18 = "\r <TD
    class=pushbutton id=loginbtn control=\"true\" mxpart=\"control\" \r ";
    private final static byte[] wlblock18Bytes =
    getBytes(wl_block18);
    private final static String wlblock19 = "</TD>\r
    <TD><IMG height=20 src=\"images/buttonright.gif\" width=9 \r
    mxpart=\"right\"></TD></TR></TBODY></TABLE><INPUT \r
    id=loginbutton_hidden style=\"VISIBILITY: hidden; HEIGHT: 20px\" \r
    type=image src=\"\" border=0 name=login_hidden> </TD></TR><INPUT
    id=login \r type=hidden value=true name=login> <INPUT
    id=langcode type=hidden \r value=\"";
    private final static byte[] _wl_block19Bytes =
    _getBytes(_wl_block19);
    private final static String _wl_block20 = "\" name=langcode>
    </FORM></TBODY></TABLE></TD></TR>\r <TR>\r <TD>\r <TABLE
    class=newuserheader cellSpacing=0 cellPadding=0 border=0><!--\r\t<tr>\r <td
    valign=\"bottom\"><img src=\"images/login_icon_newuser.gif\"
    width=\"17\" height=\"18\" align=\"absmiddle\"> ";
    private final static byte[] wlblock20Bytes =
    getBytes(wl_block20);
    private final static String wlblock21 = " <a
    id=\"selfreglink\" href=\'javascript:selfreg()\'>";
    private final static byte[] wlblock21Bytes =
    getBytes(wl_block21);
    private final static String wlblock22 = "</a></td>\r
    </tr>\r\t<-->\r <TBODY></TBODY></TABLE>\r <TABLE cellSpacing=0
    cellPadding=0 border=0>\r <TBODY>\r
    <TR></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><!-- leave image for scrolling purposes
    -->\r<DIV style=\"LEFT: 835px; WIDTH: 10px; POSITION: absolute; TOP:
    415px\"><BR></DIV>\r<SCRIPT language=JavaScript>\r<!--\rvar
    FIELD_FOCUS_COLOR=\"";
    private final static byte[] _wl_block22Bytes =
    _getBytes(_wl_block22);
    private final static String _wl_block23 = "\";\r\tfunction
    selfreg()\r\t{\r\t\tshowWait();\r\t\tdocument.location = \'";
    private final static byte[] wlblock23Bytes =
    getBytes(wl_block23);
    private final static String wlblock24 = "\';\r\t}\r\t\r\tfunction
    showWait()\r\t{\r\t\tdocument.body.scroll=\"no\";\r\t\twait =
    document.createElement(\"<div id=\'wait_img\' width=\'2000\' height=\'2000\'
    class=\'loginwait\' oncontextmenu=\'event.returnValue=false;\'
    style=\'background-image:url(../images/wait.gif);cursor:wait;display:none;\'></div>\");\r\t\tif(wait)\r\t\t{\r\t\t\t//window.resizeTo(1024,
    768);\r\t\t\t//window.moveTo(0,0);\r\t\t\tdocument.body.insertAdjacentElement(\"BeforeEnd\",wait);\r\t\t\twait.style.height=wait.parentElement.scrollHeight+document.body.clientHeight;\r\t\t\twait.style.width=wait.parentElement.scrollWidth+document.body.clientWidth;\r\t\t\twait.style.cursor=\"wait\";\r\t\t\twait.filters(0).opacity=\"10\";\r\t\t\twait.style.display=\"inline\";\r\t\t\tdocument.body.scroll=\"no\";\r\t\t\twait.style.zIndex=\"1000\";\r\t\t\tdocument.body.onkeydown=noKeys;\r\t\t}\r\t\telse\r\t\t{\r\t\t\tdocument.body.scroll=\"auto\";\r\t\t\tdocument.body.onkeydown=\"\";\r\t\t}\r\t}\r\rfunction
    noKeys()\r{\r\tevent.cancelBubble=true;\r\tevent.returnValue=false;\r\treturn
    false;\r}\r\rfunction
    toggleCheckBox(el)\r{\r\r\tif(event.propertyName!=\'checked\')\r\t\treturn\r\r\tcbInputField=event.srcElement\r\r\tcbImage=document.getElementById(cbInputField.id+\"_image\")\r\r\tif(cbInputField.checked)\r\t{\r\t\tcbImage.src=\"cb_checked.gif\"\r\t}\r\telse\r\t{\r\t\tcbImage.src=\"cb_unchecked.gif\"\r\t}\r\r}\r\r\rfunction
    enterkey()\r{\r \tif(event.keyCode == 13
    )\r\t{\r\t\tevent.returnValue=false;\r\t\tclickbutton();\r\t}\r}\r\rfunction
    clickbutton()\r{\r\tshowWait();\r\tdocument.getElementById(\"loginbutton_hidden\").click();\r}\r\rfunction
    selectLang(incode)\r{\r\tdocument.loginform.langcode.value=incode;\r\tvar
    loginHidden = document.getElementById(\"login\");\r\tif (loginHidden !=
    null)\r\t\tloginHidden.removeNode();\r\tdocument.loginform.submit();\r}\r\rfunction loginFormLoaded()\r{\r\tfocusField=\'username\';\r ";
    private final static byte[] wlblock24Bytes =
    getBytes(wl_block24);
    private final static String wlblock25 = "\r \talert(\"";
    private final static byte[] _wl_block25Bytes =
    _getBytes(_wl_block25);
    private final static String _wl_block26 = "\");\r
    \tfocusField=\'username\';\r ";
    private final static byte[] wlblock26Bytes =
    getBytes(wl_block26);
    private final static String wlblock27 = "\r\t\t\talert(\'";
    private final static byte[] wlblock27Bytes =
    getBytes(wl_block27);
    private final static String wlblock28 = "\');\r\t";
    private final static byte[] wlblock28Bytes =
    getBytes(wl_block28);
    private final static String wlblock29 = "\r\twindow.scrollTo(550,
    850);\r if (focusField==\'username\' ||
    document.loginform.username.value == \"\")\r
    {\r\t\tdocument.loginform.username.focus();\r\t\tdocument.loginform.username.select();\r\t}\r\telse
    \r\t{\r\t\tif(focusField==\'password\' || document.loginform.password.value ==
    \"\")\r\t\t{\r\t\t\tdocument.loginform.password.focus();\r\t\t\tdocument.loginform.password.select();\r\t\t}\r\t\telse\r\t\t\tdocument.getElementById(\"loginlink\").focus();\r\t}\r}\r\rwindow.onload
    = loginFormLoaded;\r-->\r</SCRIPT>\r</BODY></HTML>\r\r";
    private final static byte[] wlblock29Bytes =
    getBytes(wl_block29);
    public void _jspService(javax.servlet.http.HttpServletRequest
    request, javax.servlet.http.HttpServletResponse response) throws
    java.io.IOException, javax.servlet.ServletException
    // declare and set well-known variables:
    javax.servlet.ServletConfig config = getServletConfig();
    javax.servlet.ServletContext application =
    config.getServletContext();
    javax.servlet.jsp.tagext.Tag _activeTag = null;
    // variables for Tag extension protocol
    Object page = this;
    javax.servlet.jsp.JspWriter out;
    javax.servlet.jsp.PageContext pageContext =
    javax.servlet.jsp.JspFactory.getDefaultFactory().getPageContext(this, request, response, null, true, 131072, true);
    response.setHeader("Content-Type", "text/html; charset=UTF-8");
    out = pageContext.getOut();
    JspWriter _originalOut = out;
    javax.servlet.http.HttpSession session = request.getSession(true);
    try { // error page try block
    response.setContentType("text/html;charset=UTF-8");
    writeText(response, out, wl_block0, wlblock0Bytes);
    //INCLUDE /webclient/common/constants.jsp //[
    /webclient/login/login.jsp; Line: 1]
    request.setCharacterEncoding("UTF-8");     String url = new
    java.net.URL(new java.net.URL(request.getRequestURL().toString()),
    request.getContextPath()+"/ui/login").toString();      psdi.util.MXSession s =
    psdi.webclient.system.controller.RequestHandler.getMXSession(session);     if
    (psdi.webclient.system.websession.WebAppEnv.useAppServerSecurity() ||
    s.isConnected())     {               response.sendRedirect(url);          return;     }     MXException
    loginException = (MXException)session.getAttribute("loginexception");          
         String userName = request.getParameter("username");     if(userName==null)     
         userName="";     String passWord = reques

    The ( was in the code
    Here is the exact error message I am getting:
    Compilation of 'C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java' failed:
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:357: ')' expected
    (No more information available, probably caused by another error)
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:358: ')' expected
    (No more information available, probably caused by another error)
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:359: illegal start of expression
    (No more information available, probably caused by another error)
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:365: ';' expected
    (No more information available, probably caused by another error)
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:366: expected
    (No more information available, probably caused by another error)
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:368: '{' expected
    probably occurred due to an error in /webclient/login/login.jsp line 1:
    ���<%--
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:369: invalid method declaration; return type required
    (No more information available, probably caused by another error)
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:369: expected
    (No more information available, probably caused by another error)
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:369: ')' expected
    (No more information available, probably caused by another error)
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:370: expected
    probably occurred due to an error in /webclient/login/login.jsp line 1:
    ���<%--
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:371: invalid method declaration; return type required
    (No more information available, probably caused by another error)
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:371: expected
    (No more information available, probably caused by another error)
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:371: ')' expected
    (No more information available, probably caused by another error)
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:372: expected
    probably occurred due to an error in /webclient/login/login.jsp line 1:
    ���<%--
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:373: invalid method declaration; return type required
    (No more information available, probably caused by another error)
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:373: expected
    (No more information available, probably caused by another error)
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:373: ')' expected
    (No more information available, probably caused by another error)
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:374: expected
    probably occurred due to an error in /webclient/login/login.jsp line 1:
    ���<%--
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:375: invalid method declaration; return type required
    (No more information available, probably caused by another error)
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:375: expected
    (No more information available, probably caused by another error)
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:375: ')' expected
    (No more information available, probably caused by another error)
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:376: expected
    probably occurred due to an error in /webclient/login/login.jsp line 1:
    ���<%--
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:377: invalid method declaration; return type required
    (No more information available, probably caused by another error)
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:377: expected
    (No more information available, probably caused by another error)
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:377: ')' expected
    (No more information available, probably caused by another error)
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:378: expected
    probably occurred due to an error in /webclient/login/login.jsp line 1:
    ���<%--
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:379: invalid method declaration; return type required
    (No more information available, probably caused by another error)
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:379: expected
    (No more information available, probably caused by another error)
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:379: ')' expected
    (No more information available, probably caused by another error)
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:380: illegal start of type
    probably occurred due to an error in /webclient/login/login.jsp line 1:
    ���<%--
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:392: expected
    (No more information available, probably caused by another error)
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:393: 'catch' without 'try'
    (No more information available, probably caused by another error)
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:307: 'try' without 'catch' or 'finally'
    (No more information available, probably caused by another error)
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:404: '}' expected
    (No more information available, probably caused by another error)
    Full compiler error(s):
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:357: ')' expected
    out.print(String.valueOf("control_events%" mxevent="clientevent: clickbutton();"
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:358: ')' expected
    controltype="pushbutton">>
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:359: illegal start of expression
    <TABLE id=loginbtn_table tabIndex=0 cellSpacing=0 cellPadding=0
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:365: ';' expected
    <TD
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:366: <identifier> expected
    class="text pushbuttonmiddle pushbuttonmiddleback pushbutton_default"
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:368: '{' expected
    mxpart="middle"><%=labels[7])); //[ /webclient/login/login.jsp; Line: 1]
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:369: invalid method declaration; return type required
    writeText(response, out, wl_block19, wlblock19Bytes);
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:369: <identifier> expected
    writeText(response, out, wl_block19, wlblock19Bytes);
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:369: ')' expected
    writeText(response, out, wl_block19, wlblock19Bytes);
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:370: <identifier> expected
    out.print(String.valueOf(langcode)); //[ /webclient/login/login.jsp; Line: 1]
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:371: invalid method declaration; return type required
    writeText(response, out, wl_block20, wlblock20Bytes);
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:371: <identifier> expected
    writeText(response, out, wl_block20, wlblock20Bytes);
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:371: ')' expected
    writeText(response, out, wl_block20, wlblock20Bytes);
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:372: <identifier> expected
    out.print(String.valueOf(labels[4])); //[ /webclient/login/login.jsp; Line: 1]
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:373: invalid method declaration; return type required
    writeText(response, out, wl_block21, wlblock21Bytes);
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:373: <identifier> expected
    writeText(response, out, wl_block21, wlblock21Bytes);
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:373: ')' expected
    writeText(response, out, wl_block21, wlblock21Bytes);
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:374: <identifier> expected
    out.print(String.valueOf(labels[5])); //[ /webclient/login/login.jsp; Line: 1]
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:375: invalid method declaration; return type required
    writeText(response, out, wl_block22, wlblock22Bytes);
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:375: <identifier> expected
    writeText(response, out, wl_block22, wlblock22Bytes);
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:375: ')' expected
    writeText(response, out, wl_block22, wlblock22Bytes);
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:376: <identifier> expected
    out.print(String.valueOf( FIELD_FOCUS_COLOR )); //[ /webclient/login/login.jsp; Line: 1]
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:377: invalid method declaration; return type required
    writeText(response, out, wl_block23, wlblock23Bytes);
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:377: <identifier> expected
    writeText(response, out, wl_block23, wlblock23Bytes);
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:377: ')' expected
    writeText(response, out, wl_block23, wlblock23Bytes);
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:378: <identifier> expected
    out.print(String.valueOf(url + "?event=loadapp&value=selfreg&login=selfreg" + (langcode == null ? "" : "&langcode=" + langcode))); //[ /webclient/login/login.jsp; Line: 1]
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:379: invalid method declaration; return type required
    writeText(response, out, wl_block24, wlblock24Bytes);
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:379: <identifier> expected
    writeText(response, out, wl_block24, wlblock24Bytes);
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:379: ')' expected
    writeText(response, out, wl_block24, wlblock24Bytes);
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:380: illegal start of type
    if (loginException != null) {     //[ /webclient/login/login.jsp; Line: 1]
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:392: <identifier> expected
    writeText(response, out, wl_block29, wlblock29Bytes);
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:393: 'catch' without 'try'
    } catch (Throwable __ee) {
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:307: 'try' without 'catch' or 'finally'
    try { // error page try block
    ^
    C:\bea\user_projects\domains\cbrebnsf\.\MAXIMOSERVER\.wlnotdelete\extract\MAXIMOSERVER_maximo_maximo\jsp_servlet\_webclient\_login\__login.java:404: '}' expected
    ^
    34 errors
    Sat Jul 19 17:51:57 CDT 2008
    I have the code that it is trying to read on the first message. This was working early this morning and then this afternoon it came up with the errors. Nothing was changed.

  • Tomcat run jsp occur error

    Hi!
    After I configure /tomcat/conf/server.xml to point jsp and source code path for tomcat server, so I can run jsp in IE with "http://localhost:8080/ebis/jsp". But when I click login path to run login screen there occur error as below:
    Error: 500
    Location: /ebis/jsp/Login/index.jsp
    Internal Servlet Error:
    javax.servlet.ServletException
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459)
         at jsp.Login._0002fjsp_0002fLogin_0002findex_0002ejspindex_jsp_0._jspService(_0002fjsp_0002fLogin_0002findex_0002ejspindex_jsp_0.java:517)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
         at org.apache.tomcat.core.Handler.service(Handler.java:287)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
         at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
         at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
         at java.lang.Thread.run(Thread.java:484)
    Root cause:
    java.lang.ArrayIndexOutOfBoundsException
         at HK.com.hit.ebis.sys.SQLConnectionManager.getConnection(SQLConnectionManager.java:105)
         at HK.com.hit.ebis.sys.SQLConnectionManager.getConnection(SQLConnectionManager.java:97)
         at HK.com.hit.ebis.entity.UserDetails.getVerify(UserDetails.java:366)
         at jsp.Login._0002fjsp_0002fLogin_0002findex_0002ejspindex_jsp_0._jspService(_0002fjsp_0002fLogin_0002findex_0002ejspindex_jsp_0.java:281)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
         at org.apache.tomcat.core.Handler.service(Handler.java:287)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
         at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
         at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
         at java.lang.Thread.run(Thread.java:484)
    My web.xml configuration is below:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
    <servlet>
    <servlet-name>
    R00005Servlet
    </servlet-name>
    <servlet-class>
    HK.com.hit.ebis.servlet.R00005Servlet
    </servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>
    R00005Servlet
    </servlet-name>
    <url-pattern>
    /R00005Servlet
    </url-pattern>
    </servlet-mapping>
    <!-- Default login configuration uses BASIC authentication -->
    <login-config>
    <auth-method>BASIC</auth-method>
    <realm-name>Example Basic Authentication Area</realm-name>
    </login-config>
    <!-- If you want to experiment with form-based logins, comment
    out the <login-config> element above and replace it with
    this one. Note that we are currently using a nonstandard
    authentication method, because the code to support form
    based login is incomplete and only lightly tested. -->
    <!--
    <login-config>
    <auth-method>EXPERIMENTAL_FORM</auth-method>
    <realm-name>Example Form-Based Authentication Area</realm-name>
    <form-login-config>
    <form-login-page>/jsp/security/login/login.jsp</form-login-page>
    <form-error-page>/jsp/security/login/error.jsp</form-error-page>
    </form-login-config>
    </login-config>
    -->
    </web-app>
    Who know the reason, please tell me.
    Regards,
    dsjflsdjf

    put <security-constraint> tag also in your web.xml defining the <web-resource-collection>, <web-resource-name>, <url-pattern> and the
    <role-name>manager</role-name> inside <auth-constraint>, This role-name is important and you have to add this role in your tomcat-users.xml also. See sample web.xml in ..\webapps\manager\WEB-INF
    Dont know if this is the reason why ur problem is coming though,
    Regards,
    Padmanava

  • FDMEE Import error "No periods were identified for loading data into table 'AIF_EBS_GL_BALANCES_STG'

    Hi,
    We are having trouble while importing one ledger 'GERMANY EUR GGAAP'. It works for Dec 2014 but while trying to import data for 2015 it gives an error.
    Import error shows " RuntimeError: No periods were identified for loading data into table 'AIF_EBS_GL_BALANCES_STG'."
    I tried all Knowledge docs from Oracle support but no luck. Please help us resolving this issue as its occurring in our Production system.
    I also checked all period settings under Data Management> Setup> Integration Setup > Global Mapping and Source Mapping and they all look correct.
    Also its only happening to one ledger rest all ledgers are working fine without any issues.
    Thanks

    Hi,
    there are some Support documents related to this issue.
    I would suggest you have a look to them.
    Regards

  • How do I convert an excel (2008) document to Numbers?  When I drag the Excel document onto the Numbers icon I get, "Import error.  The file format is invalid"

    How can I convert an Excel (2008) document to Numbers.  When I drag the Excel document onto the Numbers icon I get, "Import error.  The file format is invalid.

    That extension identifies the most current Excel file format, a format that can be opened by Numbers '09 (and by Numbers '08).
    A check with Numbers '09 shows it capable of opening .xlsx files when right-clicked (and Numbers chose as the application to open, when double-clicked (if Numbers has been set as the default application to open this type of file, or when dragged to the Numbers icon in the dock.
    I see two possibilities for Numbers inability to open it and the message you receive:
    1. The file is not actually an Excel file, and the sender has added the .xlsx extension to the filename manually.
    2. The file is an Excel file, but has somehow been corrupted.
    Have you tried opening the file with a different application? The open source Office suites, OpenOffice.org, LibreOffice and NeoOffice can also open .xlsx files. If they're unable to open this one, that would point toward the file itself being faulty. You can download these applications from their rspective websites, linked in the names above. All request a donation to support future development, but only Neo requires one to have been made recently, and that only for the current release (which won't be necessary to open .xlsx files).
    Regards,
    Barry

  • "Template import error: No VM configure file found" on brand new setup

    Previously, I posted Console does not launch OVM 3.1.1, Win7x32 Firefox15/IE8 - Empty .jnlp file which was about VM Console not launching. Since this is a new installation, and it seemed to be a unique problem, I scratched the whole installation and started again from scratch. Everything, including the NFS file server, was re-installed from scratch CD OS installation.
    The process is pretty straightforward once you're used to it, and in less than three hours I was ready again to import my first template (a template I had imported before). But now, I submit the the request, and almost immediately the process aborts. (You can see in the information below, that 1 second passes between the Import request (06:32:36) and the failure.)
    Thing is, it takes about three minutes, even locally on the web server, to get an index of that large file (tar tzf), and at completion, the vm config file is listed.
    Am I misreading the error? My web searches for enlightenment found only one good hit on this error, and in that case it appeared to be an "out of space" issue. In this case, though, I'm importing a 5GB tarfile into a 390GB, otherwise-empty file system, so I don't think that is the issue. The failure in ovs-agent.log is below. What other information may I provide to get to the bottom of this? (Thanks for any guidance/help, of course!)
    [2012-10-31 06:31:40 3341] DEBUG (monitor:36) Cluster state changed from [Heartbeating] to [DLM_Ready]
    [2012-10-31 06:31:40 3341] INFO (notification:67) Notification sent: {CLUSTER} {MONITOR} Cluster state changed from [Heartbeating] to [DLM_Ready]
    [2012-10-31 06:31:40 3338] INFO (notification:193) Sending notification: {CLUSTER} {MONITOR} Cluster state changed from [Heartbeating] to [DLM_Ready]
    [2012-10-31 06:31:48 4914] DEBUG (service:77) discover_cluster: ()
    [2012-10-31 06:31:48 4914] DEBUG (service:85) discover_cluster: call completed.
    [2012-10-31 06:32:03 4926] DEBUG (service:77) storage_plugin_mount: ('oracle.generic.NFSPlugin.GenericNFSPlugin', {'status': '', 'admin_user': None, 'admin_host': None, 'uuid': '0004fb00000900003cf41964f3476788', 'total_sz': 0, 'admin_passwd': '******', 'storage_desc': '', 'free_sz': 0, 'access_host': 'filesrv.ps.***.com', 'storage_type': 'FileSys', 'alloc_sz': 0, 'access_grps': [], 'used_sz': 0, 'name': '0004fb00000900003cf41964f3476788'}, {'status': '', 'uuid': 'fc3564eb-ce8b-489c-96bc-df6de2cc8a11', 'ss_uuid': '0004fb00000900003cf41964f3476788', 'size': '330279518208', 'free_sz': '330075340800', 'state': 2, 'access_grp_names': [], 'access_path': 'filesrv.ps.***.com:/mnt/ps_big/repo/repo', 'name': 'nfs:/mnt/ps_big/repo/repo'}, '/OVS/Repositories/0004fb0000030000659e0ce6f2ecfb55', None, True, [])
    [2012-10-31 06:32:03 4926] INFO (storageplugin:108) storage_plugin_mount(oracle.generic.NFSPlugin.GenericNFSPlugin)
    [2012-10-31 06:32:03 4926] DEBUG (NFSPlugin:353) cmd = ['mount', '-t', 'nfs', 'filesrv.ps.***.com:/mnt/ps_big/repo/repo', '/OVS/Repositories/0004fb0000030000659e0ce6f2ecfb55']
    [2012-10-31 06:32:03 4926] DEBUG (service:85) storage_plugin_mount: call completed.
    [2012-10-31 06:32:03 4931] DEBUG (service:77) add_repository: ('filesrv.ps.***.com:/mnt/ps_big/repo/repo', '0004fb0000030000659e0ce6f2ecfb55')
    [2012-10-31 06:32:03 4931] DEBUG (service:85) add_repository: call completed.
    [2012-10-31 06:32:36 4972] DEBUG (linux:847) async call function: import_template
    [2012-10-31 06:32:36 4975] DEBUG (service:77) import_template: ('0004fb0000030000659e0ce6f2ecfb55', '0004fb0000140000fdc18a572a244015', ['http://aspire/pstop/OVM_EL5U7_X86_64_TOOLS8_52_06_PVM.tgz'])
    [2012-10-31 06:32:37 4975] INFO (notification:74) async_proc_prog: notification {ASYNC_PROC} progress PID 4975 status {'OBJECT': 'template', 'TOTAL_OBJECT_COUNT': 1, 'CURRENT_OBJECT_COUNT': 1, 'TOTAL_BYTES': 0L, 'CURRENT_BYTES': 613L, 'OPERATION': 'download'}
    [2012-10-31 06:32:37 4975] INFO (notification:67) Notification sent: {ASYNC_PROC} progress PID 4975
    [2012-10-31 06:32:37 3338] INFO (notification:193) Sending notification: {ASYNC_PROC} progress PID 4975
    [2012-10-31 06:32:37 4975] ERROR (service:96) catch_error: Template import error: No VM configure file found.
    Traceback (most recent call last):
    File "/usr/lib64/python2.4/site-packages/agent/service.py", line 94, in wrapper
    return func(*args)
    File "/usr/lib64/python2.4/site-packages/agent/hypervisor/xenxm.py", line 1041, in import_template
    raise RuntimeError('Template import error: %s' % err)
    RuntimeError: Template import error: No VM configure file found.
    [2012-10-31 06:32:37 4975] DEBUG (linux:879) ovs_async_proc: pid 4975 status 1 output Template import error: No VM configure file found.
    [2012-10-31 06:32:37 4975] INFO (notification:67) Notification sent: {ASYNC_PROC} exit PID 4975
    [2012-10-31 06:32:37 3338] INFO (notification:193) Sending notification: {ASYNC_PROC} exit PID 4975
    [2012-10-31 06:32:39 4987] DEBUG (service:77) storage_plugin_listFileSystems: ('oracle.generic.NFSPlugin.GenericNFSPlugin', {'status': '', 'admin_user': None, 'admin_host': None, 'uuid': '0004fb00000900003cf41964f3476788', 'total_sz': 0, 'admin_passwd': '******', 'storage_desc': '', 'free_sz': 0, 'access_host': 'filesrv.ps.***.com', 'storage_type': 'FileSys', 'alloc_sz': 0, 'access_grps': [], 'used_sz': 0, 'name': '0004fb00000900003cf41964f3476788'}, True)
    [2012-10-31 06:32:39 4987] INFO (storageplugin:108) storage_plugin_listFileSystems(oracle.generic.NFSPlugin.GenericNFSPlugin)
    [2012-10-31 06:32:39 4987] DEBUG (NFSPlugin:142) ENTER: listFileSysytems()
    [2012-10-31 06:32:39 4987] DEBUG (NFSPlugin:257) EXIT : listFileSysytems()
    [2012-10-31 06:32:39 4987] DEBUG (service:85) storage_plugin_listFileSystems: call completed.
    [2012-10-31 06:32:39 5005] DEBUG (service:77) discover_pool_filesystem: ()
    [2012-10-31 06:32:39 5005] DEBUG (service:85) discover_pool_filesystem: call completed.

    How did you get the template to where you staged it?
    I'd say the template is corrupt or you only have a partial template.
    I did notice the call to the template is based on the short name of the host. Can you confirm the VM manager can access the http path via short name?

Maybe you are looking for

  • Posting of Security Deposit from Customer

    Hi All I want to receive security deposit from a customer and post it to a special GL indiactor account.  How to do that what is the T.code for that. Please help

  • No communication between applet - servlet

    hi my applet and my servlet is not at all communicating in the browser.           any body knows how to solve this problem?           in my applet code:Jus i am pasing as name string to invoke the serlvet via URL           String location = "http://c

  • Pages slow to open, any suggestions?

    When I open a Pages document it takes quite a while to launch the application. I've tried deleting the Pages preference file. The first couple times opening Pages after that were fast... and then it went back to being slow. Anybody have any suggestio

  • Continual problem with importing PSDs

    Hey guys and gals, This is my first post!!!Woo! Anyways... Im currently trying to import PSDs with a transparent background and they just dont work! How frustrating! I noticed some other posts when searching and tried the suggestions, with variying s

  • Asking about warranty iPad mini

    Asking about iPad mini, I'm not satisfied from Mac city... What is policy for replacement if my iPad have a problem?