Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-3217

Docker image debezium/server:1.5 won't start

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.5.0.Beta2
    • 1.5.0.Beta1
    • debezium-server
    • None
    • False
    • False
    • Undefined
    • Hide
      docker run -it --name debezium -p 8080:8080 --rm debezium/server:1.5
      
      Show
      docker run -it --name debezium -p 8080:8080 --rm debezium/server:1.5

      When starting the docker image (debezium/server:1.5) as a container, you get a stack trace (see below).

      Looking a bit further into the build, I noticed that the quarkus version has been updated, with a different default application packaging type as a consequence (which doesn't produce a -runner.jar anymore), see https://github.com/quarkusio/quarkus/wiki/Migration-Guide-1.12#fast-jar-as-default

       

      ls: cannot access 'debezium-server-*runner.jar': No such file or directoryls: cannot access 'debezium-server-*runner.jar': No such file or directoryException in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at io.quarkus.launcher.QuarkusLauncher.launch(QuarkusLauncher.java:58) at io.quarkus.runtime.Quarkus.launchFromIDE(Quarkus.java:96) at io.quarkus.runtime.Quarkus.run(Quarkus.java:83) at io.quarkus.runtime.Quarkus.run(Quarkus.java:42) at io.quarkus.runtime.Quarkus.run(Quarkus.java:119) at io.debezium.server.Main.main(Main.java:15)Caused by: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at io.quarkus.launcher.QuarkusLauncher.launch(QuarkusLauncher.java:56) ... 5 moreCaused by: java.lang.RuntimeException: io.quarkus.bootstrap.resolver.maven.BootstrapMavenException: Failed to locate project pom.xml for /debezium/lib/debezium-server-core-1.5.0.Beta1.jar at io.quarkus.bootstrap.IDELauncherImpl.launch(IDELauncherImpl.java:80) ... 10 moreCaused by: io.quarkus.bootstrap.resolver.maven.BootstrapMavenException: Failed to locate project pom.xml for /debezium/lib/debezium-server-core-1.5.0.Beta1.jar at io.quarkus.bootstrap.resolver.maven.workspace.LocalProject.locateCurrentProjectPom(LocalProject.java:250) at io.quarkus.bootstrap.resolver.maven.workspace.LocalProject.access$000(LocalProject.java:25) at io.quarkus.bootstrap.resolver.maven.workspace.LocalProject$WorkspaceLoader.<init>(LocalProject.java:44) at io.quarkus.bootstrap.resolver.maven.workspace.LocalProject$WorkspaceLoader.<init>(LocalProject.java:33) at io.quarkus.bootstrap.resolver.maven.workspace.LocalProject.loadWorkspace(LocalProject.java:198) at io.quarkus.bootstrap.resolver.maven.workspace.LocalProject.loadWorkspace(LocalProject.java:193) at io.quarkus.bootstrap.IDELauncherImpl.launch(IDELauncherImpl.java:62) ... 10 more
      

       

              jpechane Jiri Pechanec
              rymenantsroel Valued Customer (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: