I'm trying tdk1.1a10 with IBM JDK 1.3 and postgresql 7.0.2 with and patched
jdbc driver that works.
When I try to log in tru a form in a velocity template using the LoginUser
action I don't get logged in.
The exception catched in LoginUser (catch TurbineSecurityException e) is a
DataBackendException with the message = "Failed to check account's presence"
Then I overrided LoginUser (by classpath) and tested to put the code in
DBUserManager.accountExists(String username) directly in LoginUser:
Criteria criteria = new Criteria();
criteria.add(TurbineUserPeer.USERNAME, username)
java.util.Vector users1 = TurbineUserPeer.doSelect(criteria);
java.util.Vector users2 = TurbineUserPeer.selectAllUsers(criteria);
users1 has 1 element.
users2 has 2 elements (I have two users in the db)
BUT the User objects are empty!!
The TURBINE_LOG says:
-- WARNING -- A DBConnection was finalized, without being returned to the
ConnectionPool it belonged to
and then I get thrown into DebuggingException("Family waiting") :-)
Note: If I get the connection myself and run a sql statement I manage to
retrive an result.
regards
killi
--
Penguins are nice animals -
if you get to know them!
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search:
Problems?: [EMAIL PROTECTED]
- Re: Turbine security (TurbineUserPeer) - Cannot login cau... Roall Lein-Killi
- Re: Turbine security (TurbineUserPeer) - Cannot logi... Rafal Krzewski
