db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-2066) DisconnectException: The DDM object 0x1232 is not supported following shutdown of embedded engine while network server is running
Date Fri, 01 Apr 2011 15:37:05 GMT

    [ https://issues.apache.org/jira/browse/DERBY-2066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13014701#comment-13014701
] 

Rick Hillegas commented on DERBY-2066:
--------------------------------------

The underlying problem seems to be that the EmbeddedDriver is not registered. According to
the "Shutting down the system" section of the Developer's Guide, you have to re-register the
EmbeddedDriver before re-connecting after an orderly shutdown. The problem goes away if you
insert this statement before the second attempt to get a connection:

Class.forName(org.apache.derby.jdbc.EmbeddedDriver).newInstance();

The error message of course is utterly worthless.

> DisconnectException: The DDM object 0x1232 is not supported following shutdown of embedded
engine while network server is running
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2066
>                 URL: https://issues.apache.org/jira/browse/DERBY-2066
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Client, Network Server
>    Affects Versions: 10.3.1.4
>         Environment: JDK 142 windows
>            Reporter: Daniel John Debrunner
>              Labels: derby_triage10_5_2
>         Attachments: Test_2066.java
>
>
> Running all within the same JVM.
> start network server using api
> connect to database using client
> close connection
> shutdown engine (not network server) using jdbc:derby:;shutdown=true
> connect to database using client - FAILS
> Caused by: org.apache.derby.client.am.DisconnectException: The DDM object 0x1232 is not
supported.  The connection has been terminated.
> 	at org.apache.derby.client.net.NetConnectionReply.doObjnsprmSemantics(Unknown Source)
> 	at org.apache.derby.client.net.NetConnectionReply.parseCommonError(Unknown Source)
> 	at org.apache.derby.client.net.NetConnectionReply.parseSecurityCheckError(Unknown Source)
> 	at org.apache.derby.client.net.NetConnectionReply.parseSECCHKreply(Unknown Source)
> 	at org.apache.derby.client.net.NetConnectionReply.readSecurityCheck(Unknown Source)
> 	at org.apache.derby.client.net.NetConnection.readSecurityCheckAndAccessRdb(Unknown Source)
> 	at org.apache.derby.client.net.NetConnection.flowSecurityCheckAndAccessRdb(Unknown Source)
> 	at org.apache.derby.client.net.NetConnection.flowUSRIDPWDconnect(Unknown Source)
> 	at org.apache.derby.client.net.NetConnection.flowConnect(Unknown Source)
> 	at org.apache.derby.client.net.NetConnection.<init>(Unknown Source)
> 	at org.apache.derby.client.net.ClientJDBCObjectFactoryImpl.newNetConnection(Unknown
Source)
> 	... 33 more

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message