access « Log « Java I/O Q&A





1. security error - access denied ( java.io.FilePermission client.log write)    coderanch.com

Thanks a lot for ur reply... The application is written by me only.... I have changed the security settings of the computer where i am trying to download by the help of "policytool" ., gave the permission for java.io.FilePermission ... It worked !!! But i dont think this is the solution... Since it is very difficult to change the permissions in ...

2. Logging User information who is accessing a file    coderanch.com

Hi All, My Requirement is *Getting user information who has accessed the file residing at the Shared Location. * Idea is to log the user information who has accessed,deleted,changed a file. My Idea * Write a Standalone java code running at the Shared system which monitors the file whether being accessed,deleted,changed etc., Is My approach is correct? Can anyone correct me ...

4. accessing log files of one app for another app    coderanch.com

A Web-app in my Organisation creates some log files, which are inside its WEB-INF directory. Can I make another app within the same container to access contents within another app's WEB-INF ? The reason I ask this is because I am not allowed to add any filters to the original app but can use the log files for further analysis. While ...

5. java logging : java.util.logging.config.file - accessing logging.properties in classpath    coderanch.com

Hello, I have a standalone java application using java logging. I have placed logging.properties in: com.pkg1.pkg2 I am setting following system property: -Djava.util.logging.config.file=com/pkg1/pkg2/logging.properties Unfortunately, the java logging code is not able to locate this file. On debugging into java.util.logging.LogManager.java, it looks like this line of code may be the cause: InputStream in = new FileInputStream(fname); Here fname = com/pkg1/pkg2/logging.properties and it ...

6. how to access a log file and a bad file??    forums.oracle.com

Means my senario is like this Supose A file has 1000 records that has to be uploaded into a table. After uploading 700 records, process breakdown, now ODI needs to re start upload from the breaking point i.e. upload should start from 701th record. So what is the good Solution for this . Thanks Raghava