tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ninaanish@yahoo.com" <ninaan...@yahoo.com>
Subject Re: Tomee 1.6 Custom JDBC Factory not working
Date Wed, 28 May 2014 21:32:16 GMT
I tried with DataSourceCreator = dbcp

Here is the complete stacktrace.

 

 

Caused by: java.sql.SQLException: Cannot load password cipher class 'com.jdbc.cipher.AESPasswordCipher'

               at org.apache.openejb.resource.jdbc.BasicDataSourceUtil.getPasswordCipher(BasicDataSourceUtil.java:141)

               at org.apache.openejb.resource.jdbc.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:217)

               at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)

               at org.apache.openejb.resource.jdbc.managed.local.ManagedDataSource.getConnection(ManagedDataSource.java:51)

               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

               at java.lang.reflect.Method.invoke(Method.java:597)

               at org.apache.openejb.resource.jdbc.logging.LoggingSqlDataSource.invoke(LoggingSqlDataSource.java:39)

               at com.sun.proxy.$Proxy32.getConnection(Unknown Source)

               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

               at java.lang.reflect.Method.invoke(Method.java:597)

               at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)

               at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)

               at com.sun.proxy.$Proxy60.getConnection(Unknown Source)

               at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:111)

               at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77)

               ... 57 more

Caused by: java.lang.NoClassDefFoundError: org/apache/openejb/resource/jdbc/PasswordCipher

               at java.lang.ClassLoader.defineClass1(Native Method)

               at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)

               at java.lang.ClassLoader.defineClass(ClassLoader.java:615)

               at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)

               at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)

               at java.net.URLClassLoader.access$000(URLClassLoader.java:58)

               at java.net.URLClassLoader$1.run(URLClassLoader.java:197)

               at java.security.AccessController.doPrivileged(Native Method)

               at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

               at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

               at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

               at java.lang.Class.forName0(Native Method)

               at java.lang.Class.forName(Class.java:171)

               at org.apache.openejb.resource.jdbc.BasicDataSourceUtil.getPasswordCipher(BasicDataSourceUtil.java:134)

               ... 75 more

Caused by: java.lang.ClassNotFoundException: org.apache.openejb.resource.jdbc.PasswordCipher

               at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

               at java.security.AccessController.doPrivileged(Native Method)

               at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

               at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

               at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

               ... 89 more

Sent from Yahoo Mail on Android


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message