If no ideas on what would cause it, any ideas on how to debug it? I
turned all the loggers in OJB properties to DEBUG setting, but still
don't get much log output. I'm running this code from a jsp under
Tomcat. Here's the full output:
[org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl] DEBUG:
PersistenceBroker pool will be setup with the following configuration
# Trace object of class
org.apache.commons.pool.impl.GenericKeyedObjectPool$Config:
# maxIdle -1
# maxActive 100
# maxWait 2000
# whenExhaustedAction 0
# testOnBorrow false
# testOnReturn false
# testWhileIdle false
# timeBetweenEvictionRunsMillis -1
# numTestsPerEvictionRun 10
# minEvictableIdleTimeMillis 1000000
[org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl] INFO:
Create PersistenceBroker instance pool, pool configuration was
{whenExhaustedAc
tion=0, maxIdle=-1, maxActive=100, maxWait=2000, removeAbandoned=false,
numTestsPerEvictionRun=10, testWhileIdle=false,
minEvictableIdleTimeMillis=100
0000, testOnReturn=false, logAbandoned=false,
removeAbandonedTimeout=300, timeBetweenEvictionRunsMillis=-1,
testOnBorrow=false}
[org.apache.ojb.broker.metadata.RepositoryPersistor] INFO: OJB
Descriptor Repository:
file:/D:/cvs/build_temp/ojb/latest-build/WEB-INF/classes/repository.xml
[org.apache.ojb.broker.metadata.RepositoryXmlHandler] DEBUG: startDoc
java.lang.NoClassDefFoundError
at
org.apache.ojb.broker.PersistenceBrokerFactory.defaultPersistenceBroker(
Unknown Source)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:70)
Thanks again,
Dave
> -----Original Message-----
> From: Durham David Contr 805 CSS/SCBE
> Sent: Monday, July 28, 2003 2:14 PM
> To: [EMAIL PROTECTED]
> Subject: creating persistence broker
>
>
> Hi all,
>
> This is a newbie question.
>
> I'm trying to execute the following code:
> broker = PersistenceBrokerFactory.defaultPersistenceBroker();
>
>
> I receive the following error:
>
> java.lang.NoClassDefFoundError
> at
> org.apache.ojb.broker.PersistenceBrokerFactory.defaultPersiste
> nceBroker(
> Unknown Source)
>
>
> Have the following in OJB.properties file:
>
> PersistenceBrokerClass=org.apache.ojb.broker.core.PersistenceB
> rokerImpl
>
>
> Any ideas what would cause this?
>
> Thanks,
>
> Dave
>
> ---------------------------------------------------------------------
> 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]