Requested resource not available error

I am using Apache Tomcat 4.1.31 and have JDK 1.4.
The default JSP and servlet examples that come with Tomcat are running,
but the problem is my own applications are not running. I have kept the application in the webapps directory but when I enter the URL for example for an application named 'myapp' saved in the webapps/myapp directory I get an error page displaying the following error message:
HTTP Status 404 - myapp/filename type Status report
message myapp/filename
description The requested resource (myapp/filename) is not available.
Apache Tomcat/4.1.27
the examples folder and myapp folder is in the same directory..
/usr/local/tomcat/webapps/
please help me..thanks in advance for your help..

do you error like this:
HTTP Status 404 - /myapp
type Status report
message /myapp
description The requested resource (/myapp) is not available.
Apache Tomcat/5.5.15

Similar Messages

  • Requested resource not available - can not find servlet

    I have an application in tomcat that uses jsp and servlets. The JSP works fine, but I keep getting a "requested resource not available" erroe when i try to access a servlet. My jsp is in a directory called ProjectManager, and my servlet classes are in WEB-INF/classes inside ProjectManager and are in a package called pmt.
    I can access my jsp using localhost:8080/ProjectManager/index.jsp, but I cannot seem to access the servlets, regardless of the URL I try. I've tried adding a servlet-name and a servlet-mapping in the web.xml file but I'm still stuck.
    Does anybody have any ideas?
    Thanks in advance.

    What jar files should be in the library? I have the following:
    commons-lang-2.4(2).jar
    mysqlconnector-java-5.1.6.bin.jar
    webserviceutils.jar
    Here is my web.xml as I too am getting "the request resource....cannot be found:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
         <display-name>
         classBlog</display-name>
         <servlet>
              <description>
              </description>
              <display-name>
              DriverServlet</display-name>
              <servlet-name>DriverServlet</servlet-name>
              <servlet-class>
              edu.ec.web.classBlog.DriverServlet</servlet-class>
         </servlet>
         <servlet>
              <description>
              </description>
              <display-name>
              AddEntityServlet</display-name>
              <servlet-name>AddEntityServlet</servlet-name>
              <servlet-class>
              com.ec.blog.web.AddEntityServlet</servlet-class>
         </servlet>
         <servlet>
              <description>
              </description>
              <display-name>
              DeleteEntityServlet</display-name>
              <servlet-name>DeleteEntityServlet</servlet-name>
              <servlet-class>
              com.ec.blog.web.DeleteEntityServlet</servlet-class>
         </servlet>
         <servlet>
              <description>
              </description>
              <display-name>
              EditEntityServlet</display-name>
              <servlet-name>EditEntityServlet</servlet-name>
              <servlet-class>
              com.ec.blog.web.EditEntityServlet</servlet-class>
         </servlet>
         <servlet>
              <description>
              </description>
              <display-name>
              ViewBlogServlet</display-name>
              <servlet-name>ViewBlogServlet</servlet-name>
              <servlet-class>
              com.ec.blog.web.ViewBlogServlet</servlet-class>
         </servlet>
         <servlet>
              <description>
              </description>
              <display-name>
              ViewEntityServlet</display-name>
              <servlet-name>ViewEntityServlet</servlet-name>
              <servlet-class>
              com.ec.blog.web.ViewEntityServlet</servlet-class>
         </servlet>
         <servlet>
              <description>
              </description>
              <display-name>
              AddEntryServlet</display-name>
              <servlet-name>AddEntryServlet</servlet-name>
              <servlet-class>
              com.ec.blog.web.AddEntryServlet</servlet-class>
         </servlet>
         <servlet>
              <description>
              </description>
              <display-name>
              DeleteEntryServlet</display-name>
              <servlet-name>DeleteEntryServlet</servlet-name>
              <servlet-class>
              com.ec.blog.web.DeleteEntryServlet</servlet-class>
         </servlet>
         <servlet>
              <description>
              </description>
              <display-name>
              EditEntryServlet</display-name>
              <servlet-name>EditEntryServlet</servlet-name>
              <servlet-class>
              com.ec.blog.web.EditEntryServlet</servlet-class>
         </servlet>
         <servlet>
              <description>
              </description>
              <display-name>
              ViewEntryServlet</display-name>
              <servlet-name>ViewEntryServlet</servlet-name>
              <servlet-class>
              com.ec.blog.web.ViewEntryServlet</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>DriverServlet</servlet-name>
              <url-pattern>/DriverServlet</url-pattern>
         </servlet-mapping>
         <servlet-mapping>
              <servlet-name>AddEntityServlet</servlet-name>
              <url-pattern>/AddEntityServlet</url-pattern>
         </servlet-mapping>
         <servlet-mapping>
              <servlet-name>DeleteEntityServlet</servlet-name>
              <url-pattern>/DeleteEntityServlet</url-pattern>
         </servlet-mapping>
         <servlet-mapping>
              <servlet-name>EditEntityServlet</servlet-name>
              <url-pattern>/EditEntityServlet</url-pattern>
         </servlet-mapping>
         <servlet-mapping>
              <servlet-name>ViewBlogServlet</servlet-name>
              <url-pattern>/ViewBlogServlet</url-pattern>
         </servlet-mapping>
         <servlet-mapping>
              <servlet-name>ViewEntityServlet</servlet-name>
              <url-pattern>/ViewEntityServlet</url-pattern>
         </servlet-mapping>
         <servlet-mapping>
              <servlet-name>AddEntryServlet</servlet-name>
              <url-pattern>/AddEntryServlet</url-pattern>
         </servlet-mapping>
         <servlet-mapping>
              <servlet-name>DeleteEntryServlet</servlet-name>
              <url-pattern>/DeleteEntryServlet</url-pattern>
         </servlet-mapping>
         <servlet-mapping>
              <servlet-name>EditEntryServlet</servlet-name>
              <url-pattern>/EditEntryServlet</url-pattern>
         </servlet-mapping>
         <servlet-mapping>
              <servlet-name>ViewEntryServlet</servlet-name>
              <url-pattern>/ViewEntryServlet</url-pattern>
         </servlet-mapping>
         <welcome-file-list>
              <welcome-file>index.html</welcome-file>
              <welcome-file>index.htm</welcome-file>
              <welcome-file>index.jsp</welcome-file>
              <welcome-file>default.html</welcome-file>
              <welcome-file>default.htm</welcome-file>
              <welcome-file>default.jsp</welcome-file>
         </welcome-file-list>
    </web-app>

  • Can't Download from iTunes Store - "Requested Resource Not Found" Error

    I am trying to download a couple of (free) apps for my iPhone and iTunes is throwing up an error saying "The requested resource was not found. There was an error in the iTunes Store. Please try again later." Is anyone else having this issue at the moment? Is the store down?

    It has been a few hours now. Same problem. "Resource Not Found" error when trying to download apps from the iTunes store. Anyone else having this problem? Anyone NOT having this problem? Anyone?

  • Resource not available error with tomcat 5.5.26

    hi
    to all forum members,i am a new member of this forum.
    i have a problem with running my servlet on apache tomcat/5.5.26 in window xp enviorenment.
    when i am running my servlet as typing URL http://localhost:8080/mukesh_test/mks , i am gettig error "
    the requested resource(/mukesh_trst/mks) is not available
    my servlet path is webapps/mukesh_test/WEB-INF/classes/mks.class
    my web.xml is this
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4">
    <display-name>Welcome to Tomcat</display-name>
    <description>
    Welcome to Tomcat
    </description>
    <!-- JSPC servlet mappings start -->
    <servlet>
    <servlet-name>org.apache.jsp.index_jsp</servlet-name>
    <servlet-class>org.apache.jsp.index_jsp</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>org.apache.jsp.index_jsp</servlet-name>
    <url-pattern>/index.jsp</url-pattern>
    </servlet-mapping>
    <!-- JSPC servlet mappings end -->
    <servlet>
    <servlet-name>mks</servlet-name>
    <servlet-class>mukesh_test.WEB-INF.classes.mks</servlet-class>
    <init-param>
    <param-name>debug</param-name>
    <param-value>0</param-value>
    </init-param>
    <load-on-startup>2</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>mks</servlet-name>
    <url-pattern>/mukesh_test/mks</url-pattern>
    </servlet-mapping>
    </web-app>
    plz help me out guys...

    <servlet>
      <servlet-name>mks</servlet-name>
      <servlet-class>mukesh_test.WEB-INF.classes.mks</servlet-class>
    </servlet>
    <servlet-mapping>
      <servlet-name>mks</servlet-name>
      <url-pattern>/mukesh_test/mks</url-pattern>
    </servlet-mapping>1) To avoid confusion, I would not use mks for the <servlet-name>. It's a fake name internal to your web.xml file anyway, so be creative and use something like: Flying Tigers.
    2)
    <servlet>
      <servlet-name>Flying Tigers</servlet-name>
      <servlet-class>mukesh_test.WEB-INF.classes.mks</servlet-class>
    </servlet>
    <servlet-mapping>
      <servlet-name>Flying Tigers</servlet-name>
      <url-pattern>/mukesh_test/mks</url-pattern>
    </servlet-mapping>The stuff between the <servlet-class> tags is wrong. You need to put the "fully qualified class name of your class" between the <servlet-class> tags. For instance, if your file mks.java (why are you using lower case names for classes?) does not have a package statement at the top of the file, then the fully qualified name of your class is: mks. On the other hand, if mks.java has a package statement at the top of the file like this:
    package com.example;
    then the fully qualified name of your class would be: com.example.mks. In addition, if you had that package statement at the top of mks.java, your .class file would need to be placed in the directory: .../mukesh_test/WEB-INF/classes/com/example/.
    3)
    <servlet>
      <servlet-name>Flying Tigers</servlet-name>
      <servlet-class>mks</servlet-class>
    </servlet>
    <servlet-mapping>
      <servlet-name>Flying Tigers</servlet-name>
      <url-pattern>/mukesh_test/mks</url-pattern>
    </servlet-mapping>The url-pattern is also fake. The whole idea is to hide your actual directory structure from hackers, so specifying your real directory structure there means that the url will also appear on your web page. And if the url appears on your web page, anyone can see it by clicking on View/Source in their browser. Use a fake directory and a fake file name instead:
    <servlet>
      <servlet-name>Flying Tigers</servlet-name>
      <servlet-class>mks</servlet-class>
    </servlet>
    <servlet-mapping>
      <servlet-name>Flying Tigers</servlet-name>
      <url-pattern>/Animals.do</url-pattern>
    </servlet-mapping>That means your html page would call the servlet using the url: Animals.do. The extension .do is a common extension given to fake file names.
    4) There's a forum here specifically for servlets called: Java Servlets.

  • Resource not available error for JSP application

    Hi
    i have developed J2EE - Web Module DC with JSP pages. I built the .WAR file of this application. Now I created J2ee - Enterprise application DC which references above WAR file and created EAR file. This EAR was then deployed on the server and RC was 0. but when i try to access the JSP page, it is giving me "The Requested Resource is not available".
    this error comes only when i deploy the DC thru NWDI. if I deploy it directly from NWDS, i can access the JSP.
    Please guide.
    Deepak

    The Deployment is not successful, the activity associated with the deployment is still in import queue.
    Check in http://<hostname>:<port>/TCS/Deployer and check in <namespace>_<trackname>_D and see if the activity is in import queue.
    Trigger the deployment manually.
    Hope this helps.
    Cheers-
    Pramod

  • SimpleRepositoryManager resource not available error

    Environment: Netweaver 2004, EP6.40 SP16
    I've deployed the sample SimpleRepositoryManager as is, only changing the OSRoot.  It is working partially - I can traverse folders and list files, but when I click on a document it gives me a 404 error: "The requested resource is not available".  I will appreciate any help
    Thanks

    Hi Leon,
    > EP6.40 SP16
    Have you installed KMC Patch 3 for SP16? If not, this would be the problem... See SAP Note 938124.
    Hope it helps
    Detlev

  • Resource not available error in servlet

    This is my directory structure C:\Program Files\Apache Software Foundation\Tomcat 4.1\webapps\VSG\WEB-INF and here i have in web-inf my web.xml which looks like this
    <web-app>
    <servlet servlet-name>Myservlet</servlet-name>
    <servlet-class>Myservlet<servlet-class>
    </servlet>
    <servlet-mapping >
    <servlet-name>Myservlet</servlet-name>
    <url-pattern>/myservlet</url-pattern>
    </servlet-mapping>
    </web-app>
    while my class file is at this position C:\Program Files\Apache Software Foundation\Tomcat 4.1\webapps\vsg\WEB-INF\classes
    Now i run my servlet in browser as
    http://localhost:8080/vsg/myservlet
    it gives me error that resource is not available.... any idea on this ???

    ganeshmb wrote:
    Package-less classes are no longer supported .. .. when you use Tomcat 4.1 with Java 1.4 or newer due to a security bugfix. Since Tomcat 5.0 it is been "fixed" by an internal workaround.
    Still, putting classes in a package is highly recommended. You can only access classes from another packages when you explicitly import it. As you cannot import from the default package, the classes in the default package remains unaccessible for classes in another packages (like the application server implementation classes).

  • DMS BP giving 'requested resource is not available' error

    Hello, smart KM people 
    I'm having a problem with our DMS business package in our EP6 SP16 portal.  I configured the DMS repository manager successfully.. and the Document Explorer workset is functional and I'm able to navigate through the folder structure and see the documents listed that are located in the DMS.  However, the problem comes in when I click on one of the documents to view it.  When I click on the document, I get a "404 - The requested resource is not available" error.
    What would be the cause of this?  Permissions seem to be set correctly... I'm able to navigate through the folder structure and see the list of documents.  If I access the DMS through SAPGUI, I'm able to view the documents without a problem.  Has anyone had this problem in the past, or have any hints about what configuration to troubleshoot?
    Thanks in advance for the help!
    Cheers,
    Fallon

    Hello Samta -
    I followed your steps and am still receiving the same error, so it must not be a problem with the logon ticket.  And when I went to the Component Monitor, the DMS Repository Manager looked just fine.
    Julian, here's the stack trace I found when viewing the source of the 404 error:
            com.sapportals.wcm.protocol.webdav.server.WDServletException: resource not available
         at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.setContentLocation(WDGetHandler.java:756)
         at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.internalHandle(WDGetHandler.java:495)
         at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.handle(WDGetHandler.java:253)
         at com.sapportals.wcm.protocol.webdav.server.WDServlet.doGet(WDServlet.java:777)
         at com.sapportals.wcm.protocol.webdav.server.WDServlet.service(WDServlet.java:458)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
         at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:331)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
         at com.sapportals.portal.prt.core.broker.ServletComponentItem$ServletWrapperComponent.doContent(ServletComponentItem.java:110)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java(Compiled Code))
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java(Compiled Code))
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java(Compiled Code))
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java(Compiled Code))
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java(Compiled Code))
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java(Compiled Code))
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:545)
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java(Compiled Code))
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Inlined Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java(Compiled Code))
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java(Inlined Compiled Code))
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java(Compiled Code))
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code))
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
    Any hints from this?  We keep running up against brick walls with this problem.
    Thanks for your help!

  • Error message "iTunes Helper Resources not available" and saving to wrong Drive

    I am trying to upgrade iTunes to 10.7 on my PC but I keep getting the error message "iTunes Helper Resources not available". Diagnostics take me a support page which talks about not being able to see the device in iTunes - but I can see the device without problems.
    I thought I would try reinstalling iTunes from the webpage and it downloaded to my PC fine but when I went to setup, it showed me it is saving to a DVD drive - not my Hard drive. It also won't let me change the location for the file. I have no idea how that's happened as I obviously don't use the DVD drive as a USB (although the PC see's it as one) and I've never chosen it as the location for iTunes in the 7-8 years that I've been using it.
    I then thought I'd try uninstalling it and reinstalling it (to the correct drive) but again, it comes up that the DVD drive is invalid and won't uninstall iTunes.
    So I'm stuck and haven't been able to find anything helpful on the support pages or in iTunes Help.
    Please someone help ...
    Thanks.

    Try the following user tip. (Probably, the section on clearing the installation database might be best given that you've currently got a drive on the problematic letter at the moment.)
    "Invalid drive X:\" install errors

  • Database Error: RSR0009: Resource not available for pool. Wait-time expired

    i am occassionally receiving the following error during database connections in my servlet:
    Database Error: RSR0009: Resource not available for pool [webAdvisorTestPool]. Wait-time expired
    i understand that this is a result of a connection leak from improper closure of my Connection object, but i thought that i was properly closing my connection.
    i can get the error if i do the following steps:
    1) access my login page and enter login credentials.
    2) submit the login which then hits the Authentication servlet.
    3) Authentication servlet authenticates and takes me to home page.
    4) hit the back button to get back to the login page.
    5) repeat this process until i hit the Max Pool Size (from web server).
    6) then i get the error message
    here are some details:
    i have an Authentication servlet; here is the pertinent code from that servlet:
    try {     // retrieve the user and add the User object to the session     DAO dao = new DAO();     Person authenticUser = dao.getPerson(userID, password);     session.setAttribute("validUser", authenticUser);     redirectPage = mapping.findForward("success"); }
    i also have a DAO object that handles all of my DB transactions (and you can see from my code above that the Authentication servlet is using that object); here is the pertinant code from that servlet:
    public DAO() {     datasource = "java:comp/env/jdbc/webAdvisorTest"; } public Person getPerson(String userID, String password)     throws ObjectNotFoundException {     // JDBC variables     DataSource ds = null;     Connection conn = null;     PreparedStatement stmt = null;     ResultSet results = null;     // User variables     Person validUser = null;     try     {         // Retrieve the DataSource from JNDI         InitialContext ctx = new InitialContext();         // if this statement fails, NamingException is thrown         ds = (DataSource)ctx.lookup(datasource);         // get DB connection and perform SQL operations         conn = ds.getConnection();         // User variables         String validUserID = null;         String validFName = null;         String validLName = null;         String validEmail = null;         // get DB connection and perform SQL operations         conn = ds.getConnection();         stmt = conn.prepareStatement(PERSON_QUERY);         stmt.setString(1, userID);         stmt.setString(2, password);         results = stmt.executeQuery();         // iterate through the results         if (results.next())         {             validUserID = results.getString("id");             validFName = results.getString("first_name");             validLName = results.getString("last_name");             validUser = new Person(validUserID, validFName, validLName);         }     }     // handle SQL errors     catch(SQLException e)     {         e.printStackTrace(System.err);         throw new RuntimeException("Database Error: " + e.getMessage());     }     // handle JNDI errors     catch(NamingException e)     {         throw new RuntimeException("JNDI Error: " + e.getMessage());     }     // clean up resources     finally     {         doClosure(results, stmt, conn);     }     // if the user was not found, throw ObjectNotFoundException     if(validUser == null)     {         throw new ObjectNotFoundException();     }     return validUser; } protected void doClosure(ResultSet results, PreparedStatement stmt,     Connection conn) {     if (results != null)     {         try { results.close(); }         catch (SQLException e) { e.printStackTrace(System.err); }     }     if (stmt != null)     {         try { stmt.close(); }         catch (SQLException e) { e.printStackTrace(System.err); }     }     if (conn != null)     {         try         {             System.out.println("R18Resources.conn before close: " + conn);             conn.close();             System.out.println("R18Resources.conn after close: " + conn);             System.out.println("R18Resources.conn is closed? " +                 conn.isClosed());         }         catch (SQLException e)         {             System.out.println("R18Resource conn close error: " +                 e.getMessage());         }     } }
    as you can see, i've added some print statements in my connection closure block. based on my output log, each connection is being properly closed and i am not encountering any errors during that closing block.
    any ideas???
    Message was edited by:
    millerand

    Please try the following code in your doClosure method. Replace your code with the following code.
    public void doClosure(ResultSet pResultSet, Statement pStmt, Connection pConn) throws Exception {
    try {
                   if (pResultSet != null) {
                        pResultSet.close();
                        pResultSet = null;
              } catch (SQLException se) {
              logger.error( se );
              } finally {
                   try {
                        if (pStmt != null) {
                             pStmt.close();
                             pStmt = null;
                   } catch (SQLException se) {
                   logger.error(se);
                   } finally {
                        try {
                             if (pConn != null) {
                                  pConn.close();
                                  pConn = null;
                        } catch (SQLException se) {
                        logger.error(se);
    And let me know if you still face this issue. What is the application server you are using?

  • Getting 104 resource not found error, when deploying my first servlet

    Hi,
    I am new to servlets, and after doing little home work i have created a small servlet but i am i getting http 104 resource not found error.
    steps i followed:
    1) installed pre-configured version of tomcat from http://www.coreservlets.com/Apache-Tomcat-Tutorial/.
    2)created new directory called ch1 under webapps, created WEB-INF under ch1
    3)included web.xml, classes in WEB-INF directly
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd"
    version="2.5">
    <servlet>
    <servlet-name>Ch1servlet</servlet-name>
    <servlet-class>Ch1servlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Ch1servlet</servlet-name>
    <url-pattern>/servlet</url-pattern>
    </servlet-mapping>
    </web-app>
    4) included .class file under classes folder from following Ch1servlet.java file, I have set class path to point to servlet-api.jar file and jsp-api.jar and compliled following java file to get .class file which is included in classes folder
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    public class Ch1servlet extends HttpServlet
    public void doGet(HttpServletRequest request,HttpServletResponse response)throws IOException
    response.setContentType("text/html");
    PrintWriter out=response.getWriter();
    java.util.Date today=new java.util.Date();
    out.println("<html>"+
    "<body>"+
    "<h1 align=center>HF\'s Chapter1 Servlet</h1>"
    +"<br>" + today + "</body>" + "</html>");
    5) I am started tomcat server and when typed http://localhost( changed port from 8080 to 80), its giving tomcat page and not showing any error
    6) When i typed http://localhost/ch1/servlet/Ch1servlet, its giving http 404 error
    type Status report
    message: /servlet/Ch1servlet
    description: The requested resource (/servlet/Ch1servlet) is not available.
    7) i have uncommented(it comes preconfigured) the invoker part in web.xml.
    I have tried including servlet in an package and without package
    I am not sure if its problem with server configuration orelse problem with my file placing.
    Please let me know if you have any idea what went wrong.

    I found this, unable to copy it, so i am typing it:
    Feb11,2008 11:55:57 AM org.apache.catalina.core.AprLifecycleLIstener init
    INFO: The Apache Tomcat Native Library which allows optimal performance in production environemnt was not found on the java.library.path:c:\program Files\Java\jdk1.6.0\bin;....
    last line says
    org.apache.cataline.startup.catalina start
    INfo: Server startup in 657ms

  • Having an issue with itunes purchase, message shows "could not complete itunes store request, requested resource not found." My account has been debited for the price of the download, but I dont have the download.

    Need some help, I was downloading an album when the message "could not complete itunes store request, requested resource not found."  "Error in the itunes store please try again later." My account has been deducted for the amount of the album, but I dont have it downloaded on my computer. Please help!!! Thank you!!!

    Does the purchases show in your Purchased list?
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Have you looked at the previous discussions listed on the right side of this page under the heading "More Like This"? Ones with a green checkmark are solved.
    Next contact iTunes by:
    Contact iTunes

  • Cron service not available error

    A production issue appeared today at one of our customer
    sites.... and I am unable to login to CFadmin. I stop and restart
    the services, but still the same issue appears. See below.
    Anyone have any thoughts? Ideas? Has anyone ever seen this
    before??
    Error Occurred While Processing Request
    The Cron service is not available.
    This exception is usually caused by service startup failure.
    Please check your server configuration.
    The error occurred in Application.cfm: line 78
    -1 : Unable to display error's location in a CFML template.
    Please try the following:
    Check the ColdFusion documentation to verify that you are
    using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.
    Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2;
    SV1; .NET CLR 1.1.4322)
    Remote Address 127.0.0.1
    Referrer
    Date/Time 25-Apr-06 12:57 PM
    Stack Trace (click to expand)
    at
    cfApplication2ecfm105811000.runPage(C:\blackstone_final\cfusion\wwwroot\CFIDE\administrat or\Application.cfm:78)
    coldfusion.server.ServiceFactory$ServiceNotAvailableException:
    The Cron service is not available.
    at
    coldfusion.server.ServiceFactory.getCronService(ServiceFactory.java:118)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
    Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
    Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at
    coldfusion.runtime.java.JavaProxy.invoke(JavaProxy.java:74)
    at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1627)
    at
    cfApplication2ecfm105811000.runPage(C:\blackstone_final\cfusion\wwwroot\CFIDE\administrat or\Application.cfm:78)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
    at
    coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:343)
    at
    coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
    at
    coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:33)
    at
    coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:157)
    at
    coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
    at
    coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:50)
    at
    coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)
    at
    coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
    at
    coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at
    coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at
    coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.CfmServlet.service(CfmServlet.java:105)
    at
    coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
    at
    jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
    at
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:349)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457)
    at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:295)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

    I'm receiving the exact same error as the original post. We tried every suggestion on this forum and still get the 'cron service not available' error. I've also checked and we don't have a neo-cron.xml file. We are using Coldfusion 8.
    The Cron service is not available.
    This exception is usually caused by service startup failure. Check your server configuration.
    The error occurred in Application.cfm: line 84
    Called from Application.cfm: line 4
    Called from Application.cfm: line 1
    -1: Unable to display error's location in a CFML template.
    Any help will be appreciated. Thanks.
    Crystal

  • Sticky resource not available - ACE Module

    hi,
    I am getting the below error on defining stickiness. Please assist.
    switch/Admin(config)# sticky ip-netmask 255.255.255.255 address both ACE-CKH-STICKY
    Error: sticky resource not available
    Thanks.

    Note The syslog message statistics do not include the syslogs generated from the dataplane when you enable the logging of connection setup and teardown syslog messages through the logging fastpath command.
    •regexp-Limits the amount of regular expression memory.
    •sticky-Limits the number of entries in the sticky table. You must configure a minimum value for sticky to allocate resources for sticky entries, because the sticky software receives no resources under the unlimited setting.
    •xlates-Limits the number of network and port address translations entries.
    •minimum number-Specifies the lowest acceptable value. Enter an integer from 0.00 to 100.00 percent (two-decimal places of granularity). The number argument specifies a percentage value for all contexts that are members of the class. When used with the rate keyword, the number argument specifies a value per second.
    •maximum {equal-to-min | unlimited}-Specifies the maximum resource value: either the same as the minimum value or no limit.
    Note The limit that you set for individual resources when you use the limit-resource command overrides the limit that you set for all resources when you use the limit-resource all command.
    If you lower the limits for one context (context A) in order to increase the limits of another context (context B), you may experience a delay in the configuration change because the ACE will not lower the limits of context A until the resources are no longer being used by the context.
    For example, to allocate 20 percent of all resources (minimum and maximum) to all member contexts of the resource class, enter:
    (config-resource)# limit-resource all minimum 20% maximum equal-to-min
    System Resource Maximum Values
    Resource Maximum Value
    Application Acceleration Connections
    10000 connections
    ACL Memory
    34123184 bytes
    Buffer Memory (Syslog)
    1048576 bytes
    Concurrent Connections
    1,000,000 connections (Layer 4),
    100,000 connections (SSL)
    HTTP Compression
    100 megabits per second (Mbps). You can upgrade the ACE maximum HTTP compression rate to 1 Gbps by purchasing a separate license from Cisco Systems. For more information, see the Cisco 4700 Series Application Control Engine Appliance Administration Guide.
    Management Connections
    5000 connections
    Proxy Connections (Layer 7)
    256,000 connections
    Rate
    Bandwidth
    1 gigabits per second (Gbps). You can upgrade the ACE maximum bandwidth to 2 Gbps by purchasing a separate license from Cisco Systems. For more information, see the Cisco 4700 Series Application Control Engine Appliance Administration Guide.
    Connections (any kind)
    120,000 connections per second (Layer 4), 40, 000 connections per second (Layer 7)
    MAC miss
    2000 packets per second
    Management traffic
    125,000,000 bits per second
    SSL connections
    1000 transactions per second (TPS). You can upgrade the SSL bandwidth to a maximum of 7500 TPS with a separate license. For more information, see the Cisco 4700 Series Application Control Engine Appliance Administration Guide.
    syslog
    For traffic going to the ACE (control plane), 3000 messages per second
    For traffic going through the ACE (data plane), 120,000 messages per second
    Regular Expression Memory
    1,048,576 bytes
    Sticky Entries
    800,000 table entries
    Xlates (network and port address translation entries)
    64,000 Xlates (network entries),
    1,000,000 Xlates (port address translation entries)
    Kind Regards,
    Sachin Garg
    Senior Specialist Security
    HCL Comnet Ltd.
    http://www.hclcomnet.co.in
    A-10, Sector 3, Noida- 201301
    INDIA
    Mob: +91-9911757733
    Email: [email protected]

  • Sticky Resource Not Available when setting up sticky http-cookie

    When I try to configure the sticky:
    (config)# sticky http-cookie ACE-COOKIE COOKIE-STICKY
    I get the error:
    sticky resource not available
    An L7 policy has not yet been set up… could that be the reason for this error? Or, is it because I have not setup a class resource for the sticky cookie?

    Syed,
    I thought it resolved it, but it really didn't.
    Added the resource-class in the Admin context:
    resource-class any-available
    limit-resource all minimum 0.00 maximum unlimited
    limit-resource sticky minimum 35.00 maximum equal-to-min
    no difference.

