[OFBiz] Users - Need Help connecting to an oracle database

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[OFBiz] Users - Need Help connecting to an oracle database

Jason Gray-2
I have download the latest version of ofbiz and built everything.  I can connect to the local derby database and everything works fine with that but when I change the entity engine file to point to the oracle database and start ofbiz, I get the following error.  I have an old version of the ofbiz and it works fine but having trouble with this one.  Any advice greatly appreciated.

9338  (main) [            UtilXml.java:242:DEBUG] XML Read 0.014s: file:/aserver/ofbiz6189/base/config/jndiservers.xml
9373  (main) [   XADataSourceImpl.java:170:WARN ] unable to load driver
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver


Thanks
jason

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: [OFBiz] Users - Need Help connecting to an oracle database

Andrew Zeneski
Most likely your JDBC driver for oracle is not in the classpath.

On Nov 28, 2005, at 11:58 AM, Jason Gray wrote:

> I have download the latest version of ofbiz and built everything.  
> I can connect to the local derby database and everything works fine  
> with that but when I change the entity engine file to point to the  
> oracle database and start ofbiz, I get the following error.  I have  
> an old version of the ofbiz and it works fine but having trouble  
> with this one.  Any advice greatly appreciated.
>
> 9338  (main) [            UtilXml.java:242:DEBUG] XML Read 0.014s:  
> file:/aserver/ofbiz6189/base/config/jndiservers.xml
> 9373  (main) [   XADataSourceImpl.java:170:WARN ] unable to load  
> driver
> java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
>
>
> Thanks
> jason
>
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users

smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: [OFBiz] Users - Need Help connecting to an oracle database

Jean-Sebastien Hederer-2
In reply to this post by Jason Gray-2
Put Oracle driver in the good path of your project. Old version must contain it.

JS HEDERER

> -----Message d'origine-----
> De : [hidden email]
> [mailto:[hidden email]]De la part de Jason Gray
> Envoye : lundi 28 novembre 2005 17:58
> A : [hidden email]
> Objet : [OFBiz] Users - Need Help connecting to an oracle database
>
>
> I have download the latest version of ofbiz and built
> everything.  I can connect to the local derby database and
> everything works fine with that but when I change the entity
> engine file to point to the oracle database and start ofbiz,
> I get the following error.  I have an old version of the
> ofbiz and it works fine but having trouble with this one.  
> Any advice greatly appreciated.
>
> 9338  (main) [            UtilXml.java:242:DEBUG] XML Read
> 0.014s: file:/aserver/ofbiz6189/base/config/jndiservers.xml
> 9373  (main) [   XADataSourceImpl.java:170:WARN ] unable to
> load driver
> java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
>
>
> Thanks
> jason
>
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
>
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

RE: [OFBiz] Users - Need Help connecting to an oracle database

Jason Gray-2
In reply to this post by Jason Gray-2
I found that there was a missing JAR file in the /framework/entity/lib/jdbc directory.  In the old version ofiz there is a classes12.jar and not in the newer version I downloaded.  I put that into the directory and I was able to connect.

>>> [hidden email] 11/28/05 11:15AM >>>
Put Oracle driver in the good path of your project. Old version must contain it.

JS HEDERER

> -----Message d'origine-----
> De : [hidden email]
> [mailto:[hidden email]]De la part de Jason Gray
> Envoye : lundi 28 novembre 2005 17:58
> A : [hidden email]
> Objet : [OFBiz] Users - Need Help connecting to an oracle database
>
>
> I have download the latest version of ofbiz and built
> everything.  I can connect to the local derby database and
> everything works fine with that but when I change the entity
> engine file to point to the oracle database and start ofbiz,
> I get the following error.  I have an old version of the
> ofbiz and it works fine but having trouble with this one.  
> Any advice greatly appreciated.
>
> 9338  (main) [            UtilXml.java:242:DEBUG] XML Read
> 0.014s: file:/aserver/ofbiz6189/base/config/jndiservers.xml
> 9373  (main) [   XADataSourceImpl.java:170:WARN ] unable to
> load driver
> java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
>
>
> Thanks
> jason
>
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users 
>
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users