users@glassfish.java.net

Re: How to deploy existing tomcat web application in Glassfish ?

From: Jason Lee <jason_at_steeplesoft.com>
Date: Thu, 10 Jul 2008 15:13:37 -0500

glassfish_at_javadesktop.org wrote:
> Are there any downsides to running Glassfish as root ?

 From the hip:

        File passwordFile = new File ("/etc/shadow");

would succeed, as every web app would have root access to the server.
I'm pretty sure... :P

-- 
Jason Lee, SCJP
Mojarra and Mojarra Scales Dev Team
https://mojarra.dev.java.net
https://scales.dev.java.net
http://blogs.steeplesoft.com