You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Clay Mitchell <cl...@pfd.net> on 2003/08/10 03:42:17 UTC
Bad implementations and ClassCast problems?
I'm getting a weird error here... This used to work under RC3, but RC4
doesn't seem to like me
Any ideas?
Thanks
-Clay
[BOOT] ERROR: The specified class
"org.apache.ojb.broker.cache.ObjectCacheDefaultImpl" does not implement
the interface org.apache.ojb.broker.cache.ObjectCache, which is a
requirement for the key "ObjectCacheClass". Using default class
org.apache.ojb.broker.cache.ObjectCacheDefaultImpl
[BOOT] ERROR: The specified class
"org.apache.ojb.broker.accesslayer.ConnectionFactoryPooledImpl" does not
implement the interface
org.apache.ojb.broker.accesslayer.ConnectionFactory, which is a
requirement for the key "ConnectionFactoryClass". Using default class
org.apache.ojb.broker.accesslayer.ConnectionFactoryPooledImpl
[BOOT] ERROR: The specified class
"org.apache.ojb.odmg.locking.LockManagerDefaultImpl" does not implement
the interface org.apache.ojb.odmg.locking.LockManager, which is a
requirement for the key "LockManagerClass". Using default class
org.apache.ojb.odmg.locking.LockManagerDefaultImpl
[BOOT] ERROR: The specified class
"org.apache.ojb.odmg.locking.InMemoryLockMapImpl" does not implement the
interface org.apache.ojb.odmg.locking.LockMap, which is a requirement
for the key "LockMapClass". Using default class
org.apache.ojb.odmg.locking.PersistentLockMapImpl
[BOOT] ERROR: The specified class
"org.apache.ojb.broker.util.logging.PoorMansLoggerImpl" does not
implement the interface org.apache.ojb.broker.util.logging.Logger, which
is a requirement for the key "LoggerClass". Using default class
org.apache.ojb.broker.util.logging.PoorMansLoggerImpl
[BOOT] ERROR: The specified class
"org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDirectAccessImpl"
does not implement the interface
org.apache.ojb.broker.metadata.fieldaccess.PersistentField, which is a
requirement for the key "PersistentFieldClass". Using default class
org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldPrivilegedImpl
[BOOT] ERROR: The specified class
"org.apache.ojb.broker.core.PersistenceBrokerImpl" does not implement
the interface org.apache.ojb.broker.PersistenceBroker, which is a
requirement for the key "PersistenceBrokerClass". Using default class
org.apache.ojb.broker.core.PersistenceBrokerImpl
[BOOT] ERROR: The specified class
"org.apache.ojb.odmg.collections.DListImpl" does not implement the
interface org.apache.ojb.broker.ManageableCollection, which is a
requirement for the key "OqlCollectionClass". Using default class
org.apache.ojb.odmg.collections.DListImpl
[BOOT] ERROR: Error in instantiation of PersistenceBrokerFactory class
class org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl,
try to use default PersistenceBrokerFactory implementation
null
java.lang.ClassCastException
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.getConfigurator(Unknown
Source)
at org.apache.ojb.broker.query.Criteria.getSqlInLimit(Unknown Source)
at org.apache.ojb.broker.query.Criteria.<clinit>(Unknown Source)
at
com.exigentic.onyx.Managers.AccountManager.userLookup(AccountManager.java:30)
at
com.exigentic.onyx.action.ActionAccountLogin.execute(ActionAccountLogin.java:57)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind._cub._pod(.:521)
at com.evermind._cub._bmc(.:177)
at com.evermind._ax._ltc(.:666)
at com.evermind._ax._uab(.:191)
at com.evermind._bf.run(.:62)
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org
Re: Bad implementations and ClassCast problems?
Posted by Armin Waibel <ar...@code-au-lait.de>.
Hi Clay,
hmm, this sounds like a class loader problem.
Different OJB jars/config files in classpath? Some artefacts?
regards,
Armin
----- Original Message -----
From: "Clay Mitchell" <cl...@pfd.net>
To: <oj...@db.apache.org>
Sent: Sunday, August 10, 2003 3:42 AM
Subject: Bad implementations and ClassCast problems?
> I'm getting a weird error here... This used to work under RC3, but RC4
> doesn't seem to like me
>
> Any ideas?
>
> Thanks
> -Clay
>
> [BOOT] ERROR: The specified class
> "org.apache.ojb.broker.cache.ObjectCacheDefaultImpl" does not
implement
> the interface org.apache.ojb.broker.cache.ObjectCache, which is a
> requirement for the key "ObjectCacheClass". Using default class
> org.apache.ojb.broker.cache.ObjectCacheDefaultImpl
> [BOOT] ERROR: The specified class
> "org.apache.ojb.broker.accesslayer.ConnectionFactoryPooledImpl" does
not
> implement the interface
> org.apache.ojb.broker.accesslayer.ConnectionFactory, which is a
> requirement for the key "ConnectionFactoryClass". Using default class
> org.apache.ojb.broker.accesslayer.ConnectionFactoryPooledImpl
> [BOOT] ERROR: The specified class
> "org.apache.ojb.odmg.locking.LockManagerDefaultImpl" does not
implement
> the interface org.apache.ojb.odmg.locking.LockManager, which is a
> requirement for the key "LockManagerClass". Using default class
> org.apache.ojb.odmg.locking.LockManagerDefaultImpl
> [BOOT] ERROR: The specified class
> "org.apache.ojb.odmg.locking.InMemoryLockMapImpl" does not implement
the
> interface org.apache.ojb.odmg.locking.LockMap, which is a requirement
> for the key "LockMapClass". Using default class
> org.apache.ojb.odmg.locking.PersistentLockMapImpl
> [BOOT] ERROR: The specified class
> "org.apache.ojb.broker.util.logging.PoorMansLoggerImpl" does not
> implement the interface org.apache.ojb.broker.util.logging.Logger,
which
> is a requirement for the key "LoggerClass". Using default class
> org.apache.ojb.broker.util.logging.PoorMansLoggerImpl
> [BOOT] ERROR: The specified class
>
"org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDirectAccessI
mpl"
> does not implement the interface
> org.apache.ojb.broker.metadata.fieldaccess.PersistentField, which is a
> requirement for the key "PersistentFieldClass". Using default class
>
org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldPrivilegedImpl
> [BOOT] ERROR: The specified class
> "org.apache.ojb.broker.core.PersistenceBrokerImpl" does not implement
> the interface org.apache.ojb.broker.PersistenceBroker, which is a
> requirement for the key "PersistenceBrokerClass". Using default class
> org.apache.ojb.broker.core.PersistenceBrokerImpl
> [BOOT] ERROR: The specified class
> "org.apache.ojb.odmg.collections.DListImpl" does not implement the
> interface org.apache.ojb.broker.ManageableCollection, which is a
> requirement for the key "OqlCollectionClass". Using default class
> org.apache.ojb.odmg.collections.DListImpl
> [BOOT] ERROR: Error in instantiation of PersistenceBrokerFactory class
> class org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl,
> try to use default PersistenceBrokerFactory implementation
> null
> java.lang.ClassCastException
> at
>
org.apache.ojb.broker.core.PersistenceBrokerFactoryFactory.init(Unknown
> Source)
> at
>
org.apache.ojb.broker.core.PersistenceBrokerFactoryFactory.<clinit>(Unkn
own
> Source)
> at
> org.apache.ojb.broker.PersistenceBrokerFactory.getConfigurator(Unknown
> Source)
> at org.apache.ojb.broker.query.Criteria.getSqlInLimit(Unknown Source)
> at org.apache.ojb.broker.query.Criteria.<clinit>(Unknown Source)
> at
>
com.exigentic.onyx.Managers.AccountManager.userLookup(AccountManager.jav
a:30)
> at
>
com.exigentic.onyx.action.ActionAccountLogin.execute(ActionAccountLogin.
java:57)
> at
>
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:484)
> at
>
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
274)
> at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
> at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
> at com.evermind._cub._pod(.:521)
> at com.evermind._cub._bmc(.:177)
> at com.evermind._ax._ltc(.:666)
> at com.evermind._ax._uab(.:191)
> at com.evermind._bf.run(.:62)
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org