Re: unknow exception from jdbc driver
From: richard x (richardx_at_discussions.microsoft.com)
Date: 11/02/04
- Next message: Joe Weinstein: "Re: Kinda urgent Connection error messages"
- Previous message: jdnospam_at_hevanet.com: "Re: Kinda urgent Connection error messages"
- In reply to: Joe Weinstein: "Re: unknow exception from jdbc driver"
- Next in thread: Joe Weinstein: "Re: unknow exception from jdbc driver"
- Reply: Joe Weinstein: "Re: unknow exception from jdbc driver"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 1 Nov 2004 16:46:02 -0800
the connection is still excellent. when i use the old statement to run query
"again", there is nothing error. surprising things. i think it's bug of
sqlserver or jdbc driver.
BTW, where can get the error log of dbms.
thank you.
"Joe Weinstein" wrote:
>
>
> richard x wrote:
>
> > I get a exception from jdbc. but the exception give nothing for error cause.
> > Can anybody tell me why?
>
> Not immediately... I would check the DBMS error log. Something went
> bad in the DBMS. If you catch this exception, is the connection still
> OK, or is it dead? (I'll guess the latter).
> Joe Weinstein at BEA
>
> >
> > ****************************************************
> >
> > 2004-10-28 21:45:19,754 ERROR [Thread-10] server.Test (Test.java:111) -
> > java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]
> > java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]
> > at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
> > at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
> > at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown
> > Source)
> > at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown
> > Source)
> > at com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown
> > Source)
> > at com.microsoft.jdbc.sqlserver.tds.TDSRequest.getRow(Unknown Source)
> > at
> > com.microsoft.jdbc.sqlserver.SQLServerImplResultSet.positionCursor(Unknown
> > Source)
> > at com.microsoft.jdbc.base.BaseResultSet.next(Unknown Source)
> > at test.server.Test.getCallingData(Test.java:98)
> > at test.server.Test.processUpdateAndStopRawData(Test.java:144)
> > at test.server.Test.processTask(Test.java:88)
> > at test.server.Test.run(Test.java:139)
> > ********************************************************
>
>
- Next message: Joe Weinstein: "Re: Kinda urgent Connection error messages"
- Previous message: jdnospam_at_hevanet.com: "Re: Kinda urgent Connection error messages"
- In reply to: Joe Weinstein: "Re: unknow exception from jdbc driver"
- Next in thread: Joe Weinstein: "Re: unknow exception from jdbc driver"
- Reply: Joe Weinstein: "Re: unknow exception from jdbc driver"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|