[
https://issues.apache.org/jira/browse/DERBY-6853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15096059#comment-15096059
]
Black & White commented on DERBY-6853:
--------------------------------------
*Issue 1-)* If user change own ip (which Network Server started) manually via
Operating System, Derby can't know whats going on.
*Suggest 1-)* So Derby Network Server should periodically control the ip (which
Network Server Started on) is real and usable. I don't know how doing this,
maybe ping the ip every 1 second and when receive "Could Not Connect" or
similiar problematic feedack kill itself.
*Issue 2-)* There is no command instantly kill all Network Servers. ^-h
localhost^ should doing similiar thing but you must start the server as
^0.0.0.0^ or ^localhost^
*Suggest 2-)* One command can be added to Network Server api for instantly kill
all running servers without ^-h^ or ^-p^ parameters. Because ^java -jar
derbyrun.jar server shutdown^ direct using tried shutdown the ^localhost^
> Shutdown Derby Network Server after local ip change
> ---------------------------------------------------
>
> Key: DERBY-6853
> URL: https://issues.apache.org/jira/browse/DERBY-6853
> Project: Derby
> Issue Type: Bug
> Components: Network Server
> Affects Versions: 10.12.1.1
> Environment: Microsoft Windows 7
> Reporter: Black & White
> Priority: Blocker
>
> I have some problem shutdown the Derby Engine.
> h4. Server Start;
> {code}
> java -jar derbyrun.jar server start -h 10.90.232.20
> {code}
> I have started Derby Network Server wiht above cmd command. And I have stop
> the Network Server with below command.
> h4. Server Stop;
> {code}
> java -jar derbyrun.jar server shutdown -h 10.90.232.20
> {code}
> But if i change ip of current network adapter manually +while server up+, i
> don't kill the current listening network server. Because Network Server
> started on different ip before.
> h4. Also i have tried;
> {code}
> java -jar derbyrun.jar server shutdown -h 0.0.0.0
> java -jar derbyrun.jar server shutdown -h localhost
> {code}
> But did not help. I can't reach old started Network Server. So it stuck and
> JVM don't allow start new Derby Network Server.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)