I have successfully used Cocoon with
Informix, but I use other methods of connecting to the database, I do it
through Java code. Here is an
excerpt of my pipeline: <map:components> <map:transformers default="xslt"> <map:transformer name="sql" src="">"org.apache.cocoon.transformation.SQLTransformer"/> </map:transformers> </map:components> <map:pipelines> <map:transform type="sql" label="transf1"> <map:parameter name="dburl" value="{session:databaseUrl}"/> </map:transform> </map:pipelines> Through an input module and JXDom, I
access a function call getUrl() that returns a string that contains the URL to
the database connection, of the following type: jdbc:informix-sqli://server:1526/database:INFORMIXSERVER=server;user=myuser;password=mypassword I do so, because each user session
may have a connection to a different database. -------- David -----Mensaje
original----- Hi! in cocoon.xconf: <datasources> in web.xml: <init-param> page.xml: <page xmlns:sql="http://apache.org/cocoon/SQL/2.0"> sitemap.xmap:
<map:match pattern="*.xml"> After running the application I get this message: My App page
Just a static contents Failed to obtain connection. Made
5 attempts with 5000ms interval Is there something that I've missed? Thank you in advance! Galia Do you Yahoo!? |
- Informix configuration Galia Angelova
- Re: Informix configuration Christian Haul
- RE: Informix configuration Carmona Perez, David
- RE: Informix configuration Galia Angelova
- RE: Informix configuration Carmona Perez, David