Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 15th April 2007, 18:16
raghu raghu is offline
Junior Member
Join Date: Apr 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy problem running servlet on apache tomcar 5.5.23


I am trying to run my first application servlet in apache tomcat 5.5.23 but it doesnt work. The example servlets and JSPs work fine but my application( called "firstapp") gives a http 404- resource not found error.

I am using JDK 6 and have setup the the JAVA_HOME variables and compiled the source for my app. here is the hierarchy where I have placed the application

%CATALINA HOME%/webapps/firstapp/WEB-INF/classes/PrimitiveServlet.java
%CATALINA HOME%/webapps/firstapp/WEB-INF/classes/PrimitiveServlet.class
%CATALINA HOME%/webapps/firstapp/WEB-INF/web.xml

here are the contents of the web.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app

PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"








Could anyone please help me!!!!!!!!!

Reply With Quote
Sponsored Links
Old 16th April 2007, 15:11
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

What's the URL you're using, and what's the document root of that vhost?
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 4 TPS mail problem Hagforce HOWTO-Related Questions 13 10th February 2010 19:23
apache ./configure problem zoffmann Server Operation 1 24th February 2007 11:57
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 16:47
Very weird Apache + iptables problem snowfly Server Operation 1 8th August 2006 02:51
Problem with the installation of Dokeos (LMS) in ISPConfig jofranco General 4 28th April 2006 01:45

All times are GMT +2. The time now is 01:04.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.