When java application connecting to back end, it uses a user id to connect database.
I am working on java web application which uses Sybase as its back end.
An id is created on a web server on which my application is deployed.
My application uses the same id to connect backend.
While running the application, I got the above error Java.sql.SQLException: JZ00L: Login failed
So, I created a login for the id in Sybase, restarted the web server.
java.sql.SQLWarning: 010KF
Along with the above exception I also got java.sql.SQLWarning: 010KF: The serer rejected your Kerberos login attempt. Most likely, this was because of a GSS (Generic Security Services) exception. Please check your Kerberos environment and configuration.
This is because; my application is Kerberos login to connect Sybase.
Hence, after created login in Sybase, I have made the login as keberized which resolved entire login issue.