Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 9870 invoked from network); 16 Jun 2003 16:38:29 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 16 Jun 2003 16:38:29 -0000 Received: (qmail 11741 invoked by uid 97); 16 Jun 2003 16:40:50 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 11734 invoked from network); 16 Jun 2003 16:40:50 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 16 Jun 2003 16:40:50 -0000 Received: (qmail 8384 invoked by uid 500); 16 Jun 2003 16:38:15 -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 8371 invoked from network); 16 Jun 2003 16:38:14 -0000 Received: from pop.time.net.my (HELO toman.time.net.my) (203.121.16.80) by daedalus.apache.org with SMTP; 16 Jun 2003 16:38:14 -0000 Received: (qmail 61980 invoked from network); 16 Jun 2003 16:40:45 -0000 Received: from unknown (HELO peikfeng) (211.24.146.42) by 0 with SMTP; 16 Jun 2003 16:40:45 -0000 Message-ID: <010901c33425$b25c3ed0$4000a8c0@peikfeng> From: "Lee Peik Feng" To: "Tomcat Users List" References: <9C5166762F311146951505C6790A9CF8A6E6CB@US-VS1.corp.mpi.com> Subject: CD Drive as webapps (EmbeddedTomcat) Date: Tue, 17 Jun 2003 00:38:19 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I would like to set my CD Rom drive as one of my webapps. When I run tomcat with normal installation with below setting in server.xml (my CD Rom drive is F:\ and the content of the CD is MP3 files) I could create the webapps and get my mp3 songs link correctly. However, when I use EmbeddedTomcat with reference to O'Reily website, I couldn't create the webapps. The error occur in org.apache.catalina.core.StandardHostDeployer.install (at line 260 from tomcat 4.1.24 source) if (appBase.getCanonicalPath().equals(baseDir.getCanonicalPath())) { isAppBase = true; } baseDir.getCanonicalPath() will give a null pointer exception if baseDir is a drive name, eg: C:/ How could I solve this problem? Any clue for me? Regards, Peik Feng --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org