This seems to be a torque problem. Did you call 
Torque.init("Torque.properties") anywhere?

Also, you might post this message to the torque-user mailing list : 
"Turbine Torque Users List" <[EMAIL PROTECTED]>



At 07:38 PM 7/10/2002 -0700, you wrote:
>Ok,
>After reviewing the logs and whatnot I am still at a loss as to what to do
>here:
>1) I have now switched to torque-3.0b3 and have added the jdbc-pool to my
>libs
>2) I have followed the directions here:
>http://jakarta.apache.org/turbine/torque/jdbc2pool-howto.html
>3) I have also changed the reference from 'community' to 'default' and am
>still getting this error:
>-------------------------------------
>2002-07-10 15:08:52,030 [HttpProcessor[8080][0]] ERROR
>org.apache.torque.util.BasePeer - BasePeer.MapBuilder failed trying to
>instantiate: com.warneronstine.community.om.map.PollMapBuilder
>org.apache.torque.TorqueException: Torque was not initialized properly.
>      at org.apache.torque.Torque.getDatabaseMap(Torque.java:721)
>      at
>com.warneronstine.community.om.map.PollMapBuilder.doBuild(PollMapBuilder.jav
>a:121)
>      at org.apache.torque.util.BasePeer.getMapBuilder(BasePeer.java:2117)
>      at
>com.warneronstine.community.om.BasePollPeer.getMapBuilder(BasePollPeer.java:
>40)
>      at com.warneronstine.community.om.BasePoll.save(BasePoll.java:495)
>       at
>com.warneronstine.community.modules.actions.ModifyPoll.doInsert(ModifyPoll.j
>ava:38)
>------------------------------------------------------------------
>
>Please help, I don't even know where to look on this issue. Thank you.
>
>-warner
>
>----- Original Message -----
>From: "Warner Onstine" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Sunday, July 07, 2002 8:50 PM
>Subject: Torque T3 configs
>
>
> > Reposting on Turbine-user, posted on Torque-user but not sure if it
>belongs
> > there.
> >
> > Hi all,
> > I am creating a new application in T3 and have had a few stumbles along
>the
> > way, but have figured everything out so far.
> >
> > However, I am having a problem when calling Object.save(), it is giving me
>a
> > NullPointerException in my created Peer. I'm not sure what is causing it,
> > but I'm not sure if I have everything configured properly.
> >
> > First, I didn't change much for generating my classes - does this make a
> > difference when running?
> > Second, I used a 2.1 config for my database settings, what additional
>things
> > do I need to change?
> > Third, I have looked at Scarab and saw JDBC2Pool setting, what is this? Do
>I
> > need it?
> >
> > Thanks for the help.
> >
> > -warner
> >
> > +warner onstine+
> >
> >
> > --
> > To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
> >
> >
>
>
>--
>To unsubscribe, 
>e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to