* Mark Lundquist [EMAIL PROTECTED] [2004-02-10 04:22]:
On Feb 9, 2004, at 6:39 PM, Alan wrote:
Does the WoodyGenerator go from Woody template to Woody
interface directly?
No, with the WoodyGenerator there is no Woody template.
Okay, can someone point me to a pipeline or
We're using 2.1.3 as well, though we've seen this behaviour with earlier
versions. I second what Brent said -- the memory problems show up if the
webapps are frequently redeployed. We haven't noticed any problems in a
production environment (we haven't gone live yet).
John
Geoff Howard wrote:
Hi,
I am using cocoon-2.1.3 with Woody. I have a situation where I am using xsp
to display some data from a Woody form. The problem is when trying to
display the value of a date widget and the date format is the default one
instead of the one set in the widget definition. I have the following
On Mon, 2004-02-09 at 19:22, Hugo Marcelino wrote:
Hi Users of cocoon:
My name is Hugo Marcelino and a new problem came to me.
Imagine this situation:
-You want to define a link that has a reference like:
a
* Mark Lundquist [EMAIL PROTECTED] [2004-02-10 02:18]:
Hi Alan,
On Feb 9, 2004, at 9:49 AM, Alan wrote:
* Mark Lundquist [EMAIL PROTECTED] [2004-02-05 07:19]:
I am going through the same experience. I am recording my
impressions and discoveries in my web log:
On Jan 9, 2004, at 6:55 AM, Alex Romayev wrote:
I have a page with 3 forms. I have implemented each
form separately and combined the result in one page
using map:aggregate.
-Alex
Hi Alex,
Can you explain how you get this to work with flow? The flowscript for
each form is going to post its own
Looking at
http://avalon.apache.org/framework/principals/lifecycle.html
Does implementing Startable and Stoppable work?
Jorg
Stephan Coboos wrote:
Hello,
I do not understand how to initialize a component which comes from the
pool. Please have a look at the following example:
public class
Do you mean that every action already implements the Poolable interface ?
If so, why do I have these messages about decommissioning instance of ?
Vincent
-Message d'origine-
De : Nicolas Toper [mailto:[EMAIL PROTECTED]
Envoyé : lundi 9 février 2004 17:28
À : [EMAIL PROTECTED]
Objet :
Nope it doesn't, look at the Action interface, it extends Component.
The decommissiong message you're seeing is typical for non-pooled
components. You can tell whether a component is properly pooled by
looking for this message in the logs, if it appears then your pool for
this component is
Thanks.
So my question is still the same : what do I have to do in order to have my action
poolable ?
Vincent
-Message d'origine-
De : news [mailto:[EMAIL PROTECTED] la part de Jorg Heymans
Envoyé : mardi 10 février 2004 09:43
À : [EMAIL PROTECTED]
Objet : Re: Is it possible to have
Hi Users of cocoon:
My name is Hugo Marcelino and a new problem came to me.
Imagine this situation:
-You want to define a link that has a reference like:
a href=caixão offcourse this is impossible to get but
if
You implement marker interface Poolable
Jorg
MAHE Vincent FTRD/DIH/REN wrote:
Thanks.
So my question is still the same : what do I have to do in order to have my action poolable ?
Vincent
-Message d'origine-
De : news [mailto:[EMAIL PROTECTED] la part de Jorg Heymans
Envoyé : mardi
I am running
performance tests on a webapp usingCocoon 2.1.3 on Resin 2.1.9 with the
IBM JVM.
I have installed the
profiler which told me that most of time is spent on the xslt tranform in my
pipeline (the setup time, not the processing time)
For the moment I'm
using the default xalan
Jorg Heymans wrote:
Looking at
http://avalon.apache.org/framework/principals/lifecycle.html
Does implementing Startable and Stoppable work?
Jorg
Ahh, thats it!! The doc says
These lifecycle methods are only called once in the entire life of a
component:
- contextualize
- service
- configure
Jorg Heymans wrote:
Looking at
http://avalon.apache.org/framework/principals/lifecycle.html
Does implementing Startable and Stoppable work?
Jorg
Hello Jorg,
I'd tried it but the method start() will be called only once like
initialize() and then never more. How to stop it?
Thank you.
Regards
Jorg Heymans wrote:
Looking a bit better at the docs that was not the best advice from my
part sorry.
I am assuming that you want to use myComponent throughout your whole
component, hence the need to only look it up once when it comes from
the pool. But what is so special about myComponent
Jorg Heymans wrote:
I might be blind and having an off-day, but is there any other way of
trapping non-pipeline matches other than
init-param
param-namemanage-exceptions/param-name
param-valuefalse/param-value
/init-param
in web.xml?
I need to return 404 on all pipeline
Hi all,
I need to put a couple of forms on a page. The WoodyTemplateTransformer wiki page says the way to do this is to use the special @location attribute on wt:form-template>, to tell the transformer where to pick up the form instance.
It's kinda sketchy, but I think I can dig what they're
Hi,
I'm creating a link on a page that contains a special char 'Ü'. When I look
at the link this gets translated to '%C3%9C'. When this gets passed to my
flow (link is an xml that will be edited by woody/flow combination) as a
parameter, I get 'Ã?'. Somewhere the encoding is done wrong, but I
hi stephan,
I don't know exactly your use case, but...
why don't you just keep the datasource, I assume it won't change anyway. so
just close the connection in recycle() and release the data source in
dispose() (i.e. implement Disposable). in your processSomethingXY()s get the
connection by
Jorg,
What if write a pipeline that matches on the pattern **, wouldn't that do
what you want? Of course you'd have to put it on the bottom of the sitemap.
Maybe you also want to test on existance of resources, using the
resource-exists selector withing pipelines.
Hope it helps,
Jelle
Think about a SQL connection which should shared between two or more
methods in the component. After usage of the component the connection
must returned to the pool. Next time I will get the component from the
pool I need another connection object from the pool.
I'm appending a part of a
On 10.02.2004 10:29, Alan wrote:
I'm learning forms.
The registration example uses JXTemplate to generate the
confirmation page. Where does JXTemplate stand these days? Is it
a first class citizen of the Repblic of Cocoon?
The best resource on this is the CVS:
What if write a pipeline that matches on the pattern **, wouldn't that do
what you want? Of course you'd have to put it on the bottom of the sitemap.
works like a charm :)
Maybe you also want to test on existance of resources, using the
resource-exists selector withing pipelines.
is this
Marco Rolappe wrote:
hi stephan,
I don't know exactly your use case, but...
why don't you just keep the datasource, I assume it won't change anyway. so
just close the connection in recycle()
Yes, this is what I'am doing.
and release the data source in
dispose() (i.e. implement Disposable).
Jorg Heymans wrote:
Have you tried raising this on the developer list?
Yes, and on the avalon mailing list.
Sorry i can't be of more help :)
Ok. Thank you very much.
Regards
Stephan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
I have a set of nested Beans, from with I am trying to extract values
using JXTemplate.
album - an Album Bean
title - String
text - String
. . .
resources - ArrayList of Resource Beans
artefact - String
text - String
hi stephan,
-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag
von Stephan Coboos
Gesendet: Dienstag, 10. Februar 2004 12:22
An: [EMAIL PROTECTED]
Betreff: Re: AW: How to initialize a component coming from the pool?
Marco Rolappe wrote:
hi
Hi to all :)
Thanks for replying my question. I think I'll by a P3, min 256MB, 10GB
notebook. It could be sufficient for my mobile work.
Regards,
mirko
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Hi,
I ma having problems resolving validating a form before it hits a database to check the users details. My pipeline is:
!-- = -->
!-- Form target which performs auth service -->
!-- = -->
map:match pattern=login>
MAHE Vincent FTRD/DIH/REN wrote:
Do you mean that every action already implements the Poolable interface ?
If so, why do I have these messages about decommissioning instance of ?
Some of the base action classes do, so it depends on your inheritance
tree. If your action just implements Action
Marco Rolappe wrote:
and why isn't that possible? AFAIK implementing Poolable doesn't prevent
implementing Disposable. if you implement Disposable, the component's
dispose() method should get called when the pool and therefore the
pooled/recycled component itself gets disposed.
Hello Marco,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I was wondering what the status of the fins block currently is. I am using
FINS with great pleasure and also made some enhancements to it (added the
BoxAndWhisker Plots which are recently available in JfreeChart).
I think JFreeChart is a great
John L. Webber wrote:
We're using 2.1.3 as well, though we've seen this behaviour with earlier
versions. I second what Brent said -- the memory problems show up if the
webapps are frequently redeployed. We haven't noticed any problems in a
production environment (we haven't gone live yet).
I wrote my own RDQLGenerator, if you still need help I can send it to you. Regards
-Ursprüngliche Nachricht-
Von: Joerg Heinicke [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 30. Januar 2004 19:57
An: [EMAIL PROTECTED]
Betreff: Re: Cocoon and RDQL
On 30.01.2004 16:55, Dioc Vine wrote:
Geoff Howard wrote:
This is odd, as it would seem logically that restarting the webapp
should reset all memory usage. There is of course some state which is
persisted between startups but I'm most suspicious that this is a
container issue.
- John, do you also use Tomcat? Which version do
On Tue, 10 Feb 2004 02:53:07 +0100
Joerg Heinicke [EMAIL PROTECTED] wrote:
On 09.02.2004 12:17, Joern Wallstabe wrote:
Hi everyone,
I'm using woody and I have to use flow validation functions for form validation.
In which way do you use them?
How can I get a localized (!!)
- John, do you also use Tomcat? Which version do you both use?
I'm using 4.1.27.
- For a trial, do you get the same behavior deployed on
Jetty? (either
the bundled version or the full version from mortbay.org)
Haven't tried it with Jetty.
- Are there any symptomatic errors in cocoon's
None that I've noticed. But unlike John, I dont wait for
OutOfMemory.. once performance drops I can't stand it so I just
restart Tomcat.
I thought you were saying this problem spanned restarts - obviously
we're talking about re-deploys in a running container then.
So how do
you
What does your flowscript look like? Just a guess, but is it possible
you are catching the exception from
sendPage*(pipeline-containing-your-template) in your script? That
could explain the generator already set error (which occurs when you
incorrectly call sendPage*() more than once in the
Brent L Johnson wrote:
None that I've noticed. But unlike John, I dont wait for
OutOfMemory.. once performance drops I can't stand it so I just
restart Tomcat.
I thought you were saying this problem spanned restarts - obviously
we're talking about re-deploys in a running container then.
So
Hello,
In my app I had to switch the xslt-transformer from Xalan to xsltc
because of an xalan bug.
(http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24457)
In the webapp with Jetty everything works fine with xsltc.
After some trying i got the ant task working (first simple example page
with
It does span restarts.. but the first few restarts work
fine. The way
*I* fix the problem is I have to completely kill tomcat,
and check for
any running java processes and kill them.. let the machine sit and
start Tomcat back up again. It's really weird, but I never really
Roman Hrivik,
HI.
I had similar requirement and the solution for it was posted on the
dev-list.
Here the solution:
Following works in the sitemap.
map:select type=parameter
map:parameter name=parameter-selector-test
value={flow-attribute:flowRequest/ver}/
map:when test=POP
/map:when
Hi all,
recently I ran into a problem with SQL Transformer. The
column names returned from the database are used for naming the children of
sql:row, but those names can be something like count(distinct xxx)
or 'SYS$', which violates the wellformed conditions of the return document.
I **know** I'm missing something here.. but
I'm following through the form-validation
docs and it seems easy.. but everytime I
run this pipeline I get sent to the error
page and the xsp-formval:on-xxx calls dont
seem to be give me the expected output even
when there is an error.
Can someone
Jorg Heymans wrote:
You implement marker interface Poolable
Some additional information: although it is right that you have to
implement Poolable for a class to be pooled, this is most often
unnecessary for Actions.
The reason is that Poolable is useful *only* for components that do have
a
On Feb 10, 2004, at 2:37 AM, I wrote:
I need to put a couple of forms on a page. The WoodyTemplateTransformer wiki page says the way to do this is to use the special @location attribute on wt:form-template>, to tell the transformer where to pick up the form instance.
..snip..>
Poofo, it
OK - I took a break and went and had some lunch.
When I got back I decided to check the logs.. and
in the sitemap.log I found the problem.
I knew it was something small I was missing..
I gave the action the incorrect path for
the send_descriptor.xml file!
- Brent
I **know** I'm missing
On 10 Feb 2004, at 15:39, Christopher Oliver wrote:
What does your flowscript look like? Just a guess, but is it possible
you are catching the exception from
sendPage*(pipeline-containing-your-template) in your script? That
could explain the generator already set error (which occurs when
My sincere appologies I sent the wrong script !!!
On 10 Feb 2004, at 18:16, Jeremy Quinn wrote:
On 10 Feb 2004, at 15:39, Christopher Oliver wrote:
What does your flowscript look like? Just a guess, but is it possible
you are catching the exception from
When forking a new JVM you have to specify a parameter
-Dendorsed.dirs=COCOON_HOME/lib/endorsed, i.e. pointing to Cocoon's
endorsed dir. I don't know if the Cocoon task forks, if not you can add
the property when calling ant.
Joerg
On 10.02.2004 16:57, Martin Geissler wrote:
Hello,
In my app
Hi cocooners
Does anyone know if exist something to prevent double submit like in struts
(saveToken/isTokenValid)
Regards
Sent via the KillerWebMail system at omegacl.cl
* Joerg Heinicke [EMAIL PROTECTED] [2004-02-10 11:04]:
On 10.02.2004 10:29, Alan wrote:
I'm learning forms.
The registration example uses JXTemplate to generate the
confirmation page. Where does JXTemplate stand these days? Is it
a first class citizen of the Repblic of Cocoon?
Schweigl, Johann wrote:
Hi all,
recently I ran into a problem with SQL Transformer. The column names
returned from the database are used for naming the children of
sql:row, but those names can be something like count(distinct xxx)
or 'SYS$', which violates the wellformed conditions of
Hi,
I'm trying to write a simple reader, but i'm facing
some problems writing the response to the client!!
This reader reads some resource, then write the resource
content into a socket and then reads the socket InputStream
and write it to the client.
The resource content is well writen into the
Not sure if that subject really explains what I'm trying
to do .. but here goes ..
Is there a way I can do a test like if subject AND body
request parameters are null then... ?
I mean.. I can check and have the form validator return
an error if subject is null, or body is null.. but what
about
On 10.02.2004 19:44, Alan wrote:
I'm learning forms.
The registration example uses JXTemplate to generate the
confirmation page. Where does JXTemplate stand these days? Is it
a first class citizen of the Repblic of Cocoon?
The best resource on this is the CVS:
On Feb 10, 2004, at 10:44 AM, Alan wrote:
Here's another metric:
[EMAIL PROTECTED] cocoon-2.1.3]$ find . -name \*.xsp | wc
150 1509546
[EMAIL PROTECTED] cocoon-2.1.3]$ find . -name \*.jx | wc
13 13 800
It appears that XSP, although folks are moving away from it, still does a
What does the log look like? Your script seeems to log the exception.
Chris
Jeremy Quinn wrote:
My sincere appologies I sent the wrong script !!!
On 10 Feb 2004, at 18:16, Jeremy Quinn wrote:
On 10 Feb 2004, at 15:39, Christopher Oliver wrote:
What does your flowscript look like? Just
hi all,
I am trying to make these dynamic svg which i create using xsp to
also use the javascript file but it somehow doesn't seem to find it.
The basic system setup is:
JDK-1.4.1
Win2k Professional
Cocoon-2.1.2
Tomcat-4.1.27
These is what my sitemap looks like:
map:match
* Joerg Heinicke [EMAIL PROTECTED] [2004-02-10 19:09]:
On 10.02.2004 19:44, Alan wrote:
I'm learning forms.
The registration example uses JXTemplate to generate the
confirmation page. Where does JXTemplate stand these days? Is it
a first class citizen of the Repblic of Cocoon?
On 10 Feb 2004, at 19:12, Christopher Oliver wrote:
What does the log look like? Your script seeems to log the exception.
OH Boy !!! Was that a dumb mistake, or what ??? !!!
That snippet had been copied partly from XSLT, I had left xsl:text/
in it !!!
No wonder it did not work!!!
So you were
* Mark Lundquist [EMAIL PROTECTED] [2004-02-10 19:10]:
On Feb 10, 2004, at 10:44 AM, Alan wrote:
BTW Woody is propagated to be used with Flow, but not bound to
it.
Woody is designed to be used with Flow, but not bound to it. Check.
Actually I think Woody was not designed
I also use Fins, and I agree with Rudi that its a great cocoon block.
I think the problem is the GPL license of the Jfreechart library.
But wasnt the Apache license recently changed to be more compatible with
the GPL?
Anyway Rudi, It would be great to have access to your enchantments somehow.
Hi all,
I am trying to write a cocoon page which talks to a soap server . The soap
envelope has an xml file. I have to display this xml file as html using
cocoon. Can anyone tell me how I can do that in cocoon. Below is my soap
envelope.
-soapenv:Envelope
+soapenv:Body
Dear Distinguished Colleagues:
I need to be able to use basic authentication to proxy requests to a
remote server. The username/password will be hardcoded.
How can I accomplish this in Cocoon, perhaps using HttpProxyGenerator ?
Regards,
Oleg
Alan wrote:
There is also the Linotype sample app which is a blog implemented in
Cocoon.
Linotype would benifit from Atom support. I'm planning on hacking
around with Linotype and Leyna and would be interested in chatting
about Atom.
you may want to check the lenya blog publication
Joerg Heinicke wrote:
When forking a new JVM you have to specify a parameter
-Dendorsed.dirs=COCOON_HOME/lib/endorsed, i.e. pointing to Cocoon's
endorsed dir. I don't know if the Cocoon task forks, if not you can
add the property when calling ant.
It doesn't fork. How do you provide it to Ant?
Hi all
Does anyone know if there is an strategy to prevent double submit like in struts
(saveToken/isTokenValid)
Thanks in advance
Pablo Aravena
Sent via the KillerWebMail system at omegacl.cl
On 10.02.2004 22:46, Upayavira wrote:
Joerg Heinicke wrote:
When forking a new JVM you have to specify a parameter
-Dendorsed.dirs=COCOON_HOME/lib/endorsed, i.e. pointing to Cocoon's
endorsed dir. I don't know if the Cocoon task forks, if not you can
add the property when calling ant.
It
Hi Anna,
Well, what I'd try: you can make a pipeline that calls the soap server,
transform the result into html and serialize it...
for example:
make a pipeline like this:
map:generate
src=http://www.soapserver.com/soaprequest?reqarg=argvalue/
map:transform
hi Steve,
This is the same mail that i sent to your mail box directly.. i am
extremely sorry for that.These mail is to the cocoon users group to
rectify that mistake of mine.
and wrt ur mail ,these is what i found:
I tried accesing the MoveCircle.js file from the client machine using
these
Hi Alex,
I had a similar problem saving data back to a MySql database. The
database only recognises dates in -MM-dd format and the flowscript
was outputting dates like so:
EEE, d MMM HH:mm:ss Z (the same as your issue).
I fiddled with the wd:convertor settings but it didn't change the
Hey!
I have a strong desire to turn off all JBoss debug logging using my
log4j.xml file, but there's a problem. Having the three .jars
(xalan-2.3.1.jar, xml-apis.jar, xercesImpl.jar) in my jre/lib/endorsed
directory, are required by Cocoon, is preventing JBoss from parsing the
log4j.xml file.
I
On Feb 10, 2004, at 11:31 AM, Alan wrote:
What are the other possiblities for templating? Pointers
appreciated.
VelocityGenerator:
http://cocoon.apache.org/2.1/userdocs/generators/velocity-
generator.html
JPath logicsheet:
http://cocoon.apache.org/2.1/userdocs/flow/jpath.html
By
On Feb 10, 2004, at 11:41 AM, Alan wrote:
* Mark Lundquist [EMAIL PROTECTED] [2004-02-10 19:10]:
Actually I think Woody was not designed to be used with Flow. Joerg
used the word propagated, and that seems right. When Flow was
introduced, Woody was brought forward to play together with it
I
Ok, did not find a solution, but a weird workaround. I removed the comments
at the very top of the file, and for some reason that caused it to be
parsed. Strange.
- Original Message -
From: Collin VanDyck [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 10, 2004 6:11 PM
On 10.02.2004 20:41, Alan wrote:
Actually I think Woody was not designed to be used with Flow. Joerg
used the word propagated, and that seems right. When Flow was
introduced, Woody was brought forward to play together with it ??well,
the WoodyTemplateTransformer, anyway!
I can't find a
Hi all,
I am running cocoon 2.1.1 with websphere 5, J2EE Level 1.2, Servlet
Specification level of 2.2 and a JSP Specification level of 1.1. .
I have a problem related to xsp cinclude.
All the attributes after the first attribute in the cinclude statement
become blank.
All the attributes in
Hi Guatam,
hi Steve,
This is the same mail that i sent to your mail box directly.. i am
extremely sorry for that.These mail is to the cocoon users group to
rectify that mistake of mine.
It was my bad that started this; I must have sent directly to you.
and wrt ur mail ,these is what i found:
I
Hi Tony,
Thanks for the help, I will try it and let you know how it worked.
Rgds,
Alex
- Original Message -
From: Tony Edwards [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 11, 2004 9:42 AM
Subject: Re: Problem with date format for a woody widget in xsp
Hi Alex,
Hello group,
I followed the instruction at
http://wiki.cocoondev.org/Wiki.jsp?page=BetwixtTransformer.
the only differents between my local setting and that wiki page is that
I could not find commons-betwixt-1.0-beta-1.jar! I used
commons-betwixt-1.0-alpha-1.jar.
I also downloaded
83 matches
Mail list logo