Hi!

  Can anyone point me to the right way to declare a datasource in
  a Cocoon 2.2 webapp?

  I tried to place it in:

  /WEB-INF/cocoon/avalon/cocoon-myapp.xconf
  /WEB-INF/cocoon/cocoon-myapp.xconf
  or /WEB-INF/cocoon-myapp.xconf

  and the same places under /META-INF/ without any results.

  I wrapped the <datasource> into

  <components>
    <datasources>
       <datasource>my declaration</datasource>
    </datasources>
  </components>

  I'd like to use it with the SQL-Transformer from the databases
  block.

  The webapp has been created by using:

  mvn archetype:create -DarchetypeGroupId=org.apache.cocoon
  -DarchetypeArtifactId=cocoon-22-archetype-webapp
  -DarchetypeVersion=1.0.0-SNAPSHOT
  -DgroupId=com.mycompany
  -DartifactId=myWebapp

  Probably I'm missing something obvious, but I've no clue what...

TIA

  Martin.

  



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

Reply via email to