Maybe you are looking for

  • How do you handle an incoming call while playing a game?

    If you're playing a game on your iPhone, how do you handle an incoming call? A call will stop my app from running, but how do I save the state and restore it when the user starts the app again? I have a bunch of objects on-screen and I need to record

  • LCM Installation error

    I am attempting to install LCM in a BOE XI 3.1 SP2 environment, with Windows 2003 Enterprise, SQL Server 2005. We have a web server with Tomcat 5.5, and two BOE servers with clustered CMS and the BOE services. I am attempting to install on one of the

  • Merging Layers Discards Bevel Effect

    Been dealing with this for a while, and it appears others have also, according to research. Layers with a layer style applied, mostly of the bevel or emboss variety, lose the effect when the layers are merged or the image flattened. Doesn't seem to h

  • Using a Loudness Meter in File Editor

    Here's the scenario: In a multitrack project with Panning Mode set to Left/Right Cut Logarithmic, I have 1 stereo track and 1 mono track. I have a stereo and mono version of the same file loaded up on their respective tracks. Both files have been mea

  • What upload speed do I need to upload the XL photo books with over 25 pages?

    I have just recently gotten a new Internet provider and the max upload speed I can get is 1mbps but I am only getting .4 mbps at the most.  When trying to upload an XL photo book with over 26 pages it keeps failing to transfer/upload and the error me