----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Olaf,



> I have searched the FAQ's and found an entry which was close to my
> problem ("How to
> get Oracle 7.3, JDBC (nativ) and Apache JServ running"). But still, my
> servlet isn't
> able to get any data from the database.
> 
> To start from scratch:
> 1.) Where do I get an adequate jdbc-driver from?
>     I have searched the Oracle Technology Network (OTN;
> http://otn.oracle.com/software/index.htm),
>     but since I'm not quite sure which driver to choose ...


Get the 100% Java version of the driver, the one that does not uses OCI (I do not 
remember how Oracle name it). The OCI version of the JDBC driver needs you to have the 
Oracle Client for Linux installed and configured. The non-OCI version (I guess it is 
the "thin" driver) can talk to your Oracle Server with no additional software.


> 2.) In which directory do I have to install the jdbc-driver and


Anywhere you want. The only thing that matters is the path to the jar file from the 
driver.


> 3.) which settings do I have to update in the configuration files of
> jserv (jserv.properties, etc.).


You have to add a new wrapper.classpath line pointing to the jar file of your Oracle 
JDBC driver.


> 4.) To get a connection to the database, I have to specify the URL to
> this database (via the getConnection()-method).
>     Since I have found differnt books whis differnt proposals for the
> syntax of the URL, I don't know
>     which of them is the right one for my problem.


The JDBC URL is specific to the JDBC driver. The driver package comes with example 
programs you can use. The OCI and the Thin driver has different URLs.


> Hope this was the right place for this questions!!!??


Maybe it is not -- this list is not about Oracle or JDBC drivers. But, if I can help, 
why not?

Go to www.oralinux.org where you can find more resources about Oracle and Linux.


[]s, Fernando Lozano


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to