||unity-dev|| Persistent attributes dropped, client can't login again

Discussion list for Unity developers. unity-dev at moock.org
Wed Jan 23 17:48:10 CST 2008


Hi all,

I am having this odd issue where a user logs out and then cannot login again - they get ALREADY_LOGGED_IN when upcOnLoginClient is called. The odd thing is, I can't recreate this error - it doesn't happen to all users. When I check the database, all the attributes for that client have been dropped, and the client is still logged in according to the client table.

I checked the log, and noticed that there was an error when the user logged out:

2008-01-23 21:29:34,697 DEBUG - 115 is being removed.
2008-01-23 21:29:34,836 ERROR - Error persisting Client: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'value' at row 1

2008-01-23 21:29:34,837 DEBUG - Client 115 has left room chatroom.

2008-01-23 21:29:34,837 DEBUG - Client 115 removed from server after 1494 seconds.



So that must have stopped the attributes from being saved to the database, I guess...  I'm wondering if anyone has experienced similar problems, and if anyone would be able to offer some advice on how to fix this problem? 

Thanks,

Drew


More information about the unity-dev mailing list