gnodet commented on issue #500:
URL: https://github.com/apache/maven-mvnd/issues/500#issuecomment-1111934426

   > I might have been too early with my verdict:
   > 
   > ```
   > 08:40:40.839 I Dispatch message: KeepAlive
   > 08:40:40.939 I Dispatch message: KeepAlive
   > 08:40:41.039 I Dispatch message: KeepAlive
   > 08:40:41.140 I Dispatch message: KeepAlive
   > 08:40:41.240 I Dispatch message: KeepAlive
   > 08:40:41.340 I Dispatch message: KeepAlive
   > 08:40:41.441 I Dispatch message: KeepAlive
   > 08:40:45.930 I Dispatch message: KeepAlive
   > 08:40:46.030 I Dispatch message: KeepAlive
   > 08:40:46.038 E Error dispatching events
   > org.mvndaemon.mvnd.common.DaemonException$RecoverableMessageIOException: 
Could not write message KeepAlive to '/127.0.0.1:41476'.
   >    at 
org.mvndaemon.mvnd.common.DaemonConnection.dispatch(DaemonConnection.java:116)
   >    at org.mvndaemon.mvnd.daemon.Server.lambda$handle$3(Server.java:500)
   >    at java.lang.Thread.run(Thread.java:748)
   > Caused by: java.io.IOException: Broken pipe
   >    at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
   >    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
   >    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
   >    at sun.nio.ch.IOUtil.write(IOUtil.java:51)
   >    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:470)
   >    at 
org.mvndaemon.mvnd.common.DaemonConnection$SocketOutputStream.writeWithNonBlockingRetry(DaemonConnection.java:275)
   >    at 
org.mvndaemon.mvnd.common.DaemonConnection$SocketOutputStream.writeBufferToChannel(DaemonConnection.java:263)
   >    at 
org.mvndaemon.mvnd.common.DaemonConnection$SocketOutputStream.flush(DaemonConnection.java:257)
   >    at java.io.DataOutputStream.flush(DataOutputStream.java:123)
   >    at 
org.mvndaemon.mvnd.common.DaemonConnection.dispatch(DaemonConnection.java:113)
   >    ... 2 common frames omitted
   > 08:40:47.656 D Expiration check running
   > 08:40:47.694 D Storing daemon stop event: after the daemon was no longer 
found in the daemon registry
   > 08:40:47.698 I Daemon will be stopped at the end of the build after the 
daemon was no longer found in the daemon registry
   > 08:40:47.698 D Stop as soon as idle requested. The daemon is busy.
   > 08:40:47.698 I Updating state to: StopRequested
   > 08:40:47.700 D daemon stop has been requested. Sleeping until state 
changes.
   > 08:40:58.005 D Expiration check running
   > ```
   > 
   > I'm going to try with `0.7.1` to rule out a regression from 0.8.0
   > 
   > @Tibor17 added the `-e` flag and will report back 😉
   
   I don't think this exception is related to the problem.  The message 
indicates the daemon could not be found in the registry, which is usually the 
case when the registry is manually deleted.  I also suspect the exception just 
being a side effect of the daemon trying to stop (because of the registry 
problem).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to