mbien opened a new issue, #7676:
URL: https://github.com/apache/netbeans/issues/7676

   ### Apache NetBeans version
   
   Apache NetBeans 22
   
   ### What happened
   
   There is some support for mvnd since NB 13 and generally works ok for common 
build tasks.
   
   However, the stop button can cause problems under some circumstances. It 
terminates the process tree, the JVM may not be in the tree of the mvnd process 
though (unless it runs for the first time and is not a reused daemon yet). 
Pressing stop will kill the mvnd process, but the "build" will continue running 
in the daemon.
   
   what works:
    - pressing build, run etc and never pressing stop (let everything exit 
naturally)
    - killing the child JVM via shell will also work since it will cause 
"regular" shutdown
    - pressing run while having no mvnd daemons active -> stop will work since 
it kills the whole process tree which still includes the daemon (it seems to 
detach once idle)
    
   what doesn't work / reproducer:
    1) press build and wait till it finishes (there is now a daemon available)
    2) press run (program runs as child of the daemon, the mvnd client process 
won't have any children)
    3) press stop (this will kill the mvnd client process only, rest will 
continue running)
    
   workaround:
   run `mvnd --stop` _before_ running projects, or clean up the processes 
periodically
   
   ### Language / Project Type / NetBeans Component
   
   java maven project
   
   ### How to reproduce
   
   see above
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   linux
   
   ### JDK
   
   22.0.2, Temurin
   
   ### Apache NetBeans packaging
   
   Apache NetBeans binary zip
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   Yes


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to