Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 27934 invoked from network); 22 Feb 2003 05:21:09 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 22 Feb 2003 05:21:09 -0000 Received: (qmail 7791 invoked by uid 97); 22 Feb 2003 05:22:54 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 7784 invoked from network); 22 Feb 2003 05:22:54 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 22 Feb 2003 05:22:54 -0000 Received: (qmail 26576 invoked by uid 500); 22 Feb 2003 05:20:57 -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 26563 invoked from network); 22 Feb 2003 05:20:56 -0000 Received: from dyn15ppp42.qala.com.sg (HELO itventures.com.sg) (210.193.15.42) by daedalus.apache.org with SMTP; 22 Feb 2003 05:20:56 -0000 Received: from skywalker5 [202.42.200.130] by itventures.com.sg [127.0.0.1] with SMTP (MDaemon.v3.0.4.R) for ; Sat, 22 Feb 2003 13:13:39 +0800 Message-Id: <3.0.1.32.20030222130030.014cb66c@miami> X-Sender: williamc@miami X-Mailer: Windows Eudora Light Version 3.0.1 (32) Date: Sat, 22 Feb 2003 13:00:30 +0800 To: tomcat-user@jakarta.apache.org From: William Claxton Subject: problem with classpath modification Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-MDaemon-Deliver-To: tomcat-user@jakarta.apache.org X-Return-Path: williamc@openasia.net X-MDRcpt-To: tomcat-user@jakarta.apache.org X-MDRemoteIP: 202.42.200.130 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Since I didn't see any reply to my first post, let me try to restate, and simplify the issue. Interested readers may refer to the earlier post (same subject) for details. We encountered an issue when adding a classpath entry to the Tomcat (v4.1.18) 'setclasspath.sh' script. It so happens that the classpath entry '/home/web/mediaware/WEB-INF/classes' is already accessible as a context, but we need the classpath entry for some functions internal to our servlet. When we add this classpath entry using 'setclasspath.sh', Tomcat seems to loose its context. There are no errors in any of the startup logs, but servlets located in '/home/web/mediaware/WEB-INF/classes' cannot run properly. For a simple HelloWorld script located in this 'classes' folder, the failure exhibits itself as inability to find the HttpServlet service. This can be fixed if we also add the following entry to the classpath: /usr/local/jakarta/jakarta-tomcat-4.1.18/common/lib/servlet.jar: This seems odd. Why does adding an existing 'classes' folder to our classpath cause Tomcat to fail to find it's own supporting jar file? Incidentally, the added entry in our classpath also causes Tomcat to fail to find supporting jar files in '/home/web/mediaware/WEB-INF/lib'. Any ideas? Regards, Bill Claxton [williamc@openasia.net] OpenAsia Solutions provides streaming media & payment solutions. Check out http://www.openasia.net ........::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org