tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nina Kumar <ninaan...@yahoo.com>
Subject Re: Tomee 1.6 Custom JDBC Factory not working
Date Wed, 28 May 2014 20:09:52 GMT
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


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