Hi Thomas
Yes I updae the OJB.properties.
I forget to give you the most important part of error
message :
Caused by: java.lang.NullPointerException
at
org.apache.ojb.broker.util.logging.LoggerFactoryImpl.getLogger(Unknown
Source)
at
org.apache.ojb.broker.util.logging.LoggerFactory.getLogger(Unknown
Source)
at
org.apache.ojb.broker.core.PersistenceBrokerFactoryBaseImpl.<clinit>(Unknown
Source)
... 19 more
Maybe it can hep.
Thank's for your help
Andre
--- Thomas Dudziak <[EMAIL PROTECTED]> wrote:
> A Leg wrote:
>
> > Hi Thomas
> > Finally I follow your second option, I enter
> database elements by
> > hand, and I got the ojb-blank.jar
> >
> > I recompiled my project, and adapt all
> configuration files.
> >
> > When I run m project I get the following error :
> >
> > WARN: Value
> "org.apache.ojb.odmg.collections.DListImpl_2" is
> illegal
> > for key "OqlCollectionClass" (should be a class,
> using default value
> > class org.apache.ojb.odmg.collections.DListImpl)
> > java.lang.ExceptionInInitializerError
> > at java.lang.Class.forName0(Native Method)
> > at java.lang.Class.forName(Class.java:219)
> > at
>
org.apache.ojb.broker.util.ClassHelper.getClass(Unknown
> Source)
> > at
>
org.apache.ojb.broker.util.ClassHelper.getClass(Unknown
> Source)
> > at
> >
>
org.apache.ojb.broker.util.configuration.impl.ConfigurationAbstractImpl.getClass(Unknown
>
> > Source)
> > at
> >
>
org.apache.ojb.broker.util.configuration.impl.ConfigurationAbstractImpl.getClass(Unknown
>
> > Source)
> > at
> >
>
org.apache.ojb.broker.core.PersistenceBrokerFactoryFactory.init(Unknown
>
> > Source)
> > at
> >
>
org.apache.ojb.broker.core.PersistenceBrokerFactoryFactory.<clinit>(Unknown
>
> > Source)
> > at
> >
>
org.apache.ojb.broker.PersistenceBrokerFactory.defaultPersistenceBroker(Unknown
>
> > Source)
> >
> > My project was good working with rc4.
> > May be I should first run some tests on ojb, to
> validate my install.
>
> Did you update your OJB.properties file, or is the
> one from rc4 ? Also,
> you can specify the mentioned default value for the
> 'OqlCollectionClass'
> in the OJB.properties file to remove this warning.
>
> Tom
>
>
>
---------------------------------------------------------------------
> 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]