Yes! It seems to work. Just have to call TurbineResourceService.setPropertiesFileName first. Thanks. fanyun wrote: > > Hi, > > I think you can all any peer/map object from any java application. But you > will need the Turbine.properties setting file. > > Regards > > fanyun > > ----- Original Message ----- > From: "Didier Dubois" <[EMAIL PROTECTED]> > To: "Turbine" <[EMAIL PROTECTED]> > Sent: Tuesday, August 15, 2000 11:00 PM > Subject: HOWTO: Use Peer/Map model without Turbine > > > Hi all, > > > > > > How can I use the om/peer/map classes I have without using Turbine? > > or > > How can I initialize turbine without JServ? > > > > I would like to test some basic objects, and even use the modele within > > littles applications. But when I call a BasePeer Object I got an > > exception saying that Turbine is not correctly initialized: > > > > at > > > org.apache.turbine.services.resources.TurbineResources.getString(TurbineReso > urces.java, > > Compiled Code) > > at org.apache.turbine.util.db.pool.DBBroker.getDB(DBBroker.java, > > Compiled Code) > > at org.apache.turbine.om.peer.BasePeer.doInsert(BasePeer.java, Compiled > > Code) > > > > How then can I use BasePeer with the correct initialisation? > > > > Thanks, > > Didier > > > > > > ------------------------------------------------------------ > > To subscribe: [EMAIL PROTECTED] > > To unsubscribe: [EMAIL PROTECTED] > > Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/> > > Problems?: [EMAIL PROTECTED] > > > > ------------------------------------------------------------ > To subscribe: [EMAIL PROTECTED] > To unsubscribe: [EMAIL PROTECTED] > Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/> > Problems?: [EMAIL PROTECTED] -- Didier Dubois mailto:[EMAIL PROTECTED] http://www.idbsoft.ch ------------------------------------------------------------ To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/> Problems?: [EMAIL PROTECTED]
