Remove lock/unlock when re-attach session bean + add temporary error_log