Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes JDBC and Relational Databases and the fly likes Jconn Login Failed Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Jconn Login Failed Error" Watch "Jconn Login Failed Error" New topic

Jconn Login Failed Error

Andy Holm
Ranch Hand

Joined: Jul 03, 2008
Posts: 86
I am trying to upgrade an application from java 1.3 to Java 1.5 so
that I can use jconn3.jar instead of jconn2.jar. When I try testing
the application using Java 1.5, I get the following error (this
happens using both jconn2 and jconn3):

SQLException: JZ00L: Login failed. Examine the SQLWarnings chained to
this exce
ption for the reason(s).
java.sql.SQLException: JZ00L: Login failed. Examine the SQLWarnings
chained to
this exception for the reason(s).
at com.sybase.jdbc2.jdbc.ErrorMessage.raiseError
at com.sybase.jdbc2.tds.Tds.processLoginAckToken(
at com.sybase.jdbc2.tds.Tds.doLogin(
at com.sybase.jdbc2.tds.Tds.login(
at com.sybase.jdbc2.jdbc.SybConnection.tryLogin
at com.sybase.jdbc2.jdbc.SybConnection.regularConnect
at com.sybase.jdbc2.jdbc.SybConnection.<init>
at com.sybase.jdbc2.jdbc.SybConnection.<init>

Any ideas what might be wrong? I don't have administrator privileges
on the computer I must test on so I can't run a tool such as RIBO to
debug. Any debugging tips I could try?

I agree. Here's the link:
subject: Jconn Login Failed Error
It's not a secret anymore!