You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Nicolas <nl...@bregenzer.org> on 2003/09/08 02:18:40 UTC

Torque Connection

hi all

i've just finished in compiling turbine 2.3 with all its dependencies...
put i'm a little stuck at torque. if download the original torque 
version and copied the Torque.properties in my conf folder. now my 
problem is following:
i need to define a TorqueDataSourceFactory but if i use one of those 
NOTHING works anymore:

## Using commons-dbcp
torque.dsfactory.shop.factory=org.apache.torque.dsfactory.SharedPoolDataSourceFactory
torque.dsfactory.shop.factory=org.apache.torque.dsfactory.PerUserPoolDataSourceFactory

the servlet seems totally out of function:

java.lang.NullPointerException
	at org.apache.turbine.Turbine.doGet(Turbine.java:876)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)


i don't know how to continue ....

by the way what is the difference between those two above ? is there a 
good documentation for the Torque.properties file ? and what does at 
jdbc:mysql://localhost:3306/torque "torque" mean ?

thx for any insight...