Test de performances

2003-04-02 Thread zze-MORY Nicolas FTRD/DMI/REN
hello !! eh oui ca faisait longtemps que je ne t'avais pas embeter !!! :) Nous sommes en ce momment dans une pré-phase de test de perf de cocoon. Nous avons juste fait quelques petits tests sans importance sur les version 2.04/Tomcat4 et 2.1/Jetty. Nous constatons une importante augmentation

Re: Test de performances

2003-04-02 Thread Bertrand Delacretaz
Le Mercredi, 2 avr 2003, à 10:45 Europe/Zurich, zze-MORY Nicolas FTRD/DMI/REN a écrit : eh oui ca faisait longtemps que je ne t'avais pas embeter !!! :)... FYI: Non-french speakers don't worry - this message is about cocoon but does not seem to have been intended for this list. -Bertrand

allowing users to upload pdf files in a web dav directory

2003-04-02 Thread Olivier GUCKERT
Hello, I want my users to be able to upload pdf files in a WebDav directory, protected by login password (just cocoon 'know' this password. I try to use upload.xsp but dont know how to configure web.xml to provide this access. Does somebody know or show me a way ? Thanks Olivier

[XSP] expr not for int?

2003-04-02 Thread Stephan Niedermeier
Hello, the following XSP causes an LanguageException: ?xml version=1.0 ? xsp:page language=java xmlns:xsp=http://apache.org/xsp; xsp:logic int value = 1; value = value + 1; /xsp:logic page titlePageTitle/title content 1 + 1 = xsp:exprvalue/xsp:expr /content /page /xsp:page

Re: Test de performances

2003-04-02 Thread Cédric Damioli
Bertrand Delacretaz wrote: Le Mercredi, 2 avr 2003, à 10:45 Europe/Zurich, zze-MORY Nicolas FTRD/DMI/REN a écrit : eh oui ca faisait longtemps que je ne t'avais pas embeter !!! :)... FYI: Non-french speakers don't worry - this message is about cocoon but does not seem to have been intended

Re: Failed to execute pipeline.: Errors in XSLT transformation

2003-04-02 Thread Bruno Dumon
On Tue, 2003-04-01 at 02:01, Don Saxton wrote: I have tried several xsl and after double checking each of them I am stumped. I found several zarros in bugzilla. In mail list I have seen several Failed to execute pipeline and a couple related to NPE, but none linking either to Errors in

Re: Authentication framework sample and Mozilla...

2003-04-02 Thread Olivier Billard
Even if the cache is set to 0 Ko ! This case doesn't appened in Netscape with the same configuration... But I suppose other protected pages not in memory cache will send the user to the login page... But would it be better (if not done, but in this case I don't understand) to set expiration date

Re: Test de performances

