mattcasters opened a new issue, #7717:
URL: https://github.com/apache/hop/issues/7717

   ### Apache Hop version?
   
   2.19.0-SNAPSHOT (31/07/26)
   
   ### Java version?
   
   OpenJDK 21
   
   ### Operating system
   
   Windows
   
   ### What happened?
   
   Windows 11 keeps locks on existing jars in lib/core.
   If a plugin tries to overwrite it you get an error (see below).
   The obvious solution is that to never overwrite library in `lib/core` on 
Windows systems.
   
   ```
   Failed to activate staged plugin hop-tech-parquet
   C:\VDABApps\UserApps\intel-hop-builder\hop\lib\core\avro-1.12.1.jar: Het 
proces heeft geen toegang tot het bestand omdat het door een ander
   proces wordt gebruikt
   
           at 
org.apache.hop.marketplace.install.PluginInstaller.activateStaged(PluginInstaller.java:276)
           at 
org.apache.hop.marketplace.install.PluginInstaller.activateAllPending(PluginInstaller.java:241)
           at 
org.apache.hop.marketplace.command.MarketplaceCommand$InstallCommand.run(MarketplaceCommand.java:166)
           at picocli.CommandLine.executeUserObject(CommandLine.java:2045)
           at picocli.CommandLine.access$1500(CommandLine.java:148)
           at 
picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2469)
           at picocli.CommandLine$RunLast.handle(CommandLine.java:2461)
           at picocli.CommandLine$RunLast.handle(CommandLine.java:2423)
           at 
picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2277)
           at picocli.CommandLine$RunLast.execute(CommandLine.java:2425)
           at picocli.CommandLine.execute(CommandLine.java:2174)
           at org.apache.hop.hop.Hop.main(Hop.java:131)
   Caused by: java.nio.file.FileSystemException: 
C:\VDABApps\UserApps\intel-hop-builder\hop\lib\core\avro-1.12.1.jar: Het proces 
heeft geen toegang tot het bestand omdat het door een ander
   proces wordt gebruikt
           at 
java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:92)
           at 
java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
           at 
java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
           at 
java.base/sun.nio.fs.WindowsFileCopy.copy(WindowsFileCopy.java:180)
           at 
java.base/sun.nio.fs.WindowsFileSystemProvider.copy(WindowsFileSystemProvider.java:282)
           at java.base/java.nio.file.Files.copy(Files.java:1305)
           at 
org.apache.hop.marketplace.install.PluginInstaller.activateStaged(PluginInstaller.java:272)
           ... 11 more
   Marketplace installs complete.
   ```
   
   
   ### Issue Priority
   
   Priority: 1
   
   ### Issue Component
   
   Component: Marketplace


-- 
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]

Reply via email to