Community
Participate
Working Groups
There are 5 jpa proxy tests failed on jpa2.1 persistence jar with setup issues, seems sometimes the DB didn't setup properly, but not always, seems to be intermittent. The following are stack trace: Internal Exception: java.sql.SQLException: ORA-28150: proxy not authorized to connect as client Error Code: 28150 Local Exception Stack: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLException: ORA-28150: proxy not authorized to connect as client Error Code: 28150 at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:316) at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:312) at org.eclipse.persistence.platform.database.oracle.OracleJDBC_10_1_0_2ProxyConnectionCustomizer.customize(OracleJDBC_10_1_0_2ProxyConnectionCustomizer.java:108) at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.setCustomizer(DatasourceAccessor.java:818) at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.createCustomizer(DatasourceAccessor.java:765) at org.eclipse.persistence.sessions.server.ClientSession.addWriteConnection(ClientSession.java:731) at org.eclipse.persistence.sessions.server.ServerSession.acquireClientConnection(ServerSession.java:250) at org.eclipse.persistence.sessions.server.ClientSession.getAccessor(ClientSession.java:377) at org.eclipse.persistence.internal.sequencing.SequencingManager$Preallocation_Transaction_NoAccessor_State.getNextValue(SequencingManager.java:463) at org.eclipse.persistence.internal.sequencing.SequencingManager.getNextValue(SequencingManager.java:1067) at org.eclipse.persistence.internal.sequencing.ClientSessionSequencing.getNextValue(ClientSessionSequencing.java:70) at org.eclipse.persistence.internal.descriptors.ObjectBuilder.assignSequenceNumber(ObjectBuilder.java:359) at org.eclipse.persistence.internal.descriptors.ObjectBuilder.assignSequenceNumber(ObjectBuilder.java:318) at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.assignSequenceNumber(UnitOfWorkImpl.java:484) at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerNotRegisteredNewObjectForPersist(UnitOfWorkImpl.java:4284) at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.registerNotRegisteredNewObjectForPersist(RepeatableWriteUnitOfWork.java:518) at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerNewObjectForPersist(UnitOfWorkImpl.java:4229) at org.eclipse.persistence.internal.jpa.EntityManagerImpl.persist(EntityManagerImpl.java:496) at org.eclipse.persistence.testing.tests.jpa.proxyauthentication.ProxyAuthenticationServerTestSuite.testCreateWithProxy(ProxyAuthenticationServerTestSuite.java:154) at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:604) Caused by: java.sql.SQLException: ORA-28150: proxy not authorized to connect as client
This is a testing environment issue, need to be investigated.
I consider this one to be fixed already.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink