3 Replies Latest reply on May 20, 2002 9:48 PM by mang qin

    Could not find driver class! (3.0.0RC2)

    Per Thomas Jahr Newbie

      Hi, I have checked out jboss-3.0.0RC2 from CVS. What I'm trying to do is to deploy a simple CMP 2.0 entity bean that uses Oracle 8i.

      During deployment JBoss complains about that it can't find the driver class. I suppose this means that it can't find the Oracle JDBC driver that I'm using.

      I've tried to place classes12.zip in both the lib folder and lib/ext. I guess JBoss will pick up this automagically or do I need to register the classes12.zip archive somewhere?




      The log when JBoss tries to deploy my bean:

      ...
      2002-04-30 21:28:55,154 ERROR [STDERR] java.sql.SQLException: ResourceException javax.resource.ResourceException: Could not find dri
      ver class!
      2002-04-30 21:28:55,155 ERROR [STDERR] at org.jboss.resource.adapter.jdbc.local.LocalDataSource.getConnection(LocalDataSource.java:
      105)
      2002-04-30 21:28:55,156 ERROR [STDERR] at org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.fixTableName(SQLUtil.java:38)
      2002-04-30 21:28:55,156 ERROR [STDERR] at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.(JDBCEntityBridge.java:103)

      ...


      Maybe it would be a good idea to include in the log4j output what driver class JBoss is trying to find?

      Per Thomas