DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39584>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39584


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://urphoto.urcollection.
                   |                            |com
          Component|Collections                 |File Upload
           Keywords|                            |ErrorMessage




------- Additional Comments From [EMAIL PROTECTED]  2006-05-18 00:12 -------
Hi,

I'm getting this error message when my application running on goDaddy tomcat
apache webserver:-

java.security.AccessControlException: access denied (java.io.FilePermission
/web/tomcat/temp/upload_00000000.tmp delete)

or

java.security.AccessControlException: access denied (java.io.FilePermission
/var/chroot/home/content/h/w/t/hwtang5401/html/urphoto/WEB-INF/tmp/upload_00000006.tmp
delete)

        
java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
        
java.security.AccessController.checkPermission(AccessController.java:427)
        java.lang.SecurityManager.checkPermission(SecurityManager.java
:532)
        java.lang.SecurityManager.checkDelete(SecurityManager.java:990)
        java.io.File.deleteOnExit(File.java:901)
        
org.apache.commons.fileupload.DefaultFileItem.getTempFile(DefaultFileItem.java:620)
        org.apache.commons.fileupload.DefaultFileItem.getOutputStream
(DefaultFileItem.java:557)
        
org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:391)
        UrPhoto.doPost(UrPhoto.java:103)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
        javax.servlet.http.HttpServlet.service
(HttpServlet.java:802)
        sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
        
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        java.lang.reflect.Method.invoke(Method.java
:585)
        org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:239)
        java.security.AccessController.doPrivileged(Native Method)
        javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
        org.apache.catalina.security.SecurityUtil.execute
(SecurityUtil.java:266)
        
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:157)

 
How can i resolve this problem? For your information, I am using share hosting
plan and I can't get access to tomcat apache policy file to grant my permission.
Any other way for me to grant my permission at user level or grant my permission
at my webapplication level. Or other solution that enable common fileupload to
run at this situation?

Thank you

Yours,

Mr. Tang


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to