yes a SecurityException would be thrown when a catalina.policy grant happens 
for 
RuntimePermission violations such as what you see in this catalina.policy
# List of comma-separated packages that start with or equal this string
# will cause a security exception to be thrown when
# passed to checkPackageAccess is violated
permission java.lang.RuntimePermission "defineClassInPackage.java.lang.*
permission java.lang.RuntimePermission 
"accessClassInPackage.java.lang.*#catalina.properties
package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,
org.apache.jasper
//add in ,java.lang. package here

#more catalina.properties
package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
//add in ,java.lang. package here
an attempt to explain how the process takes place
thanks,
Martin 
______________________________________________ 
Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de 
déni et de confidentialité 
This message is confidential. If you should not be the intended receiver, then 
we ask politely to report. Each unauthorized forwarding or manufacturing of a 
copy is inadmissible. This message serves only for the exchange of information 
and has no legal binding effect. Due to the easy manipulation of emails we 
cannot take responsibility over the the contents.
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.






> Date: Mon, 4 May 2009 09:41:55 -0600
> From: geor...@mhsoftware.com
> To: users@tomcat.apache.org
> Subject: Re: OT: GoDaddy Hosting and Tomcat
> 
> Martin Gainty wrote:
> > if someone elses webapp does a system.exit(1) does that impact your JVM 
> > process
> > ?
> 
> As pointed out, if you run Tomcat with the security manager, then that 
> can't happen. It would throw a security exception.
> 
> > 
> > since diskspace,memory and servers are dirt cheap what advantages does VPS 
> > offer?
> 
> I think the people using VPS are the ones that lack the expertise to 
> manage their own server.
> 
> Personally, I use co-located servers that I own.
> 
> > 
> > i would be curious as to which VPS implementation these guys use
> 
> 
> 
> -- 
> George Sexton
> MH Software, Inc.
> Voice: +1 303 438 9585
> URL:   http://www.mhsoftware.com/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 

_________________________________________________________________
Hotmail® goes with you. 
http://windowslive.com/Tutorial/Hotmail/Mobile?ocid=TXT_TAGLM_WL_HM_Tutorial_Mobile1_052009

Reply via email to