Results 1 to 3 of 3

Thread: unable to run webapplications in tomcat

  1. #1
    Join Date
    Feb 2010
    Beans
    3

    unable to run webapplications in tomcat

    the following is the error i get every time i try to run my web application in tomcat 6. im using ubuntu 9.04. i have placed my application in webapps folder correctly but still im unable to run it from the tomcat manager.. any one please help im stuck up i am my college project.

    HTTP Status 404 - /SearchDoctors/

    type Status report

    message /SearchDoctors/

    description The requested resource (/SearchDoctors/) is not available.
    Apache Tomcat/5.5.28

    i have placed my application in /usr/local/tomcat/webapps/SearchDoctors/WEB-INF folder correctly


    ill also post the contents of /usr/local/tomcat/webapps/SearchDoctors/WEB-INF/web.xml of my application as i have searched they say problem is with this can anyone please help.the college project still needs a long way to go
    Code:
       
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app
          PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
          "http://java.sun.com/dtd/web-app_2_3.dtd">
    
    <web-app>
      <display-name>Forms</display-name>
      <servlet>
        <servlet-name>Validation</servlet-name>
        <servlet-class>org.apache.tapestry.ApplicationServlet</servlet-class>
        <load-on-startup>0</load-on-startup>
      </servlet>
      <servlet-mapping>
        <servlet-name>Validation</servlet-name>
        <url-pattern>/app</url-pattern>
      </servlet-mapping>
      <servlet>
      <servlet-name>dwr-invoker</servlet-name>
      <display-name>DWR Servlet</display-name>
      <servlet-class>org.directwebremoting.servlet.DwrServlet</servlet-class>
      <init-param>
         <param-name>debug</param-name>
         <param-value>true</param-value>
      </init-param>
    </servlet>
    
    <servlet-mapping>
      <servlet-name>dwr-invoker</servlet-name>
      <url-pattern>/dwr/*</url-pattern>
    </servlet-mapping>
      
    </web-app>

  2. #2

    Re: unable to run webapplications in tomcat

    Moved to ABT.
    Learning is not attained by chance, it must be sought for with ardor and attended to with diligence. Abigail Adams ( 1744 - 1818 ), 1780;

    My blog Poetry and More Free Ubuntu Magazine

  3. #3
    Join Date
    Feb 2010
    Beans
    3

    Re: unable to run webapplications in tomcat

    Quote Originally Posted by Sef View Post
    Moved to ABT.

    what was that reply didnt undesrtand

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •