Bob,

I found that you do need to copy all those other folders to the WEB-INF
folder.  So my WEB-INF looks like:

/WEB-INF
        build.properties
        build-torque.xml
        /database
        /lib
        /master
        /schema
        /templates


My experience with the error you are getting is there is an error in your
dsfactory settings.  I haven't tried the Jdbc2Pool method but maybe you can
try another approach.  In your Torque.properties try replacing your
datasource properties with this:

torque.database.biztracker.adapter=mssql

torque.dsfactory.biztracker.factory=org.apache.torque.dsfactory.TorqueDataSo
urceFactory
torque.dsfactory.biztracker.pool.defaultMaxConnections=10
torque.dsfactory.biztracker.pool.maxExpiryTime=3600
torque.dsfactory.biztracker.pool.connectionWaitTimeout=10
torque.dsfactory.biztracker.connection.driver =
com.microsoft.jdbc.sqlserver.SQLServerDriver
torque.dsfactory.biztracker.connection.url = jdbc:microsoft:sqlserver://####
torque.dsfactory.biztracker.connection.user = ###
torque.dsfactory.biztracker.connection.password = ####

Tony

-----Original Message-----
From: Bob [mailto:smilyguy@;rocketmail.com]
Sent: Thursday, October 24, 2002 4:43 PM
To: Turbine Torque Users List
Subject: Re: Using Torque with Struts


This might sound like a stupid question, but what from the
Torque root directory is required for Torque to run?  I
took all the Torque JARs from the lib directory and moved
them under my WEB-INF/lib directory, and placed
Torque.properties directly into the WEB-INF folder (which
the servlet is finding thanks to Netbeans).

There's a bunch of other folders in there too that I
haven't copied anywhere.  Is there a dependency on any of
these?

Secondary question...Is there anything special about the
name property of the database tag matching anything else?
I know that it should be the same as xxx-schema.xml, and
likewise in the build.properties file for Torque.

I built a relatively trivial main() app, and I get the same
error.  My Torque.properties file looks right, so I'm
starting to think I'm missing a dependency.

__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

--
To unsubscribe, e-mail:
<mailto:turbine-torque-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:turbine-torque-user-help@;jakarta.apache.org>




--
To unsubscribe, e-mail:   <mailto:turbine-torque-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-torque-user-help@;jakarta.apache.org>

Reply via email to