RE: Cocoon and Sun Java System Application Server 8.2 PE

2006-05-25 Thread Victoria Vitaver
Yes we have, unfortunately it did not work. It appears that the Servlet tries to explicitly set the environment SAX parser to the default cocoon one, however since the Xerces/Xalan versions which come with Sun are newer than then those that come with cocoon this doesnt quite work. (Unless you

Modify AJAX Carselector sample to work with mysql

2006-05-25 Thread 321 Los
Hi,I was just reading through the Ajax Carselector Sample at http://localhost:8080/cocoon/samples/blocks/forms/carselector . In my case, I want to modify the car-db.xml, so that it takes its values from a mysql database. For now, the car-db.xml looks like that:?xml version=1.0? cars make

Re: Modify AJAX Carselector sample to work with mysql

2006-05-25 Thread Simone Gianni
Hi Marco, as you can see, the form loads the selection lists with cocoon:/cars pipelines. You can simply change this pipelines so that they does not generate from a static XML file, but from a query on the DB using the SQLTransformer followed by an XSL to transform the SQL XML output to what you

AW: AW: AW: encoding problem with eXist database

2006-05-25 Thread Christofer Dutz
Ok … I have to admit I haven’t used Modifyable Souces yet. I am used to XQuery with update extensions and XML-DB api. I would check if it is possible to set the encoding for the XML-Serializer. Since it is what generates the output. Chris Von: Abbas Mousavi

Re: AW: AW: AW: encoding problem with eXist database

2006-05-25 Thread Abbas Mousavi
and another point that I forgot:recently I have checked the cocoon.xconf bundeled with eXist distributionit uses org.apache.cocoon.components.source.impl.XMLDBSourceFactoryjust like the default cocoon.xconf which has the encoding problem.I wonder why the people at eXist project implemented the

Fwd: Re: AW: AW: AW: encoding problem with eXist database

2006-05-25 Thread Abbas Mousavi
HiThanks for your help and atention.I found a solution: all documentations about integrating cocoon with exist (at cocoon wiki and also eXist wiki)say that you should configure exist in cocoon.xconf like this:component-instance class="org.apache.cocoon.components.source.impl.XMLDBSourceFactory"

Re: question

2006-05-25 Thread Antonio Gallardo
Hi, The class: org.apache.log.Logger is in avalon-logkit-2.1.jar. Make sure this jar is in your classpath. If you still have problem you might switch to log4j logging. If the file is there, check the content of logkit.xconf (if you switch to log4j then the log4j.xconf). Also, I would