Re: File Writing Permission Problem with Tomcat

2006-07-30 Thread Li
Hi Chris, Things were fixed. Problem was cause by local java security policy setting. Thanks for your help. I apprecaited that. Regards Li On 7/29/06, Christopher Schultz <[EMAIL PROTECTED]> wrote: Li, > The exception is FileNotFoundException (Permission Denied) > > If the path is not corre

Re: File Writing Permission Problem with Tomcat

2006-07-29 Thread Christopher Schultz
Li, > The exception is FileNotFoundException (Permission Denied) > > If the path is not correct, it should not have "Permission Denied" message. > > What i found here is: > - when i catched the uploaded file in mem and trying to create a > FileInputStream along with the path "/var/../../target_d

Re: File Writing Permission Problem with Tomcat

2006-07-29 Thread Li
Hi Chris, Thanks for replying. The exception is FileNotFoundException (Permission Denied) If the path is not correct, it should not have "Permission Denied" message. What i found here is: - File factually uploaded and stored in mem successfully, - when i catched the uploaded file in mem and tr

Re: File Writing Permission Problem with Tomcat

2006-07-28 Thread Christopher Schultz
Li, > when i was trying to upload file and write the file into a folder inside my > apache vritual host folder, i have exception says, file writing denied. Have you confirmed that the path is what you expect (i.e. is really is trying to write to /your/target/directory instead of /somewhere/else/y

File Writing Permission Problem with Tomcat

2006-07-28 Thread Li
Hi guys, I am running a struts app on tomcat 5 on Fedora 4 (psa v8.0.1_build80060613.20 os_FedoraCore 4), when i was trying to upload file and write the file into a folder inside my apache vritual host folder, i have exception says, file writing denied. Selinux is disabled, i had assigned the