Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 10673 invoked from network); 1 Jul 2003 20:23:33 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 1 Jul 2003 20:23:33 -0000 Received: (qmail 26194 invoked by uid 97); 1 Jul 2003 20:26:02 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 26187 invoked from network); 1 Jul 2003 20:26:01 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 1 Jul 2003 20:26:01 -0000 Received: (qmail 9249 invoked by uid 500); 1 Jul 2003 20:23:18 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 9236 invoked from network); 1 Jul 2003 20:23:18 -0000 Received: from unknown (HELO JTURNER) (207.86.123.243) by daedalus.apache.org with SMTP; 1 Jul 2003 20:23:18 -0000 Received: from JTURNER ([127.0.0.1]) by JTURNER with Microsoft SMTPSVC(5.0.2195.5329); Tue, 1 Jul 2003 16:23:22 -0400 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: How to configure TomCat4 for web applications? References: Message-ID: Content-Type: text/plain; charset=iso-8859-15; format=flowed From: John Turner Date: Tue, 01 Jul 2003 16:23:22 -0400 In-Reply-To: User-Agent: Opera7.03/Win32 M2 build 2670 X-OriginalArrivalTime: 01 Jul 2003 20:23:22.0968 (UTC) FILETIME=[9E840D80:01C3400E] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Multiple copies of servlet.jar where Tomcat can find them is bad. Big bad. Take the JAR file that you have from the third party, expand it out, get rid of their version of servlet.jar, and make a new JAR file without their servlet.jar in it. Then stop Tomcat, clear everything out of the work directory, and restart Tomcat. John On Tue, 1 Jul 2003 14:52:00 -0500, Chen, Yi wrote: > Hi, John: > > I checked the class loader document online and I moved all my jar files > to > the WEB-INF/lib under my web application folder. I got all the jar files > from someone else and it has a server.jar in it, (there is also one in > commons\lib). Then I renamed the servelet.jar inside Controller\WEB- > INF\lib, > according to the log file, it seems that Tomcat did deploy all jar files > inside Controller\WEB-INF\lib, but it just hang there doing nothing. Now > I > can't even access http://localhost:8080. What could went wrong? > > Thanks a lot. > > Yi > > -----Original Message----- > From: John Turner [mailto:tomcat-user@johnturner.com] > Sent: Tuesday, July 01, 2003 7:14 AM > To: Tomcat Users List > Subject: Re: How to configure TomCat4 for web applications? > > > > You must explicitly map each servlet in your application's web.xml file. > > Please post: > > - the location on your filesystem of your servlet class file (like > Controller/WEB-INF/classes/... or whatever) > > - the exact URL you WISH to use to reach that servlet > > - any servlet and servlet-mapping elements from your web application's > web.xml file referring to the servlet above > > Alternatively, consult the FAQ: > > http://jakarta.apache.org/tomcat/faq/misc.html#invoker > > John > > On Mon, 30 Jun 2003 17:05:32 -0500, Chen, Yi wrote: > >> Also I don't have a Web Application Archive (WAR) file associated the >> Controller application. Could that be the problem? >> >> Thanks. >> >> Yi >> >> -----Original Message----- >> From: Chen, Yi [mailto:Yi.Chen@thomson.com] >> Sent: Monday, June 30, 2003 4:53 PM >> To: 'Tomcat Users List' >> Subject: RE: How to configure TomCat4 for web applications? >> >> >> Hi, I removed the web.xml, the error message still is >> "Controller/servlet/Controller not available". Do you have any >> suggestions >> as how to write my own web.xml? Or do I need to specify somewhere for >> the >> TomCat to find the Controller folder? >> In TomCat3 there is a wrapper.properties file in which I can specify the >> class path for Controller. I couldn't find a corresponding file in >> TomCat4. >> Btw, is the servlet a virtual path? Thanks. >> >> Yi >> >> -----Original Message----- >> From: john d barreto [mailto:jbarr001@cs.fiu.edu] >> Sent: Monday, June 30, 2003 4:11 PM >> To: tomcat-user@jakarta.apache.org >> Subject: RE: How to configure TomCat4 for web applications? >> >> >> Yi, >> >> Hi. The web.xml file is specific to your application so you can't take >> one from another application and put it inside Controller. I was just >> thinking that there could be something wrong with the old one you had. >> You could try with no web.xml file since it is not strictly required. >> Restart Tomcat and see what happens. >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >> >> > > > -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org