strange delays in pipeline on Unix machine

2003-09-23 Thread Conal Tuohy
Hello fellow Cocooners! I have a strange problem which makes my Cocoon site run very slowly on a Tru64 Unix box. I've attached an extract of the core.log file which shows the problem (which does not occur on my Windows2k box). There is a strange delay of a few seconds between getting a

Re: strange delays in pipeline on Unix machine

2003-09-23 Thread Niclas Hedhman
On Tuesday 23 September 2003 14:20, Conal Tuohy wrote: Does anyone have any idea? Can you make a suggestion as to where to look? I'm tearing my hair out here!!! Since the delay is so substantial, can you determine if the delay is prior or after the servlet request has been passed to Cocoon? I

Re: Accessing FormValidatorAction parameters in the sitemap

2003-09-23 Thread Derek Hohls
Chris Thanks for the reply - the form validation is used elsewhere in the sitemap, as part of user authentication in fact. However, I need to access the {username} again for display in certain pages. Do you know how to access this value? Thanks Derek On 22.Sep.2003 -- 02:36 PM, Derek Hohls

Re: JXPath usage problem

2003-09-23 Thread Leszek Gawron
On Mon, Sep 22, 2003 at 08:26:41PM -0700, Christopher Oliver wrote: Try this: select style=width: 147 name=Dev_DtId t:forEach select=#{typeList} t:choose t:when test=#{/pocket/Dev_DtId = Dt_DtId} option

Re: EJB + Cocoon, Best Practices

2003-09-23 Thread Joerg Heinicke
Niclas Hedhman wrote: On Monday 22 September 2003 06:29, Joerg Heinicke wrote: We used EJB + Cocoon 2.0.4 for our project ConWeb. Is this a Internet site where you con, scam, cheat and defraud people? ;o) Such a negative word! But of course not: http://conweb.virbus.de (XUL application =

AW: File existence

