Error deploying web application under bundled tomcat and standalone tomcat

This may be an old problem obviously.

But, I have no idea to solve the problem anyway.

Everytime I try to deploy an application built wiht netbeans visual webpack, I'm getting this error on the log :

SEVERE: Exception starting filter UploadFilter

java.security.AccessControlException: access denied (java.util.PropertyPermission java.io.tmpdir read)

at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)

at java.security.AccessController.checkPermission(AccessController.java:546)

at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)

at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1285)

at java.lang.System.getProperty(System.java:652)

.....

this could be a permission exception but I don't know how to solve.

Anyone has an idea ?

Thanks

[896 byte] By [mslinuza] at [2007-11-27 9:56:59]
# 1
i am not sure but looking at the error , you could try deploying your application as superuser (root).
vvna at 2007-7-13 0:27:14 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
well, as i'm using debian with tomcat5.5, the default user that runs tomcat is tomcat5.5 and i'm sure all file related to my webapp is own by tomcat5.5 user and have all file permission checked.i'll recheck the files anyway, but deploying with bundled sun application server is
mslinuza at 2007-7-13 0:27:14 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...