can you share the whole stack please?

Depending your version maybe try to add in properties:

DataSourceCreator = dbcp



Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau


2014-05-28 22:09 GMT+02:00 Nina Kumar <[email protected]>:

> I have created custom Cipher class and put jar with the class in catalina
> base lib.
> The catalina home has openejb-core.jar
> But i am getting below error.
>
> Caused by: java.lang.NoClassDefFoundError:
> org/apache/openejb/resource/jdbc/PasswordCipher
> at
> org.apache.openejb.resource.jdbc.BasicDataSourceUtil.getPasswordCipher(BasicDataSourceUtil.java:
>
> public class AESPasswordCipher implements PasswordCipher
>
>                <Resource id="asynclogging/jdbc/test"
> type="javax.sql.DataSource">
>         # tomcat pool configuration
>         jdbcDriver = com.microsoft.sqlserver.jdbc.SQLServerDriver
>         jdbcUrl = jdbc:sqlserver://****:1433;databaseName=TEST
>         userName = test
>                               password =
> 1RwfeJY8mclgyN/TH13LGWgIGeFyu6Eth11jHKIBADY=
>                               passwordCipher =
> com.jdbc.cipher.AESPasswordCipher
>         validationQuery = SELECT 1
>         LogSql = true
>     </Resource>
> 13
> Thank You
>
> Sent from Yahoo Mail on Android
>
>

Reply via email to