On Wednesday, Feb 19, 2003, at 12:29 US/Eastern, Ferran Parra wrote:
Hi,
this is my repository.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- This is a sample metadata repository for the ObJectBridge System.
Use this file as a template for building your own mappings-->
<!-- defining entities for include-files -->
<!DOCTYPE descriptor-repository SYSTEM "repository.dtd" [
<!ENTITY database SYSTEM "repository_database.xml">
<!ENTITY internal SYSTEM "repository_internal.xml">
<!ENTITY junit SYSTEM "repository_junit.xml">
<!ENTITY user SYSTEM "repository_user.xml">
<!ENTITY ejb SYSTEM "repository_ejb.xml">
]>
<descriptor-repository version="0.9.9" isolation-level="read-uncommitted">
<!-- include all used database connections -->
&database;
<!-- include mappings for JUnit tests -->
<!-- This could be removed (with <!ENTITY entry), if junit test suite
was not used -->
<!-- &junit; -->
<!-- include ojb internal mappings here -->
&internal;
<!-- include user defined mappings here -->
&user;
<!-- include mappings for the EJB-examples -->
<!-- &ejb; -->
</descriptor-repository>
and is in the WEB-INF/classes of a tomcat 4.1.18
----- Original Message -----
From: "Ryan Vanderwerf" <[EMAIL PROTECTED]>
To: "OJB Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, February 19, 2003 6:26 PM
Subject: RE: ojb v0.9.9 problem
Sounds like repository.xml isn't in your classpath. -----Original Message----- From: Ferran Parra [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 19, 2003 11:25 AM To: OJB Users List Subject: ojb v0.9.9 problemHi people, i have an error to try: db.open("repository.xml", Database.OPEN_READ_WRITE); org.odmg.ODMGException: OJB can't open database repository.xml Borrow broker from pool failed: Creation of a new PB instance failed Any idea?? thanks advanced Ferran Parra Departament de Noves Tecnologies MUBIMEDIA S.L. ---------------------- [EMAIL PROTECTED] Mallorca, 275, 1r 2a 08008 BARCELONA T. (+34) 93 215 21 91 F. (+34) 93 215 41 21 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
R -- Robert S. Sfeir Senior Java Engineer National Institutes of Health Center for Information Technology Department of Enterprise Custom Applications [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
