users@glassfish.java.net

Stopping System.exit() in JSP with Security Manager in GF 3.0.1?

From: <forums_at_java.net>
Date: Fri, 1 Apr 2011 20:49:33 -0500 (CDT)

 Hi,

Quick question.. just for fun I made a JSP page with a System.exit(0) and
knew it would kill glassfish. So, I restarted it and then turned on the
Security Manager in the Security settings in the admin page. I restarted the
server and tried the page again and the same thing happened..dead server.

I expected a Access violation or something but didn't get it.

I'm running 3.0.1 and deployed from Netbeans 6.9.1.

Is there anything else I need to do to stop System.exit()?

Thanks..

- Tim


--
[Message sent by forum member 'tmulle']
View Post: http://forums.java.net/node/787888