Hi,

I do my first experiences in cocoon, and want to create a database webapplication which connects to a database. I did some first steps to a database application. Is there a complete how to, to etablish a database connection (for read and write access) by cocoon 2.2?

What I already did:

* I did all steps for a first cocoon application which are described in http://cocoon.apache.org/2.2/1159_1_1.html . That works. * The I added a file databases-driver.properties with the path of the driver into META_INF/cocoon/properties, as described in the migration guide (http://cocoon.apache.org/2.2/blocks/databases/1.0/1409_1_1.html). * The I added the dependency for cocoon-databases-impl into my pom.xml as described in the documentation about the block http://cocoon.apache.org/2.2/blocks/databases/1.0/1437_1_1.html .

But I have not managed to etablish a connection.

There are some for me quite understandable descriptions for cocoon 2.1 on http://cocoon.apache.org/2.1/developing/datasources.html . But I don't know if these are good for 2.2.

Maybe some more informations are necessary: The application should be run on tomcat, and manage a connection to a mysql or oracle database.

Thank you for every help in advance.
Johannes


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

Reply via email to