activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruce Snyder" <bruce.sny...@gmail.com>
Subject Re: Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver' caused by java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
Date Thu, 15 Jan 2009 19:10:16 GMT
On Thu, Jan 15, 2009 at 11:59 AM, anan12 <pavan.anantha@qwest.com> wrote:
>
> When I try to create Database persistence(modifying the activemq.xml), ran
> into the following error "Can not load JDBC driver class
> oracle.jdbc.driver.OracleDriver" . CLASSPATH has the oracleDriver class, no
> clue what else causing this error.
> I appreciates any help on this.
> Here is the part of the error info
...
> Caused by: java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
>    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>    at java.security.AccessController.doPrivileged(Native Method)
>    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>    at java.lang.Class.forName0(Native Method)
>    at java.lang.Class.forName(Class.java:168)
>    at
> org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:764)

The ClassNotFoundException above indicates that the Oracle driver
cannot be found. Did you put the Oracle JDBC JAR file in the ActiveMQ
lib directory?

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/

Blog: http://bruceblog.org/

Mime
View raw message