Thanks all Jean, Robert and Jemmee thanks!!
----- Original Message -----
From: "Jemmee Yung" <[EMAIL PROTECTED]>
To: "OJB Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, February 19, 2003 7:09 PM
Subject: Re: ojb v0.9.9 problem


> Hi, i experienced similar problem and got it solved by changing
> repository_database.xml to read
>
>     <jdbc-connection-descriptor
>      jcd-alias="repository.xml"
>      default-connection="true"
>      ....
>
> instead of jcd-alias="default"
>
> don't know if this is the right way to go but it kinds works :)
>
>
> Best Regards,
>
> Jemmee Yung
> My Domain Consultant Limited
> http://my-domain.com.hk/
>
>
> ----- Original Message -----
> From: "Ferran Parra" <[EMAIL PROTECTED]>
> To: "OJB Users List" <[EMAIL PROTECTED]>
> Sent: Thursday, February 20, 2003 1:29 AM
> Subject: Re: ojb v0.9.9 problem
>
>
> > 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 problem
> > >
> > > Hi 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]
> >
>
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to