Skip to content
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: StackOverflowError due to Eclipselink loop ? #6785

Closed
AdolfGalland opened this issue Jun 27, 2024 · 7 comments
Closed

Bug Report: StackOverflowError due to Eclipselink loop ? #6785

AdolfGalland opened this issue Jun 27, 2024 · 7 comments
Assignees

Comments

@AdolfGalland
Copy link

AdolfGalland commented Jun 27, 2024

Brief Summary

Simple web application used as test case for jpa works fine with payara-6.2023.3.
Cannot deploy it on payara-6.2024.6, there is a StackOverflowError and the stack trace repeats the same lines lots of times.
Certainly related to bug 6568 ,closed for lack of information.
Stack trace of the exception taken from server log:
StackTrace.txt

Expected Outcome

The application should be deployed

Current Outcome

Application not deployed

Reproducer

The test application was created with Netbeans wizard "Jsf pages from entity classes", which is completely messed up, and partially corrected.
Here is the relevant part:
simple.zip

Operating System

Windows 11 pro

JDK Version

openjdk version "17.0.4.1"

Payara Distribution

Payara Server Full Profile

@AdolfGalland AdolfGalland added Status: Open Issue has been triaged by the front-line engineers and is being worked on verification Type: Bug Label issue as a bug defect labels Jun 27, 2024
@Elifzeynepedman
Copy link

Hi @AdolfGalland,

Many thanks for bringing this issue to our attention.

Could you please provide a simple-to-follow scenario on how to reproduce this on the latest version? A reproducer should ideally follow the SSCCE rules: http://www.sscce.org/. It will greatly help us to find the cause and fix it.

Thank you,
Elif

@Elifzeynepedman Elifzeynepedman added Status: Pending Waiting on the issue requester to give more details or share a reproducer and removed Status: Open Issue has been triaged by the front-line engineers and is being worked on verification labels Jul 12, 2024
@AdolfGalland
Copy link
Author

In the first post I attached a very simple Netbeans project which deploys well on Glassfish and payara-6.2023.3, but fails on payara-6.2024.6. Don't know what to add.

@Elifzeynepedman Elifzeynepedman added Status: Open Issue has been triaged by the front-line engineers and is being worked on verification and removed Status: Pending Waiting on the issue requester to give more details or share a reproducer labels Jul 18, 2024
@Elifzeynepedman
Copy link

Hi @AdolfGalland,

This project is neither a Maven nor a Gradle project and does not include an EAR or WAR file. To upload it to Payara, I manually created a WAR file. However, during deployment, I encountered the following error:

Error occurred during deployment: JNDI lookup failed for the resource: Name: [SimplerPU], Lookup: [portinerieDB], Type: [javax.sql.DataSource] -- Lookup failed for 'portinerieDB' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming}. Please see server.log for more details.

This error occurs because the project relies on an external portinerieDB data source that isn't configured within the project, leading to the JNDI lookup failure during deployment.

Could you please provide an reproducer that can be deployed on Payara Server without this issue?

Thank you,
Elif

@Elifzeynepedman Elifzeynepedman added Status: Pending Waiting on the issue requester to give more details or share a reproducer and removed Status: Open Issue has been triaged by the front-line engineers and is being worked on verification labels Aug 9, 2024
@github-actions github-actions bot added Status: Abandoned User has not supplied reproducers for bug report, soon to be closed if user doesn’t come back and removed Type: Bug Label issue as a bug defect Status: Pending Waiting on the issue requester to give more details or share a reproducer labels Aug 15, 2024
Copy link

Greetings,
It's been more than 5 days since we requested more information or an update from you on the details of this issue. Could you provide an update soon, please?
We're afraid that if we do not receive an update, we'll have to close this issue due to inactivity.

@AdolfGalland
Copy link
Author

AdolfGalland commented Aug 16, 2024

Sorry, I cannot help. The problem is on persistence, in my environment I use Mysql. The example I provided uses a single table (entity), but it is necessary, it should exist and you need a connection pool and jdbc resource to access it. I can explain better what is needed, but I think some manual steps are inevitable to deploy the project.

Copy link

Greetings,
It's been more than 5 days since this issue was identified as abandoned.
We have closed this issue due to inactivity, please feel free to re-open it if you have more information to share.

@github-actions github-actions bot removed the Status: Abandoned User has not supplied reproducers for bug report, soon to be closed if user doesn’t come back label Aug 22, 2024
@donalebro
Copy link

I had the same issues as @AdolfGalland, Replacing the Eclipse modules with 4.0.2 resolved the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants