ejb@glassfish.java.net

Problem resolving relative path within ear

From: Abhijit Sarkar <abhijit.sarcar_at_gmail.com>
Date: Sun, 9 Dec 2007 10:46:52 +0530

Hi,
I have an ear in the following structure:

trackit (ear)
        META-INF
                trackit_log.properties
                trackit_security.policy
                ...
        trackit-ejb
                ...
        trackit-war
                ...

I'm trying to locate the file "trackit_log.properties" from within
trackit-ejb. I'm using the relative path "META-INF/trackit_log.properties".
I've tried using Thread.currentThread().getContextClassLoader() or
<<Classname>>.getClassLoader and then getting the resource as Stream but in
vain.

Pls. pls help.

Thanks n advance,
Abhijit