Rails Jruby 1.7.2, JBoss 7.1 Oracle (oracle_enhanced adapter)
Java::JavaLang::ClassCastException: oracle.jdbc.driver.T4CConnection cannot be cast to oracle.jdbc.OracleConnection
.
I placed jboss-deployment-structure.xml in the rails application config / directory and updated the warbler configuration to include the file in the war file:
config.webinf_files += FileList["config/jboss-deployment-structure.xml"]
After deployment, everything worked fine ... thanks a lot.
joe81 source
share