db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knut Anders Hatlen <Knut.Hat...@Sun.COM>
Subject Re: database in a an inconsistent stat, after a communications error has been detected: Connection reset by peer: socket write error
Date Sun, 13 Jun 2010 10:45:48 GMT
On 06/13/10 11:35 AM, Nadav Hoze wrote:
>
> Hi,
>
> We have a service in our company that works with derby embedded db in
> a server mode.
>
> I have an ongoing task which uses the db, and in one of the times I
> got the following exception:
>
> :52:44.961 WARN - JDBCExceptionReporter.java:77 (logExceptions) - SQL
> Error: 40000, SQLState: 08006
>
> 07:52:44.961 ERROR - JDBCExceptionReporter.java:78 (logExceptions) - A
> communications error has been detected: Connection reset by peer:
> socket write error.
>
> When I tried to reconnect to the server again I got the followings:
>
> “SQL State XJ041 Error Code 40000” Which mean by the derby manual:
>
> XJ041 - Failed to create database '/<databaseName>/', see the next
> exception for
>
> details.
>

When this error is raised, there should be more information in derby.log
on the server. The "next exception" mentioned in the error message will
hopefully explain what went wrong, and it should be available in derby.log.

-- 
Knut Anders


Mime
View raw message