tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Tomee 1.6 Custom JDBC Factory not working
Date Wed, 28 May 2014 20:41:45 GMT
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 <ninaanish@yahoo.com>:

> 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