turbine-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Bachelder <cho...@chowda.net>
Subject RE: Standalone Torque...
Date Mon, 15 Oct 2001 14:25:08 GMT
duh.. I should have mentioned that myself.. I found that email very useful and it is what got
me up and running, thanks!

On Mon, 15 October 2001, "Steve Davis" wrote:

> 
> This is true. There are also other jars you will need.
> Take a look at my posting from 9/25/2001 titled
> "torque outside of turbine - detailed example".
> I recorded all the steps I needed to do to get the
> latest version of Torque working in standalone mode.
> 
> It has been working great for me.
> 
> -- Steve
> 
> -----Original Message-----
> From: Dan Bachelder [mailto:chowda@chowda.net]
> Sent: Sunday, October 14, 2001 9:28 AM
> To: turbine-user@jakarta.apache.org
> Subject: Re: Standalone Torque...
> 
> 
> Even in standalone mode torque needs velocity, you'll need to get
> velocity-1.2-dev.jar (i think) and put it in your class path...
> 
> ----- Original Message -----
> From: "dcr" <david.crosson@wanadoo.fr>
> To: <turbine-user@jakarta.apache.org>
> Sent: Sunday, October 14, 2001 12:05 PM
> Subject: Standalone Torque...
> 
> 
> > Hello,
> >
> >   I'm trying to use Torque in a standalone application, but when
> trying
> > to make my first application, it requires some velocity stuff. Any
> idea
> > how I can say to Torque, use that configuration or please run in
> standalone
> > mode ? I got the following error :
> >
> > Exception in thread "main" java.lang.NoClassDefFoundError:
> > org/apache/velocity/runtime/configuration/Configuration
> >         at
> >
> org.apache.turbine.services.db.TurbineDB.getMapBroker(TurbineDB.java:299
> )
> >         at
> >
> org.apache.turbine.services.db.TurbineDB.getDatabaseMap(TurbineDB.java:1
> 42)
> >         at autosql.map.SimpleMapBuilder.doBuild(Unknown Source)
> >         at
> > org.apache.turbine.om.peer.BasePeer.getMapBuilder(BasePeer.java:1845)
> >         at autosql.BaseSimplePeer.<clinit>(Unknown Source)
> >         at autosql.BaseSimple.save(Unknown Source)
> >         at appli.Main.main(Unknown Source)
> >
> > appli.Main is a "silly" example application :
> >
> > package appli;
> > import autosql.*;
> > public class Main {
> >     public static void main(String args[]) throws Exception {
> >         Simple s = new Simple();
> >         s.save();
> >         System.out.println("Exiting...");
> >         System.exit(0);
> >     }
> > }
> >
> > autosql.* are torque generated classes.
> >
> >
> > Thanks for any help,
> > David.
> >
> > --
> > // David CROSSON
> > // mailto:david.crosson@wanadoo.fr
> > // http://gamma.dyndns.org
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: turbine-user-help@jakarta.apache.org
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org

</dan>

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Mime
View raw message