AW: Reading request parameters

2002-05-21 Thread Andres, Judith
Enrico, sorry I'm writing this late, but I had an early start in a long weekend. Anyway, for me map:match pattern=test* works, but these differences may arise from other different sitemap entries. Judith -Ursprüngliche Nachricht- Von: Enrico Gulfi [SMTP:[EMAIL

RE: Cocoon one step closer

2002-05-21 Thread Reinhard Pötz
Stephen, Add a redirect in your root-sitemap: map:match pattern=lnxserv map:redirect-to uri=??? / /map:match Regards, Reinhard -Original Message- From: Stephen Smithstone [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 21, 2002 9:32 AM To: [EMAIL PROTECTED] Subject:

Re: Cocoon one step closer

2002-05-21 Thread Paul Gilligan
have you tried the latest version fom CVS ??? I am running that a the moment from a few days ago runs fine. Stephen Smithstone wrote: Ok seems i have cocoon workin in some respects now :-) I just downloaded the cocoon2 and not 2.0.2 and now i can get to transform however it only picks up

RE: Cocoon one step closer

2002-05-21 Thread Graaf, Edgar de (fin)
try: map:pipeline map:match pattern=lnxserv/** map:mount uri-prefix=lnxserv src=lnxserv/ check-reload=yes / /map:match map:match pattern=lnxserv map:redirect-to uri=lnxserv/index.html / /map:match /map:pipeline !--/map:match-- by

Very strange Cocoon problem - any help appreciated

2002-05-21 Thread Hahn Kurt (CHA)
I wrote a rather simple Cocoon-application, which retrieves a set of data with SQL transformer and then applies a number of transformations. The SQL query uses just one parameter, passed in the standard Cocoon way. The application is running in this configuration for a couple of months now, but

Still no requests readable in xsp file

2002-05-21 Thread Markus Locher, ASK Keller GmbH
Hi All, I still have problems transfering request-attributes from an action over sitemap to a xsp-file. I tried all the answers from the list (Thanks Volker!), but I still got always a null as value. Is there any known bug for such cases using actions? In the sitemap I played successfully

RE: Cocoon one step closer

2002-05-21 Thread Stephen Smithstone
Seems its all workin now :-) i went back to cocoon 2 the next stage is to get so i can do http://localhost:8080/lnxserv instead of the http://localhost:8080/cocoon/lnxserv i read in the FAQ about the apache rewrite mod i have it loaded and my apache has some perl stuff in it for redirect

RE: XSP Function to get URL

2002-05-21 Thread Graaf, Edgar de (fin)
I tried that, your right. You still have to use xsp-request:get-scheme/://xsp-request:get-server-name/:xsp-request:get- server-port/ But my problem here was that you will get something like http://myserver:8080/cocoon/myprog/index.xsp And I wanted: http://myserver:8080/cocoon/myprog/ Regards,

Request parameters and FormValidator action

2002-05-21 Thread Ivan Luzyanin
Hello all! I need to pass parameters from HTML-form to FormValidator and then get these parameters in XSP page: page1.xsp FormValidator page2.xsp But in page2.xsp request object contains only org.apache.cocoon.acting.FormValidatorAction.results attribute with form validation results, aka OK,

Re: Looking for comanies using cocoon.

2002-05-21 Thread Deepak Mehta
Cederic, Kan je eens wat meer uitleg geven bij wat je bedoelt met een CMS based on Cocoon? Waar zou het voor moeten dienen? Ik ben een student aan het UAMS Masters in e-Business en wij gebruiken op dit moment exact deze implementatie voor onze projecten (Jonas EJB, Tomcat and Cocoon2 based 4

Re: Looking for comanies using cocoon.

2002-05-21 Thread Nicola Ken Barozzi
I'm forwarding this message to a list that has people-companies working with Apache Java software. [EMAIL PROTECTED] -- Nicola Ken Barozzi [EMAIL PROTECTED] - verba volant, scripta manent - (discussions get forgotten, just code remains)

RE: Looking for companies using cocoon.

2002-05-21 Thread Cederic Van Herreweghe
My definition of CMS : A system that allows us to create and maintain content in a structured way in different languages, and publishing it on different websites. We want to know if this is a better system (a system that fits better to our needs) than other CMS-solutions such as : Interwoven,

Cocoon 2 Problem

2002-05-21 Thread Dwayne Kemp
Hi, I have this installed Tomcat 4.1 Cocoon 2 Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) Classic VM (build 1.3.0, J2RE 1.3.0 IBM any suggestions on fixing this error: thanks!... type internal-server-error message The sitemap handler's sitemap is not available. Please

Re: Cocoon 2 Problem

2002-05-21 Thread Tom Klaasen
Dwayne Kemp wrote: Hi, I have this installed Tomcat 4.1 Cocoon 2 Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) Classic VM (build 1.3.0, J2RE 1.3.0 IBM any suggestions on fixing this error: thanks!... type internal-server-error message The sitemap handler's sitemap is not

Re: Cocoon 2 Problem

2002-05-21 Thread Stephen Smithstone
I have the same error as that i dont know what happened it was all workin nice and fine then i can to mess with it again and i get the same error i even deleteed the cocoon dir in webapps and tried to re-run it and still no works :-/ something not right here i think On Tue, 2002-05-21 at

Re: Cocoon 2 Problem

2002-05-21 Thread Dwayne Kemp
yes i checked the logs and i see these 2 errors ERROR (2002-05-21) 08:14.26:588 [cocoon ] (/cocoon/) HttpProcessor[8080][4]/Handler: Error compiling sitemap java.lang.InternalError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable. at

Re: Cocoon 2 Problem

2002-05-21 Thread Bert Van Kets
Read the cocoon docs! You need an X11 screen to be able to use Batic. Another solution is JDK 1.4, but then you must compile Cocoon yourself in JDK 1.4 and you must use at least Cocoon 2.0.3. Bert At 08:17 21/05/2002 -0400, you wrote: yes i checked the logs and i see these 2 errors ERROR

SVG Gurus - please help with textPath/xlink

2002-05-21 Thread Derek Hohls
I have the following stylesheet (can be applied to any document) - the first 2 pictures are drawn OK - the problem comes when I try to use a textPath element with xlink - can anyone help me with why this is happening and how to overcome it? (I think it may be a namespace problem, but am not

Re: Problems with SVG

2002-05-21 Thread Derek Hohls
The solution here was to add the namespace to the circle, thus svg:circle / Derek (Not at all obvious from the logfile, but a good nights sleep helped!) [EMAIL PROTECTED] 20/05/2002 03:49:53 I am struggling to get Cocoon to generate even a simple SVG image encoded as a .png file inside an

Re: Cocoon 2 Problem

2002-05-21 Thread Tom Klaasen
Dwayne Kemp wrote: yes i checked the logs and i see these 2 errors ERROR (2002-05-21) 08:14.26:588 [cocoon ] (/cocoon/) HttpProcessor[8080][4]/Handler: Error compiling sitemap java.lang.InternalError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY

Re: Cocoon 2 Problem

2002-05-21 Thread Konstantin Piroumian
Here goes the answer: http://xml.apache.org/cocoon/faq.html#faq-24 Konstantin P.S. Have you ever read the few lines that are appended to the bottom of every email? - Original Message - From: Dwayne Kemp [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 21, 2002 4:17 PM

Re: Cocoon 2 Problem

2002-05-21 Thread Bert Van Kets
Then check you display settings. You get an error that you can't write to display:10. Does it exist? Bert At 09:03 21/05/2002 -0400, you wrote: I do have an X11 screen.. //| Dwayne A. Kemp

Re: Cocoon 2 Problem

2002-05-21 Thread Dwayne Kemp
Yes Ive read the faq and ive also read the info on setting the Headless Batik for linux. I would not have posted previous questions, if this was a perfect world. anyway thanks for the info... really appreciated :)

Re: Cocoon 2 Problem

2002-05-21 Thread Sonia Pérez
Hello!! I have the same error, but when I check the log files catalina.out, catalina_log.2002-05-21, localhost_access_log.2002-05-21, localhost_examples_log.2002-05-21 and localhost_log.2002-05-21 (I don't have any log file inside the cocoon directory) there isn't any error. I have X11,

Re: http://xml.apache.org/

2002-05-21 Thread Tom Klaasen
Graaf, Edgar de (fin) wrote: Can anyone confirm http://xml.apache.org/ works fine. When I go there everything is messed up.. No problem here (win2k pro, mozilla 1.0RC1) tomK - Please check that your question has not

[OT] Services?

2002-05-21 Thread Andrew Timberlake
I was wondering what developers on the list are currently using for 'services'. If you need to handle processes on an application that are not invoked by a user such as a batch database update etc. Do you use a tool such as crontab outside of the application or are these processes integrated in

Re: Cocoon 2 Problem

2002-05-21 Thread Bert Van Kets
At 15:32 21/05/2002 +0200, you wrote: Hello!! I have the same error, but when I check the log files catalina.out, catalina_log.2002-05-21, localhost_access_log.2002-05-21, localhost_examples_log.2002-05-21 and localhost_log.2002-05-21 (I don't have any log file inside the cocoon directory)

Re: Problems with Saxon (6.5.2) and resolver (Cocoon 2.0.2)

2002-05-21 Thread Frank Ridderbusch
Well, here is what I've done. However I've found, that no all samples work any more with Saxon, in particular SQL transformer and XMLforms. - Also replaced xalan.jar with saxon.jar - Starting the servlet-engine with the additional switch

RE: Problems with Saxon (6.5.2) and resolver (Cocoon 2.0.2)

2002-05-21 Thread Artur Bialecki
Also, saxon 6.5.2 and 7 has a bug with identity transform because of bug in DOMDriver. So, if you're using XPath (eg, xinclude transformer) things might not look the way you expect them to. I told the author of Saxon how to fix this bug, but haven't heard anything back. Artur... -Original

I18n Performance

2002-05-21 Thread Michael Zehrer
Hi List, I experience very bad performance under high load using the I18n Transformer, are there any tips for performance improving oder anybody know about an alternative? Cheers, Michael - Please check that your question has

Re: I18n Performance

2002-05-21 Thread Konstantin Piroumian
i18n transformer output too much data into logs, so changing the log level from DEBUG to something else should help a lot. Can you provide more info on what is the cause? Are you using number, date, currency formatting? Are you using param substitution? The more info you'll provide the more we

XSLTC

2002-05-21 Thread Graaf, Edgar de (fin)
Hello, Can anyone tell me how I would use XSLTC in cocoon. Is there a transformer that can call a translet or something like that? Maybe it is handy to have the option to compile all XSL on usage (to translet). Or is that already the case? Regards, Edgar

Detecting change on XML included with document() to reset cache?

2002-05-21 Thread Hunsberger, Peter
Using Cocoon 2.0.2 Tomcat 4.0.4b JBoss 2.4.4 JRE 1.4.0 I have a straight forward sub-site that invokes a simple 1 stage XML to HTML pipeline. The main xml target of the pipeline is just a list of the real xml files that are to be processed, eg: list filefile-a.xml/file

Problems with Saxon (6.5.2) and resolver (Cocoon 2.0.2)

2002-05-21 Thread Stephen Ng
I've been struggling with getting Saxon 6.5.2 and Cocoon 2.0.2 working together for a couple of days now Here's what I did and what I found: 1. I replaced xalan-2.3.1 with saxon.jar. 2. I grabbed v1.9 of xsp.xsl (http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/java/org/apache/cocoo

RE: Problems with Saxon (6.5.2) and resolver (Cocoon 2.0.2)

2002-05-21 Thread Stephen Ng
Another observation I forgot: it appears to be very very important to clear out your cache (Tomcat/work) directory after switching jars and before restarting, otherwise you get null pointer exceptions. Probably obvious to a lot of people but it wasn't to me -Original Message-

RE: XSLTC

2002-05-21 Thread Stephen Ng
XSLTC is not ready for general use yet--there are bugs which are being worked out. There are a few messages on this topic floating around the cocoon-dev list. Steve -Original Message- From: Graaf, Edgar de (fin) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 21, 2002 10:04 AM To:

RE: I18n Performance

2002-05-21 Thread Michael Zehrer
I'm using I18n just for simple translations, no number, date, currency formatting and just one substitution. My log level is already ERROR. So nothing real special here. If I take out the I18n transformation, everything is quite ok, if it's in the cpu load is very high after a little while and

Re: not able to work with cocoon

2002-05-21 Thread Jorge Bello
Tom: That FAQ gave me the idea of X11. I point out that I never saw the instruction: You must use X11 to start Tomcat under UNIX Perhaps with Linux this is obvious. Jorge Tom wrote: Maybe this is related: http://xml.apache.org/cocoon/faq.html#faq-24 hth, tomK

Re: I18n Performance

2002-05-21 Thread Nicola Ken Barozzi
From: Michael Zehrer [EMAIL PROTECTED] I'm using I18n just for simple translations, no number, date, currency formatting and just one substitution. My log level is already ERROR. So nothing real special here. If I take out the I18n transformation, everything is quite ok, if it's in the cpu

RE: DatabaseAddAction

2002-05-21 Thread Hugo Burm
Hello Kenny, Your subject is your clue to the answer. An Action is called. If you not already did so, please read the Cocoon docs about Actions. In the employee example (/docs/samples/forms/employee.xsp), an Action is called by supplying a request parameter input type=submit

cookie problem

2002-05-21 Thread lev
I am trying to set cookie from inside the action code in a site map. Here is a snippet of my code: Response response = (Response) objectModel.get(Constants.RESPONSE_OBJECT); Cookie cookie = response.createCookie(user,Jhon Doe); cookie.setMaxAge(100);

Re: I18n Performance

2002-05-21 Thread Peter Royal
On Tuesday 21 May 2002 11:50 am, Michael Zehrer wrote: I'm using I18n just for simple translations, no number, date, currency formatting and just one substitution. My log level is already ERROR. So nothing real special here. If I take out the I18n transformation, everything is quite ok, if

Form Validation and Descriptor File

2002-05-21 Thread Naquin, Beth
Title: Form Validation and Descriptor File I am new to cocoon and any help is appreciated! Where can I find more information about form validation and the descriptor file? The cocoon documentation mentions 'javadocs', but what are these and where can I find them? I need to validate a form,

Re: I18n Performance

2002-05-21 Thread Torsten Curdt
On Tuesday 21 May 2002 19:02, Peter Royal wrote: On Tuesday 21 May 2002 11:50 am, Michael Zehrer wrote: I'm using I18n just for simple translations, no number, date, currency formatting and just one substitution. My log level is already ERROR. So nothing real special here. If I take out

search mailing list?

2002-05-21 Thread Naquin, Beth
Title: search mailing list? Is there a way I can search this mailing list (not the archive)?? Beth Naquin SAGEM MORPHO Inc. 1145 Broadway Plaza STE 200 Tacoma, WA 98402 253-597-8245

RE: http://xml.apache.org/

2002-05-21 Thread Graaf, Edgar de (fin)
Okay thanks everyone. It is probably my connection or IE 5. Al though other pages of apache.org work fine... -Oorspronkelijk bericht- Van: Steven Sedlmeyer [mailto:[EMAIL PROTECTED]] Verzonden: dinsdag 21 mei 2002 16:36 Aan: '[EMAIL PROTECTED]' Onderwerp: RE: http://xml.apache.org/

Re: I18n Performance

2002-05-21 Thread Torsten Curdt
But IIRC the I18nTransformer is still not cachable - is he? doh! Yes, you're correct. (I'm using my own bastardization of the standard I18nTransformer over here. Cacheable + very fast since i replaced the XMLResoruceBundles with some hashmaps. Its on my list to package up + donate back,

RE: Detecting change on XML included with document() to reset cache?

2002-05-21 Thread Hunsberger, Peter
With care you may be able to do this in a portable way though not with the document function. The problem I see with asking the file generator to check dependencies is the overhead of parsing the entire document on every request. That's a reasonable idea; one could code the xsl to pick up a

Re: I18n Performance

2002-05-21 Thread Michael Zehrer
How would I do this? Michael Am Die, 2002-05-21 um 19.02 schrieb Peter Royal: On Tuesday 21 May 2002 11:50 am, Michael Zehrer wrote: I'm using I18n just for simple translations, no number, date, currency formatting and just one substitution. My log level is already ERROR. So nothing

Re: I18n Performance

2002-05-21 Thread Peter Royal
On Tuesday 21 May 2002 02:44 pm, Torsten Curdt wrote: Ages ago I proposed some changes on having a more abstract resource bundle (we'd like serve our from db) which has a last modified stamp so we can easily implement cacheable... but time you know ;-) I have 1/2 that :) We have bundles on

Re: Request parameters and FormValidator action

2002-05-21 Thread Christian Haul
On 21.May.2002 -- 01:15 PM, Ivan Luzyanin wrote: Hello all! I need to pass parameters from HTML-form to FormValidator and then get these parameters in XSP page: page1.xsp FormValidator page2.xsp But in page2.xsp request object contains only

Re: esql v1.22 multiple returned update counts and ResultSets

2002-05-21 Thread Christian Haul
On 20.May.2002 -- 11:19 AM, neil wrote: The loop test cannot be: } while(_esql_query.getMoreResults()); because this would stop the loop whenever the next result is an update count (without processing this update count and any following results). Please read the javadoc carefully any try

Re: esql v1.22 multiple returned update counts and ResultSets

2002-05-21 Thread Christian Haul
On 17.May.2002 -- 06:14 PM, Torsten Curdt wrote: On Friday 17 May 2002 16:34, Christian Haul wrote: On 17.May.2002 -- 02:31 PM, Christian Haul wrote: On 17.May.2002 -- 12:23 PM, Torsten Curdt wrote: I would nest if(hasResultSet) into the switch statement. We would want to have

RE: esql in sitemap

2002-05-21 Thread Zack Angelo
I had a feeling that would be rather inefficient. I'm developing a web application based on a modular framework. Each module (a sector of the application) has its own subdirectory, with its own sitemap. So, each sub-sitemap must be mounted in the primary sitemap. I'd like for whenever a

Re: Sybase goes Cocoon

2002-05-21 Thread Horst Rutter
Not my call, but I think this is a good reference and help to market Cocoon. - Original Message - From: Ivelin Ivanov [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, May 19, 2002 7:23 AM Subject: Re: Sybase goes Cocoon I wasn't. Should we add this to the Cocoon Links page?

RE: Problems with Saxon (6.5.2) and resolver (Cocoon 2.0.2)

2002-05-21 Thread Stephen Ng
Frank Ridderbusch [[EMAIL PROTECTED]] writes: - Starting the servlet-engine with the additional switch -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SA XParserFactoryImpl Oops, I forgot to mention that I had seen this on the mailing list and am doing this already. I'm not

RE: Problems with Saxon (6.5.2) and resolver (Cocoon 2.0.2)

2002-05-21 Thread Stephen Ng
Artur, What version of Cocoon are you using? 2.0.2 or something closer to 2.0.3? Steve -Original Message- From: Artur Bialecki [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 21, 2002 11:13 AM To: [EMAIL PROTECTED] Subject: RE: Problems with Saxon (6.5.2) and resolver (Cocoon

RE: I18n Performance

2002-05-21 Thread Stephen Ng
I think it would be swell if any transformer was cacheable, and the cache was controllable from the sitemap; e.g. SQLTransformer. -Original Message- From: Peter Royal [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 21, 2002 3:15 PM To: [EMAIL PROTECTED] Subject: Re: I18n Performance

RE: Problems with Saxon (6.5.2) and resolver (Cocoon 2.0.2)

2002-05-21 Thread Artur Bialecki
I'm using 2.0.2 with couple of .xsl files from cvs head with Saxon 6.5.2 (+ my patch). Artur... -Original Message- From: Stephen Ng [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 21, 2002 4:52 PM To: [EMAIL PROTECTED] Subject: RE: Problems with Saxon (6.5.2) and resolver (Cocoon

anonymous cvs broken

2002-05-21 Thread bob phillips
I am getting cvs server: Updating xml-cocoon2/src/java/org/apache/cocoon/components/language cvs [checkout aborted]: writing xml-cocoon2/src/java/org/apache/cocoon/components/language/LanguageException.java: Invalid argument *CVS exited normally with code 1* from anonymous cvs.

Re: anonymous cvs broken

2002-05-21 Thread bob phillips
False alarm... low on memory I think tomcat was filling up my temp directory on win2k... bob At 04:38 PM 5/21/2002 -0700, you wrote: I am getting cvs server: Updating xml-cocoon2/src/java/org/apache/cocoon/components/language cvs [checkout aborted]: writing

Very Important: Deploy Servlets in the Cocoon Context

2002-05-21 Thread Chitharanjan Das
Hello All, I am in process of developing an automated client and server side form validation processing. I need to know how to invoke a Servlet in cocoon. The Servlet needs to be in the same context of cocoon (i.e. should be able to access the session and request objects with other

RE: esql v1.22 multiple returned update counts and ResultSets

2002-05-21 Thread neil
On 22 May 2002 Christian Haul wrote: The loop test cannot be: } while(_esql_query.getMoreResults()); because this would stop the loop whenever the next result is an update count (without processing this update count and any following results). Please read the javadoc carefully any try