On Thu, 27 Jun 2002 07:40, you wrote:
> Can somebody provide a clue of how it's possible that the turbine security
> system database functionality can be working accessing the database without
> a problem but not the same for the sample "Insert Entry" form?
The Turbine security system in 2.2b1 still uses the old "coupled" version of
Torque (org.apache.turbine.torque package).
> This because I'm getting an Exception when using the "Insert Entry"
> functionality, precisely when doing:
>
> dbMap = Torque.getDatabaseMap("webapp") at RdfMapBuilder.java
>
> After debugging my guess is, the decoupled Torque has not been initialized
> because MapBuilder peer classes have not build their DataBaseMap dbMap
> member objects, here I have a question, who is supposed to do the
> Torque.init() method call? It's assumed that as developer I should do it or
> not? I'm assuming that the framework somewhere, sometime should do it but
> I'm not sure, or is this a .properties file issue?
I am not sure about this, I haven't had any experience with the decoupled
Torque so I am not sure where Torque.init() should be called.
Regards,
-- Rodney
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>