I'm trying to set up a simple test to try out OJB with, but I'm having some trouble.

I copied my config files out here for easy browsing:
http://users.rcn.com/jessev/ojb/

I have those files in my classpath, and I have all the jars from the .99 binary distrobution in the classpath too.

My database server is running locally, and the database name is "ING", with user=dev and pass=dev. I'm running MS SQL with the JDirect drivers.

When I try to run something simple like this:
PersistenceBroker broker = null;
try {
broker = PersistenceBrokerFactory.createPersistenceBroker(new PBKey("repository.xml"));
} catch (Throwable t) {
t.printStackTrace();
}

I get this error:
[org.apache.ojb.broker.metadata.ConnectionRepository] INFO: Could not found org.apache.ojb.broker.metadata.JdbcConnectionDescriptor for PBKey org.apache.ojb.broker.PBKey: repository=repository.xml, user=null, password=null
[org.apache.ojb.broker.accesslayer.ConnectionManagerFactory] ERROR: ConfigurableFactory instantiation failed for class class org.apache.ojb.broker.accesslayer.ConnectionManagerImpl

Any ideas what I'm doing wrong? Do I have a config messed up somewhere?

Thanks in advance for you help. I'm hoping to get this set up so we can try to use OJB at work.



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

Reply via email to