To clarify, it is Jboss 3.2.2
Have you tried a relative path? And I'm not sure of your current location - you need to check that you are where you think you should be. Is the root location from the JAR or from the EAR?
It is a port of an existing app (runs under IPlanet AS 6). Ideally I don't want to touch the code. Simply modifying the descriptors should, at least in theory,
I don't like where the properties file resides presently - right in the root of WAR. I am not sure but it might make it available to Web browsers by simply pointing to proper URL ... not a good idea.
I think the properties file should go under "/classes" directory in the WAR and then it will be available under the /APP_NAME/WAR_NAME/PROPERTIES_FILE_NAME Will try it next week.
Can some1 tell me if it should work like this:
properties.load( (InputStream) getClass().getResourceAsStream(
Assuming there is an application called insightApp
with nested WAR, Web application name: insight .
The insight.properties lives under /WEB-INF/classes/
in the WAR file.
It doesn't work presently, no matter what I try .