You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-user@db.apache.org by love cars <ra...@yahoo.com> on 2003/09/16 09:09:45 UTC
weblogic driver with torque...problem
Hi All,
The torque specification states that the driver supported with weblogic is weblogic.jdbc.pool.Driver. However, i intend to use the weblogic.jdbc.oci.Driver, as this is the driver we use in our production environment.
As a result, i get a runtime error :--
[DEBUG] IDBroker - -IDBroker thread was started.
[ERROR] BasePeer - -BasePeer.MapBuilder failed trying to instantiate:
com.examples.map.PublisherMapBu
ilder <org.apache.torque.TorqueException: Unknown JDBC driver:
weblogic.jdbc.oci.Driver: Check your c
onfiguration file>java.lang.InstantiationException: Unknown JDBC
driver: weblogic.jdbc.oci.Driver: Ch
eck your configuration file
I also tried changing the file \torque\database\weblogic. It has an entry as
databaseDriver = weblogic.jdbc.pool.Driver which i changed to
databaseDriver = weblogic.jdbc.oci.Driver, but still the same error.
Any help is deeply appreciated.
---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
Re: weblogic driver with torque...problem...solved
Posted by love cars <ra...@yahoo.com>.
Hi All,
Ok i added the weblogic.oci driver in DBFactory.java and also added a new class DBWeblogicOCI.java in the org\apache\torque\adapter package. Things work fine now. :)
I am a newbie to apache; wats the process to change the codes? Can i do it? If yes, how? Or should i send the changes to the torque owner, who will make the changes?
Warmest regards,
RacingFan since 1978(when i was born hehe)
love cars <ra...@yahoo.com> wrote:
Hi All,
The torque specification states that the driver supported with weblogic is weblogic.jdbc.pool.Driver. However, i intend to use the weblogic.jdbc.oci.Driver, as this is the driver we use in our production environment.
As a result, i get a runtime error :--
[DEBUG] IDBroker - -IDBroker thread was started.
[ERROR] BasePeer - -BasePeer.MapBuilder failed trying to instantiate:
com.examples.map.PublisherMapBu
ilder weblogic.jdbc.oci.Driver: Check your c
onfiguration file>java.lang.InstantiationException: Unknown JDBC
driver: weblogic.jdbc.oci.Driver: Ch
eck your configuration file
I also tried changing the file \torque\database\weblogic. It has an entry as
databaseDriver = weblogic.jdbc.pool.Driver which i changed to
databaseDriver = weblogic.jdbc.oci.Driver, but still the same error.
Any help is deeply appreciated.
---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software