JasperExceptionError  while running JSP on Tomcat server

I am using a html page to get the values of Employee No , Name and set the values in the bean and display them using JSP.
JSP PAGE
<%@ page import="java.util.*" %>
<%@ page import="java.beans.*" %>
<%@ page import="Servlets.*" %>
<%@ page language="java" %>
<jsp:useBean id="em" class="EmpBean" />
<jsp:setproperty name="em" property="eno" />
<jsp:setproperty name="em" property="ename" />
<html>
<head>
<title> Employee details </title>
</head>
<body>
<center>
<% String eno=em.getEno();
String ename=em.getEname();
%>
Employee No:<%= eno %>
Employee Name:<%= ename %>
</center>
</body>
</html>
error is
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: /employee.jsp(5,5) jsp.error.badaction
     at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:49)
     at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:383)
     at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:81)
     at org.apache.jasper.compiler.Parser.parseAction(Parser.java:626)
     at org.apache.jasper.compiler.Parser.parseElements(Parser.java:758)
     at org.apache.jasper.compiler.Parser.parse(Parser.java:77)
     at org.apache.jasper.compiler.ParserController.parse(ParserController.java:157)
     at org.apache.jasper.compiler.ParserController.parse(ParserController.java:111)
     at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:183)
     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:327)
     at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:427)
     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:142)
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
     at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
     at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
     at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
     at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
     at java.lang.Thread.run(Thread.java:534)

Hi ram,
i wonder if you could help me. i have same error but my class is fully defined and useBean syntax is also case correct.
i get the following relvant output from tomcat:-
2005-11-04 23:28:20 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: /results.jsp(61,6) jsp.error.badaction
     at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)
     at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:428)
     at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:126)
     at org.apache.jasper.compiler.Parser.parseAction(Parser.java:671)i think i know where the problem is ---please see below code.
i dont know how to create a unique variable name to be populated with several data rows and then pass this collection on to jsp and use this collection using <taglib>.
code below this comment (in code below) i think is throwing the error
// this is the problem part - dont know if this would work ie i need a unique object to be crated eg -      varabridgment1, varabridgment2, varabridgment3...... and then be able to get attributes of each object in jsp page using a <iterator taglib>
eg code is below for servlet where data is being stored.
//create Results - a collection object for storing individaual Abridgment objects
Results abridgeresults = new Results();
     abridgeresults.setName("NaeemColl");
     Abridgment varabridgment = null;
      int nRows = 0;
      while(resultSet.next()){
        nRows++;
// this is the problem part - dont know if this would work ie i need a unique object to be crated eg -       varabridgment1, varabridgment2, varabridgment3...... and then be able to get attributes of each object in jsp page using a <iterator taglib>
      // varabridgment = varabridgment +nRows;
      varabridgment = new Abridgment();
       varabridgment.seta_county(county);
      varabridgment.seta_year_date(Integer.parseInt(year));
    //  varabridgment.a_sub_year_volume        = Long.parseLong(c_phone);
        varabridgment.seta_sub_year_volume(resultSet.getInt("a_sub_year_volume"));
        varabridgment.seta_page_id(resultSet.getString("a_page_id"));
        varabridgment.seta_image_id(resultSet.getLong("a_image_id"));
          abridgeresults.addAbridgment(varabridgment);
          //trying to use vector construct
          //AbridgeResults.add(abridgment);
        //session.setAttribute("isNewAbridgment", new Boolean(false));
      req.setAttribute("results",abridgeresults);the jsp code ....
<jsp:useBean id="results" scope="request" type="com.fut.mes.Results"/>
<jsp:useBean id="abridgment" class="com.fut.mes.Abridgment" scope="session">
</jsp:useBean>
<mt:iterate name="abridgment" collection="<%= results.getAbridgments()%>" type="com.fut.mes.Abridgment">
     <p><input type="checkbox" name="list" value="ON"><span style="font-size:12pt"><jsp:getProperty name="abridgment" property="a_sub_year_volume"/></span><span style="font-size:12pt">,
     <a href="abridgment_link.htm"><jsp:getProperty name="abridgment" property="a_volume_id"/></a>, </span><jsp:getProperty name="abridgment" property="a_batch_id"/>,<p:onmouseclick
hyperlinktype="url"
href="file://nc-fileshare-01/land%20and%20property/ROS%20Partnership/Management/Change%20Control/Active%20CCNs/CR%20003%20-%20Registers%20Archive%20Scanning/Technical/Design%20Workshops/Design%20Workshop/00000007.tif"/><span style="font-size:12pt;mso-color-index:6"><jsp:getProperty name="abridgment" property="a_image_id"/></span><span style="font-size:16pt;mso-color-index:6"> </span><br>please can some one help me with this - first can anyone tell me how i can create a unique varaible name of an object typr that i can store into Results type collection object - that might sort it all out.
thanks

Similar Messages

  • How to run jsp in tomcat server

    hi this is satish1529,
    i am new to jsp technology,i have written small jsp file and html file,i don't know where to place jsp and html files in tomcat server and where i have to do setting in the server and how to run jsp file. pls give me step by step describing how to run jsp in tomcat server.
    i am showing u files
    this is jsp file
    <html>
    <body>
    <center> data recieved from client <center>
    <%
    String s= request.getParameter("t1");
    String a= request.getParameter("t2");
    %>
    username :<%=s%><br>
    address :<%=a%>
    </body>
    </html>
    this is html file
    <html>
    <body>
    <form action="http://localhost:8080/form.jsp">
    enter name <input type="text" name="t1"> <br>
    enter address <textarea name="t2"> </textarea> <br>
    <input type="submit" vaule="login">
    </form>
    </body>
    </html>

    Thanx a lot for ur promt reply.
    we r succful in running simple jsp in tomcat6.0.
    bt one more problem occured as following when we r trying to run jsp file in tomcat.
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: /main1.jsp(1,1) The value for the useBean class attribute webCounter is invalid.
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:148)
         org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1200)
         org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1155)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2392)
         org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
         org.apache.jasper.compiler.Generator.generate(Generator.java:3374)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:210)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    note The full stack trace of the root cause is available in the Apache Tomcat/6.0.13 logs.

  • How to Run JSP in Tomcat Server 3.3.2

    Hi all,
    i have just installed tomcat server 3.3.2 in my system which as windows xp home edition as a operating system and no problem i can able to start the tomcat server.But the problem is that i dont no how to run jsp in tomcat i listed some of my problems below..
    How to put my jsp file in the virtual directory(default and also i want to create ) then tell me how use IE to run the JSP file.
    Thanks in advance..
    With Regards
    Vijay

    Hi all,
    i have just installed tomcat server 4.1 in my
    system which as windows NT 4.0 home edition as a
    operating system and no problem i can able to start
    the tomcat server.But the problem is that i dont no
    how to run jsp in tomcat i listed some of my problems
    below..
    How to put my jsp file in the virtual
    directory(default and also i want to create ) then
    tell me how use IE to run the JSP file.
    Thanks in advance..
    With Regards
    Baliram

  • How to run jsp using  tomcat server?

    hai friends,
    i'm using jsp for my application and for that i'm using tomcat server.
    i was runing my jsp files like this
    http://localhost:8080/examples/jsp/myapp/index.jsp but instead of this
    i need to run my jsp files like this
    http://localhost:8080/myapp/index.jsp
    what r the changes that i should do in tomcat installation to run myapplication in such a way.
    thanks in advance

    you need to redefine the server root...
    for that do the following...
    copy all the directory tree rooted at
    JAKARTA-HOME/webapps/ROOT/examples/jsp/myapp/ to
    JAKARTA-HOME/webapps/ROOT/myapp/
    -OR-
    in the server.xml, search for "Tomcat Root Context" and un-comment the code defining Root Context...
    change the docBase value from "ROOT" to "ROOT/examples/jsp"
    that shud help...
    -Pranav
    hai friends,
    i'm using jsp for my application and for that i'm
    using tomcat server.
    i was runing my jsp files like this
    http://localhost:8080/examples/jsp/myapp/index.jsp but
    instead of this
    i need to run my jsp files like this
    http://localhost:8080/myapp/index.jsp
    what r the changes that i should do in tomcat
    installation to run myapplication in such a way.
    thanks in advance

  • REP-0177: An error occurred while running in a remote server.

    I am getting the following errors while trying to run a report script.  The report was created in Report Builder.
    REP-0177: An error occurred while running in a remote server.
    Reference parameter OT_RUN_DATE in the distribution list is invalid.
    OT_RUN_DATE is a static field converting SYSDATE to a string (TO_CHAR(SYSDATE, 'YYYYMMDD')).  Unfortunately, I inherited this report and did not create it.  I do not know what purpose it serves but would like more insight into what the reference parameter and distribution list mean.
    REP-0177: An error occurred while running in a remote server.
    Too many errors pushed on the stack
    I assume this is related to the first error but am not certain.
    Any help is greatly appreciated...

    Michel,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Unable to run jsp in tomcat 5.0

    hi ,
    iam unable to run jsps in tomcat 5.0.
    i get an error saying ,unable to compile java compiler
    iam able to compile servlets & execute them.
    i have already set the paths for JAVA_HOME & CATALINA_HOME
    please guide me accordingly
    regards ,
    shailesh

    the same code gets executed in other system in which there is only one jdk.
    the system which iam using has got many jre s due to
    1) netbeans IDE
    2)Weblogic server
    3) jdk 1.4 was previously installed
    4) jdk 1.5 was also installed
    but i have set JAVA_HOME   =jdk1.6
    I doubt the compiler is trying to compile itself or another compiler
    regards ,
    shaileshkumar

  • Error While running JSP-

    while running JSP which is deployed in JAvaWebserver2.0 Trial version, it is giving this error
    javawebserver: Loading from CLASSPATH POLCATMA001_ItemMasterModule.properties
    javawebserver: Diagnostics: Silencing all diagnostic output (use -Djbo.debugoutp
    ut=console to see it)
    javawebserver: A nonfatal internal JIT (3.00.072b(x)) error 'ResolveItem64' has
    occurred in :
    javawebserver: 'oracle/sql/NUMBER.toBytes (Ljava/math/BigDecimal;)[B': Interpr
    eting method.
    This is happening while inserting a record to any master-detail jsp. In some Jsps while displaying(viewRecord) itself it is giving this error. After this error comes we are not able to do any insert, update or even navigation is not coming properly. Some vague errors like Error Message:null is coming. Why is it so? anybody got any idea abt this? Sometimes The same Jsp is working fine.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

    Is your JSP functioning correctly when you run it from within JDeveloper, or are you experiencing the same problems there?
    If you are having the same problems from your JSP within JDeveloper, try the same from the Application Module tester.
    This will help determine where the source of the error is.
    Laura

  • Error while running jsp page

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

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

  • Error while running application with Tomcat 5.0

    Hi,
    I am trying to run my application on Tomcat 5.0. I have java environment version 1.4
    I am getting the following error during the server start up :
    Mar 30, 2007 3:51:03 PM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    Mar 30, 2007 3:51:03 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1047 ms
    Mar 30, 2007 3:51:03 PM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Mar 30, 2007 3:51:03 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.0.28
    Mar 30, 2007 3:51:03 PM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Mar 30, 2007 3:51:03 PM org.apache.catalina.core.StandardHost
    getDeployer
    INFO: Create Host deployer for direct deployment ( non-jmx )
    Mar 30, 2007 3:51:03 PM org.apache.catalina.core.StandardHostDeployer
    install
    INFO: Processing Context configuration file URL file:C:\Program
    Files\Apache Sof
    tware Foundation\Tomcat 5.0\conf\Catalina\localhost\admin.xml
    Mar 30, 2007 3:51:04 PM org.apache.struts.util.PropertyMessageResources
    <init>
    INFO: Initializing, config='org.apache.struts.util.LocalStrings',
    returnNull=tru
    e
    Mar 30, 2007 3:51:04 PM org.apache.struts.util.PropertyMessageResources
    <init>
    INFO: Initializing, config='org.apache.struts.action.ActionResources',
    returnNul
    l=true
    Mar 30, 2007 3:51:05 PM org.apache.struts.util.PropertyMessageResources
    <init>
    INFO: Initializing,
    config='org.apache.webapp.admin.ApplicationResources', retur
    nNull=true
    Mar 30, 2007 3:51:06 PM org.apache.catalina.core.StandardHostDeployer
    install
    INFO: Processing Context configuration file URL file:C:\Program
    Files\Apache Sof
    tware Foundation\Tomcat 5.0\conf\Catalina\localhost\balancer.xml
    Mar 30, 2007 3:51:07 PM org.apache.catalina.core.StandardHostDeployer
    install
    INFO: Processing Context configuration file URL file:C:\Program
    Files\Apache Sof
    tware Foundation\Tomcat 5.0\conf\Catalina\localhost\manager.xml
    Mar 30, 2007 3:51:07 PM org.apache.catalina.core.StandardHostDeployer
    install
    INFO: Installing web application at context path /jsp-examples from URL
    file:C:\
    Program Files\Apache Software Foundation\Tomcat 5.0\webapps\jsp-examples
    Mar 30, 2007 3:51:07 PM org.apache.catalina.core.StandardHostDeployer
    install
    INFO: Installing web application at context path from URL
    file:C:\Program Files
    \Apache Software Foundation\Tomcat 5.0\webapps\ROOT
    Mar 30, 2007 3:51:07 PM org.apache.catalina.core.StandardHostDeployer
    install
    INFO: Installing web application at context path /servlets-examples from
    URL fil
    e:C:\Program Files\Apache Software Foundation\Tomcat
    5.0\webapps\servlets-exampl
    es
    Mar 30, 2007 3:51:07 PM org.apache.catalina.core.StandardHostDeployer
    install
    INFO: Installing web application at context path /tomcat-docs from URL
    file:C:\P
    rogram Files\Apache Software Foundation\Tomcat 5.0\webapps\tomcat-docs
    Mar 30, 2007 3:51:07 PM org.apache.catalina.core.StandardHostDeployer
    install
    INFO: Installing web application at context path /webdav from URL
    file:C:\Progra
    m Files\Apache Software Foundation\Tomcat 5.0\webapps\webdav
    Mar 30, 2007 3:51:07 PM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    Mar 30, 2007 3:51:07 PM org.apache.jk.common.ChannelSocket init
    INFO: JK2: ajp13 listening on /0.0.0.0:8009
    Mar 30, 2007 3:51:07 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/31 config=C:\Program Files\Apache Software
    Foundat
    ion\Tomcat 5.0\conf\jk2.properties
    Mar 30, 2007 3:51:08 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 4266 ms
    Mar 30, 2007 3:53:07 PM org.apache.catalina.core.StandardHostDeployer
    install
    INFO: Installing web application at context path /Hyperceller from URL
    file:C:\P
    rogram Files\Apache Software Foundation\Tomcat 5.0\webapps\Hyperceller
    Mar 30, 2007 3:53:08 PM org.apache.struts.util.PropertyMessageResources
    <init>
    INFO: Initializing, config='org.apache.struts.util.LocalStrings',
    returnNull=tru
    e
    Mar 30, 2007 3:53:08 PM org.apache.struts.util.PropertyMessageResources
    <init>
    INFO: Initializing, config='org.apache.struts.action.ActionResources',
    returnNul
    l=true
    Mar 30, 2007 3:53:09 PM org.apache.commons.digester.Digester
    startElement
    SEVERE: Begin event threw exception
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at
    org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(Property
    Utils.java:1656)
    at
    org.apache.commons.beanutils.PropertyUtils.setNestedProperty(Property
    Utils.java:1551)
    at
    org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.
    java:1580)
    at
    org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:919
    at
    org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:726)
    at
    org.apache.commons.digester.SetPropertiesRule.begin(SetPropertiesRule
    .java:251)
    at org.apache.commons.digester.Rule.begin(Rule.java:152)
    at
    org.apache.commons.digester.Digester.startElement(Digester.java:1361)
    at
    org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Sour
    ce)
    at
    org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unkn
    own Source)
    at
    org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Sourc
    e)
    at
    org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn
    own Source)
    at
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
    Dispatcher.dispatch(Unknown Source)
    at
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
    known Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
    Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
    Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
    Source)
    at
    org.apache.commons.digester.Digester.parse(Digester.java:1647)
    at
    org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionSe
    rvlet.java:1006)
    at
    org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet
    .java:955)
    at
    org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
    at javax.servlet.GenericServlet.init(GenericServlet.java:211)
    at
    org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
    java:1029)
    at
    org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:86
    2)
    at
    org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
    t.java:4013)
    at
    org.apache.catalina.core.StandardContext.start(StandardContext.java:4
    357)
    at
    org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
    .java:823)
    at
    org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
    7)
    at
    org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
    at
    org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep
    loyer.java:277)
    at
    org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
    at
    org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
    ava:701)
    at
    org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432
    at
    org.apache.catalina.startup.HostConfig.check(HostConfig.java:1083)
    at
    org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
    :327)
    at
    org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
    eSupport.java:119)
    at
    org.apache.catalina.core.StandardHost.backgroundProcess(StandardHost.
    java:800)
    at
    org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
    rocessChildren(ContainerBase.java:1619)
    at
    org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
    rocessChildren(ContainerBase.java:1628)
    at
    org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.r
    un(ContainerBase.java:1608)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.UnsupportedClassVersionError:
    com/hyperceller/form/LoginFor
    m (Unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at
    java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
    3)
    at
    org.apache.catalina.loader.WebappClassLoader.findClassInternal(Webapp
    ClassLoader.java:1634)
    at
    org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoa
    der.java:860)
    at
    org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
    der.java:1307)
    at
    org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
    der.java:1189)
    at
    org.apache.struts.config.FormBeanConfig.formBeanClass(FormBeanConfig.
    java:320)
    at
    org.apache.struts.config.FormBeanConfig.setType(FormBeanConfig.java:1
    91)
    ... 46 more
    Mar 30, 2007 3:53:09 PM org.apache.struts.action.ActionServlet
    handleConfigExcep
    tion
    SEVERE: Parsing error processing resource path
    java.lang.reflect.InvocationTargetException
    at
    org.apache.commons.digester.Digester.createSAXException(Digester.java
    :2919)
    at
    org.apache.commons.digester.Digester.createSAXException(Digester.java
    :2945)
    at
    org.apache.commons.digester.Digester.startElement(Digester.java:1364)
    at
    org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Sour
    ce)
    at
    org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unkn
    own Source)
    at
    org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Sourc
    e)
    at
    org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn
    own Source)
    at
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
    Dispatcher.dispatch(Unknown Source)
    at
    org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
    known Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
    Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
    Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
    Source)
    at
    org.apache.commons.digester.Digester.parse(Digester.java:1647)
    at
    org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionSe
    rvlet.java:1006)
    at
    org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet
    .java:955)
    at
    org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
    at javax.servlet.GenericServlet.init(GenericServlet.java:211)
    at
    org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
    java:1029)
    at
    org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:86
    2)
    at
    org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
    t.java:4013)
    at
    org.apache.catalina.core.StandardContext.start(StandardContext.java:4
    357)
    at
    org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
    .java:823)
    at
    org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
    7)
    at
    org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
    at
    org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep
    loyer.java:277)
    at
    org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
    at
    org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
    ava:701)
    at
    org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432
    at
    org.apache.catalina.startup.HostConfig.check(HostConfig.java:1083)
    at
    org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
    :327)
    at
    org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
    eSupport.java:119)
    at
    org.apache.catalina.core.StandardHost.backgroundProcess(StandardHost.
    java:800)
    at
    org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
    rocessChildren(ContainerBase.java:1619)
    at
    org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
    rocessChildren(ContainerBase.java:1628)
    at
    org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.r
    un(ContainerBase.java:1608)
    at java.lang.Thread.run(Thread.java:534)
    Mar 30, 2007 3:53:44 PM org.apache.struts.util.PropertyMessageResources
    <init>
    INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings',
    returnN
    ull=true
    Mar 30, 2007 3:53:44 PM org.apache.struts.util.PropertyMessageResources
    <init>
    INFO: Initializing, config='org.apache.struts.util.LocalStrings',
    returnNull=tru
    e
    Mar 30, 2007 3:53:44 PM org.apache.struts.util.PropertyMessageResources
    <init>
    INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings',
    returnN
    ull=true
    could anyone tell me what the problem may be???
    Note: When I configure my application on the Tomcat 5.5 and java 1.5 then it runs fine. But the problem arises when I compile my code on the java 1.4 and run on the Tomcat 5.0
    Thanks in advance!!

    I am sorry that I forgot to tell you that I am running a struts application. Struts 1.1

  • Calling a external Java method from JSP - using Tomcat server

    Hi all,
    I am trying to call a method in an external Java file from my JSP. I am using Tomcat server.
    I have my class within the package package "mypackage" and it is called myclass.class. It has only one static method mymethod() which reads from a file and writes to a file.
    I compiled the java class and I put the class file under webapps/ROOT/web-inf/classes/mypackage/myclass.class
    I am trying to say something like this from my JSP file(which is under webapps/ROOT) :
    <%@ page import = "mypackage.myclass"%>
    <% myclass.mymethod(); %>
    I am not instatiating the class as its a static method.
    This is what I get while accessing my jsp file :
    javax.servlet.ServletException: try to access class mypackage.myclass from class org.apache.jsp.index_005ftest_jsp
    To put my problem in a nutshell, Can someone guide me how to access a method of an external class from a JSP page? I have a bunch of pages doing the same operation so I thought I would have it in a method and call it from every page. Even though I tried to put the file under web-inf/classes, The JSP is not able to see the class.
    Please help.
    Thanks
    -Uday

    I have a situation that is a bit similar. I have successfully used beans for storing methods used in JSPs and used by other methods in the same class as was suggested above. Now I would like to break some methods into another (utility) class since they are lower level and can be used by lots of things. They are for database operations (given a String query and String dbname, it queries and returns ResultSet for example). I want to have them in a separate class for reusability and OOP.
    I am having problems calling those public static methods in the public class from my bean that communicates with the JSP. I can't compile the class that calls the method in the database ops class. I get an error like :
    loginHelper.java:45: cannot find symbol
    symbol : variable sqlHelper
    location: class dbHelperBean.loginHelper
    and when I include the package name in the call I get
    loginHelper.java:45: cannot find symbol
    symbol : class sqlHelper
    location: package dbHelperBean
    That's strange since the package of both classes is dbHelperBean and the class is indeed called sqlHelper. I tried to compile it in the same directory as sqlHelper as well. What am I doing wrong?
    Thanks for any help.

  • Exception while executing JSP in TOMCAT

    Hi,
    I am new to Tomcat 5.0. I saved the JSP file in webapps/root folder. I have JDK1.3.1 and JRE 1.4.1. When I am executing the jsp, I am getting the following exception.
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Compiling 1 source file
    C:\Tomcat 5.0\work\Catalina\localhost\_\org\apache\jsp\test_jsp.java:9: cannot access java.lang.Object
    bad class file: C:\Program Files\Java\j2re1.4.1_03\lib\rt.jar(java/lang/Object.class)
    class file has wrong version 48.0, should be 47.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
    implements org.apache.jasper.runtime.JspSourceDependent {
    ^
    1 error
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:83)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:315)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:406)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:463)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:442)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:430)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    If I remove JRE 1.4.1 and install previous version i.e. 1.3.1, the tomcat server is not starting. How do I proceed. I need help in executing servlets also. I copied the tools.jar file into the common/lib folder.
    I am awaiting for the replies. Thanks in advance.
    sampath

    Hmmm. It seems that Tomcat is running on Java1.3, but trying to compile a JSP using Java1.4, which leads to problems.
    What have you set your JAVA_HOME variables to?
    Which version of Tools.jar did you copy to the common/lib folder?
    How do you start up tomcat? Shortcut or service?
    Copying Tools.jar is a bad thing to do in most cases (Yes, I know it told you to do that, but if it told you to format your harddrive would you do that too?) I would remove tools.jar, and see what happens then.
    Good luck,
    evnafets

  • Internal Server Error while running the page from server

    Hi gurus,
    We are getting below error while running the oaf page from our instance. we have executed the query behind the page and it took around 40 seconds to execute. but oaf page is getting errored out with below error message after taking long time.
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    Please help me..
    Thanks
    Raghava

    Is it 9i Jdeveloper or 10G. Also check the Jdeveloper is being run on a compatible database. A Jdeveloper for 11i should run on an instance having 11i installed and same for R12. Also check the version of OA Frameworrk in the Jdeveloper you are using and the version deployed in instance.
    Regards
    Sumti

  • How to run jsp in weblogic server

    hi,
    how to run jsp application in weblogic server,plz send the procedure how to deploy..
    Thanks

    How to run JSP and EJB program using weblogic server

  • How to run JSP in Tomcat

    Hi i am new to java web application, i am running JSP(edited in notepad) in tomcat
    <html>
    <head>
    <title>first jsp page</title>
    </head>
    <body>
    <%! String st = "shyam your JSP Code" %>
    Welcome ::<%= st %>
    </body>
    </html>
    i saved this jsp as first.jsp and D:\shyam\Apache Software Foundation\Tomcat 5.0\webapps\ROOT putting jsp in this folder.
    then started tomcat webserver
    then opeand browser giving URL: http://localhost:8080/first.jsp
    the error coming like--> HTTP status 500
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    root cause:
    unable to find a javac compiler;
    com.sun.tools.javac.Main is not on the classpath.
    Perhaps JAVA_HOME does not point to the JDK
    Error coming like this, plz tell how to rectify this, I want to set any thing in web.xml, tell where i did mistake.

    hi,
    your problem is you didn't set java home in your path..
    before running your application create a ".bat" file like,
    set JAVA_HOME="path where you installed jdk eg: c:\jdk1.5";

  • REP-300 Error while running report using App Server

    Hi,
    I am currently trying to run a report using the Application Server.
    This report is being called from a form.
    I am able to connect to the report server and all configurations seems to be correct.
    But when I execute the report from the form, I am getting error "Unable to run report"
    When I look at the error message in the Report Server queue, I find
    "REP-300 Table or View does not exist.."
    But that table does exist in the database.
    What could be be the problem ?
    Please help.
    The code in the form that calls the report is
    report_id := FIND_REPORT_OBJECT( report_name );
    vc_user_name:=get_application_property(username);
    vc_user_password:=get_application_property(password);
    vc_user_connect:=get_application_property(connect_string);
    vc_connect:=vc_user_name||'/'||vc_user_password||'@'||vc_user_connect;
    SET_REPORT_OBJECT_PROPERTY(report_id ,REPORT_OTHER, 'paramform=yes     p_user_connect='||vc_connect ||' p_servername=repsrv'||' p_action=<host>/reports/rwservlet?' );
    v_rep := RUN_REPORT_OBJECT(report_id, parmlist_id);

    The report is working perfectly fine when I run it from the Report Builder. I get the correct output.
    I am getting this error when I try to run the report through a Report server.
    I run the form from the Forms 10g builder. This form has a button "Run Report". When I click on the button the report is run using the Report server.
    This is when I get the error.
    There are other forms that are also called via the same form. Those work fine. The only difference between those forms and this one is that this one has user parameters passed to it. This one also has an attached library attached to it.
    The code in the Form to call the report is
    report_id := FIND_REPORT_OBJECT( report_name );
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_COMM_MODE, SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_EXECUTION_MODE, BATCH);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESTYPE, FILE);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESFORMAT, 'pdf');
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_SERVER, 'rep-vena01-xp');
    v_rep      := RUN_REPORT_OBJECT(report_id, parmlist_id );
    v_jobid := substr( v_rep, length( v_reportserver) + 2, length(v_rep) );
    v_repstatus := REPORT_OBJECT_STATUS( v_rep );
    IF ( v_repstatus = 'FINISHED' ) THEN
    v_url := '/reports/rwservlet/getjobid' || v_jobid || '?server=' || v_reportserver ;
    web.show_document( v_url, '_BLANK' );
    END IF;

