When I try to get my new app running with 0.9.9, I get the following.

[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
* Factory types:
1 - Type: org.apache.ojb.broker.PersistenceBroker
* Factory arguments:
1 - Argument: org.apache.ojb.broker.singlevm.PersistenceBrokerImpl@79935d
null
java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
      at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

.
.
.
.

      at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
      at org.apache.ojb.broker.util.ClassHelper.newInstance(Unknown Source)
      ... 35 more
Caused by: java.lang.NullPointerException
      at
org.apache.ojb.broker.platforms.PlatformFactory.getPlatformFor(Unknown
Source)
      at
org.apache.ojb.broker.accesslayer.ConnectionManagerImpl.<init>(Unknown
Source)
      ... 40 more

The OJB.properties is now "stock".  At the moment, here is my jdbc
connection descriptor.

   <jdbc-connection-descriptor
            jcd-alias="default"
            default-connection="true"
        platform="Hsqldb"
        jdbc-level="2.0"
        driver="org.hsqldb.jdbcDriver"
        username="sa"
        password=""
        eager-release="false"
        batch-mode="false"
        useAutoCommit="0"
        ignoreAutoCommitExceptions="false"
   >
     <sequence-manager className
="org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl">
            <attribute attribute-name="grabSize" attribute-value="250"/>
     </sequence-manager>
  </jdbc-connection-descriptor>


Normally, I'd just debug into OJB to understand what is going on, but at
the moment I'm having network difficulties which are making it hard for me
to get the source in a form I can use....so, can anyone tell me what I've
done wrong?

Thanks.

David


This message contains information from Equifax Inc. which may be
confidential and privileged.  If you are not an intended recipient, please
refrain from any disclosure, copying, distribution or use of this
information and note that such actions are prohibited.  If you have
received this transmission in error, please notify by e-mail
[EMAIL PROTECTED]



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

Reply via email to