Re: dbAdd Action help.

2002-10-08 Thread Christian Haul
On 07.Oct.2002 -- 11:32 PM, Antonio Gallardo Rivera wrote: Thanks for the help! I found that in dbAddAction, we must to supply into the descriptor like key all the values that cannot be null! This is not describen into the documentation. I'm not sure I understand right, but the key/ tags

Upload troubles....

2002-10-08 Thread Ganael LAPLANCHE
Hi all ! I've got a little problem with cocoon upload... My project has to unzip a file once it's been uploaded, this is done with an xsp page. My problem is the file doesn't exist (nearly each time I upload a file) when the code is executed ! (the file.exists() java method returns false) I

Sitemap relaod breaks w/ inputmodule and param

2002-10-08 Thread Ryan Agler
Is anyone aware of this as a bug, or am I doing something improperly? Whenever I have an instance in my sitemap where I use both an input module and a sitemap parameter, cocoon breaks if I subsequently modify the sitemap. For example, I have the following in my sitemap: map:match pattern=*.gif

Re: dbAdd Action help.

2002-10-08 Thread Antonio Gallardo Rivera
El Martes, 08 de Octubre de 2002 01:09, Christian Haul escribió: On 07.Oct.2002 -- 11:32 PM, Antonio Gallardo Rivera wrote: Thanks for the help! I found that in dbAddAction, we must to supply into the descriptor like key all the values that cannot be null! This is not describen into the

Useful directory structure (was AW: i18n with sub sitemaps)

2002-10-08 Thread Majcen, Kurt
Thanks, it worked. In addition I had to change other locations e.g. for the standard mapping for *.css as well. This opened a general question to me. What is a good directory structure with cocoon (with sub sitemaps) for a multilingual website providing several functions like - user

Re: dbAdd Action help.

2002-10-08 Thread Christian Haul
On 08.Oct.2002 -- 02:49 AM, Antonio Gallardo Rivera wrote: El Martes, 08 de Octubre de 2002 01:09, Christian Haul escribió: On 07.Oct.2002 -- 11:32 PM, Antonio Gallardo Rivera wrote: The problem is into the dbAddAction, because if I put the cli_id into the descriptor as part of the values

Re: Upload troubles....

