3 Replies Latest reply on Jan 8, 2013 2:52 AM by Wolf-Dieter Fink

    my application does not see the oracle classes even if the driver is defined.

    Dursun KOC Newbie

      I have created the oracle module at

      $JBOSS_HOME/modules/com/oracle/ojdbc14/main

      module.xml 

      ojdbc14.jar 

      ojdbc14.jar.index

       

      the content of the module.xml is as follows.

      <module xmlns="urn:jboss:module:1.0" name="com.oracle.ojdbc14">
        <resources>
          <resource-root path="ojdbc14.jar"/>
        </resources>
        <dependencies>
          <module name="javax.api"/>
        </dependencies>
      </module>
      

       

      when I run my web application

      it fails with the following exception;

       

      [Server:comet_i5] 06:02:44,883 ERROR [stderr] (http--0.0.0.0-8100-2) Caused by: java.lang.ClassNotFoundException: oracle.sql.BLOB from [Module "deployment.Aragorn.war:main" from Service Module Loader]
      [Server:comet_i5] 06:02:44,884 ERROR [stderr] (http--0.0.0.0-8100-2)    at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
      [Server:comet_i5] 06:02:44,884 ERROR [stderr] (http--0.0.0.0-8100-2)    at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
      [Server:comet_i5] 06:02:44,885 ERROR [stderr] (http--0.0.0.0-8100-2)    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
      [Server:comet_i5] 06:02:44,885 ERROR [stderr] (http--0.0.0.0-8100-2)    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)
      [Server:comet_i5] 06:02:44,885 ERROR [stderr] (http--0.0.0.0-8100-2)    at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
      [Server:comet_i5] 06:02:44,886 ERROR [stderr] (http--0.0.0.0-8100-2)    at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
      

       

      should I also add the ojcdb14.jar into the WEB/lib of my war.