1 Reply Latest reply on Sep 2, 2004 2:46 AM by genman

    404 error problem with a .war file

    zafi41

      Hi,

      The application works fine under jboss 2.2.2 and tomcat 3.3.1. Now i tried to take the application to jboss 3.2.5 with integrated Tomcat 5.0.26, j2sdk1.4.2_05 and put the ear file under the directory deploy of JBoss but something goes wrong:

      - The ear file is deployed !

      - I have in the tmp directory of jboss two files deployed a .jar file and a .war file.

      - When I start the application the login.html is displayed for logging to a database of oracle9i. The login.html Site calls a servlet with the Path /servlet/xxxx/mMenu.class and I get the 404 error that the servlet is not found. I guess that is the wrong path to the servlet. But where in Jboss can I set up the correct path. I´ve tried to change the web.xml file but it didn´t help.

      I´m not experienced with Jboss but I´ve tried the Dukes bank and it works fine and have no problem to call the jmx-console with the web engine of tomcat or IIS (Jboss as a service).

      Thanks for help

      Zafi41


        • 1. Re:  404 error problem with a .war file
          genman


          You should set up a web.xml with a servlet mapping rather than rely on tomcat to find it by "dot class" name. There is probably a setting for this, changed likely for security purposes. Ssearch around for default servlet mapping for Tomcat. Probably it is mentioned in a changelog someplace.