Hi,
--- touchmyheart <[EMAIL PROTECTED]> wrote:
>
> but the error happened,in Jetspeed.log file:
>
> [15:48:01,216 WARN ] IDBroker is being used with db
> 'bookstore',which does
> not support transactions. IDBroker attempts to use transactions to
> limit
> the possibility of duplicate key generation. Without transactions,
> duplicate key generation is possible if multiple JVMs are used or
> other
> means are used to write to the database.
> [15:48:01,226 INFO ] IDBroker thread was started.
> [15:48:01,296 WARN ] A DBConnection was finalized, without being
> returned to
> the ConnectionPool it belonged to
> ......................................
>
I don't see any errors - just 2 WARNings and an INFO message.
The first WARN says you are using a db that does not support
transactions - probably hsql.
The second WARN seems wierd as you don't seem to be getting any
connections and thus cannot be faulted for not releasing them ;-)
Which means it might be a Torque internal problem - so try the
torque-user mailing list.
> /*
> * Initializing Torque
> */
> Torque.init("Torque.properties");
>
> .............
>
> my question is:
>
> in Jetspeed,do i need to write some code instead of
> 'Torque.init("Torque.properties")'?
>
Torque multiple DB connections, if you are working with the "default"
connection that jetspeed uses then this is not required in your code.
In fact, I think if you put your Torque config into the
Torque.properties file used by jetspeed it will get bootstrapped
(init'd) for you.
I am assuming that you are using the latest jetspeed from CVS that
uses Torque too?
HTH,
Chris
=====
__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>