I am using PropertyConfigurator.configure("c://filepath.properties"). Now my application is going to use to several other server, i want to make this file accessible from anywhere, so i put this file in same package where my LoggingUtility Class is, but it not accessing the files. I always get File not found Exception.
can someone help me into this.
OK,well that is not going to work because you are not putting that file at that location on every server correct? Instead you want to read that resource off the CLASSPATH (as you have now put the properties file in the same location as your .class file).
To do that in Java you need to look at using the getResourceAsStream() method....
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com