2002-10-08 Thread Ganael LAPLANCHE
Nobody can help me ? - Original Message - From: Ganael LAPLANCHE [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 08, 2002 9:58 AM Subject: Upload troubles Hi all ! I've got a little problem with cocoon upload... My project has to unzip a file once it's been

Re: dbAdd Action help.

2002-10-08 Thread Antonio Gallardo Rivera
El Martes, 08 de Octubre de 2002 04:33, Christian Haul escribió: On 08.Oct.2002 -- 02:49 AM, Antonio Gallardo Rivera wrote: El Martes, 08 de Octubre de 2002 01:09, Christian Haul escribió: On 07.Oct.2002 -- 11:32 PM, Antonio Gallardo Rivera wrote: The problem is into the dbAddAction,

Looking for most stable versions of JDK+Tomcat+Cocoon

2002-10-08 Thread exta zi
Whats the most stable configuration of JDK+Tomcat+Cocoon? I using next binaries: JDK 1.4.1FCS + tomcat-4.1.12-LE-jdk14 + cocoon-2.0.3-vm14-bin sometimes it works and sometime I get exception: Cocoon 2 - Internal server error

XML stylesheet processing instruction

2002-10-08 Thread Kjetil Kjernsmo
Dear all, I want to serve XML with a stylesheet to as many clients as possible, but I haven't figured out how to include a processing instruction of the type described in http://www.w3.org/TR/xml-stylesheet/ , for example ?xml-stylesheet href=xmlcssns.css type=text/css ? in my sitemap (or

RE: SunShine-InsertTransformer: encoding problem

2002-10-08 Thread Alex Romayev
--- Carsten Ziegeler [EMAIL PROTECTED] wrote: Alex Romayev wrote: This is currently hard coded into the transformer(!) which means you can't do anything against it... The InsertTransformer has been merged with the SourceWritingTransformer in 2.1-dev - the

Re: Link Livesites:

2002-10-08 Thread Steven Noels
Litrik De Roy wrote: And it looks like the new Link Livesites that have been sent recently to this list haven't been added yet to that page. (At least the Inventive Designers site is not on the page) How often does that page get updated? Litrik De Roy www.litrik.com not often enough

problem with NT

2002-10-08 Thread Robert Siqueira
Iam installing cocoon 2.0.1 + tomcat 4.0.3 in winnt 4.0... So, when I start the cocoon I get the follow error: == type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this

[PATCH] for xsp-session:getxml

2002-10-08 Thread Antonio Gallardo Rivera
Hi, I recently needed to write some app logi usin xsp:logic tags. Into tags we need to write some code like: String myUserID = xsp-session:getxml context=authentication path=/authentication/ID as=string/; Then, I updated xsp-session:getxml to serve strings. Currently the attribute as of the

Re: [PATCH] for xsp-session:getxml

2002-10-08 Thread Antonio Gallardo Rivera
Another usage of this tag is to set the parameters of a query based on the is in esql:query see the example: esql:query SELECT usr_name, usr_full_name, usr_password FROM users WHERE usr_id = esql:parameter type=int xsp:expr Integer.parseInt( xsp-session:getxml

Re: XML stylesheet processing instruction

2002-10-08 Thread Ugo Cei
Kjetil Kjernsmo wrote: Dear all, I want to serve XML with a stylesheet to as many clients as possible, but I haven't figured out how to include a processing instruction of the type described in http://www.w3.org/TR/xml-stylesheet/ , for example ?xml-stylesheet href=xmlcssns.css

RE: XML stylesheet processing instruction

2002-10-08 Thread Niels Bjerre
I include reference to CSS-stylesheet ind the transformation stylesheet: xsl:template match=root link href=pathToFile/x.css rel=stylesheet type=text/css / /xsl:template Niels Bjerre NB-Informatik Storegade 21 B DK 3740 Svaneke mailto:[EMAIL PROTECTED] http://www.nbinfo.dk

Re: dbAdd Action help.

2002-10-08 Thread Antonio Gallardo Rivera
El Martes, 08 de Octubre de 2002 04:33, Christian Haul escribió: If so, please note that the name of some modules have been changed and that the compiled in default is rendered useless. There should be a warning in your logs indicating this. Please add a outputrequest-attr/output and

Re: XML stylesheet processing instruction

2002-10-08 Thread Kjetil Kjernsmo
On Tuesday 08 October 2002 15:00, Niels Bjerre wrote: I include reference to CSS-stylesheet ind the transformation stylesheet: xsl:template match=root link href=pathToFile/x.css rel=stylesheet type=text/css / /xsl:template That won't work if you're not serializing to XHTML,

Re: sunRise - java.lang.NullPointerException

2002-10-08 Thread Brian Schwark
Carsten, thanks for the response. The stack trace for my problem is as follows: (Spammy...) *type* fatal *message* _null_ *description* _java.lang.NullPointerException_ *sender* org.apache.cocoon.servlet.CocoonServlet *source* Cocoon servlet *stack-trace* java.lang.NullPointerException

Re: dbAdd Action help.

2002-10-08 Thread Christian Haul
On 08.Oct.2002 -- 07:22 AM, Antonio Gallardo Rivera wrote: El Martes, 08 de Octubre de 2002 04:33, Christian Haul escribió: If so, please note that the name of some modules have been changed and that the compiled in default is rendered useless. There should be a warning in your logs

RE: sunRise - java.lang.NullPointerException

2002-10-08 Thread Carsten Ziegeler
Hi Brian, for Tomcat 4 you have to put the xerces and xalan versions of Cocoon into the tomcat endorsed directory. This is either described somewhere in the installation docs or you have to search the mail archives for this. HTH Carsten -Original Message- From: Brian Schwark

Memory Issues

2002-10-08 Thread Jim Lynch
Hi all, I'm running Cocoon 2.0, Tomcat 3.2.4, on a Windows 2K box. I'm getting an OutOfMemory error when trying to create a pdf. My Windows box has 512K ram, and I'm running Tomcat with 385 Meg of memory. I have 20 Meg free space and 36 Meg Heap Size. The doc I'm trying to create is

Re: sunRise - java.lang.NullPointerException

2002-10-08 Thread Ruben_Inoto
Hi Brian, I'm not sure if it will solve the problem, but try placing xalan in front of the server classpath. Ruben |-+ | | Brian Schwark| | | bschwark@aci-hq.| | | com | | |

Re: Cocoon, Java Extensions and Xalan

2002-10-08 Thread Barbara Post
ok, rather use this kind of stylesheet, below, it runs fine for me, I have almost the same configuration. Then use a simple pipeline to apply the xsl to an xml file. Cheers. ?xml version=1.0 encoding=utf-8? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform;

Re: Cocoon, Java Extensions and Xalan

2002-10-08 Thread Barbara Post
forgot to mention, I pass local-name(.) as a parameter for my function. Go to apache's xalan-j page to learn more on this :-) - Original Message - From: Barbara Post [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 08, 2002 3:44 PM Subject: Re: Cocoon, Java Extensions and

Re: dbAdd Action help.

2002-10-08 Thread Antonio Gallardo Rivera
Sorry, Chris I know this is a stupid question, but I want to be sure ;) I am using org.apache.cocoon.acting.DatabaseAddAction and not org.apache.cocoon.acting.modular.DatabaseAddAction The tags input and output apply for org.apache.cocoon.acting.DatabaseAddAction? Second question ;) Will

