Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Htto 404 not found -after i deploy new servlets

843841Jan 19 2004 — edited Dec 8 2004
Recently I deployed some new servlets into my Tomcat 4.1.18 server (production)

I move the new class files (servlet files) into the correct directory (WEB-INF/classes/<my dir>)
I also edit the web.xml file in WEB-INF to reflect the new servlets

I deployed, restart the tomcat and apache (web) server. When I clicked on the servlet link, it reads

The page cannot be found
(The header of the web page shows HTTP 404 Not found)

Why is this so ?? My other servlets( which already exist in the production server) works fine, but why cant the system detect the new servlets ?

The OS of the apache/tomcat server is Redhat. Cant remember the version though, but if you need, I can ask my colleagues.

Is it because of the funny characters which resides in the web.xml file ? I even resort to retyping the configuration in web.xml file, but the problem still persist.

Tks in advance!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 5 2005
Added on Jan 19 2004
10 comments
256 views