Tomcat startup fail with below error log when Springframework tried to call System.setProperty.
Can some one help me?
I ran the code succesyfully at windows pc but not on unix server

thanks
hy

java.security.AccessControlException: access denied
(java.util.PropertyPermission webApp.root write)
@40000000445f114f374f04fc at
java.security.AccessControlContext.checkPermission
java.security.AccessController.checkPermission(AccessController.java:427)
@40000000445f114f374f149c at java.lang.SecurityManager.checkPermission
(SecurityManager.java:532)
@40000000445f114f374fa524 at java.lang.System.setProperty
(System.java:698)
@40000000445f114f374facf4 at
org.springframework.web.util.WebUtils.setWebAppRootSystemProperty
(WebUtils.java:104)
@40000000445f114f374fb4c4 at
org.springframework.web.util.Log4jWebConfigurer.initLogging


From: "Tim Lucia" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <users@tomcat.apache.org>
To: "'Tomcat Users List'" <users@tomcat.apache.org>
Subject: RE: Default servlet
Date: Tue, 9 May 2006 07:15:47 -0400

Mark is right (of course)... my bad.

-----Original Message-----
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Monday, May 08, 2006 10:14 PM
To: Tomcat Users List
Subject: Re: Default servlet

Tim Lucia wrote:
> Look in conf/web.xml -- it is commented out by default.
Not it isn't. The default servlet is enabled by default.

> It is widely
> considered evil to use the default servlet.  At a minimum, it poses
security
> risks.
Again, no. The default servlet is not considered evil. You are thinking
of the invoker servlet.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
Get an advanced look at the new version of MSN Messenger. http://messenger.msn.com.my/Beta/Default.aspx


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to