Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » java.lang.IllegalArgumentException: eclipselink.jta.controller(java.lang.IllegalArgumentException: eclipselink.jta.controller error for Transaction type RESOURCE_LOCAL)
java.lang.IllegalArgumentException: eclipselink.jta.controller [message #1870611] Wed, 04 September 2024 05:01 Go to next message
Eclipse UserFriend
Hello Forum members,

I have been facing the below error when I use eclipselink 4.0.2 and my java version is 21. Unable to understand what could be the reason for the below issue. I didn't have this issue when I was using eclipselink-2.7.10. Appreciate any help to find and resolve the issue?

Please find the persistence.xml file as attachment

Error message:

{"log":"----------\u003e Parent Classloader:\r\n","stream":"stdout","time":"2024-09-04T07:47:31.78616367Z"}
{"log":"java.net.URLClassLoader@76508ed1\r\n","stream":"stdout","time":"2024-09-04T07:47:31.786170771Z"}
{"log":"\n","stream":"stdout","time":"2024-09-04T07:47:31.786177102Z"}
{"log":"Internal Exception: jakarta.persistence.PersistenceException: Exception [EclipseLink-28018] (Eclipse Persistence Services - 2.7.6.v20200131-b7c997804f): org.eclipse.persistence.exceptions.EntityManagerSetupException\n","stream":"stdout","time":"2024-09-04T07:47:31.786183531Z"}
{"log":"Exception Description: Predeployment of PersistenceUnit [svc1] failed.\n","stream":"stdout","time":"2024-09-04T07:47:31.786190318Z"}
{"log":"Internal Exception: java.lang.IllegalArgumentException: eclipselink.jta.controller\n","stream":"stdout","time":"2024-09-04T07:47:31.786196857Z"}
{"log":"\u0009at org.eclipse.persistence.exceptions.PersistenceUnitLoadingException.exceptionSearchingForPersistenceResources(PersistenceUnitLoadingException.java:129) ~[org.eclipse.persistence.core-2.7.6.jar:?]\n","stream":"stdout","time":"2024-09-04T07:47:31.786204066Z"}
{"log":"\u0009at org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactoryImpl(PersistenceProvider.java:118) ~[eclipselink-4.0.2.jar:4.0.2]\n","stream":"stdout","time":"2024-09-04T07:47:31.786211113Z"}
{"log":"\u0009at org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(PersistenceProvider.java:191) ~[eclipselink-4.0.2.jar:4.0.2]\n","stream":"stdout","time":"2024-09-04T07:47:31.786218194Z"}
{"log":"\u0009at jakarta.persistence.Persistence.createEntityManagerFactory(Persistence.java:90) ~[jakarta.persistence-api-3.2.0.jar:3.2.0]\n","stream":"stdout","time":"2024-09-04T07:47:31.786225172Z"}


Thanks,
S. Nageswa Rao
Re: java.lang.IllegalArgumentException: eclipselink.jta.controller [message #1873423 is a reply to message #1870611] Mon, 16 December 2024 08:48 Go to previous message
Eclipse UserFriend
Are you sure you are using the version you think you are? The error shows "Eclipse Persistence Services - 2.7.6.v20200131-b7c997804f".
Previous Topic:Way to prevent eclipse link inserting nulls when using circular foreign keys
Next Topic:java.sql.SQLException: Closed Resultset: next
Goto Forum:
  


Current Time: Fri Nov 07 17:46:16 EST 2025

Powered by FUDForum. Page generated in 0.03887 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top