quarkus-quinoa icon indicating copy to clipboard operation
quarkus-quinoa copied to clipboard

Support for container image build

Open priyanknarvekar opened this issue 3 years ago • 3 comments

Container image for quinoaA app build using the quarkus-container-image-jib extension, fails to start just running the application from the target directory runs fine ,

but when a container images is build from the Quinoa app project using the jib extension, the container logs throws exception/error:

The DelayedHandler was closed before any children handlers were configured. Messages will be written to stderr.
--
Tue, Jul 26 2022 6:37:40 pm | 2022-07-26 22:37:40,541 DEBUG [org.jboss.logging] (main) Logging Provider: org.jboss.logging.JBossLogManagerProvider
Tue, Jul 26 2022 6:37:40 pm |  
Tue, Jul 26 2022 6:37:40 pm | Exception in thread "main" java.nio.file.NoSuchFileException: /home/jboss/lib/deployment/deployment-class-path.dat
Tue, Jul 26 2022 6:37:40 pm | at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
Tue, Jul 26 2022 6:37:40 pm | at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
Tue, Jul 26 2022 6:37:40 pm | at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
Tue, Jul 26 2022 6:37:40 pm | at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:219)
Tue, Jul 26 2022 6:37:40 pm | at java.base/java.nio.file.Files.newByteChannel(Files.java:371)
Tue, Jul 26 2022 6:37:40 pm | at java.base/java.nio.file.Files.newByteChannel(Files.java:422)
Tue, Jul 26 2022 6:37:40 pm | at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:420)
Tue, Jul 26 2022 6:37:40 pm | at java.base/java.nio.file.Files.newInputStream(Files.java:156)
Tue, Jul 26 2022 6:37:40 pm | at io.quarkus.bootstrap.runner.DevModeMediator.doStart(DevModeMediator.java:39)
Tue, Jul 26 2022 6:37:40 pm | at io.quarkus.bootstrap.runner.DevModeMediator.doDevMode(DevModeMediator.java:29)
Tue, Jul 26 2022 6:37:40 pm | at io.quarkus.bootstrap.runner.QuarkusEntryPoint.doRun(QuarkusEntryPoint.java:45)
Tue, Jul 26 2022 6:37:40 pm | at io.quarkus.bootstrap.runner.QuarkusEntryPoint.main(QuarkusEntryPoint.java:31)

priyanknarvekar avatar Jul 26 '22 22:07 priyanknarvekar

This seems related: https://github.com/quarkusio/quarkus/issues/12601

ia3andy avatar Jul 27 '22 06:07 ia3andy

@geoand any idea why the exception is the same in this issue and in https://github.com/quarkusio/quarkus/issues/12601

ia3andy avatar Jan 16 '23 13:01 ia3andy

I would need to know what the flow is that results in this since there are multiple pieces that are in play

geoand avatar Jan 16 '23 13:01 geoand