-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug Report: Payara Tools 2.3.0 with Eclipse 2023-06 after deploying an EAR the application cannot be reached (HTTP 404 error) / FISH-7720 #74
Comments
Greetings @angoinetum , Payara Platform 5 Community support has ended, please migrate your environment to Payara Platform 6 and verify if this issue affects its current release. If you encounter any issues or have trouble transforming your applications and migrating them to Payara Platform 6 and if you want to remain on Payara Platform 5, you may consider acquiring a Payara Enterprise subscription. Best Regards, |
I used Eclipse Transformer in command line to migrate the Maven project example (in order to use JakartaEE 10), and I reproduced the same bug when deploying the EAR with Payara Tools Eclipse plugin 2.3.0 and Payara Server Full Profile Community 6.2023.7 After deploying manually the EAR using the web admin interface (http://localhost:4848), when accessing the URL http://localhost:8080/web-application/hello I have the correct content displayed: HelloService says: hello! |
Hi @angoinetum, I was able to reproduce the error you have been facing and have escalated this to the platform development team as Thank you, |
Hi @angoinetum, After thorough investigation was made by our engineers, the following observations were made:
However, it was revealed that the issue stemmed from a package misconfiguration in the file 'HelloServiceImpl.java' located at 'local-ejb-injection-master\service-ejb-impl\src\main\java\ee\mrts\service'. The package was corrected from 'ee.mrts.servlet' to 'ee.mrts.service'. This fix resolved the deployment issues encountered in all the aforementioned scenarios. Would you please confirm if changing the package to 'ee.mrts.service' has fixed the issue on your end as well? Thank you, |
Hi @Elifzeynepedman, I do not have this package misconfiguration in my source files. Best regards. |
Hi @angoinetum, Could you please upgrade the located application-ear/pom.xml to version 3.3.0. Upgrading the maven-ear-plugin resolves the issue you are facing. Thank you, |
Hi @Elifzeynepedman, Sorry but after upgrading the maven-war-plugin to version 3.3.0 and to the latest version 3.4.0, I have the same bug. I reproduced the bug with the latest Eclipse JEE 2023-12, Payara Tools version 2.3.0, Payara Full Server 6.2023.12, using OpenJDK Eclipse Temurin Hotspot 11.0.21+9. I recorded a video that reproduces the bug: https://www.grosfichiers.com/QhPnsBPbNPC |
Brief Summary
After deploying an EAR within Eclipse 2023-06 and Payara Tools 2.3.0 with Payara Server Community 5.2022.5 (JDK Eclipse Temurin jdk-11.0.17.8-hotspot) we have an 404 error whereas the EAR was successfully deployed.
If the EAR is manually deployed using Payara web admin interface (http://localhost:4848), the application is deployed and can be reached with a browser using the URL: http://localhost:8080/web-application/hello
Maven project example used to reproduce this bug: https://github.com/mrts/local-ejb-injection
Expected Outcome
When navigating to the application URL http://localhost:8080/web-application/hello with a browser the following message is displayed:
HelloService says: hello!
Current Outcome
HTTP 404 error
Reproducer
Operating System
Windows 11
JDK Version
Eclipse Temurin JDK jdk-11.0.17.8-hotspot
Ecosystem Tool
Eclipse IDE Plugin
The text was updated successfully, but these errors were encountered: