Hello Peter,

> -----Original Message-----
> From: Peter Kirk [mailto:[EMAIL PROTECTED]

> When I call the "db.open" method I get a mass of exceptions. 
> Perhaps someone
> can see where I can start looking for the problem...

this might be a known problem.  (See thread: "Help : OJB, ODMG API !")

Get the newest tutorial2 Application.java from

http://cvs.apache.org/viewcvs.cgi/db-ojb/src/test/org/apache/ojb/tutorial2/

> Here is a snippet of my code:
> 
>     Implementation odmg = OJB.getInstance();
>     Database db = odmg.newDatabase();
> 
>     try
>     {
>       db.open( databaseName, Database.OPEN_READ_WRITE );
>     }
> 
> And here is the first part of some output I see (which comes 
> from inside the
> open method):
> 
> [org.apache.ojb.broker.metadata.ConnectionRepository] INFO: 
> Could not found
> org.apache.ojb.broker.metadata.JdbcConnectionDescriptor for PBKey
> org.apache.ojb.broker.PBKey:
> repository=C:/Work/Experimentation/OJB/repository.xml, user=null,

You have edited that value, haven't you?  It's meaning is 
not the repository file any more, but a reference to an alias
inside it.

Olli

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to