I have noticed that if you have some class files missing, the initialization fails with this exception. The way I debugged this was to (I use Jbuilder, although I suspect this will work with Eclipse as well) set an exception breakpoint and look at the trace file. It's probably a ClassNotFoundException (this is just a guess)- that's what it was for me. Putting the proper jar files in the class path fixed the problem for me Raghavan
-----Original Message----- From: A Leg [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 11:53 AM To: [EMAIL PROTECTED] Subject: Any body can help me? Hi When I start my application I get this error. It's probably a beginner error, but I get stuck Thank's for any help to enable me to go ahead with ojb. Andre [org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl] ERROR: Creation of a new PB instance failed null java.lang.reflect.InvocationTargetException[org.apache.ojb.broker.core.P ersistenceBrokerFactoryDefaultImpl] ERROR: Creation of a new PB instance failed null 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 org.apache.ojb.broker.util.ClassHelper.newInstance(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl.createNew BrokerInstance(Unknown Source) //ojb.broker.core.PersistenceBrokerFactoryDefaultImpl exist in classpath at org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl$PBKeyedPo olableObjectFactory.makeObject(Unknown Source) at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(Generic KeyedObjectPool.java:748) at org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl.createPer sistenceBroker(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl.defaultPe rsistenceBroker(Unknown Source) at org.apache.ojb.broker.PersistenceBrokerFactory.defaultPersistenceBroker( Unknown Source) --------------------------------------------------------------------- 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]