File generator problem (fetch from an URI)

2002-10-08 Thread Sylvain.Thevoz
Hello, As seen in the Cocoon book from Carsten and Matthew I want to fetch some information from the URI http://linuxtoday.com/backend/biglt.rss; with the File Generator. The sitemap (simplified) looks like: map:match pattern=linuxtoday map:generate

Re: File generator problem (fetch from an URI)

2002-10-08 Thread Steven Noels
[EMAIL PROTECTED] wrote: I run Cocoon in my machine and it is behind a firewall. I use a proxy server to connect to internet. Is it a connection problem? Yup - you should set -Dhttp.proxyHost and http.proxyPort in your Tomcat startup script

Re: Java Extension doesn't work in cocoon

2002-10-08 Thread Jacob L E Blain Christen
Your problem screams It's the classpath stupid! to me. It looks as if the xalan and/or xpath libraries you are using at the command line and from within cocoon are out of synch. P.S. No I'm not calling you stupid! -- Jacob L E Blain Christen Entheal LLC

RE: Upload troubles....

2002-10-08 Thread Greg Jones
If your doing a file upload, then cocoon catches those uploads and put them into the file-upload directory specified by the cocoon.xconf. This is a big irritant for me. As I now have to go to a central location and perform file management. Basically, when the file is uploaded, cocoon saves the

Re: sunRise - java.lang.NullPointerException

2002-10-08 Thread Brian Schwark
Carsten and Ruben - Again, thanks for your input. Putting those jars into the Tomcat Endorsed directory worked perfectly. I also had to drop the XML-APIS jar in there to get it to come up, but now I've got everything working the way it's supposed to (more or less!) Cheers! :) -Brian Schwark

Re: sunRise - java.lang.NullPointerException

2002-10-08 Thread Brian Schwark
Seems like my celebration was a little premature.. In trying to implement a logout action, I get the same null pointer error. So now I can log in, but I can't log out. Here's the logout pipeline: map:match pattern=logout map:act type=sunRise-logout map:parameter

RE: File generator problem (fetch from an URI)

2002-10-08 Thread Sylvain.Thevoz
I have add this line: set -Dhttp.proxyHost=http://proxy.blabla.com -Dhttp.proxyPort=8080 to the startup script, just before the tomcat start. But it doesn't work. Are there anything else to configure? Thank you Sylvain -Message d'origine- De: Steven Noels [mailto:[EMAIL PROTECTED]]

Re: dbAdd Action help.

