Do you update from an older version and
do not replace all configuration files?
E.g. do not replace OJB.properties file?
Or the OJB.properties file was not found?

Seems property 'ConnectionManagerClass' could not be found.

regards,
Armin

----- Original Message -----
From: "BURT, RANDALL (CONTRACTOR)" <[EMAIL PROTECTED]>
To: "OJB Users List" <[EMAIL PROTECTED]>
Sent: Saturday, March 29, 2003 8:10 PM
Subject: RE: Creation of a new PB instance failed


Yup. My connection descriptor looks like:

<jdbc-connection-descriptor
   jcd-alias="default"
   default-connection="true"
   platform="MsSQLServer"
   jdbc-level="2.0"
   driver="net.sourceforge.jtds.jdbc.Driver"
   protocol="jdbc"
   subprotocol="jtds"
   dbalias="//fpe-db-w-fpaydv:1433/WinApps_3"
   username="sa"
   password="gators111"
   batch-mode="false"
            useAutoCommit="1"
            ignoreAutoCommitExceptions="false" />

-----Original Message-----
From: Jakob Braeuchi [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 29, 2003 1:09 PM
To: OJB Users List
Subject: Re: Creation of a new PB instance failed


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]


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