Hi,
Try doing this:
System.setProperty("OJB.properties","WEB-INF/classes/
OJB.properties");
Regards,
Deepak
|---------+---------------------------->
| | "Rajib Das" |
| | <rajibd@anshinsof|
| | t.com> |
| | |
| | 11/07/2002 10:51 |
| | AM |
| | Please respond to|
| | "OJB Users List" |
| | |
|---------+---------------------------->
>--------------------------------------------------------------------------------------------------------------|
|
|
| To: <[EMAIL PROTECTED]>
|
| cc:
|
| Subject: Problem ..Pls help
|
|
|
|
|
>--------------------------------------------------------------------------------------------------------------|
Hi,
I've deployed OBJ in TOMACAT 3.2.3. I have put the OBJ.properties
,repository.xml in WEB-INF/classes directory ?. But tomcat is searching
in Bin directory for those ?
The error I'm getting ?
[BOOT] INFO: OJB.properties:
file:/C:/jakarta-tomcat-3.2.3/bin/OJB.properties
[BOOT] ERROR: Cannot get OJB properties file, use default settings!
[DEFAULT] INFO: OJB Descriptor Repository:
file:/C:/jakarta-tomcat-3.2.3/bin/rep
ository.xml
[DEFAULT] FATAL: C:\jakarta-tomcat-3.2.3\bin\repository.xml (The system
cannot f
ind the file specified)
java.io.FileNotFoundException:
C:\jakarta-tomcat-3.2.3\bin\repository.xml (The s
ystem cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:59)
at
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection
.java:64)
Regards
Rajib
--
To unsubscribe, e-mail: <mailto:ojb-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org>