0 Replies Latest reply on Dec 6, 2013 2:14 AM by Alok Agrawal

    Couldn't initialize OracleLobHandler because Oracle driver classes are not available

    Alok Agrawal Newbie

      Hi Friends,

       

      I am facing following exception when I run application. War file is getting deployed successfully, also I have succesffully created datasources in jboss admin using loaded oracle driver by deploying ojdbc6.jar. But when I run this application it gives me following exception. Can any help me in this?

       

      Application is running on JBoss EAP 6.1 with JDK 1.6 and oracle DB version is 11g.

       

      com.business.exception.AbcSystemException: Could not create Oracle LOB; nested

      exception is org.springframework.dao.InvalidDataAccessApiUsageException:

      Couldn't initialize OracleLobHandler because Oracle driver classes are not available.

      Note that OracleLobHandler requires Oracle JDBC driver 9i or higher!;

      nested exception is java.lang.ClassNotFoundException: oracle.sql.BLOB from

      [Module "org.jboss.ironjacamar.jdbcadapters:main" from local module loader @1f25fefa

      (finder: local module finder @7786df0f (roots: /app/jboss/jboss-eap-6.1/modules,/app/jboss/jboss-eap-6.1/modules/system/layers/base,/app/user_domains/dfs/jboss61domains/dfs-dev/modules))]

       

       

      Any help would be highly appreciated.