> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 28, 2002 12:24 PM
> To: [EMAIL PROTECTED]
> Subject: Help connection Cocoon2 to Oracle8

> The database driver is classes102.zip and I am able to connect to the same
> database with same driver with standalone java application.
> Environment is Tomcat 4,  C2 & windows2000
> Any help on this will be highly appreciated

It should be classes12.zip... a typo in the message maybe ?

Anyhow, I use Oracle 8.1.7, on: Windows 2000, Tomcat 4.0.1 and Cocoon 2.0
(and it works).

These are the parameters I use:

web.xml (the one located under $TOMCAT_HOME\webassp\cocoon\WEB-INF
    <init-param>
      <param-name>load-class</param-name>
      <param-value>
                oracle.jdbc.driver.OracleDriver
      </param-value>
    </init-param>

cocoon.xconf
<datasources>
        <jdbc name="noria">
                <pool-controller min="5" max="10" oradb="true"/>
            <dburl>jdbc:oracle:thin:@localhost:1521:ORCL3</dburl>
                <user>noria</user>
                <password>noria</password>
        </jdbc>
</datasources>

Where ORCL3 is the instance's name

Best regards,

---------------------------------------------
               Luca Morandini
               GIS Consultant
              [EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to