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