SQLTransformer bug

2003-05-29 Thread Carmona Perez, David
Dear Cocooners, I've think I found a bug in the SQLTransformer in Cocoon 2.0.4, at least under Informix. I use a simple query (select * from table) and it fails. After having investigated a bit, I've come to the conclusion that it tries to do the following open connection create prepared

RE: session attributes in sitemap

2003-05-29 Thread Carmona Perez, David
Look at the Sunshine component: http://www.plenix.org/dbprism/doc/xdocs/developing/sunshine-contexts.html or create a simple action to do that. David -Mensaje original- De: Mato Mira, Fernando [mailto:[EMAIL PROTECTED] Enviado el: miƩrcoles, 28 de mayo de 2003 15:09 Para:

RE: SQLTransformer bug

2003-05-30 Thread Carmona Perez, David
with it. It seems to only affect certain databases. I'd be glad to forward you the code. Brian On Wednesday, May 28, 2003, at 09:36 AM, Carmona Perez, David wrote: Dear Cocooners, I've think I found a bug in the SQLTransformer in Cocoon 2.0.4, at least under Informix. I use a simple query (select * from

RE: Link Livesites: ExtremeComputing.org Cocoon 2.0.2

2003-06-02 Thread Carmona Perez, David
The link doesnt work for me. David -Mensaje original- De: Bobby Corpus [mailto:[EMAIL PROTECTED] Enviado el: viernes, 30 de mayo de 2003 5:10 Para: [EMAIL PROTECTED] Asunto: Link Livesites: ExtremeComputing.org Cocoon 2.0.2 ExtremeComputing.org is an

RE: the url cannot be null

2003-06-02 Thread Carmona Perez, David
Maybe you're facing the same problem I've had with the SQL Transformer that is closing the connection too prematurely. * open connection * perform query * get resultset * close the connection-- I've had to move this step later * browse the resultset David -Mensaje

RE: [HELP]Premature end of file.

2003-06-02 Thread Carmona Perez, David
First of all, look at the logs that Cocoon generates!. Probably an exception has been thrown. David -Mensaje original- De: ravi gaddam [mailto:[EMAIL PROTECTED] Enviado el: viernes, 30 de mayo de 2003 19:40 Para: [EMAIL PROTECTED] Asunto: [HELP]Premature end

RE: How to debug COCOON with ECLIPSE and TOMCAT?

2003-06-04 Thread Carmona Perez, David
Hi Lionel, I'm using very successfully the Sysdeo plug-in. And with JDK 1.4 it supports hot-code replacement, you can modify on the fly a Java class without restarting the server. David -Mensaje original- De: Lionel Crine [mailto:[EMAIL PROTECTED] Enviado el: martes, 03 de

FOP Serializer configuration

2003-06-12 Thread Carmona Perez, David
Hi all, Alter reading this page: http://cocoon.apache.org/2.0/userdocs/serializers/pdf-serializer.html I've tried to configure the FOPSerializer with a file generated through a Cocoon pipeline in this way: map:serializer logger=sitemap.serializer.fo2pdf

RE: FOP Serializer configuration

2003-06-13 Thread Carmona Perez, David
-configcontext://doc/fop/config.xml/user-config without any problems. Joerg Carmona Perez, David wrote: Hi all, Alter reading this page: http://cocoon.apache.org/2.0/userdocs/serializers/pdf-serializer.html I've tried to configure the FOPSerializer with a file generated through a Cocoon

RE: FOP Serializer configuration

2003-06-13 Thread Carmona Perez, David
Carmona Perez, David wrote: I'm using Cocoon 2.04 and Tomcat 4.1. The purpose is very simple, I want to set the baseDir property to the context path. ?xml version=1.0? xsp:page xmlns:xsp=http://apache.org/xsp; configuration !--basedir: donde encontrar imagenes

RE: FOP Serializer configuration

2003-06-13 Thread Carmona Perez, David
-config.xml): entry keybaseDir/key value./value /entry (I used valuefonts//value for the keyfontBaseDir/key), but I guess the above should work too.) Does this work? Joerg Carmona Perez, David wrote: I'm using Cocoon 2.04 and Tomcat 4.1. The purpose is very simple, I want to set the baseDir

RE: Informix configuration

2003-06-18 Thread Carmona Perez, David
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

RE: calling a custom method in a bean?

2003-06-18 Thread Carmona Perez, David
You have many possibilities, these are some of them: 1. You can use a Xalan Java extensions, you can easily call any Java function from a XSLT file (see http://xml.apache.org/xalan-j) 2. You can use an input module and pass a parameter to a XSLT transform in this way map:transform src=my.xsl

RE: Informix configuration

2003-06-18 Thread Carmona Perez, David
Thank you, David! It's a good idea. The problem is that i can't get a cannection with thw data base. Something with my configuration or driver is not proper. Galia "Carmona Perez, David" [EMAIL PROTECTED] wrote: I have successfully used Cocoon with Informix, but I use oth

FOP problems with Unix

2003-06-18 Thread Carmona Perez, David
Hi all, I have a strange problem. Under Windows, everything works ok, the FOP serializer creates a PDF file. But under Unix, some files are converted ok and some aren't. The FOP xml file created by the pipeline is the same. I've tried to convert it to pdf by invoking directly FOP through a

RE: XML Parsing + SAX

2003-06-18 Thread Carmona Perez, David
Why dont you use a java.io.StringBufferInputStream? David -Mensaje original- De: Brian Delahunty [mailto:[EMAIL PROTECTED] Enviado el: miƩrcoles, 18 de junio de 2003 17:11 Para: [EMAIL PROTECTED] Asunto: XML Parsing + SAX Hey, I have a String that contains

RE: FOP problems with Unix

2003-06-18 Thread Carmona Perez, David
notes or Wiki). -- jack John R. Callahan, Ph.D. CTO [EMAIL PROTECTED] Sphere Software Corporation - Original Message - From: Carmona Perez, David [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 10:40 AM Subject: FOP problems with Unix Hi all, I have a strange

RE: pipeline dependencies

2003-06-20 Thread Carmona Perez, David
Create a simple selector to check if the file exists, and if it doesn't call pipeline A. David -Mensaje original- De: Ali Mesbah [mailto:[EMAIL PROTECTED] Enviado el: jueves, 19 de junio de 2003 14:10 Para: [EMAIL PROTECTED] Asunto: pipeline dependencies Hi, Is it possible to

RE: Exception when using copy-of

2003-06-20 Thread Carmona Perez, David
I haven't seen in http://www.apache.org/dist/cocoon/ the existence of Cocoon 2.0.5!!! Does it really exist? What's new? David -Mensaje original- De: Stefan Hilzinger [mailto:[EMAIL PROTECTED] Enviado el: jueves, 19 de junio de 2003 17:38 Para: [EMAIL PROTECTED] Asunto:

RE: Upgrading Java

2003-06-20 Thread Carmona Perez, David
It's possible, the only different jars are excalibur-database, fop, cocoon and cocoon-scratchpad. I'm even switching JVM by replacing these files, because I work under Unix (latest JVM is 1.3.1) and Windows (latest JVM is 1.4.1 and supports hot code replacement, very useful for debugging).