I have the same problem. I'm using hypersonic has user database. I have a jar file for beans and a war file for the servlet.
It happens each time I redeploy the war file. so it is certainly a tomcat problem.
redeploying only the EJB is ok, reinitializing the database is ok too...
 
 
François
----- Original Message -----
From: Alex Radka
Sent: Tuesday, May 29, 2001 5:05 PM
Subject: [JBoss-user] JAAS security timeout?

I have JBoss setup using JAAS with the username, passwords, and roles stored in a DB.
 
Everythihng works fine, but if seems that if no one logs in for awhile, it loses some information and won't let you login unitl you restart JBoss.  Specifically, it looks like it loses the information to log into the database.
 
Not sure if problem is in JAAS, JDBCRealm, or the context manager.
 
Anyone got any ideas?
 
[EmbeddedTomcat] SettingPrincipal: rubicon
[EmbeddedTomcat] SettingPassword: rubicon
2001-05-29 10:10:37 - ContextManager: JDBCRealm: The database connection is null or was found to be closed. Trying t
o re-open it.
2001-05-29 10:10:37 - ContextManager: JDBCRealm: There was an SQLException while in authenticate: rubicon
2001-05-29 10:10:37 - ContextManager: JDBCRealm: SQLException: java.sql.SQLException: Invalid authorization specific
ation: Access denied for user: 'dbadmin@localhost' (Using password: NO)
 
After reboot -
[EmbeddedTomcat] SettingPrincipal: rubicon
2001-05-29 10:19:20 - ContextManager: JDBCRealm: Auth ok, user=rubicon
[EmbeddedTomcat] SettingPassword: rubicon
2001-05-29 10:19:20 - ContextManager: JDBCRealm: Controled access for rubicon R( /quaestor + /servlet/quaestor + nul
l) Ct ( )
2001-05-29 10:19:20 - ContextManager: JDBCRealm: JDBCRealm.roles: SELECT role FROM Roles WHERE username = ?
2001-05-29 10:19:20 - ContextManager: JDBCRealm: Auth ok, first role=administrator
2001-05-29 10:19:20 - ContextManager: JDBCRealm: Authentication successful for user rubicon
2001-05-29 10:19:20 - ContextManager: JDBCRealm: Auth ok, user=rubicon
[EmbeddedTomcat] SettingPrincipal: rubicon
[EmbeddedTomcat] SettingPassword: rubicon
2001-05-29 10:19:20 - ContextManager: JDBCRealm: Controled access for rubicon R( /quaestor + /servlet/quaestor + nul
l) Ct ( )
2001-05-29 10:19:20 - ContextManager: JDBCRealm: Auth ok, first role=administrator

Reply via email to