2002-10-08 Thread Antonio Gallardo Rivera
Sorry, but this does not work. :( It raise the following error: Not allowed to define mixed content in the element action at jndi:/localhost/sitemap.xmap:193:116 Antonio Gallardo. El Martes, 08 de Octubre de 2002 07:33, Christian Haul escribió: On 08.Oct.2002 -- 07:22 AM, Antonio Gallardo

Re: File generator problem (fetch from an URI)

2002-10-08 Thread Steven Noels
[EMAIL PROTECTED] wrote: I have add this line: set -Dhttp.proxyHost=http://proxy.blabla.com -Dhttp.proxyPort=8080 to the startup script, just before the tomcat start. But it doesn't work. Are there anything else to configure? you should add those as arguments to the java command

Re: Java Extension doesn't work in cocoon

2002-10-08 Thread Spencer
After tearing out my hair I finally realised that it was the classpath, stupid!! Thanks for your help Spencer - Please check that your question has not already been answered in the FAQ before posting.

RE: File generator problem (fetch from an URI)

2002-10-08 Thread Sylvain.Thevoz
what do you mean about the java command in the tomcat startup script? Sylvain -Message d'origine- De: Steven Noels [mailto:[EMAIL PROTECTED]] Date: mardi, 8. octobre 2002 17:13 À: [EMAIL PROTECTED] Objet: Re: File generator problem (fetch from an URI) [EMAIL PROTECTED] wrote: I

Re: dbAdd Action help.

2002-10-08 Thread Christian Haul
On 08.Oct.2002 -- 08:08 AM, Antonio Gallardo Rivera wrote: Sorry, Chris I know this is a stupid question, but I want to be sure ;) I am using org.apache.cocoon.acting.DatabaseAddAction and not org.apache.cocoon.acting.modular.DatabaseAddAction OK, wrong site ;-) The tags input and

Re: Memory Issues

2002-10-08 Thread Alex McLintock
At 14:39 08/10/02, you wrote: The doc I'm trying to create is 520 pages, about 2 Meg in size. Could someone help out with memory params?? Ok, lets assume you are using FOP. FOP is not terribly good with memory allocation. There have been many discussions about this on the fop mailing lists

Accessing Oracle Stored Procedures

2002-10-08 Thread Tom Shepherd
I am using esql on Cocoon 2.0.3 to run a stored procedure with multiple 'IN' parameters on an Oracle 8.1.7 database but without success. I have run other procedures on the same database which have a single 'IN' parameter without any problem. I have also altered my 'problem' procedure to have a

Cocoon FAILS in transforming XML

2002-10-08 Thread Roger Ting
Hi all..Have anyone experience this problem before? Cocoon failing to transform the XML to HTML or SVG using XSLT. When i use Xalan alone to do the transformation, it works perfectly fine. But i do a transformation through cocoon. It lost most of the output. Another user said that he broke the

installing kweelt

2002-10-08 Thread Aditya
Hi. I'm new to this stuff. I have just installed Tomcat 3.3, Cocoon 2.0.3, and Kweelt today. I want to be able to query my XML database using Kweelt. The Kweelt readme says that I have to modify the cocoon.properties. How can I do that because the file is inside a jar and everytime I modify it

Problem building Cocoon with Forte

2002-10-08 Thread David Turton
Greetings, This is most likely an issue with my Forte setup, but being relatively new to both worlds I was hoping that a helpful Cocoonite could point me in the right direction. Cocoon 2.0.3 Forte CE J2SE 1.4.1 Win2K Building Cocoon from command line = everything works fine. Building

Re: Cocoon 2 Developers Wanted...

2002-10-08 Thread Horst Rutter
Hello Ernst, Are you still looking for help on your Cocoon project? I might be able to help you. I have been involved with Cocoon since earlier this year, when I evaluated it for an Austrian bank. I got distracted with a different project recently, so my knowledge is pre-flowmap which means up

Sorry Rephrase...

2002-10-08 Thread Roger Ting
I apologize ..I want to rephrase my previous post.. The problem only occur when i am generating a serverpages XSP and do transformation that is map:match pattern=yearly type=wildcard-request-parameter map:generate type=xsp

Re: Problem building Cocoon with Forte

