Bug 407578 - test-infra: several jpa proxy tests failed on jpa2.1 persistence jar with setup issues
Summary: test-infra: several jpa proxy tests failed on jpa2.1 persistence jar with set...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords: test
Depends on:
Blocks:
 
Reported: 2013-05-08 14:23 EDT by Kevin Yuan CLA
Modified: 2022-06-09 10:24 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Yuan CLA 2013-05-08 14:23:02 EDT
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
Comment 1 Kevin Yuan CLA 2013-05-08 14:24:13 EDT
This is a testing environment issue, need to be investigated.
Comment 2 Martin Grebac CLA 2014-12-10 14:29:13 EST
I consider this one to be fixed already.
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:14:26 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:24:30 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink