0 Replies Latest reply on Feb 17, 2003 5:20 AM by vitamin_c

    error 404, servlet not found

    vitamin_c

      hi all,

      i have a problem with a servlet, a login-servlet. i'm working with eclipse M3, lomboz, jboss3.0.4-tomcat4.1.12 bundle. when i deploy my app, a *.war-file is in F:\jboss-3.0.4_tomcat-4.1.12\server\default\deploy. i can start my index.html, but by pressing submit i got error 404. i read a lot the last days concerning that problem, but nothing did fit my needs.

      my web.xml in WEB-INF:
      <?xml version="1.0" ?>


      <!-- Copyright (c) 2002 by ObjectLearn. All Rights Reserved. -->
      <web-app>

      <servlet-name>Login</servlet-name>
      <servlet-class>/Login</servlet-class>



      <servlet-mapping>
      <servlet-name>Login</servlet-name>
      <!--url-pattern>/mine/*</url-pattern-->
      <!--url-pattern>*.do</url-pattern-->
      <url-pattern>/Login</url-pattern>
      </servlet-mapping>



      <welcome-file-list>
      <welcome-file>/jsp/index.html</welcome-file>
      </welcome-file-list>

      <error-page>
      <error-code>404</error-code>
      /jsp/error.jsp
      </error-page>

      </web-app>

      my context-path is configured in F:\jboss-3.0.4_tomcat-4.1.12\tomcat-4.1.x\conf





      in index.html i try to call the servlet:

      --snip--


      --snip--

      i can see the following path in my browser:

      http://localhost:8080/modulWeb/servlets/Login

      but error 404...

      my app-structure is:
      app/WEB-INF with web.xml and e few *.dtd's
      app/WEB-INF/lib all additional drivers
      app/jsp with all the jsp's
      app/servlets all servlets

      while starting jboss i got e few warnings like this:

      10:52:13,067 WARN [MainDeployer] The manifest entry in file:/F:/jboss-3.0.4_tomcat-4.1.12/tomcat-4.1.x/common/lib/ant.jar references URL file:/F:/jboss-3.0.4_tomcat-4.1.12/tomcat-4.1.x/common/lib/xalan.jar which could not be opened, entry ignored

      is there a classpath-problem?

      any ideas, what i'm doin wrong? did i miss anything?
      TIA
      frank