Could this be happening because OJB is not finding one of the classes that I
have defined in repository_user.xml? Or is this because one of the OJB
classes could no be found?
On Thursday 02 January 2003 22:10, Armin Waibel wrote:
> sounds strange!
> You are operate on the CVS head, right?
> Are your classes really up to data?
>
> The error occured while OJB grap the ConnectionRepository
> from the MetadataManager.
>
> <snip>
> private PBKey buildDefaultKey()
> {
> ====> List descriptors =
> MetadataManager.getInstance().connectionRepository().getAllDescriptor();
> JdbcConnectionDescriptor descriptor;
> ....
> }
>
> regards,
> Armin
>
>
> ----- Original Message -----
> From: "Michael Ansley" <[EMAIL PROTECTED]>
> To: "OJB List" <[EMAIL PROTECTED]>
> Sent: Thursday, January 02, 2003 9:34 PM
> Subject: NoClassDefFound
>
> > Anybody know why this occurs (compiled from CVS source):
> >
> > 20:22:45,144 INFO [STDOUT]
> > [org.apache.ojb.broker.ta.PersistenceBrokerFactoryDefaultImpl] INFO:
> > 20:22:45,145 INFO [STDOUT] Create PersistenceBroker instance pool,
>
> pool
>
> > configuration was {whenExhaustedAction=0, maxIdle=-1, maxActive=100,
> > maxWait=2000, numTestsPerEvictionRun=10, testWhileIdle=false,
> > testOnReturn=false, timeBetweenEvictionRunsMillis=-1,
> > minEvictableIdleIimeMillis=600000, testOnBorrow=false}
> > 20:22:45,146 ERROR [LogInterceptor] Unexpected Error:
> > java.lang.NoClassDefFoundError
> > at
>
> org.apache.ojb.broker.ta.PersistenceBrokerFactoryDefaultImpl.buildDefaul
> tKey(PersistenceBrokerFactoryDefaultImpl.java:131)
>
> > at
>
> org.apache.ojb.broker.ta.PersistenceBrokerFactoryDefaultImpl.<init>(Pers
> istenceBrokerFactoryDefaultImpl.java:115)
>
> > at
>
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>
> > Method)
> > at
>
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA
> ccessorImpl.java:39)
>
> > at
>
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons
> tructorAccessorImpl.java:27)
>
> > at
>
> java.lang.reflect.Constructor.newInstance(Constructor.java:274)
>
> > at java.lang.Class.newInstance0(Class.java:296)
> > at java.lang.Class.newInstance(Class.java:249)
> > at
>
> org.apache.ojb.broker.ta.PersistenceBrokerFactoryFactory.instantiate(Per
> sistenceBrokerFactoryFactory.java:99)
>
> > at
>
> org.apache.ojb.broker.ta.PersistenceBrokerFactoryFactory.instance(Persis
> tenceBrokerFactoryFactory.java:82)
>
> > at
>
> org.apache.ojb.broker.PersistenceBrokerFactory.createPersistenceBroker(P
> ersistenceBrokerFactory.java:138)
>
> > --
> > To unsubscribe, e-mail:
>
> <mailto:[EMAIL PROTECTED]>
>
> > For additional commands, e-mail:
>
> <mailto:[EMAIL PROTECTED]>
>
>
>
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>