2002-10-08 Thread Aditya
I'm new to this, too. But I read the tutorial that says if you download the binary distribution you don't have to build cocoon? Your system is Windows so I assume you downloaded the binary distribution? --- =Five dozens roses of love =Keep the spirit of love flourish=

Re: File generator problem (fetch from an URI)

2002-10-08 Thread Steven Noels
[EMAIL PROTECTED] wrote: what do you mean about the java command in the tomcat startup script? I assume you run Tomcat using some startup script (batch file), %CATALINA_HOME%\bin\startup.bat comes with the distribution. That script starts a Java application, where you can set an HTTP proxy

installing kweelt2

2002-10-08 Thread Aditya
I'd like to add my question. What's the difference between cocoon.war and coccon.jar? If we already have cocoon.war, do we still need cocoon.jar? --- =Five dozens roses of love =Keep the spirit of love flourish= Join 18 million Eudora users by signing up for a free

RE: Accessing Oracle Stored Procedures

2002-10-08 Thread Luca Morandini
Tom, what about putting a comma to separate the parameters in the SP call ? Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html

Re: dbAdd Action help.

2002-10-08 Thread Antonio Gallardo Rivera
The Original Database Actions will stay as is just for compatibility or there will be deprecated after a time. I am asking because I dont see why will exist two database type of actions. As I far as I know the Modular database Actions extends the original database actions. This is why I dont

Re: installing kweelt

2002-10-08 Thread Steven Noels
Aditya Shevchenko Siregar wrote: Hi. I'm new to this stuff. I have just installed Tomcat 3.3, Cocoon 2.0.3, and Kweelt today. I want to be able to query my XML database using Kweelt. The Kweelt readme says that I have to modify the cocoon.properties. How can I do that because the file is

Re: Cocoon FAILS in transforming XML

2002-10-08 Thread Joerg Heinicke
Hi Roger, normally everything works okay in Cocoon. We use XSLT heavily in different applications (both HTML and SVG as output). Maybe your version of Cocoon or Xerces/Xalan version have some bugs. What versions are you used? Regards, Joerg Roger Ting wrote: Hi all..Have anyone

ESQL on JDK1.4.1

2002-10-08 Thread Bert Van Kets
Does esql run on JDK1.4.1? If so, do I need a very recent Cocoon version? I need to run it on a headless Suse 7.3 box with mySQL as a database. Bert This mail is written in 100% recycled electrons. - Please check that your

speeding up svg serialization?

2002-10-08 Thread lrs
Hi All, I have an application that is generating some labels for a table using svg. All it does is generate some text and rotate it 180. This is the sitemap fragement that applies to this function. map:match pattern=name.jpg map:generate src=gs.xml/ map:transform

Re: speeding up svg serialization?

2002-10-08 Thread Joerg Heinicke
Hello Leona, we use SVG generated PNGs at www.ekommunen.de too and the serialization is really fast except the very first request on a SVG serializer. I guess this is because of the first instantiation of Batik, but maybe somebody can say something more about this. Is it really a problem if

Re: ESQL on JDK1.4.1

2002-10-08 Thread Christian Haul
On 08.Oct.2002 -- 10:06 PM, Bert Van Kets wrote: Does esql run on JDK1.4.1? If so, do I need a very recent Cocoon version? It should. You need a version compiled for jdk 1.4 I need to run it on a headless Suse 7.3 box with mySQL as a database. Chris. -- C h r i s t i a n H

Re: Cocoon FAILS in transforming XML

2002-10-08 Thread Roger Ting
I am using the latest binary distribution which is the 2.0.3. I just change the Xalan and Xerces to the latest version. This doesn't help. This only happens when i am using xsp with xslt to do transformation. The xsp are using esql logicsheet. This doesn't happen when i am using file generator

RE: Cocoon FAILS in transforming XML

2002-10-08 Thread Ryan Agler
Best guess is that something is wrong with the xsp. Can you post your log file? -Original Message- From: Roger Ting [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 11:48 PM To: [EMAIL PROTECTED] Subject: Re: Cocoon FAILS in transforming XML I am using the latest binary