Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 35010 invoked by uid 500); 14 Jun 2001 21:46:42 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: tomcat-dev@jakarta.apache.org Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 34958 invoked from network); 14 Jun 2001 21:46:40 -0000 Sender: glenn@more.net Message-ID: <3B2930C3.AF8130FA@voyager.apg.more.net> Date: Thu, 14 Jun 2001 16:46:43 -0500 From: Glenn Nielsen Organization: MOREnet X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.7 i86pc) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-dev@jakarta.apache.org Subject: Re: Tomcat 4.0/Solaris why doesn't tomcat follow soft links? References: <5.1.0.14.2.20010614121253.06fc0268@akane.jhuapl.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Under unix the Java SecurityManager doesn't like soft links. The reason is that the SecurityManager uses the real path when evaluating the codebase. Using Tomcat 4 you can configure the Context docBase to the realpath to the users public html directory. Regards, Glenn Robert Evans wrote: > > Greetings, > > I am in the process of configuring Tomcat to be used with several classes > at the Johns Hopkins University. I would like to have each student have > their own webapp in their public_html directory. > > I tried Tomcat 3.2.1, but couldn't get the security policy to work right > (all jsp pages kept wanting to use the examples directory?) > > I am trying Tomcat 4.0B5, and was going to use soft links in the webapps > directory to point to each students public_html directory. The only > problem is that Tomcat doesn't seem to want to follow the soft links. If I > make a real directory in the webapps dir, everything works fine, but if I > try to use a soft linked one, I get: > > Http Status 503 - This application is not currently available > > The requested service(This application is not currently available) is > not currently available > > Any suggestions/help would be greatly appreciated. If I don't get this > working within a week, it'll be back to the Java Web Server. :-( > > Bob -- ---------------------------------------------------------------------- Glenn Nielsen glenn@more.net | /* Spelin donut madder | MOREnet System Programming | * if iz ina coment. | Missouri Research and Education Network | */ | ----------------------------------------------------------------------