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 addition

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

Re: [XSP] not for int?

2003-04-02 Thread Lionel Crine
the tag should be between the tag. Lionel At 11:21 02/04/2003 +0200, you wrote: Hello, the following XSP causes an LanguageException: http://apache.org/xsp";> int value = 1; value = value + 1; PageTitle 1 + 1 = value The exception says: org.apache.cocoon.component

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 automatical

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 (bu

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: Arial

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 ||

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 h

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: Cheers Matthias > -Ursprungliche Nachricht- > Von: Stavros Kounis [mailto:[EMA

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: <[EMA

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 cod

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 ve

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 "&" -Alex --- "Colin W. Kingsbury" <[EMAIL PROTECTED]> wrote: > Here is what I wrote: > > src="http://localhost:8080/bigServlet?k42id={1}&container=page-body"/> > > Here is what I get: > > org.xml.sax.SAXParseException: The re

map:part- how to encode a URL source?

2003-04-02 Thread Colin W. Kingsbury
Here is what I wrote: 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. How can I do this? I need to make calls to URLs with multiple paramters... Thanks in

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 ?

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 ? -> I don't know..this..   Thanks.. FerranDo you Yahoo!? Yahoo! Tax Center - File online, cal

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]

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 C

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 und

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 nece

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 of

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 --

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: 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

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 o

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: 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. , , ...) - CIncludeTransformer - XIncludeTransformer for the latter two you should be able to find docs. regarding the logicsheet I sugg

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. , , ...) - CIncludeTransformer - XIncludeTransformer for the latter two you should be able to find docs. regarding the logicsheet I suggest having a look at it yourself. >

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 spec

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 wit

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 ex

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 unle

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: 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 pro

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: ... Option 2 -- set the default in the pipes declaration Cheers, -Alex --- zze-MORY Nicolas FTRD/DMI/REN <[EMAIL PROTECTED]> wrote: > > How can i turn off the cache under Cocoon 2.1 ? >

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 ho

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 automaticall

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: 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 : > > > > class="org.apache.cocoon.components.pipeline.NonCachingEventPipeline"/> > > > class="org.apache.cocoon.components.pipeline.NonCachingStreamPipeline"/> > >

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 - should

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 --

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].

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 configurat

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 change

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: 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 t

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 "Er

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 fo

[XSP] not for int?

2003-04-02 Thread Stephan Niedermeier
Hello, the following XSP causes an LanguageException: http://apache.org/xsp";> int value = 1; value = value + 1; PageTitle 1 + 1 = value The exception says: org.apache.cocoon.components.language.LanguageException: Error compiling xsptest_xsp: Line 69, column 22: exp

Authentication framework sample and Mozilla...

2003-04-02 Thread Olivier Billard
Hi all cocooners ! I'm working on using the authentication framework, base on the authentication sample, in the Cocoon 2.1 CVS from yesterday. I made : build clean build webapp cocoon servlet With an ooold Netscape (4.78) and IE 6, all works fine : protected area access is first denied, and then

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

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 -

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 de