Re: The cocoon protocol can not be used outside an environment.

2011-02-08 Thread Sylvain Wallez
rror in cocoon.log** INFO (2011-02-06) 12:54.10:018 [cron] (Unknown-URI) Unknown-Thread/QuartzJobExecutor: Executing cron job named 'pipeline-writetest' ERROR (2011-02-06) 12:54.10:019 [cron] (Unknown-URI) Unknown-Thread/QuartzJobExecutor: Cron job name 'pipeline-writetest

The cocoon protocol can not be used outside an environment.

2011-02-06 Thread pankaj gajjar
on job named 'pipeline-writetest' ERROR (2011-02-06) 12:54.10:019 [cron] (Unknown-URI) Unknown-Thread/QuartzJobExecutor: Cron job name 'pipeline-writetest' died. java.net.MalformedURLException: The cocoon protocol can not be used outside an environment. at org.apache.cocoon.comp

[2.2] Register cocoon:/ protocol to be accessible from Batik

2009-07-24 Thread Andreas Hartmann
Hi everyone, I'd like to enable Batik to resolve cocoon:/ URIs in xlink references. Just some quick questions to avoid spending time on a dead end: * Has this been done already with Cocoon 2.2? * Is JNet [1] the way to go? TIA for any pointers! [1] http://cocoon.apache.org/subprojects/jnet/1.

Re: Cocoon protocol memory leak

2009-07-03 Thread Alexander Daniel
On 13.05.2009, at 17:40, Will Sheppard wrote: After we replaced all the ‘cocoon:’ protocol calls with 'http://localhost/path/to/cocoon' , the memory leak disappeared. No matter how many times or how fast the pipeline was hit, memory usage would always come down just before it rea

Re: Cocoon protocol memory leak

2009-05-19 Thread Alexander Daniel
Thanks for sharing your observations. This might be related to a problem we are currently facing. The use of the cocoon: protocol has several other pros additional to error stack: - caching - map:generate in caller and map:serialize in callee will be optimized and the SAX stream is passed

Cocoon protocol memory leak

2009-05-13 Thread Will Sheppard
would shoot up to 200Mb and never come down, even after garbage collection had run. After we replaced all the Œcocoon:¹ protocol calls with 'http://localhost/path/to/cocoon', the memory leak disappeared. No matter how many times or how fast the pipeline was hit, memory usage would always

Re: Saxon does not recognise cocoon protocol

2009-04-01 Thread craiggulliver
log files, you'll probably find your problem. Craig Abbas Mousavi wrote: > > Hi All > > newly I replaced Xalan with Saxon, to use some of its features. It works > well > with all of my stylesheets but does not works with stylesheets that use > cocoon:// protocol to

Re: cocoon: protocol

2007-08-30 Thread Steven D. Majewski
On Aug 30, 2007, at 10:20 AM, Edward S wrote: that was a browser message The cocoon: URL is only understood in the sitemap ( and, I think, in flowscript ). If you're getting that as a browser error, then the cocoon: URL is escaping the sitemap. The browser really doesn't know what to do with

Re: cocoon: protocol

2007-08-30 Thread Edward S
that was a browser message On 8/30/07, Steven D. Majewski <[EMAIL PROTECTED]> wrote: > > > On Aug 30, 2007, at 9:55 AM, Edward S wrote: > > > thanks Jasha. > > I am trying to use it in a sitemap and am getting a 'unknown > > protocol: cocoon' error. > > > > Any idea why this is happening? > > > >

Re: cocoon: protocol

2007-08-30 Thread Steven D. Majewski
On Aug 30, 2007, at 9:55 AM, Edward S wrote: thanks Jasha. I am trying to use it in a sitemap and am getting a 'unknown protocol: cocoon' error. Any idea why this is happening? thanks Ed. Are you getting this message in the cocoon log ? Or is that a browser error message ? -- Steve Ma

Re: cocoon: protocol

2007-08-30 Thread Edward S
never mind. i figured out that cocoon: wasnt the protocol I should be using there thanks -Ed. On 8/30/07, Jasha Joachimsthal <[EMAIL PROTECTED]> wrote: > > Could you please send the pipeline snippet in which you are using the > cocoon protocol? > > > Jasha Joachimsth

RE: cocoon: protocol

