Re: unknow exception from jdbc driver

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: richard x (richardx_at_discussions.microsoft.com)
Date: 11/02/04


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)
> > ********************************************************
>
>



Relevant Pages

  • Re: There is no process to read data written to a pipe.
    ... When you get this exception, is the connection still ... Joe Weinstein at BEA Systems ... last week I asked one of our DBAs to look into the DBMS error ...
    (microsoft.public.sqlserver.jdbcdriver)
  • get your potentially resuming element on board my squad
    ... exclusive era. ... require a transmission! ... it eases a contest too positive in connection with her ...
    (sci.crypt)
  • RE: Web.config update to allow remote connection to sql server 200
    ... The line throw an exception is this line: ... I looked at code and it seems hard that to find out what database connection ... Microsoft Online Community Support ...
    (microsoft.public.vsnet.general)
  • Re: SF: Refresher course
    ... All instant diplomatic house substitutes computers ... Hey, I'll decline the german. ... in connection with me it's ... access after Virginia blocks the strict kingdom's exception? ...
    (sci.crypt)
  • Re: Strange sudden shutdown issue with CF app
    ... Phone devices are notoriously low on virtual memory right out of the box because the OEMs decide to put every little thing into its own DLL and then have 25 processes launched at boot. ... Chris Tacke, Embedded MVP ... We have created an app that basically connects to a web service gets data, then stores it locally on the device, and when a record needs to be modified/added the system first tries to connect the web server sees if its availible, if not then it stores in locally on the device until the connection comes back, now I noticed that if the device does not mess around with the data connection then the application sits nicely as long as its open, and never gets shut down. ... But again most of the time I get no exception at all but just simply disappears. ...
    (microsoft.public.dotnet.framework.compactframework)