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!

Suddenly Tomcat is giving me 404 error

800312Jul 22 2010 — edited Jul 23 2010
Hi all,

I was working with netbeans and external tomcat (not that comes with netbeans) for over a month and every thing was ok. I even integrated netbeans with dreaweaver and stated its Testing server to webapp\build\web\

But for last days I was studying about JAR, WAR and how to deploy them. Hence also studied ANT. During this time just created environment variable for JAVA_HOME, ANT_HOME and appended respective value (/JDK/bin and /ANT/bin) to PATH

And what ever changes I made to tomcat/conf/server.xml later I made it back to original.

But now opening the web app it is showing 404 error

Directory structure :

project webapp_abcd in netbeans is like this
D:\NetbeansProjects\webapp_abcd

Tomcat directory structure is like this
C:\Program Files\Apache Software Foundation\Tomcat 6.0\


+(*On why I am not using netbeans tomcat* : As i install netbeans and create a new web_app and right click on index.jsp to RUN, tomcat runs but doesn't show webpage in to my browser. So when I again try it shows port 8084 is already in use. I can run web pages but I am not able to use System console thats why I am using external tomcat.)+

Please reply

Thanks

Venkat
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 20 2010
Added on Jul 22 2010
2 comments
785 views