[
https://issues.apache.org/jira/browse/KARAF-2924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14068331#comment-14068331
]
MD commented on KARAF-2924:
---------------------------
I see this on Windows 8.1.
When I hit ctrl-D it just sits there until I press enter. Then the exception is
thrown and karaf shuts down.
No errors appear in the log but we do get the same console output:
karaf@root()> ^D
^D
Exception in thread "Thread-24" java.nio.channels.ShutdownChannelGroupException
at sun.nio.ch.Invoker.invokeIndirectly(Invoker.java:210)
at sun.nio.ch.Invoker.invokeIndirectly(Invoker.java:301)
at
sun.nio.ch.WindowsAsynchronousServerSocketChannelImpl$AcceptTask.failed(WindowsAsynchronousServerSocketChannelImpl.java:286)
at sun.nio.ch.Iocp$EventHandlerTask.run(Iocp.java:399)
at java.lang.Thread.run(Thread.java:744)
> ShutdownChannelGroupException thrown on shutdown
> ------------------------------------------------
>
> Key: KARAF-2924
> URL: https://issues.apache.org/jira/browse/KARAF-2924
> Project: Karaf
> Issue Type: Bug
> Components: karaf-shell
> Affects Versions: 3.0.1
> Environment: Windows 7; Java build 1.7.0_51-b13; apache-maven-3.2.1
> clean install of karaf-3.0.1
> Reporter: Tom Pines
> Priority: Minor
>
> A ShutdownChannelGroupException is consistently thrown on shutdown.
> --
> Console output:
> Apache Karaf (3.0.1)
> Hit '<tab>' for a list of available commands
> and '[cmd] --help' for help on a specific command.
> Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf.
> karaf@root()> shutdown
> Confirm: halt instance root (yes/no): yes
> karaf@root()> Exception in thread "Thread-10"
> java.nio.channels.ShutdownChannelGroupException
> at sun.nio.ch.Invoker.invokeIndirectly(Invoker.java:210)
> at sun.nio.ch.Invoker.invokeIndirectly(Invoker.java:301)
> at
> sun.nio.ch.WindowsAsynchronousServerSocketChannelImpl$AcceptTask.failed(WindowsAsynchronousServerSocketChannelImpl.java:286)
> at sun.nio.ch.Iocp$EventHandlerTask.run(Iocp.java:399)
> at java.lang.Thread.run(Thread.java:744)
> C:\lib\apache-karaf-3.0.1\bin>
--
This message was sent by Atlassian JIRA
(v6.2#6252)