RE: java.security.AccessControlException: access denied

2004-08-25 Thread Shilpa Nalgonda
, August 25, 2004 1:23 PM To: Shilpa Nalgonda Subject: RE: java.security.AccessControlException: access denied That's really curious. I'd try two things: 1) change the file permission to this: permission java.io.FilePermission ALL FILES, read; If that works, then there's a problem with the path

RE: java.security.AccessControlException: access denied

2004-08-24 Thread Benjamin Armintor
Where did you add the permission in the catalina.policy file? In a general grant{} block? If not, it's possible that your code doesn't have the permission. It may also be the case that the whitespace in the filepath causes problems, but someone who actually runs on Windows could tell you better

RE: java.security.AccessControlException: access denied

2004-08-24 Thread Shilpa Nalgonda
else? -Original Message- From: Benjamin Armintor [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 24, 2004 3:32 PM To: Tomcat Users List Subject: RE: java.security.AccessControlException: access denied Where did you add the permission in the catalina.policy file? In a general grant{} block

RE: java.security.AccessControlException: access denied

2004-08-24 Thread Benjamin Armintor
Nalgonda [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 24, 2004 2:50 PM To: Tomcat Users List Subject: RE: java.security.AccessControlException: access denied I added the below line in the general grant{} block. permission java.io.FilePermission C:\\Program Files\\Apache Group\\Tomcat 4.1\\certs

RE: java.security.AccessControlException: access denied

2004-08-24 Thread Shilpa Nalgonda
No certs is a directory. shall i add it in other place other than the general grant block. -Original Message- From: Benjamin Armintor [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 24, 2004 4:09 PM To: Tomcat Users List Subject: RE: java.security.AccessControlException: access denied

RE: java.security.AccessControlException: access denied

2004-08-24 Thread Benjamin Armintor
: Mainframe Group University of Texas - Austin tele: (512) 232-6562 email: [EMAIL PROTECTED] -Original Message- From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 24, 2004 3:10 PM To: Tomcat Users List Subject: RE: java.security.AccessControlException: access denied

RE: java.security.AccessControlException: access denied

2004-08-24 Thread Shilpa Nalgonda
Armintor [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 24, 2004 4:42 PM To: Tomcat Users List Subject: RE: java.security.AccessControlException: access denied You shouldn't need to add it anywhere else: Permissions are cumulative, so if that file permission is in a grant{} block, all the code

RE: java.security.AccessControlException: access denied

2004-08-24 Thread Shilpa Nalgonda
the same error. -Original Message- From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 24, 2004 4:50 PM To: Tomcat Users List Subject: RE: java.security.AccessControlException: access denied I am using -security option to run TC. I am not quite sure about the syntax