2003-04-02 Thread Bertrand Delacretaz
Le Mercredi, 2 avr 2003, à 11:21 Europe/Zurich, Cédric Damioli a écrit : ...More seriously, if there is a real memory leak (that's what this mail was about) with Cocoon 2.1 and/or Jetty, it wouls be great to know about it. Nicolas was talking about 2.04 - I suggested (off-list and in french

Re: JSP Again

2003-04-02 Thread Konstantin Piroumian
The JSPEngine in Cocoon simply calls another servlet to get the result of JSP and then the output is served directly via JSPReader or parsed into XML via JSPGenerator and then served. So Jasper won't work on Jetty, cause seems that it has dependencies on Tomcat. To make JSPs work you should

performances Test

2003-04-02 Thread zze-MORY Nicolas FTRD/DMI/REN
More seriously, if there is a real memory leak (that's what this mail was about) with Cocoon 2.1 and/or Jetty, it wouls be great to know about it. Thanks ;) i'm very sory for the french mail... i tested with Cocoon 2.1/Jetty and i have the same problem. but it can come from my

Cocoon User Discussions Request Fork by Revision

2003-04-02 Thread Marc Driftmeyer
I do not know if this has been suggested or not but here goes. Is it possible to fork the discussion groups by target release? For instance, if we put a flag in the Subject Header ala [Cocoon2.1-dev] before our Subject it would index into a different listing versus say [Cocoon2] or [Cocoon1.x].

SAX Validation

2003-04-02 Thread manfred . weigel
Hello all, Does anybody know if its possible in Java to validate SAX Events against a schema (or at least against a subset of w3c schema)? Are there any implementations available? If not, then it should be at least possible - shouldn´t it? Thanks in advance for helping! Regards Manfred

Re: SAX Validation

2003-04-02 Thread Bruno Dumon
On Wed, 2003-04-02 at 13:17, [EMAIL PROTECTED] wrote: Hello all, Does anybody know if its possible in Java to validate SAX Events against a schema (or at least against a subset of w3c schema)? Are there any implementations available? If not, then it should be at least possible - shouldn´t

Re: Cocoon 2.1 cache

2003-04-02 Thread Bruno Dumon
On Wed, 2003-04-02 at 09:42, zze-MORY Nicolas FTRD/DMI/REN wrote: How can i turn off the cache under Cocoon 2.1 ? because : event-pipeline class=org.apache.cocoon.components.pipeline.NonCachingEventPipeline/ stream-pipeline

RE: SAX Validation

2003-04-02 Thread Schaper, Christoph
Use xerces, its supports full w3c schema -Original Message- From: Bruno Dumon [mailto:[EMAIL PROTECTED] Sent: 02 April 2003 13:32 To: [EMAIL PROTECTED] Subject: Re: SAX Validation On Wed, 2003-04-02 at 13:17, [EMAIL PROTECTED] wrote: Hello all, Does anybody know if its possible in

Re: database caching

2003-04-02 Thread Geoff Howard
Cocoon does not automatically cache xsp pages with esql tags, but provides a means for you to tell it to do so. Have a look at the caching xsp sample, and probably the javadocs for the caching related classes. In general, you'll need your generator (which is what your xsp produces

Re: allowing users to upload pdf files in a web dav directory

2003-04-02 Thread Geoff Howard
It's not clear below: do you want to use cocoon's upload facility, or webdav? Geoff At 03:54 AM 4/2/2003, you wrote: Hello, I want my users to be able to upload pdf files in a WebDav directory, protected by login password (just cocoon 'know' this password. I try to use upload.xsp but dont know

Re: Cocoon 2.1 cache

2003-04-02 Thread Alex Romayev
In 2.1 you can do it in the sitemap Option1 -- at the individual pipeline level: map:pipeline type=noncaching ... Option 2 -- set the default in the pipes declaration map:pipes default=caching Cheers, -Alex --- zze-MORY Nicolas FTRD/DMI/REN [EMAIL PROTECTED] wrote:

Re: performances Test

2003-04-02 Thread Cédric Damioli
zze-MORY Nicolas FTRD/DMI/REN wrote: More seriously, if there is a real memory leak (that's what this mail was about) with Cocoon 2.1 and/or Jetty, it wouls be great to know about it. Thanks ;) i'm very sory for the french mail... i tested with Cocoon 2.1/Jetty and i have the same

Re: allowing users to upload pdf files in a web dav directory

2003-04-02 Thread Olivier GUCKERT
Geoff Howard a écrit : It's not clear below: do you want to use cocoon's upload facility, or webdav? Geoff yes y do. I want to upload a file (IE with upload.xsp) but not on my HD, on a webdav directory. Do you know how to do this ?

Re: Cocoon 2.1 cache

2003-04-02 Thread Geoff Howard
No, caching pipelines only caches cacheable content. This is determined by Cocoon based on the information the Generator provides. The file generator is cacheable by default based on the last-modified time of the file. But the ServerPagesGenerator that handles all xsp's is non-Caching

Re: allowing users to upload pdf files in a web dav directory

2003-04-02 Thread Geoff Howard
I'm sorry - I must need more coffee. It's still not clear to me. Here's my best guess: You want to upload to upload.xsp, but select a file not from your hard drive but from a local shortcut to a webdav directory? I don't think windows/IE will let you do that. In my experience with webdav (not

include other xsp

2003-04-02 Thread Magne Skjeret
Hi I have just started to use cocoon for my web applications, and going from jsp to xsp, there is one thing I really is missing. In jsp it was possible to use include statements to include other jsp into each other. Now, I just have a enoumous long xsp page. Is it possible to do a include

Re: allowing users to upload pdf files in a web dav directory

2003-04-02 Thread Olivier GUCKERT
The end user produce a pdf file and use cocoon (via upload.xsp) to publish it : upload.xsp provides the end user to select a pdf file and upload it to the server. I just want the server to store this file not on the server HD, but in a webdav directory on an other server. I don't know how to

AW: include other xsp

2003-04-02 Thread Marco Rolappe
hi magne, several possibilites: - have a look at the util.xsl logicsheet. it define several tags for including stuff (e.g. util:include-source, util:include-uri, ...) - CIncludeTransformer - XIncludeTransformer for the latter two you should be able to find docs. regarding the logicsheet I

Re: AW: include other xsp

2003-04-02 Thread Magne Skjeret
At 17:29 02.04.2003 +0200, you wrote: hi magne, several possibilites: - have a look at the util.xsl logicsheet. it define several tags for including stuff (e.g. util:include-source, util:include-uri, ...) - CIncludeTransformer - XIncludeTransformer for the latter two you should be able to find

Re: esql not working at all, no connection ever created!

2003-04-02 Thread Christopher Painter-Wakefield
I think it was there in his original posting. -Christopher |-+-- | | Christian Haul | | | [EMAIL PROTECTED]| | | rmstadt.de| | |

Re: Only use serializers

2003-04-02 Thread J.Pietschmann
Gunter D' Hondt wrote: I've got a java webapp where I've got the DOM object with the XML transformed using XSLT but now I want to be able to serialize it to PDF. I know Cocoon has FOPSerializer etc but how can I call this serializer from java code with the only input being a transformer and a DOM

Re: include other xsp

2003-04-02 Thread Christian Haul
On 02.Apr.2003 -- 04:07 PM, Magne Skjeret wrote: Hi I have just started to use cocoon for my web applications, and going from jsp to xsp, there is one thing I really is missing. In jsp it was possible to use include statements to include other jsp into each other. Now, I just have a

how obtain 2.1 nightly snapshot build

2003-04-02 Thread vupt vupt
Hi, I would to try some features that are in the 2.1 build and am attempting to download a nightly snapshot. I go to this location but there is nothing in that folder. http://cvs.apache.org/snapshots/cocoon-2.1/ Can someone tell me how I go about obtaining a 2.1 snapshot. Thanks

Re: how obtain 2.1 nightly snapshot build

2003-04-02 Thread Jens Maukisch
Hi, Can someone tell me how I go about obtaining a 2.1 snapshot. if there is no nightly snapshot you can obtain the latest version of cocoon via cvs: cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic co cocoon-2.1 hth -- * best regards * Jens Maukisch

Re: database caching

2003-04-02 Thread Kris Rasmussen
I realize my approach is somewhat reversed, however, in pages that are accessed and change often it seems like it might be necessary to obtain acceptable performance. For example, if I had a poll on a home page that changes every second or so, it would be a huge waste to output the current value

Re: database caching

2003-04-02 Thread Geoff Howard
I see - interesting idea. You are wanting to use requests to trigger uncache events, similar to the asynchronous reload behavior of the sitemap (or was that cocoon.xconf? or web.xml??). But you are still doing that work for every request in your scheme, which if you have a high load won't

Re: allowing users to upload pdf files in a web dav directory

2003-04-02 Thread Geoff Howard
I see. The server itself has access to a webdav folder on a third machine. As far as I know, there will not be a way to automatically handle this because cocoon's uploads are using java.io.File to automatically save files and I don't think this will work saving to a webdav folder, which as I

warning message in core.log

2003-04-02 Thread Stavros Kounis
hi i get this warning message in my core.log in every hit is something i have to worry about? message: WARN(2003-04-03) 02:21.59:452 [core.manager] (/xml/forestland.gr/themes/images/progs/11/thumbnails/3.jpg) Thread-62/ExcaliburComponentSelector: Looking up component on an uninitialized

livesite

2003-04-02 Thread Stavros Kounis
http://www.forestland.gr stavros - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

ZIP FILES

2003-04-02 Thread Ferran Urgell
Hello! I would to create a Zip file with cocoon, which is the syntax in the sitemap to create a zip file ? (I mean the pipeline..) It has to be something like this ? map:match pattern="hello.zip" map:generate src=""/ map:transform src=""/ map:serialize type=""/ - I don't know..this..

Re: ZIP FILES

2003-04-02 Thread Stavros Kounis
i think that there is no .zip serializer yet corect me if i'm wrong stavro On Wed, 2 Apr 2003, Ferran Urgell wrote: Hello! I would to create a Zip file with cocoon, which is the syntax in the sitemap to create a zip file ? (I mean the pipeline..) It has to be something like this ?

map:part- how to encode a URL source?

2003-04-02 Thread Colin W. Kingsbury
Here is what I wrote: map:part src=http://localhost:8080/bigServlet?k42id={1}container=page-body/ Here is what I get: org.xml.sax.SAXParseException: The reference to entity container must end with the ';' delimiter. snip How can I do this? I need to make calls to URLs with multiple

Re: map:part- how to encode a URL source?

2003-04-02 Thread Alex Romayev
Colin, is a special character in XML and need to be escaped as amp; -Alex --- Colin W. Kingsbury [EMAIL PROTECTED] wrote: Here is what I wrote: map:part src=http://localhost:8080/bigServlet?k42id={1}container=page-body/ Here is what I get: org.xml.sax.SAXParseException: The reference

Aftermath: Cocoon class at Software Development conference

2003-04-02 Thread Rick Wayne
Just thought y'all (as in both developers and users, hence the cross-posting) might like to hear: Last week, I taught a 90-minute session on Cocoon at the Software Development West conference in Santa Clara. It was pretty well received, according to the eval forms I peeked at. But it was at the

xmlforms bean generators

2003-04-02 Thread Dario Bahena
Hi ... the context: In the XMLForm Wizard, you(well the autor ... who is?) tells that the binding mechanism between the xpath expressions and the java bean components ... is jxpath. This seems to be cool, but what about program-generated-jbeans, I'm thinking in castor ... it saves you from

Re: xmlforms bean generators

2003-04-02 Thread ivelin
JXPath and Castor are tools that solve different problems. I am not aware of any problems prohibiting the use of Castor and JXPath in the same application. Can you give an example of a compatibility problem? -=Ivelin=- - Original Message - From: Dario Bahena [EMAIL PROTECTED] To: [EMAIL

Re: ZIP FILES

2003-04-02 Thread Stoeckel, Matthias
There is a Zip Serializer. Look at http://xml.apache.org/cocoon/userdocs/serializers/ziparchive-serializer.html This page describes the syntax. The sitemap should contain this in the serializer section: map:serializer name=zip mime-type=application/zip

RE: [CRASH] 2.1-Dev with HTMLGenerator Transformer

2003-04-02 Thread Tony Collen
On 1 Apr 2003, Bruno Dumon wrote: I've tried out your sample, and had the same problem. After putting in a logtransformer, I noticed that the endDocument SAX event was called twice. I've updated CVS to correct this behaviour. Bruno, I'm making a little bit of progress, but I'm still

Re: Ant:NoClassDefFoundError after Cocoon install

2003-04-02 Thread a847356549/mail . h7 . dion . ne . jp
Finally, Ant gets back to work again. After installation of ANT-1.5.3Beta1 without success, I went back to Ant1.4.1 and set %CLASSPATH% to ant.jar, crimson.jar, jaxp.jar of Ant1.4.1. So far, Tomcat4.1.18 Cocoon2.0 work as before. thanks list ttkaya

Cell Formating in Excel with Cocoon

2003-04-02 Thread Merenidis, Grigorios
Hi! I' m developing with Cocoon and I try to build a excel spredsheet with the gnumeric format. but it doesn't work. I set the format of the style for the specific cell: gmr:Styles gmr:StyleRegion startCol=0 startRow=0 endCol=0 endRow=0 gmr:Style HAlign=2 VAlign=2 WrapText=0 Orient=1 Shade=1

Cocoon on Orion2

2003-04-02 Thread e nio
1. I am not able to get cocoon2.1dev running on Orion2 I was getting: 500 Internal Server Error java.lang.NoClassDefFoundError: com/sap/mw/jco/JCO$Structure at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:207) at com.evermind[Orion/2.0

Re: allowing users to upload pdf files in a web dav directory

2003-04-02 Thread Olivier GUCKERT
Ok, thanks a lot, i will have a look at cocoon wiki ! Geoff Howard a écrit : I see. The server itself has access to a webdav folder on a third machine. As far as I know, there will not be a way to automatically handle this because cocoon's uploads are using java.io.File to automatically

Re: [XSP] expr not for int?

2003-04-02 Thread Lionel Crine
the xsp:logic tag should be between the page tag. Lionel At 11:21 02/04/2003 +0200, you wrote: Hello, the following XSP causes an LanguageException: ?xml version=1.0 ? xsp:page language=java xmlns:xsp=http://apache.org/xsp; xsp:logic int value = 1; value = value + 1; /xsp:logic page

Re: warning message in core.log

2003-04-02 Thread Jeff Turner
On Thu, Apr 03, 2003 at 02:31:32AM +0300, Stavros Kounis wrote: hi i get this warning message in my core.log in every hit is something i have to worry about? message: WARN(2003-04-03) 02:21.59:452 [core.manager] (/xml/forestland.gr/themes/images/progs/11/thumbnails/3.jpg)

tunning Cocoon, Jetty/Tomcat to increase performances ?

2003-04-02 Thread zze-MORY Nicolas FTRD/DMI/REN
Hello, Anyone know any Web site where i can find informations to tune cocoon to increase significantly performances. Same question for Jetty and Tomcat ?? Thanks a lot ! - To unsubscribe, e-mail: [EMAIL PROTECTED] For