I don't know what's wrong,
first when i configure informix driver in JBoss I had a problem that said something about it didn't support read only mode :
" 10:29:38,583 WARN [JBossManagedConnectionPool] Throwable while
attempting to get a new connection:
org.jboss.resource.JBossResourceException: Could not create connection;
- nested throwable: (java.sql.SQLException: Read only mode not
supported) "
Then I went to ibm site, and downloaded the lastest driver version(informix JDBC V 3.0). And the error was gone but a new error apears, it say something about a ClasCastException.
"09:44:14,086 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.lang.ClassCastException) "
My aplication is just an entity bean(CMP) and a session bean (State full), the error apears as soon as JBoss try to deploy these beans