[ http://issues.apache.org/jira/browse/DERBY-51?page=all ]
David Van Couvering updated DERBY-51:
-------------------------------------
Attachment: NSinSameJVM.java
This modification to NSinSameJVM.java ensures that an embedded connection is
usable after
shutdown of the Network Server. Running the test produced no failures...
> Need NetworkServerControl shutdown API method that does not shutdown derby
> embedded
> -----------------------------------------------------------------------------------
>
> Key: DERBY-51
> URL: http://issues.apache.org/jira/browse/DERBY-51
> Project: Derby
> Type: Improvement
> Components: Network Server
> Versions: 10.0.2.0
> Reporter: Kathey Marsden
> Attachments: NSinSameJVM.java
>
> In an applcation server environment where both Network Server
> and Embedded connections are being used it is a problem when
> Network server is shutdown and deregisters the embedded driver
> and shutsdown the databases.
> this would be the signature
> /**
> * Shutdown a Network Server.
> * Shuts down the Network Server listening on the port and InetAddress
> * specified in the constructor for this NetworkServerControl object.
> *
> * @param derbyShutdown if true, shutsdown the derby embedded system . if
> false do not shutdown derby embeddded system
> * @exception Exception throws an exception if an error occurs
> */
> public void shutdown(boolean derbyShutdown) throws Exception
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira