Here is my setup:
Running
Java 5.
I have two
J2EE app servers (a dev instance and a qual instance) on the same hardware.
I have a .jar file on each server instance that use JAAS to authenticate with another server.
The .jar files share a keytab file for the authentication.
After one of the .jar files is used by an application a few times it fails completely on both servers, and the servers have to be restarted to restore order in the universe.
In trying to troubleshoot this I wanted to remove anything shared. So, I made a copy of the keytab file and made the appropriate changes in the login.config file. Since doing that I have not been able to get either to fail.
Can someone explain to what is going on? The keytab should not have had a lock on it and no one else I know can explain it.
I'll try to find the exception and post it.
Thanks,
Tom