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 Sy...@swisscom.com on 2003/12/04 13:05:08 UTC
RE : RE : error when start OJB
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:dtommasina@risksys.com]
> 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:martin.kalen@curalia.se]
> >>Sent: Thursday, December 04, 2003 9:42 AM
> >>To: OJB Users List
> >>Subject: Re: error when start OJB
> >>
> >>
> >>Sylvain.Thevoz@swisscom.com 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: info@curalia.se
> >>SE-182 79 Stocksund Tel: +46-8-410 064 40
> >>
> >>
> >>------------------------------------------------------------
> ---------
> >>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
> >
>
>
> ---------------------------------------------------------------------
> 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