Oracle Wallet Configuration [message #1765879] |
Wed, 14 June 2017 03:37  |
Eclipse User |
|
|
|
Hi,
I am successfully able to connect to my db using oracle wallet from a jdbc thin driver. When i am trying to do the same using eclipselink it is giving invalid username password.
Here is my configuration
JDBC url : jdbc:oracle:thin:/@orcl
Driver : oracle.jdbc.OracleDriver
i skipped user/password as oracle wallet contains them
Entity manager is not getting created with the following exception
javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
Error Code: 1017
at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:762)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:204)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:304)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:336)
at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:309)
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.43439 seconds