tag:blogger.com,1999:blog-3195885170348729753.post709637681097705930..comments2023-11-29T17:45:50.424+01:00Comments on Java mon amour: Eclipse JPA : errorDecryptingPasswordUnknownnoreply@blogger.comBlogger4125tag:blogger.com,1999:blog-3195885170348729753.post-73779859699245075732012-05-03T16:32:22.359+02:002012-05-03T16:32:22.359+02:00try generating wlfullclient.jar and putting it in ...try generating wlfullclient.jar and putting it in the classpath - after removing everything else...<br /><br />http://www.javamonamour.org/2011/10/wlfullclientjar.htmlvernettohttps://www.blogger.com/profile/00289134594764720847noreply@blogger.comtag:blogger.com,1999:blog-3195885170348729753.post-25337448392950419972012-05-03T11:47:27.672+02:002012-05-03T11:47:27.672+02:00incidentally the NullPointerException in the getBu...incidentally the NullPointerException in the getBundle needs some other fix... otherwise you can't see the error message.<br />Anyway I got so disgusted by Eclipse that I promised myself to steer away from it for some time.vernettohttps://www.blogger.com/profile/00289134594764720847noreply@blogger.comtag:blogger.com,1999:blog-3195885170348729753.post-56248790120730756332012-05-03T11:45:46.318+02:002012-05-03T11:45:46.318+02:00it worked here...
make sure you also provide platf...it worked here...<br />make sure you also provide platform.oracle in the persistence.xml.<br /><br />but honestly I am giving up on Eclipse JPA, it's simply too problematic.... I will use traditional javax.sql classes and hard code SQL. Eclipse = CRAP.vernettohttps://www.blogger.com/profile/00289134594764720847noreply@blogger.comtag:blogger.com,1999:blog-3195885170348729753.post-28391274017429319202012-05-03T11:39:56.434+02:002012-05-03T11:39:56.434+02:00Thank you very much for this post; i'm trying ...Thank you very much for this post; i'm trying to go through this since yesterday.<br />i used your AESEncryptor class to encrypt my password and i replace my password in the persistence.xml by the encrypted one but it does not work. i got this:<br /><br />[EL Info]: 2012-05-03 10:35:01.153--ServerSession(20355494)--EclipseLink, version: Eclipse Persistence Services - 2.3.2.v20111125-r10461<br />[EL Severe]: 2012-05-03 10:35:01.781--ServerSession(20355494)--[EL Severe]: 2012-05-03 10:35:01.781--ServerSession(20355494)--java.lang.NullPointerException<br />Exception in thread "main" javax.persistence.PersistenceException: java.lang.NullPointerException<br /> at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:517)<br /> at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getDatabaseSession(EntityManagerFactoryDelegate.java:188)<br /> at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:277)<br /> at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:294)<br /> at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:272)<br /> at org.persistence.Main.main(Main.java:16)<br />Caused by: java.lang.NullPointerException<br /> at java.util.ResourceBundle.getBundle(Unknown Source)<br /> at org.eclipse.persistence.exceptions.i18n.ExceptionMessageGenerator.getHeader(ExceptionMessageGenerator.java:95)<br /> at org.eclipse.persistence.exceptions.EclipseLinkException.toString(EclipseLinkException.java:253)<br /> at org.eclipse.persistence.logging.DefaultSessionLog.log(DefaultSessionLog.java:151)<br /> at org.eclipse.persistence.internal.sessions.AbstractSession.log(AbstractSession.java:3100)<br /> at org.eclipse.persistence.internal.sessions.AbstractSession.logThrowable(AbstractSession.java:4293)<br /> at org.eclipse.persistence.internal.sessions.AbstractSession.handleSevere(AbstractSession.java:4422)<br /> at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:421)<br /> at org.eclipse.persistence.sessions.server.ConnectionPool.buildConnection(ConnectionPool.java:216)<br /> at org.eclipse.persistence.sessions.server.ConnectionPool.startUp(ConnectionPool.java:504)<br /> at org.eclipse.persistence.sessions.server.ServerSession.connect(ServerSession.java:484)<br /> at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:633)<br /> at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:208)<br /> at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:488)<br /> ... 5 moreparfitohttps://www.blogger.com/profile/09064734410558694899noreply@blogger.com