2007-08-30 Thread Jasha Joachimsthal
Could you please send the pipeline snippet in which you are using the cocoon protocol? Jasha Joachimsthal Hippo Oosteinde 11 1017 WT Amsterdam The Netherlands +31 (0)20 5224466 www.hippo.nl _ From: Edward S [mailto:[EMAIL PROTECTED] Sent: donderdag 30 augustus 2007

Re: cocoon: protocol

2007-08-30 Thread Edward S
t; Regards, > > > Jasha Joachimsthal > > Hippo > Oosteinde 11 > 1017 WT Amsterdam > The Netherlands > +31 (0)20 5224466 > > www.hippo.nl > > -- > *From:* Edward S [mailto:[EMAIL PROTECTED] > *Sent:* donderdag 30 augustus 2007 1

RE: cocoon: protocol

2007-08-30 Thread Jasha Joachimsthal
Subject: cocoon: protocol hey guys, How does the cocoon:/ and cocoon:// protocol work? thanks Ed

cocoon: protocol

2007-08-30 Thread Edward S
hey guys, How does the cocoon:/ and cocoon:// protocol work? thanks Ed

RE: Re: Saxon does not recognise cocoon protocol

2006-08-29 Thread Ard Schrijvers
r about is that Saxon behaves > differently than Xalan. > But I'd put my shirt off that it is not because Xalan is also > from Apache :) > > > Seeing its implementation, I am curious about what it means > for the caching > > impl. I can not imagine that the validity of

Re: Saxon does not recognise cocoon protocol

2006-08-29 Thread Mark Lundquist
On Aug 29, 2006, at 7:39 AM, Askild Aaberg Olsen wrote: My experience is that if the referenced pipeline fails, Saxon reports this as "unkown protocol cocoon", or something similar. That is exactly right. Try invoking the pipeline directly from your browser (if the pipeline is not "internal

Re: Saxon does not recognise cocoon protocol

2006-08-29 Thread Askild Aaberg Olsen
Abbas Mousavi wrote: Hi All newly I replaced Xalan with Saxon, to use some of its features. It works well with all of my stylesheets but does not works with stylesheets that use cocoon:// protocol to access some xml files. I think that saxon uses the same URI Resolver as other cocoon

Re: Saxon does not recognise cocoon protocol

2006-08-29 Thread Joerg Heinicke
Ard Schrijvers hippo.nl> writes: > > > ...I want to know "why saxon can not recognize urls > > > starting with cocoon:// > > > > In the XSLT document() function, you mean? > > Never noticed this function in XSLT... > > Then again, why wo

RE: RE: Saxon does not recognise cocoon protocol

2006-08-29 Thread Ard Schrijvers
> > > ...I want to know "why saxon can not recognize urls > > starting with cocoon:// > > In the XSLT document() function, you mean? Never noticed this function in XSLT... Then again, why would Saxon know about the cocoon:// protocol. Xalan perhaps happens to know,

Re: RE: Saxon does not recognise cocoon protocol

2006-08-29 Thread Abbas Mousavi
yes, I am reading the xml by document functionfor example document('cocoon://path/to/some/xml.file');Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: On 8/29/06, Abbas Mousavi <[EMAIL PROTECTED]> wrote:> ...I want to know "why saxon can not recognize urls> starting with cocoon://In the XSLT document(

Re: RE: Saxon does not recognise cocoon protocol

2006-08-29 Thread Bertrand Delacretaz
On 8/29/06, Abbas Mousavi <[EMAIL PROTECTED]> wrote: ...I want to know "why saxon can not recognize urls starting with cocoon:// In the XSLT document() function, you mean? Then my previous answer is irrelevant. -Bertrand -

RE: Saxon does not recognise cocoon protocol

2006-08-29 Thread Abbas Mousavi
I use cocoon protocol to read some small  bit of data to my stylesheet from an xml file, I know that it can be done with include transformer, but this is not the problem, I want to know "why saxon can not recognize urls starting with cocoon://Ard Schrijvers <[EMAIL PROTECTED]> wrot

RE: Saxon does not recognise cocoon protocol

2006-08-29 Thread Ard Schrijvers
> > ...I replaced Xalan with Saxon, to use some of its > features. It works > > well with all of my stylesheets but does not works with > stylesheets that use > > cocoon:// protocol to access some xml files... ?? I do not understand this anyway? You are fetching so

Re: Saxon does not recognise cocoon protocol

2006-08-29 Thread Bertrand Delacretaz
On 8/29/06, Abbas Mousavi <[EMAIL PROTECTED]> wrote: ...I replaced Xalan with Saxon, to use some of its features. It works well with all of my stylesheets but does not works with stylesheets that use cocoon:// protocol to access some xml files... Saxon shouldn't make a difference

Saxon does not recognise cocoon protocol

2006-08-29 Thread Abbas Mousavi
Hi Allnewly I replaced Xalan with Saxon, to use some of its features. It works wellwith all of my stylesheets but does not works with stylesheets that usecocoon:// protocol to access some xml files.I think that saxon uses the same URI Resolver as other cocoon components, Is it wrong? All-new Ya

i18n and cocoon protocol

2005-04-25 Thread Nick Goupinets
Hi everybody, Just wondering if i18n transformer fully supports Cocoon source resolving. In particular if I can use cocoon:/ protocol for fetching catalogues? I.e. can I put something like that into the sitemap: ... cocoon:/translations

Re: cocoon-protocol in document-function

2005-04-05 Thread Jens Reufsteck
ms to be quite sensitive about that and wasn't able to load the resulting 'document'. Jens Jens Reufsteck wrote: I've got problems with the cocoon-protocol used inside the document-function, e.g.: The intention is to fetch a dynamically produced configuration-parameter g

Re: cocoon-protocol in document-function

2005-04-05 Thread Geert Josten
e: Hi, I've got problems with the cocoon-protocol used inside the document-function, e.g.: The intention is to fetch a dynamically produced configuration-parameter generated by the following pipeline: The strange thing is, that the const

cocoon-protocol in document-function

2005-04-04 Thread Jens Reufsteck
Hi, I've got problems with the cocoon-protocol used inside the document-function, e.g.: The intention is to fetch a dynamically produced configuration-parameter generated by the following pipeline: The strange thi

Incorect xsl stylesheets caching with xsl:include and cocoon: protocol

2005-02-10 Thread Wojciech Gdela
Hello I have problem with caching of xsl stylesheets. Here is a simplified example, I have layout.xsl pipeline: When I try it on browser it works correctly, and depending on host name I see different layout_*.xsl files. This pipeline I include in a s

Re: sendmail - Problems with cocoon protocol

2005-01-27 Thread Thorsten Scherler
Thorsten Scherler escribió: Hello list, I am having proplems with the cocoon:/ protocol in the email:attachment tag. That is wrong! I need to use @src for cocoon:/... -- thorsten "Together we stand, divided we fall" Hey you (

sendmail - Problems with cocoon protocol

2005-01-26 Thread Thorsten Scherler
Hello list, I am having proplems with the cocoon:/ protocol in the email:attachment tag. Using this I get "unknown protocol: cocoon". When looking at http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/mail/transformation/SendMailTransformer.html I thought that cocoon:/ is poss

java.net.MalformedURLException: The cocoon protocol can not be used outside an environment.

2004-12-08 Thread Stefan Geelen
following error is reported: org.apache.avalon.framework.CascadingRuntimeException: CronJob send-new-version-in-account raised an exception at org.apache.cocoon.components.cron.TestCronJob.execute(TestCronJob.java:99) Caused by: java.net.MalformedURLException: The cocoon protocol can not

xslt transformer and cache if cocoon protocol is used for its source

2004-11-25 Thread jumal . is
Hello, I would like to know if the xslt transformer is able to cache if its source is the result of a cachable execution of another pipeline, eg something like src="cocoon://fooBar". The documentation says it is cacheable and it uses the last modification date of the xslt document for validation.

cocoon protocol usage

2004-05-19 Thread Alex Cachia
map I am working with the portal-fw example and have configured the handler as follows If I use the cocoon:// protocol, cocoon can not find the site map because it is tacking on the webcontext on the path. I would expect that it would look for the sitemap under E:/Tapor/Implementation/Tapo

cocoon:/ protocol in xsp

2004-04-14 Thread Meyer, Christian
Hi, is it possible to use the cocoon protocol in xsp pages to translate the contexts absolute? Thanks cham - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: cocoon protocol not available

2004-03-30 Thread Albert Cervera Areny
ristian wrote: > >> Thanks for your answer, but you can use the cocoon mit one or two >> slashes. >> >> one slash - defines the context of the mounted sitemap >> two slashes - defines the context of the root sitemap >> >> @all: >> >> I will upgrad

Re: cocoon protocol not available

2004-03-27 Thread Joerg Heinicke
On 03.03.2004 09:00, Meyer, Christian wrote: Thanks for your answer, but you can use the cocoon mit one or two slashes. one slash - defines the context of the mounted sitemap two slashes - defines the context of the root sitemap @all: I will upgrade the version because i believe that the cocoon

Re: xslt from cocoon://-protocol and subsite-map stackoverflow in 2.1.4

2004-03-24 Thread Askild Aaberg Olsen
works with the cocoon:/-protocol, but if I place the "calling"-sitemap in a subsitemap, and then use "cocoon:/../test/test.xslt" as src to the transformation it fails with the stackoverflow again. This mimics my sitemap arrangement when I upgraded to 2.1.4. Since the problem ap

Re: xslt from cocoon://-protocol and subsite-map stackoverflow in 2.1.4

2004-03-23 Thread Joerg Heinicke
ation, but using the cocoon:// protocol for XSLT-generation is very a powerfull feature of Cocoon) Askild - Snippet of main sitemap: - Snippet of

VelocityGenerator and cocoon protocol

2004-03-19 Thread Ralph Goers
I tried specifying src="" when calling the VelocityGenerator and got a ResourceNotFound error from a Velocity class. I had thought that Cocoon was adding its resolver handling to velocity.  Does this not work?   Ralph -

RE: cocoon protocol not available

2004-03-03 Thread Meyer, Christian
Thanks for your answer, but you can use the cocoon mit one or two slashes. one slash - defines the context of the mounted sitemap two slashes - defines the context of the root sitemap @all: I will upgrade the version because i believe that the cocoon protocol was not implemented right in 2.0.3

RE: cocoon protocol not available

2004-03-02 Thread Rob Gregory
son that the cocoon protocol is not available in the > sitemap? I use cocoon 2.0.3 and got the following error while > using the > cocoon protocol: > > java.lang.IllegalArgumentException: The url > cocoon:/bf_orders_actions_show > cannot be converted into a valid url. java.net

Re: cocoon protocol not available

2004-03-02 Thread Jan Hoskens
rom: "Meyer, Christian" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 02, 2004 2:47 PM Subject: RE: cocoon protocol not available > yes it is, but i need the protocol definition because without this protocol > the redirect-to tag makes a hard redirect w

RE: cocoon protocol not available

2004-03-02 Thread Meyer, Christian
[mailto:[EMAIL PROTECTED] Sent: Dienstag, 2. März 2004 14:40 To: [EMAIL PROTECTED] Subject: Re: cocoon protocol not available Isn't the cocoon:/ implicitly used in the sitemap? Have you tried without the protocol? Jan - Original Message - From: "Meyer, Christian" <[EM

Re: cocoon protocol not available

2004-03-02 Thread Jan Hoskens
Isn't the cocoon:/ implicitly used in the sitemap? Have you tried without the protocol? Jan - Original Message - From: "Meyer, Christian" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 02, 2004 2:30 PM Subject: RE: cocoon protocol not availa

RE: cocoon protocol not available

2004-03-02 Thread Meyer, Christian
It is normally work in 2.0.3 too. But i cant change the version in a running project. -Original Message- From: Carmona Perez, David [mailto:[EMAIL PROTECTED] Sent: Dienstag, 2. März 2004 14:25 To: [EMAIL PROTECTED] Subject: RE: cocoon protocol not available Why don't you try w

RE: cocoon protocol not available

2004-03-02 Thread Carmona Perez, David
Why don't you try with a newer version of Cocoon. E.g. with Cocoon 2.0.4, 2.1.2, 2.1.3 it has worked ok for me. -Mensaje original- De: Meyer, Christian [mailto:[EMAIL PROTECTED] Enviado el: martes, 02 de marzo de 2004 12:48 Para: '[EMAIL PROTECTED]' Asunto: cocoon protoco

cocoon protocol not available

2004-03-02 Thread Meyer, Christian
Hi, where is the reason that the cocoon protocol is not available in the sitemap? I use cocoon 2.0.3 and got the following error while using the cocoon protocol: java.lang.IllegalArgumentException: The url cocoon:/bf_orders_actions_show cannot be converted into a valid url

xslt from cocoon://-protocol and subsite-map stackoverflow in 2.1.4

2004-02-25 Thread Askild Aaberg Olsen
ovide a fix for this. (I *do* know how I can circumvent the problem in my application, but using the cocoon:// protocol for XSLT-generation is very a powerfull feature of Cocoon) Askild - Snippet of main sitemap: - Snippet of

Re: Basic "cocoon" Protocol Question

2003-12-01 Thread Joerg Heinicke
On 01.12.2003 23:05, Dave Allen Barker Jr wrote: Joerg, thank you for your reply, I wasn't sure this was even a bug. I've filed a bug as you requested. No problem, it's good to ask on the lists first. Joerg

Re: Basic "cocoon" Protocol Question

2003-12-01 Thread Dave Allen Barker Jr
Please add your description including the testcase to Bugzilla. On 24.11.2003 21:36, Dave Allen Barker Jr wrote: Is the "cocoon" protocol designed for use only with XML sources? I've found when a pipeline consists of a single "map:read" element, if a non-XML resource is

Re: Basic "cocoon" Protocol Question

2003-11-28 Thread Joerg Heinicke
Hello Dave, your analyses are very appreciated, but they will go lost if you post them only on the list. Please add your description including the testcase to Bugzilla. Thanks for your effort. Joerg On 24.11.2003 21:36, Dave Allen Barker Jr wrote: Is the "cocoon" protocol design

Basic "cocoon" Protocol Question

2003-11-24 Thread Dave Allen Barker Jr
Is the "cocoon" protocol designed for use only with XML sources? I've found when a pipeline consists of a single "map:read" element, if a non-XML resource is requested in the "src" attribute via the "cocoon" protocol, it is served as "text/xml

Proper map:read and cocoon: Protocol Behavior?

2003-11-22 Thread Dave Allen Barker Jr
/plain" /> | The file is served with the mime-type overridden by explicit assignment. Seems to be as expected. 5 | | The file is served with the mime-type from the cocoon protocol read, which was assigned by the file read, which was assigned by the polici

Re: JspGenerator and cocoon protocol

2003-11-20 Thread Rui Alberto L.
Thanks Joerg, it worked!! I know that generating a JSP is not a good idea, but I have to live with it while I don't have time to to fix this up! Thanks again... On Thu, 2003-11-20 at 12:39, Joerg Heinicke wrote: > Yes, the support for cocoon:/ is broken at the moment. > Some time ago a solution

Re: JspGenerator and cocoon protocol

2003-11-20 Thread Joerg Heinicke
Yes, the support for cocoon:/ is broken at the moment. Some time ago a solution was provided at http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=106616211423973&w=2 (have I mentioned that I hate HTML mails?). But this is again only a partly fix, but should work for your problem. It won't work wi

JspGenerator and cocoon protocol

2003-11-20 Thread Rui Alberto L.
Hi all, in my sitemap I have an map:aggregation that part of its content is is generated invoking an internal pipeline: I'am getting an JspGenerator exception. I know that this is a well known problem when using cocoon:/ or context:/ protocols in cases like this one! I'am using

caching with the cocoon:/ protocol

2003-10-14 Thread Meyer, Christian
Hi, I have a pipeline which generates a xsp page from a XML. My problem is that the generated xsp page is not cached by the cocoon caching mechanism. But I cant find the problem, because the time of the cocoonresource is constant and this ressource is still cached. But the serverpages generator is

Re: Matching cocoon protocol requests

2003-07-17 Thread Andreas Hartmann
Geoff Howard wrote: Andreas Hartmann wrote: Hi list, is there a matcher that matches only cocoon:// requests or can be configured to do so? Or is there a reliable way to distinguish internal from external requests when implementing such a matcher? That's what "Internal Only" pipelines are for.

Re: Matching cocoon protocol requests

2003-07-17 Thread Andreas Hartmann
Geoff Howard wrote: Andreas Hartmann wrote: Hi list, is there a matcher that matches only cocoon:// requests or can be configured to do so? Or is there a reliable way to distinguish internal from external requests when implementing such a matcher? That's what "Internal Only" pipelines are for.

Re: Matching cocoon protocol requests

2003-07-17 Thread Geoff Howard
Andreas Hartmann wrote: Hi list, is there a matcher that matches only cocoon:// requests or can be configured to do so? Or is there a reliable way to distinguish internal from external requests when implementing such a matcher? That's what "Internal Only" pipelines are for. Geoff ---

Matching cocoon protocol requests

2003-07-17 Thread Andreas Hartmann
Hi list, is there a matcher that matches only cocoon:// requests or can be configured to do so? Or is there a reliable way to distinguish internal from external requests when implementing such a matcher? Thanks in advance! Andreas ---