adnanhemani commented on issue #1254:
URL: https://github.com/apache/polaris/issues/1254#issuecomment-2753253922

   @snazy, as committer of #1082 - if you have any tips, it would be greatly 
appreciated. Here's where I'm at thus far:
   * I've tried to swap the now-nonexistent 
`polaris-quarkus-admin-*-runner.jar` (due to changes in #1082) with the 
`quarkus-run.jar`, which per my understanding is the new runner jar for the 
`admin` module (as seen by [L39 in 
`run.sh`](https://github.com/apache/polaris/pull/1082/files#diff-8ecbdc4cc60c3f26f9f2f88d6e1943c37554f8647ae5e07a13961f3f989f6280R39)
   * However, I'm still getting the same error as a few comments above:
   ```
   ahemani@F7Q5C90CJX polaris % docker run --rm -it 
apache/polaris-admin-tool:1.0.0-incubating-SNAPSHOT       
   INFO exec -a "java" java -XX:MaxRAMPercentage=80.0 -XX:+UseParallelGC 
-XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 
-XX:AdaptiveSizePolicyWeight=90 -XX:+ExitOnOutOfMemoryError -cp "." -jar 
/deployments/quarkus-run.jar 
   INFO running in /deployments
   Error: Could not find or load main class 
io.quarkus.bootstrap.runner.QuarkusEntryPoint
   Caused by: java.lang.ClassNotFoundException: 
io.quarkus.bootstrap.runner.QuarkusEntryPoint
   ```
   
   ^This is after me attempting to change the Docker image by making the 
following changes in the admin Dockerfile (mirrored from the `server` 
Dockerfile):
   ```
   COPY --chown=polaris:polaris build/quarkus-app/*.jar 
/deployments/quarkus-run.jar
   COPY --chown=polaris:polaris build/quarkus-app/app/ /deployments/app/
   COPY --chown=polaris:polaris build/quarkus-app/quarkus/ /deployments/quarkus/
   
   ENTRYPOINT [ "java", "-jar", "/deployments/quarkus-run.jar" ]
   #ENV JAVA_APP_JAR="/deployments/quarkus-run.jar"
   ```
   
   I understand I'm not using the `run.sh` file for running `quarkus-run.jar`, 
but looking at the shell code itself, it does not seem to be doing anything 
complex on its own. Running using `java` CLI does not seem to be doing anything 
too different. Is there anything that stands out?
   
   ----
   
   This is blocking the Getting Started module with EclipseLink, as the Docker 
image for that Getting Started requires both the server and admin modules to be 
able to run. I'm hoping to use this Docker image to enhance our Getting Started 
experience on all Cloud Providers - so anything that might help unblock me 
would be greatly appreciated!


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