Tomcat error feedback...

Hello
I am using servlets and JSP to make a web app and i have tomcat 5 as my container. The problem is that when sth does not work or there is an error somewhere the only thing i get from tomcat is a blank page with no feedback to understand and figure out where the problem is. In the past i used tomcat 4.x and it would give a full detailed error page with trace information.
Is there a setting in tomcat to configure or enable somehow the error feedback and the logging. Is it normal to return me an annoying blank page everytime sth is wrong.
Any ideas?

Are you using a HTTP server connector to Tomcat or, are you going through 8080? One thought might be that if you are going through the connector it may not be forwarding to Tomcat and just displaying a blank page. I would try going through 8080 to see if you get a different result.
Paul

Similar Messages

  • Tomcat error in DFM 3.0.5

    Hi,
    On a LMS 3.0.1, DFM 3.0.5, I've got a Tomcat error, when I want to see the "Alerts and Activity" (see attachement)
    Trying to solve the problem, i've made several try:
    1. I purged the dfm database (CSCOpx/bin/dbRestoreOrig.pl dsn=dfmInv dmprefix=INV, CSCOpx/bin/dbRestoreOrig.pl dsn=dfmFh dmprefix=FH,
    CSCOpx/bin/dbRestoreOrig.pl dsn=dfmEpm dmprefix=EPM)
    2. Import devices from DCR (almost 400 devices). I can see all the devices in "Device Management/Device summary"
    3. re-install DFM 3.0.5
    and this doesn't solve the problem
    I attach the "pdshow", if it can help.
    Which log file can help you ?
    thanks

    I add:
    As the post (https://supportforums.cisco.com/message/1328737#1328737), I do this:
    "NMSROOT/objects/db/win32/dbsrv9 -f NMSROOT/databases/dfmEpm/dfmEpm.db"
    and restore the database by
    "NMSROOT/bin/perl NMSROOT/bin/dbRestoreOrig.pl dsn=epm dmprefix=EPM"
    in attachement, the new pdshow (the EPMDbEngine is started, but the EPMServer is down)
    And still "tomcat error"...
    If you have an idea...

  • Tomcat error:" It is not available the ServletAction"  and jars not found

    Hi,
    I am deploying an application using Ant from MyEclipse IDE.
    When I deploy the application with the Ant, it says to me that the application has successfully deployed. I go to webaapps directory and I can see into that it how the application has been deployed with its WAR.
    But when I try to excute the application, Tomcat gives me the following error:
    Message: It is not available the Servlet Action
    Description: The request resource (It doesn`t available the ServletAction) is not available.
    If I go to Apache Tomcat`s stdout log I can see two warnings:
    WARN: No appends could be found for logger (org.apache.commons.beanutils.Convertutils)
    WARN: Please initialize the log4j system properly
    But, If I go to the Java Build path of the application I can verify how I have added the commons.beanutils.jar and log4j.jar .
    I don`t know why it doesn´t run and I am stuck.
    I would be very grateful somebody could help me to solve this problem.
    Regards

    The logging doesn't need to be set up properly for the web app to function, usually. The more critical point is the error message from Tomcat about the Servlet Action. Is that the exact error message? I'm just asking because I've never seen a Tomcat error written like that. Could you post the exact message.. Are you using Struts? And where are you seeing the Tomcat error message? Is it appearing in the console or in one of the logs or in the browser?
    My guess is you have a jar missing from your classpath but I can't tell from what you've posted.

  • Tomcat error when posting on netpro

    Is there a way to make that tomcat error go away?
    (when I post I get an error, then I have to go back to the post and edit it to put in the actual text of the post and it sticks.)
    Just like I had to do on this one.

    I've seen this happening since years.
    Since it never happened to me, I've always thought it is actually related to the client or network connection
    Altough, I must agree that nothing in theory should cause a post to appear without an author. Unfortunately it seem the forum software here isn't what you call top notch.

  • BC4J / Tomcat error is back!?!?

    Hi all,
    Once I encountered the following problem with BC4J using Tomcat:
    Error Message: Only one of the two parameters target or targetParam should be defined.
    The solution was changing the enablePooling property to false (in the web.xml). Now, I upgraded Tomcat to 4.1.27 and now the problem is back. Changing the property again does not make any difference. Does anyone know (another) solution for this?
    Thanks...Hans

    Part of my web.xml which I changed:
    <!-- The JSP page compiler and execution servlet, which is the mechanism -->
    <!-- used by Tomcat to support JSP pages. Traditionally, this servlet -->
    <!-- is mapped to URL patterh "*.jsp". This servlet supports the -->
    <!-- following initialization parameters (default values are in square -->
    <!-- brackets): -->
    <!-- -->
    <!-- checkInterval If development is false and reloading is true, -->
    <!-- background compiles are enabled. checkInterval -->
    <!-- is the time in seconds between checks to see -->
    <!-- if a JSP page needs to be recompiled. [300] -->
    <!-- -->
    <!-- compiler Which compiler Ant should use to compile JSP -->
    <!-- pages. See the Ant documenation for more -->
    <!-- information. [javac] -->
    <!-- -->
    <!-- classdebuginfo Should the class file be compiled with -->
    <!-- debugging information? [true] -->
    <!-- -->
    <!-- classpath What class path should I use while compiling -->
    <!-- generated servlets? [Created dynamically      -->
      <!--                       based on the current web application] -->
    <!-- -->
    <!-- development Is Jasper used in development mode (will check -->
    <!-- for JSP modification on every access)? [true] -->
    <!-- -->
    <!-- enablePooling Determines whether tag handler pooling is -->
    <!-- enabled [true] -->
    <!-- -->
    <!-- ieClassId The class-id value to be sent to Internet -->
    <!-- Explorer when using <jsp:plugin> tags. -->
    <!-- [clsid:8AD9C840-044E-11D1-B3E9-00805F499D93] -->
    <!-- -->
    <!-- fork Tell Ant to fork compiles of JSP pages so that -->
    <!-- a separate JVM is used for JSP page compiles -->
    <!-- from the one Tomcat is running in. [true] -->
    <!-- -->
    <!-- javaEncoding Java file encoding to use for generating java -->
    <!-- source files. [UTF8] -->
    <!-- -->
    <!-- keepgenerated Should we keep the generated Java source code -->
    <!-- for each page instead of deleting it? [true] -->
    <!-- -->
    <!-- largefile Should we store the static content of JSP -->
    <!-- pages in external data files, to reduce the -->
    <!-- size of the generated servlets? [false] -->
    <!-- -->
    <!-- logVerbosityLevel The level of detailed messages to be produced -->
    <!-- by this servlet. Increasing levels cause the -->
    <!-- generation of more messages. Valid values are -->
    <!-- FATAL, ERROR, WARNING, INFORMATION, and DEBUG. -->
    <!-- [WARNING] -->
    <!-- -->
    <!-- mappedfile Should we generate static content with one -->
    <!-- print statement per input line, to ease -->
    <!-- debugging? [false] -->
    <!-- -->
    <!-- reloading Should Jasper check for modified JSPs? [true] -->
    <!-- -->
    <!-- scratchdir What scratch directory should we use when -->
    <!-- compiling JSP pages? [default work directory  -->
      <!--                       for the current web application] -->
    <!-- -->
    <!-- If you wish to use Jikes to compile JSP pages: -->
    <!-- Set the init parameter "compiler" to "jikes". Define -->
    <!-- the property "-Dbuild.compiler.emacs=true" when starting Tomcat -->
    <!-- by adding the above to your CATALINA_OPTS environment variable. -->
    <!-- If you get an error reporting that jikes can't use UTF8 encoding, -->
    <!-- try setting the init parameter "javaEncoding" to "ISO-8859-1". -->
    <servlet>
    <servlet-name>jsp</servlet-name>
    <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
    <init-param>
    <param-name>enablePooling</param-name>
    <param-value>false</param-value>
    </init-param>
    <init-param>
    <param-name>logVerbosityLevel</param-name>
    <param-value>WARNING</param-value>
    </init-param>
    <init-param>
    <param-name>fork</param-name>
    <param-value>false</param-value>
    </init-param>
    <load-on-startup>3</load-on-startup>
    </servlet>
    <!-- Server Side Includes processing servlet, which processes SSI -->
    <!-- directives in HTML pages consistent with similar support in web -->
    <!-- servers like Apache. Traditionally, this servlet is mapped to -->
    <!-- URL pattern "*.shtml". This servlet supports the following -->
    <!-- initialization parameters (default values are in square brackets): -->
    <!-- -->
    PS. Sorry for late response, but email notification of this forum doesn't work sometimes...

  • This is an example of schema validating with error feedback

    Hi,
    Hope this is of help....
    This is an example of schema validating WITH error feedback
    public boolean validate(InputStream is) {
    // create and setup the DOM parser object
    parser = new DOMParser();
    parser.setPreserveWhitespace(false);
    parser.setValidationMode(XMLConstants.SCHEMA_STRICT_VALIDATION);
    boolean isValid = false;
    if (is != null) {
    try {
    parser.parse(new InputSource(is));
    isValid = true;
    } catch (XMLParseException e) {
    for (int i = 0; i<e.getNumMessages() ;i++){
    System.out.println("XMLParseException nr:"+new Integer(i+1)+" \'imsmanifest.xml\' line nr: "+new Integer(e.getLineNumber(i))+" col nr:"+
    new Integer(e.getColumnNumber(i))+" (formatErrorMessage: "+e.formatErrorMessage(i)+") ["+e.getMessage(i)+"]");
    } catch (java.io.IOException e) {
    System.out.println("IOException: Error creating input source [" + e.getMessage() + "]");
    } catch (org.xml.sax.SAXException e) {
    System.out.println("SAXException: Error parsing [" + e.getMessage() + "]");
    } catch (Exception e){
    System.out.println("Exception: Error parsing [" + e.getMessage() + "]. ");
    doc = parser.getDocument();
    return isValid;
    regards
    Jon

    "personally, I'd just put the exception handling into the package."
    Maybe I am making this over-complicated. I would like all the error handling in the package. It seems like putting an ONSERVERERROR trigger would be a little overkill, and if it fires on every database error, and I have to screen for only my errors seems like a little overkill and to me, it seems like it would incur quite a bit of overhead for the database seeing it is firing for every error. I don't even know if I would ultimately be allowed to keep it.
    Really, all I would want to do is:
    1) Handle the error and recover if possible
    2) If it is a fatal error, have a way to abort the package gracefully with some kind of record of it.
    3) Allow for the possibility of non-fatal errors or messages, even that I might generate myself to be able to be logged.
    This package has about 20 procedures now. If I have an error (particularly fatal), in let's say, procedure 8, I don't even know what happens. I don't know if by default it aborts the whole package or just that procedure or just keeps going. Is it possible to get just hung up and sit there?
    Thanks for the input.

  • Tomcat error message help

    I am trying to get the sample file upload from orielly to work. I did not anything from the sample java classes (except the file location repository) and I get the following tomcat error message:
    org.apache.jasper.JasperException
         org.apache.jasper.runtime.JspRuntimeLibrary.handleSetProperty(JspRuntimeLibrary.java:711)
         org.apache.jsp.upload_005f1_jsp._jspService(upload_005f1_jsp.java:56)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)JSP:
    <jsp:useBean id="uploader" class="com.jspservletcookbook.UploadBean" />
    <jsp:setProperty name="uploader" property="dir"
        value="<%=application.getInitParameter(\"ROOT\")%>" />
    <jsp:setProperty name="uploader" property="req"  value="<%= request %>" />
    <html>
    <head><title>file uploads</title></head>
    <body>
    <h2>Here is information about the uploaded files</h2>
    <jsp:getProperty name="uploader" property="uploadedFiles" />
    </body>
    </html>HTML
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
         <title>Please Choose The File</title>
    </head>
    <body bgcolor="#ffffff">
    <table border="0"><tr>
    <!-- /home/servlet/com.jspservletcookbook.UploadServlet -->
    <form action="upload_1.jsp" method="post" enctype="multipart/form-data">
    <td valign="top"><strong>Please choose your document:</strong><br></td>
    <td><input type="file" name="file1"><br><br>
    </td></tr>
    <tr><td><input type="submit" value="Upload"></td></tr>
    </form>
    </table>
    </body>
    </html>

    just a guess, there is an error in the way you are setting the property (hence the handleSetProperty method that threw the error.
    as you amy be newer, a good way to debug a jsp from tomcat that is giving odd errors on the page is to view the java source code that tomcat generated from your jsp. look in the work directory, and paw around a bit, and you will find a file called upload_005f1_jsp.java. That is the java servlet tomcat made you rjsp into. look in that file, and you'll see on line 56 the exception was either caught or thrown. then look for the property that it tried to set just above it. that is the property that tomcat got mad about. (either a mispelling on your part, or their docs are wrong - altered api perhaps? ) Anyway, if you continue to get frustrated with the orielly classes, look at commons-uploader from jakarta. It is a wonderful file upload library, and I have used it a lot in several struts apps.

  • Internal Tomcat Error while running JSP

    Hi,
    I was running a jsp page on Sun One Studio and here is what I am getting, any help would really appreciate.
    C:\Sun\AppServer\jdk\jre\bin\java -classpath "C:\Sun\studio5u1_se\jwsdp\bin\bootstrap.jar";"C:\Sun\AppServer\jdk\lib\tools.jar" -Dcatalina.home="C:\Sun\studio5u1_se\jwsdp" -Dcatalina.base="C:\Documents and Settings\sjoy\studio5se_user\jwsdp_base" org.apache.catalina.startup.Bootstrap "start"
    Starting service Tomcat-Netbeans
    Java Web Services Developer Pack/1.0_01-fcs
    Thanks

    Hi,
    Maybe I am missing something but it does not appear your post below includes your error.

  • Tomcat error

    I am having problem starting tomcat. This is the error I find in the log file.
    2005-07-27 14:52:23 StandardContext[admin]: Resources start failed:
    2005-07-27 14:52:23 StandardContext[admin]: Context startup failed due to previous errors
    2005-07-27 14:52:23 StandardContext[admin]: Exception during cleanup after start failed
    LifecycleException: Container StandardContext[admin] has not been started
         at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3643)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:3621)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
         at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:529)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:228)
         at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:260)
         at org.apache.commons.digester.Digester.endElement(Digester.java:1036)
         at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:585)
         at org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java:647)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1008)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1469)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
         at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
         at org.apache.commons.digester.Digester.parse(Digester.java:1514)
         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:335)
         at org.apache.catalina.core.StandardHost.install(StandardHost.java:803)
         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:452)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:409)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:879)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:368)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
         at org.apache.catalina.core.StandardService.start(StandardService.java:497)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
         at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
         at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
    I am pretty new at web development, and any clue or pointer would help.

    Is that not ok? or something else is wrongYou've installed JDK 6. It doesn't follow that you
    don't have JDK 5 installed as well. Clearly you do,
    and clearly you're running Tomcat with it (even if
    you didn't mean to).I am little bit confused may be due to your strong english language.
    1) I compiled with jdk (1.6.0-b105) in OS=xp (at my labtop)
    2) I installed jdk-6u1-linux-i586-rpm.bin and jdk-6u1-linux-i586.rpm on my dedicated server
    My question is jdk that i installed on my dedicated server is ok if this is right then why its throwing the subject error?? I need solution plz.
    Please get me pardon if didn't understand your answer

  • Tomcat error: "method not found"

    I'm starting a new thread because the issue is method not found.
    So kindly bear with me.
    I'm using Tomcat 5 with Javac 1.4.2. I have created a test class
    called hellothere. The idea is to call a method from JSP.
    package helloworld;
    import java.lang.*;
    public class hellothere {
    public String sayworld()
    String st="hello from hellothere";
    return st;
    public int returnint()
    return 1;
    And the jsp looks like:
    <%@ page import="helloworld.*" %>
    <html>
    <head>
    <title> hello there </title>
    <body>
    <%
    hellothere h=new hellothere();
    String st2=h.sayworld();
    out.println(st2);
    out.println(h.returnint());
    %>
    </body>
    </html>
    The error I get is:
    method not found helloworld.hellothere.sayworld()Ljava/lang/String;
    blah blah
    When I call the returnint after commenting sayworld I get the same error, i.e. method returnint not defined.
    Does anyone know what's going on?
    Thanks

    Make sure that there is only one version of the class
    file on your system. Then check spelling and
    capitalization of the method names.
    You are not trying to run this from an IDE are you?No. I was using Tomcat 5. I don't see this problem with Tomcat 4.
    Thanks

  • Jakarta Tomcat error - 'Package MyUtils not found in import.'

    Jakarta Tomcat - 'Package MyUtils not found in import.'
    Can anyone help with this error please?
    My JSP code P6.jsp contains :-
    <%@page import="MyUtils.* ,java.util.*"%>
    But, the package MyUtils with class file NameStore.class is not found.
    The actual error at JSP translation time is:-
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
    C:\jdk1.4\jakarta-tomcat-4.0.1\work\Standalone\localhost\lab06\P6$jsp.java:3: Package MyUtils not found in import.
    import MyUtils.* ;
    ^
    My directory structure is listed below:-
    %CATALINA_HOME/webapps/lab06( contains P6.jsp)/web-inf/classes/MyUtils/NameStore.class
    Can anyone help please?
    Thanks,John Withington

    put your package in your WEB-INF directory!

  • Tomcat error - SocketException: Too many open files

    I periodically get this error in Tomcats CiscoWorkds Home/MDC/tomcat/logs/stdout.log file. The symptom occurs after logging in and opening any page on the CiscoWorks Web portal ( eg Common Services ). Several applets fail to load, and I'll see the error included in the attached file come up repeatedly after each page refresh.
    After quite a bit of research, I found many recommendations to increase the ulimit for files, using the "ulimit -n" command. I've upped it to "unlimited" and thne problem continues to reoccur.
    Here's my environment:
    LMS 3.2
    Solaris 10 (patched up to the April 2011 CPU )
    64 bit SPARC processor
    Java Runtime Engine 1.5.0_28
    Any more ideas? This might be a case where I need to increase a max network connections setting for each of the Tomcat applications. I've never done that, but that's my best guess.

    The dmgtd script sets the number of files for casuser processes.  Setting the limit outside of dmgtd will not be helpful.  Tomcat should not be running out of file descriptors.  When the problem happens again, post the output of pfiles for the Tomcat PID (use pdshow to find the PID for Tomcat).  There may be a file descriptor leak somewhere.

  • Apache Tomcat error on common services (Device Update)

    I have installed lms 3.2 on server 2008 , and when I click on device update in software center I recieve an error
    which I inserted down here ;
    I have to mention that I also have installed Common services patch .
    please some one help me this out .
    which I

    Hi,
    Kindly check if you have CSCtj20850-0.info at location CSCOpx\setup\patch
    Try this workaround too as it look like rme map files got corrupted :-
    Navigate to -->
    CSCOpx/www/classpath/com/cisco/nm/xms/psu/maps
    Backup these two files (rme*.map) at another location and finally delete them from this location. You need to stop the daemon manager to be able to delete this files with the command net stop crmdmgtd.
    Now, run the following command two command, rememer they are one line command :-
    1>
    set NMSROOT=%CWMIBDIR%\..\..\..
    2>
    %NMSROOT%\lib\jre\bin\java -classpath %NMSROOT%\lib\jre\lib;%NMSROOT%\lib\classpath;%NMSROOT%\objects\log4j\1.1.3\log4j.jar;%NMSROOT%\MDC\tomcat\shared\lib\MICE.jar;%NMSROOT%\MDC\tomcat\shared\lib\NATIVE.jar;%NMSROOT%\MDC\tomcat\shared\lib\jdom.jar;%NMSROOT%\www\classpath;%NMSROOT%\lib\classpath\servlet.jar;%NMSROOT%\MDC\tomcat\webapps\cwhp\WEB-INF\classes com.cisco.nm.xms.psu.packagemgmt.map.CreateMaps %NMSROOT%\www\classpath\com\cisco\nm\xms\psu\pkgs\rme
    The above workaround should generate the rme*.map files again and then it should work fine.
    Now, start the daemon manager and wait for 20 minutes before logging back to CiscoWorks.
    Note :- Its important to backup (rme*.map) before deleting them.
    Many Thanks,
    Gaganjeet Singh

  • Tomcat Error: Requested Resource is not Available.

    I'm working on a Struts project, which involves working w/ JSP pages, Tomcat and Java classes.
    I keep receiving the following error whenever I click on a link on my main JSP page. My Servlet's name is StrutsGame, which is defined in web.xml
    HTTP Status 404 - Servlet StrutsGame is not available
    type Status report
    message Servlet StrutsGame is not available
    description The requested resource (Servlet StrutsGame is not available) is not available.
    Apache Tomcat/5.5.20Note that I do not get this problem when I enter the main jsp, although this is under the same servlet name.
    My main jsp page is called DisplayMainMenu.jsp, which contains links to GetAddInfo.jsp, GetDeleteInfo.jsp, GetEditName.jsp and DisplayGames.jsp.
    I receive the problem discussed above when I click on GetAddInfo.jsp.
    Here's how my web.xml looks like. Please help out!
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
      <servlet>
        <servlet-name>StrutsGame</servlet-name>
        <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
         <init-param>
          <param-name>application</param-name>
          <param-value>StrutsGame</param-value>
        </init-param>
         <init-param>
          <param-name>config</param-name>
          <param-value>/WEB-INF/struts-config.xml</param-value>
        </init-param>
        </servlet>
      <servlet-mapping>
        <servlet-name>StrutsGame</servlet-name>
        <url-pattern>/do/*</url-pattern>
      </servlet-mapping>
        <session-config id="timeout">     
         <session-timeout>600</session-timeout>
        </session-config>     
      <welcome-file-list>
        <welcome-file>jsp/DisplayMainMenu.jsp</welcome-file>
      </welcome-file-list>
      <taglib>
        <taglib-uri>struts/bean-el</taglib-uri>
        <taglib-location>/WEB-INF/struts-bean-el.tld</taglib-location>
      </taglib>
      <taglib>
        <taglib-uri>struts/html-el</taglib-uri>
        <taglib-location>/WEB-INF/struts-html-el.tld</taglib-location>
      </taglib>
      <taglib>
        <taglib-uri>struts/logic-el</taglib-uri>
        <taglib-location>/WEB-INF/struts-logic-el.tld</taglib-location>
      </taglib>
    </web-app>

    make this sample web.xml as your reference:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!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>
      <description>Empty web.xml file for Web Application</description>
      <servlet>
        <servlet-name>SampleServlet</servlet-name>
        <servlet-class>com.sample.SampleServlet</servlet-class>
      </servlet>
      <servlet>
        <servlet-name>MyServlets</servlet-name>
        <servlet-class>myServlet.MyServlets</servlet-class>
      </servlet>
      <servlet>
        <servlet-name>myServlets</servlet-name>
        <servlet-class>com.myapp.myServlets</servlet-class>
      </servlet>
      <servlet>
        <servlet-name>MyServlet</servlet-name>
        <servlet-class>mypackage5.MyServlet</servlet-class>
      </servlet>
      <servlet>
        <servlet-name>FetchDataServlet</servlet-name>
        <servlet-class>com.myapp.FetchDataServlet</servlet-class>
      </servlet>
      <servlet>
        <servlet-name>ReportServlet</servlet-name>
        <servlet-class>com.jubabes.ReportServlet</servlet-class>
      </servlet>
      <servlet-mapping>
        <servlet-name>MyServlets</servlet-name>
        <url-pattern>/myservlets</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>MyServlet</servlet-name>
        <url-pattern>/myservlet</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>FetchDataServlet</servlet-name>
        <url-pattern>/fetchdataservlet</url-pattern>
      </servlet-mapping>
      <servlet-mapping>
        <servlet-name>ReportServlet</servlet-name>
        <url-pattern>/reportservlet</url-pattern>
      </servlet-mapping>
      <session-config>
        <session-timeout>35</session-timeout>
      </session-config>
      <mime-mapping>
        <extension>html</extension>
        <mime-type>text/html</mime-type>
      </mime-mapping>
      <mime-mapping>
        <extension>txt</extension>
        <mime-type>text/plain</mime-type>
      </mime-mapping>
    </web-app>

  • Tomcat error on start up

    Hi,
    I setup Tomcat for local development on my pc, and I get this "Syntax error" on startup:
    Syntax error
    Using CATALINA_BASE: C:\jakarta-tomcat-5.5.9
    Using CATALINA_HOME: C:\jakarta-tomcat-5.5.9
    Using CATALINA_TMPDIR: C:\jakarta-tomcat-5.5.9\temp
    Using JAVA_HOME: C:\j2sdk1.4.2_06
    I followed the tutorial here for the setup:
    http://www.coreservlets.com/Apache-Tomcat-Tutorial/#Configure-Tomcat
    and it ended with several tests to check .jsp's and servlets, and everything appears to work correctly. I do not have a separate Apache server installed. I was just wondering if I should be worried about that error.
    Thanks.

    Can you bring up the admin tool when you open it in
    the browser?
    Sorry, I don't know what the admin tool is.
    That's a big problem right there.
    What do you see in the command shell when you start
    Tomcat?
    This stuff?
    INFO: Initializing Coyote HTTP/1.1 on http-80
    May 15, 2005 10:02:55 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 5820 ms
    May 15, 2005 10:02:56 PM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    May 15, 2005 10:02:56 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.9
    May 15, 2005 10:02:56 PM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    May 15, 2005 10:03:05 PM org.apache.catalina.core.ApplicationContext log
    INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.
    webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule:
    Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.bal
    ancer.rules.RequestParameterRule: Target param name: paramName / Target param va
    lue: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balanc
    er.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
    May 15, 2005 10:03:07 PM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    May 15, 2005 10:03:07 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    May 15, 2005 10:03:10 PM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    May 15, 2005 10:03:12 PM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    May 15, 2005 10:03:14 PM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-80
    May 15, 2005 10:03:20 PM org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    May 15, 2005 10:03:20 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/220 config=null
    May 15, 2005 10:03:20 PM org.apache.catalina.storeconfig.StoreLoader load
    INFO: Find registry server-registry.xml at classpath resource
    May 15, 2005 10:03:20 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 25870 ms

Maybe you are looking for

  • I have more contacts on my iPhone than Outlook

    I have 479 contacts on my iPhone (some are duplicates) and 450 in my Outlook contacts.  I would very much like the 29 that are on my iPhone to be in Outlook.  I have sync'd multiple times and cannot seem to resolve this.  I've noticed the "Replace in

  • How do you crete an "unrendered look" in Final Cut Pro 7?

    Hi guys, Does anybody know how to crete an "unrendered look" in Final Cut Pro 7? What video filter do you apply? I'm trying to create a security Camera Look and I can't find the right filter. Any help ? Thanks.

  • EJBGen 1.21 released

    EJBGen is an EJB 2.0 code generator based on Javadoc. This new version has a bunch of enhancements, all documented at http://beust.com/cedric/ejbgen In a nutshell: 1.21 - Changed @cmr-field syntax: no arguments needed - Added bands example - Bug: bad

  • How to stop program excecution...

    Hi.. I would like to know how I can stop the execution of a program, not using System.out.exit(..). I do not want the application be closed. Let me be more specific.. My program reads text from a file and depending a condition (ie. if the length of t

  • Standard material price quantity stock devided by total stockvalue

    Hi, On MM master the standard price is (mid- month) 100 Euro. Actual stock value is 800 Euro for 7 PC. How can this happen? Do you need to run an extra transaction? Any suggestions? Best regards, Eric van Zundert