Roall Lein-Killi wrote:
> 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!
Uh, I think that your mail client is broken, or you have some funny
setting on. It's kind of hard to read messages without line breaks...
This sounds very weird. I can only say that I'm using MySQL and
the code is working just fine for me. I'd appreciate if you downloaded
Turbine sources, put a bunch of Log.note() throughout the code and
tried to narrow down the problem.
Rafal
--
Rafal Krzewski
Senior Internet Developer
mailto:[EMAIL PROTECTED]
+48 22 8534830 http://e-point.pl
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]