cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yuryx <yu...@mobicomk.donpac.ru>
Subject Re: Which version of Oracle is required to connect to cocoon?
Date Wed, 05 Jun 2002 07:30:54 GMT
Hi Sreenivasan!
Sreenivasan N. wrote:

> Hi all
>
> Can anyone give info on Oracle database version for windows and Unix 
> required for cocoon connectivity.


Try Oracle jdbc drivers (for any versions). Download classes12.jar and 
put it into $CATALINA_HOME/common/lib

> And also the basic parameters that has to be set into cocoon.xconf 

in cocoon.xconf:
 <datasources>
   <jdbc logger="core.datasources.personnel" name="personnel">
     <dburl>jdbc:hsqldb:hsql://localhost:9002</dburl>
     <user>sa</user>
     <password/>
   </jdbc>


   <jdbc name="ora">
     <pool-controller min="5" max="10" oradb="true"/>        
<dburl>jdbc:oracle:thin:@hostname:1521:SID</dburl>
     <user>username</user>
     <password>password</password>
   </jdbc>

 
 </datasources>

in web.xml:
   <init-param>
     <param-name>load-class</param-name>
     <param-value>
       <!-- For IBM WebSphere:
       com.ibm.servlet.classloader.Handler -->

       <!-- For Database Driver: -->
       org.hsqldb.jdbcDriver

       <!--******************* -->
   <!-- For Oracle Database Driver: -->
   oracle.jdbc.driver.OracleDriver
       <!--******************* -->

       <!-- For parent ComponentManager sample:
       org.apache.cocoon.samples.parentcm.Configurator
       -->
     </param-value>
   </init-param>

>
> jdbc driver that support, Is it part of cocoon or any Jar file has to 
> be added to Tomcat.
> The sitemap configuration with an example for the same will be helpful
>
> Thanks in advance
> Sreenivasan.
>
>

Regards.
Yury.



---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message