hi burt,

do you have a default jcd-alias in your conncetion-descriptor ?

    <jdbc-connection-descriptor
       default-connection="true"
       jcd-alias="default"              <<<<<<<<<<<<<<<<<<<
          platform="MySQL"
          jdbc-level="2.0"
          driver="com.p6spy.engine.spy.P6SpyDriver"
          protocol="jdbc"
          subprotocol="mysql"
          dbalias="//localhost:3306/brjtest"
          username=""
....

jakob

BURT, RANDALL (CONTRACTOR) wrote:

Hi! I'm new to OJB, and was banging my head against the following error:

[org.apache.ojb.broker.ta.PersistenceBrokerFactoryDefaultImpl] INFO: Set default 
PBKey: org.apache.ojb.broker.PBKey: repository=default, user=sa, password=*****
[org.apache.ojb.broker.accesslayer.ConnectionManagerFactory] ERROR: Configurable 
Factory configuration key class 'null' does not exist.
[org.apache.ojb.broker.ta.PersistenceBrokerFactoryDefaultImpl] ERROR: Creation of a 
new PB instance failed
null

I'm using OJB 1.0-rc1, Tomcat 4.1, Struts (latest stable release), MSSql Server 7, and the jtds-0.4 jdbc driver on Windows 2000. I can't seem to find the problem and was wondering if anyone had any suggestions. I'll provide my repository metadata and database layout if you need it.

As an aside, I tried searching the mailing list archives, but could not get the page to display message contents other than:

$msgHeaders

---------------------------------------------------------------------
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