cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Barmeier" <barme...@BARMEIER.COM>
Subject SQL Processor does not work
Date Tue, 11 Jul 2000 15:29:35 GMT
Hi,

out there.

When I try to run the sql sample form the cocoons samples directory
nothing happens.

The file retirieved is the cocoon sample page. no processing takes place.
Other cocoon xml files work fine.

the properties file looks good for me.

I am new to java, jdbc and cocoon.

Where is my fault ??

Attached is the XML I used.

Thanx in advance.

<?xml version="1.0"?>

<?cocoon-process type="sql"?>

<page>

 <connectiondefs>
  <connection name="foo_connection">
   <driver>oracle.jdbc.driver.OracleDriver</driver>

<dburl>jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(HOST=localhost)(PROTOCOL=tcp
)(PORT=1512))(CONNECT_DATA=(SID=ORCL)))</dburl>
   <username>scott</username>
   <password>tiger</password>
  </connection>
 </connectiondefs>

 <query connection="foo_connection">
  select * from emp
 </query>

</page>


Ciao
	Matze

/*
    Dipl.-Inform. Matthias Barmeier        Tel: +49 (0)30 79 70 72 87
    Büro für Softwareentwicklung           Fax +49 (0)30 79 70 72 88
    Grunewaldstr. 18                       Email: barmeier@barmeier.com
    12165 Berlin                           WWW: <http://www.barmeier.com>
*/


Mime
View raw message