All the JARs needed are in the CLASSPATH, I can check that when I run the standalone application in Eclipse.
Just one question: is OJB 0.9.5 OK with JDK 1.4 (because I have just changed it)?? Sylvain > -----Original Message----- > From: Danilo Tommasina [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 04, 2003 12:19 PM > To: OJB Users List > Subject: Re: RE : error when start OJB > > > Hi, > > it must be some classpath problem... > note that all jars deployed in WEB-INF/lib are automagically added to > the classpath by the web server, however if you use OJB in a > standalone > application, you have to add each jar file to the CLASSPATH > and not only > the directory where they are located. > > cheers > danilo > > > Hello, > > > > All the JAR I need are in the classpath. > > When I run OJB from a servlet it works well but when I run > it from a main() method this error occurs. > > There is no differences between them. > > That's a bit strange! > > > > Sylvain > > > > > >>-----Original Message----- > >>From: Martin Kalén [mailto:[EMAIL PROTECTED] > >>Sent: Thursday, December 04, 2003 9:42 AM > >>To: OJB Users List > >>Subject: Re: error when start OJB > >> > >> > >>[EMAIL PROTECTED] wrote: > >> > >> > >>>java.lang.NoClassDefFoundError: > >> > >>org/apache/commons/pool/PoolableObjectFactory > >> > >>>What does it mean? > >> > >>It means that an external package that OJB depends on > >>(Jakarta Commons > >>Pool in this case) is not present in your classpath. > >> > >>Check out http://db.apache.org/ojb/deployment.html for the OJB > >>deployment guide, or (more to the point) > >>http://db.apache.org/ojb/dependencies.html for a list of the > >>JAR-files > >>you need to deploy with OJB. > >> > >>-- > >>Martin Kalén > >>Curalia AB Web: http://www.curalia.se > >>Orrspelsvägen 2B Mail: [EMAIL PROTECTED] > >>SE-182 79 Stocksund Tel: +46-8-410 064 40 > >> > >> > >>------------------------------------------------------------ > --------- > >>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] > > > > > --------------------------------------------------------------------- > 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]