An option that will tell the application where to look for the properties file because you want to hide it in a different location each time you run? How about specifying your own system property which defines the directory where the file is located.
Personally, I would use a combination of my own system property along with the JBoss data directory property. If my system property is set, I would look there, if not then I would look in the data directory, and if not there, in no directory, which equates to the current working directory, which would be the JBoss bin directory. If I planned to run my application in app servers other than JBoss, I would add some of their system properties to my list of places to look. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945779#3945779 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945779 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
