eclipse-ee4j / cargotracker

The project demonstrates how you can develop applications with Jakarta EE using widely adopted architectural best practices like Domain-Driven Design (DDD).
https://eclipse-ee4j.github.io/cargotracker/
MIT License
342 stars 141 forks source link

Application still does not launch. #238

Closed chainhead closed 1 year ago

chainhead commented 1 year ago

Based on #104 I tried launching the application with Java 8 today. What's wrong now?

echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home
 java -version
openjdk version "1.8.0_352"
OpenJDK Runtime Environment Corretto-8.352.08.1 (build 1.8.0_352-b08)
OpenJDK 64-Bit Server VM Corretto-8.352.08.1 (build 25.352-b08, mixed mode)
mvn clean package cargo:run

cargo-tracker.log

m-reza-rahman commented 1 year ago

Have you tried launching just Payara? What happens? I suspect this is the issue that Payara 5 will not work on an Apple M2 chip. Once you verify it, we can list this as a known issue. Other that that, there may not be much we can do as it's up to the Payara folks. Do feel free to follow up here (or we can do it once you verify): https://forum.payara.fish.

chainhead commented 1 year ago

Have you tried launching just Payara? What happens?

So, mvn clean package cargo:run is not the way to launch this application on Mac?

Payara6 launched successfully. I know, you refer to Payara5. Say, I get Payara5 run successfully - how do we launch this application on Payara5? (I am n00b level w.r.t. J2EE).

My Mac is 2.6 GHz 6-Core Intel Core i7.

chainhead commented 1 year ago

So, this is what I did.

Application is now launched.

m-reza-rahman commented 1 year ago

Interesting. So this only occurs through Cargo? If so, specifically which Payara 5 version did you use? It’s possible this is simply an issue with a specific Payara 5 release.

m-reza-rahman commented 1 year ago

I have now upgraded the Payara 5 version for the Cargo plugin. I hope this resolved whatever the issue was. I do not have an ability to test on the Mac. Please re-open this issue if the problem persists.