2003-09-23 Thread Mustafa Ali, Halgurt
You are right, I am sorry; I will try to solve it alone. Regards, Schoene Gruesse, -Ursprüngliche Nachricht- Von: Joerg Heinicke [mailto:[EMAIL PROTECTED] Gesendet: Samstag, 20. September 2003 20:29 An: [EMAIL PROTECTED] Betreff: Re: File existence Sorry for my impatience - but how

Using multiple resources in cocoon

2003-09-23 Thread Mustafa Ali, Halgurt
Hi, I have maybe a stupid question; I am using an xml-file to generate some web application with cocoon, here is a part of my xml-file: ?xml version=1.0 ? - rdf:RDF xmlns:rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns# xmlns:ut=http://description.org/schema/user-type

Re: Accessing FormValidatorAction parameters in the sitemap

2003-09-23 Thread Christian Haul
Derek Hohls wrote: Chris Thanks for the reply - the form validation is used elsewhere in the sitemap, as part of user authentication in fact. However, I need to access the {username} again for display in certain pages. Do you know how to access this value? that sounds like it lives somewhere

nested variable substitution?

2003-09-23 Thread Verwer, Nico
Dear subscribers, I have a question concerning variable substitution. In my sitemap I define a global variable: map:component-configurations global-variables basemyDirectory/base /global-variables /map:component-configurations Now I try to use this within the

Cocoon + IXSIL

2003-09-23 Thread Josep Riudavets
Hi ... My name is Josep, from Barcelona (Spain).I'm trying to develop a XSP page, including an instance of my own class:?xml version="1.0" encoding="UTF-8"??cocoon-process type="xsp"??cocoon-process type="xslt"?xsp:page language="java" xmlns:xsp="http://apache.org/xsp"

Re: strange delays in pipeline on Unix machine

2003-09-23 Thread Bertrand Delacretaz
Le Mardi, 23 sep 2003, à 14:06 Europe/Zurich, Geoff Howard a écrit : ...Could still be a timed out DNS/other lookup if its attempting to resolve namespace entities? or DTDs/schemas identifed by Internet URLs? (but I don't think so if it's only XSLT transforms) -Bertrand

Installing cocoon on Sunone - Urgent

2003-09-23 Thread Boominathan M
Pl. find my question posted below: --- Boominathan M [EMAIL PROTECTED] wrote: Hi I have installed cocoon 2.0.4 on solaris machine running on SUNONE application server. When i tried to access using http://server-name/cocoon, i'm getting the following exception. I tried copying all the

java.util.EmptyStackException occuring from time to time

2003-09-23 Thread Thomas Haselberger
Hello, In a cocoon app (2.0.4), I get these errors from time to time - any hints how to track the problem ? java.util.EmptyStackException at org.apache.commons.collections.ArrayStack.peek(Unknown Source) at org.apache.cocoon.components.EnvironmentStack.getCurrent(EnvironmentStac

RE: new request namespace?

2003-09-23 Thread Fleischer Roman
Hi Joerg thanks for your answer, but it still does not work. I defined the namespaces xmlns:request=http://apache.org/cocoon/request/2.0; and xmlns:h=http://apache.org/cocoon/request/2.0 to my stylesheet. But how can I get the value of the target attribute? With cocoon 2.1M1

Re: strange delays in pipeline on Unix machine

2003-09-23 Thread Niclas Hedhman
On Tuesday 23 September 2003 19:48, Conal Tuohy wrote: Cheers Niclas I am definitely NOT using a JIT. not the usual HotSpot machine. Plus I have to run it in classic mode when debugging anway :-) Actually the Unix JVM runs sweetly apart from these huge delays associated with the XSLT

Re: nested variable substitution?

2003-09-23 Thread Christian Haul
Verwer, Nico wrote: Dear subscribers, I have a question concerning variable substitution. In my sitemap I define a global variable: map:component-configurations global-variables basemyDirectory/base /global-variables /map:component-configurations Now I try to use this

RE: Cocoon + IXSIL

2003-09-23 Thread Wermus Fernando
José,     Qué tal? Soy de Argentina y en este momento estoy en la misma situación que vos. Viste que en jsp hay que declarar las clases con useBean... en el caso de cocoon es con xsp:incluye, estas seguro? Si llego a resolverlo o lo haces vos en tu caso me avisas. Salduso1

XSP kills transformation

2003-09-23 Thread David Merrilees
Hi, my name is David, i'm from the UK, i'm developing transformations within Cocoon for learning resources. I have a problem when serialising SVG to JPEG when my content is XSP but It works fine when it's XML. Any bright ideas?

RE: XSP kills transformation

2003-09-23 Thread Reinhard Poetz
use views to debug your pipelines (http://wiki.cocoondev.org/Wiki.jsp?page=DebuggingWithViews). have also a look at namespaces. cheers, Reinhard -Original Message- From: David Merrilees [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 4:46 PM To: [EMAIL PROTECTED]

RE: XSP kills transformation

2003-09-23 Thread Richard R. McKinley
Please, show off the block that defines this resource in your sitemap. -Original Message- From: David Merrilees [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 8:46 AM To: [EMAIL PROTECTED] Subject: XSP kills transformation Hi, my name is David, i'm from the UK, i'm

Re: JXPath usage problem

2003-09-23 Thread Christopher Oliver
What output do you get (if any)? And what type of object is typeList? Leszek Gawron wrote: On Mon, Sep 22, 2003 at 08:26:41PM -0700, Christopher Oliver wrote: Try this: select style=width: 147 name=Dev_DtId t:forEach select=#{typeList} t:choose t:when test=#{/pocket/Dev_DtId = Dt_DtId}

RE: XSP kills transformation

2003-09-23 Thread David Merrilees
From the site map: map:match pattern=LPTitle.jpeg map:generate type=file src=lessonplan.xsp / map:transform type=xslt src=lessonplantitle.xsl / map:serialize type=svg2jpeg / /map:match lessonplantitle.xsl: ?xml version=1.0?

RE: EJB + Cocoon, Best Practices (became Flow Script discussion )

2003-09-23 Thread Tim Olson
there are a few reasons we didn't use flow scripts even though they are quite cool technologically. -- we wanted to execute a series of actions which can not only follow different paths like selectors but can also emit XML which is concatenated into the response stream. there's no cocoon

Re: EJB + Cocoon, Best Practices (became Flow Script discussion )

2003-09-23 Thread Steven Noels
Tim Olson wrote: there are a few reasons we didn't use flow scripts even though they are quite cool technologically. snip type=nice rationale/ Out of the blue: did you take a look at the (hopelessly underdocumented) Apples controller? /Steven -- Steven Noels

RE: wsproxy and request parameters

2003-09-23 Thread Jeff Ramsdale
Hi again, Worked great! Thanks! Yes, but I've re-opened the bug, because it really isn't re-encoding the request parameters correctly. The WSProxy, along with the newer HttpProxy, get request parameters from two different sources. The first is from the src attribute, like so:

Re: What happened to formerly informative status page?

2003-09-23 Thread Joerg Heinicke
Mike Klein wrote: I have downloaded the latest cocoon distribution and noticed the status page is pretty dang sparse. Used to be it was super-informative...did the url to it change? thanks in advance... http://127.0.0.1:/samples/status.html What are you missing? Joerg

RE: wsproxy and request parameters

2003-09-23 Thread Jeff Ramsdale
Joerg, map:generate type=wsproxy src=http://foo.bar/endpoint?parm1=val1parm2=val2/ Early on I noticed trouble here when testing and manually changed all the characters to amp; in my src string. The example you show didn't do that--does it work for you as written above? Just

Re: new request namespace?

2003-09-23 Thread Joerg Heinicke
Hmm, strange. As I sad, the namespace prefix makes no difference. Important is the binding of the namespace uri to an arbitrary namespace prefix in the stylesheet. This must also be done if the original XML uses the default namespace (as you mentioned it was done this way: the XML had no

RE: What happened to formerly informative status page?

2003-09-23 Thread Mike Klein
I used to get a 'full' status page ala phpstatus. Showed installed modules, etc. More colors, lots of info in html tables, etc. Now I just get a simple screen with just a few parms shown (vm, memory, jre). My prior status page showed SO much more information. I believe my build went ok, as I am

Re: AW: File existence

2003-09-23 Thread Joerg Heinicke
Mustafa Ali, Halgurt wrote: You are right, I am sorry; I will try to solve it alone. Regards, Schoene Gruesse, Please don't take it personally. As you can see many people on this list are willing to help. But: you must ask the right questions. Regards, Joerg PS: Where are you situated? I

Re: EJB + Cocoon, Best Practices

2003-09-23 Thread Joerg Heinicke
Not until now though it was planned and we finished work 2 months ago. I know we have a presentation system, which is normally not reachable from outside. I will ask the /decision-makers/ tomorrow :-) Thanks for your interest, Joerg PS: Reinhard also asked some time ago when we haven't

What are differences between 2.0 and 2.1? Or point me to url

2003-09-23 Thread Mike Klein
I remember that my old 2.0 status page showed ldap and other generators/producers/etc. Seemed much more informative. I guess this is a difference between cocoon 2.0 and 2.1...I've looked for faqs describing the differences between these releases but haven't found anything. What in a nutshell is

Choosing a Flowscript view generator/framework?

2003-09-23 Thread Andrzej Jan Taramina
There are a number of view generators/frameworks that you can use with Flowscript, namely: - JXTemplate - JPath - JXForms - others which do not really interest me. I'm trying to decide which one to use for an application I am designing/developing and hope to

Re: Using multiple resources in cocoon

2003-09-23 Thread Joerg Heinicke
Hello Halgurt, it's obviously more an XSLT problem and so a bit off topic, but here is my comment: Your XML structures make it more difficult than necessary. Can you change it? If you have ut:usertypes ut:usertypetourist/ut:usertype ut:usertypebusinessman/ut:usertype /ut:usertypes in the

Re: What are differences between 2.0 and 2.1? Or point me to url

2003-09-23 Thread Joerg Heinicke
Mike Klein wrote: I remember that my old 2.0 status page showed ldap and other generators/producers/etc. Seemed much more informative. I guess this is a difference between cocoon 2.0 and 2.1...I've looked for faqs describing the differences between these releases but haven't found anything. What

Cocoon and weblogic 7.0

2003-09-23 Thread Pablo Aravena
Hi cocooners I really need help getting cocoon 2.0.4 (or 2.1) works on Weblogic 7.0 if someone knows the steps that I have to follow please help me Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: JXPath usage problem

2003-09-23 Thread Leszek Gawron
On Tue, Sep 23, 2003 at 08:15:44AM -0700, Christopher Oliver wrote: What output do you get (if any)? I get the select filled with all options of which none has the selected attribute set And what type of object is typeList? it is ScriptableRowSet.rows (Database.js and helper classes) select

Re: What are differences between 2.0 and 2.1? Or point me to url

2003-09-23 Thread Geoff Howard
Mike Klein wrote: I remember that my old 2.0 status page showed ldap and other generators/producers/etc. Seemed much more informative. Are you sure this was 2.0? I don't remember anything like what you're decribing. The status page as I remember it always showed the information like it does

Re: wsproxy and request parameters

2003-09-23 Thread Tony Collen
Jeff Ramsdale wrote: snip/ Actually, I figured that was probably the case. So Tony's example must have been an error. I wanted to trust him! ;-) Yes, I messed up.. all those 's should read as amp;. I was lazy and stupid. Anyway, the short of it is that the proxy takes the provided request

RE: wsproxy and request parameters

2003-09-23 Thread Jeff Ramsdale
Jeff Ramsdale wrote: snip/ Actually, I figured that was probably the case. So Tony's example must have been an error. I wanted to trust him! ;-) Yes, I messed up.. all those 's should read as amp;. I was lazy and stupid. Well, let's not overdo it! I though the winky would lighten my

Odd problem(s) installing cocoon 2.1.1 under Windows 2000

2003-09-23 Thread DChri36990
I just finished working through some problems getting cocoon installed on my system.I found them to be rather odd, so I figured I'd bring it to the group's attention. I believe everything in my configuration is about as current as could be, as I recently had to reinstall W2K: Windows 2000 SP4

RE: Odd problem(s) installing cocoon 2.1.1 under Windows 2000

2003-09-23 Thread neil
I think you need to unpack the kit with gnu-tar (winzip doesn't make the empty directories). I did read this somewhere, but can't find the reference now. I use the tar in cygwin. Cheers, Neil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL

Re: command line Oracle connection

2003-09-23 Thread Upayavira
I have never really tried to use Cocoon with a database, whether CLI or servlet. I did however come across the fact that the web.xml option to load a driver class was missing from the CLI, so therefore it _could not_ work with databases. I added the code from the servlet into the CLI, but