Hello,
I seem to have one more problem. This time it is Orion 1.5.2. It might seem
very strange but Orion cannot pick up classes from the system classpath
(atleast that is the way it is behaving here). Instead I need to put the
classes in Orion_Home/lib.
I have a property file for my system which I load using
InputStream in =
getClass().getClassLoader().getSystemResourceAsStream("my.properties");
Properties prop = new Properties();
prop.load(in);
The code loads the property file if it is present in the classpath.
This code works fine when I use simple classes and it is able to load the
property file. When I call it from a Data Access Object which is called by a
Session bean, it is not able to load the property file. I even put the
property file in ORION_HOME/lib but with no success.
The last thing that I want to do is hardcode the path of the property file
in the class file.
Has anyone faced this problem ?
Jeetendra Dassani
Lead Systems Engineer
Tata Infotech Limited
SEEPZ, Andheri (E)
Mumbai.
Email : [EMAIL PROTECTED]
[EMAIL PROTECTED]
Telephone: 8291261 X 2775/2465
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".