You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by lu...@sorma.com on 2003/01/10 10:37:34 UTC
Re: Problem with second db [AS400]
I found the problem!!!
If you have to connect to AS400 using Torque, you have to configure it in
this way:
torque.database.name.adapter=as400
torque.dsfactory.icaro400.factory=org.apache.torque.dsfactory.TorqueDataSourceFactory
torque.dsfactory.icaro400.pool.defaultMaxConnections=10
torque.dsfactory.icaro400.pool.maxExpiryTime=3600
torque.dsfactory.icaro400.pool.connectionWaitTimeout=10
torque.dsfactory.icaro400.connection.driver =
com.ibm.as400.access.AS400JDBCDriver
torque.dsfactory.icaro400.connection.url = jdbc:as400://system/collection
torque.dsfactory.icaro400.connection.user = user
torque.dsfactory.icaro400.connection.password = password
(Do not use adapter name "db2400" as it is said on torque doc!)
Luca Forni
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>