Maybe you are looking for

  • Adding a new field to the transaction va01

    Hi, I have added a field to the va01 transaction in the "Additional Data B" tab by modifying screen number 8309 in program SAPMV45A. I have also added a structure in the table vbak for this additional field on the screen. But I can not save or displa

  • How to get a reference to a Project Library?

    Hello DSC 8 users, In my project I have couple project libraries ( *.lvlib) defined, containing only shared variables. I want to logg those variables to Citadel, but I need to programmatically set datalogging properties for each library, like Databas

  • How do I deal with "neighbors" piggybacking on my wireless connection?

    My MBP is connected wirelessly through the old space ship looking Airport Extreme which is connected to the modem in the house. Frequently (like right now) I have someone catching a ride on my wireless connection. Can my neighbor see anything in my c

  • Monitor Settings - Aspect Ratio

    I just bought one of your computer monitors from Best Buys in Mooresville, North Carolina [#1133] with a four year extended warrantee. I bought the Lenovo - L2262 unit with the 21.5 inch screen. Monitor LI P/N: 0A46982. I paid $174.43. Here's my prob

  • Can't get rid of annoying electronic voice after opening new windows.

    The kids were playing around w/computer. The only way I can get rid of the electronic voice is selecting "Mute" I tried going into system preferences and speech but had no luck.