is there a way to prevent Tomcat (5.0.19) from storing all active
sessions when shuting down.
Search the tomcat-user mailing list archives. This is a frequently
posted question.
The answer is something related to changing some parameter of the
Manager. But I do not recall the details right
I am looking for some guidance for developing
patterns to help validate some form fields; for
example I need to check that an entry is in the
form
AA00
where AA are uppercase letters and 00 are two
numbers.
If someone can help with this and, more generally,
point me to a good resource for
From memory, Cocoon supports most regular expression syntax. There are
heaps of reference sites, here's just one that's a reasonable introduction:
http://www.regular-expressions.info/reference.html
Your match could be done a number of ways, [A-Z]{2}[0-9]{2} or if Cocoon
spits at this, try
I use the slide reference sample; so, I assume it is well writed. And,
it works on Windows. In the content.jx file, from the sample, there is
the line
form action=uploadsource.do method=post enctype=multipart/form-data
with the suggested enctype.
I suspect the problem comes from a configuration
At 9/8/2004 11:16 PM, you wrote:
As some of the Cocoon classes are not serializable this produces lots of
exceptions each time.
But it would be very interesting that everything stored in the session
was Serializable, if that is at all possible.
We see the same sort of messages with Weblogic.
Hi
There have been two recent posts on this topic, both unanswered
and both, I think!, quite simple questions:
http://archives.real-time.com/pipermail/cocoon-users/2004-September/055826.html
http://archives.real-time.com/pipermail/cocoon-users/2004-September/055837.html
If anyone has a few
In the forms block, look at samples/forms/upload*.xml
-Original Message-
From: Jean-Claude Moissinac [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 09, 2004 8:36 AM
To: [EMAIL PROTECTED]
Subject: Re: Exploring the Slide sample
I use the slide reference sample; so, I assume it
oceatoon wrote:
Hi Marc
my Cform is binded to an XML document,
This is the part we are concirned with :
fb:repeater id=uploads parent-path=newuploads row-path=upload
rooms
room id=1
newuploads
upload path=/
upload path=/..etc
newuploads
Derek,
regarding the second issue.
I have tested the situation with the sitemap matcher:
map:match pattern=view2/*
map:generate src=view.jx type=jx
map:parameter name=fileID value={1}/
/map:generate
map:serialize type=xml/
/map:match
Code in the jx template:
test
Wasn't sure how to word the subject but what follows is what I'd like to
know...
I have a pipeline that contains a matcher the uses the parameter
(relativePath) from the request as the url of a redirect:
map:pipeline type=noncaching
!-- Redirect request to url passed in 'relativePath'
I am using flowscript to handle the process around
modifying a form - so far so good! Now I would like
to be able - from flowscript, I suppose - to modify the
just-saved form in some way, probably by appending
a comment line to the end (say with a time and date
stamp, and an user id). Is there
I'm wondering what might be the advantage of
using Hibernate - or another O/R mapper - together
with Cocoon.
There some articles on the web, about using
Hibernate with Cocoon.
And anyone using it?
Pat
-
To unsubscribe, e-mail:
Pat,
I have not used hibernate with cocoon yet, but i have used Cocoon Forms with OJB/JDO.
There are some wikipages about hibernate with Cocoon and OJB with Cocoon.
Some samples about OJB and Forms can be found in the cocoon distribution.
Looking at the wiki:
I have a transformation serialising an xml file as a PDF which works
fine until I use a host selector within the pipeline and it fails to
open. The host selector is working correctly except for this problem.
See the problem for yourself here:
http://www.neilrudd.co.uk/cocoon/abc/index.pdf
Anyone
Hello,
I cannot possibly put in some entity reference because the href is
user input driven
If the href is user input driven then you have two choices:
1) Upon submitting the form, that sends the user input, use the onSubmit
event to trigger some client-side scripting that converts troublesome
Il giorno 09/set/04, alle 10:38, [EMAIL PROTECTED] ha scritto:
I'm wondering what might be the advantage of
using Hibernate - or another O/R mapper - together
with Cocoon.
I think there are advantages in using Hibernate to implement data
persistence over a relational database whether you are
David Merrilees wrote:
I have a transformation serialising an xml file as a PDF which works
fine until I use a host selector within the pipeline and it fails to
open. The host selector is working correctly except for this problem.
See the problem for yourself here:
David Merrilees wrote:
I have a transformation serialising an xml file as a PDF which works
fine until I use a host selector within the pipeline and it fails to
open. The host selector is working correctly except for this problem.
See the problem for yourself here:
David Merrilees wrote:
I have a transformation serialising an xml file as a PDF which works
fine until I use a host selector within the pipeline and it fails to
open. The host selector is working correctly except for this problem.
See the problem for yourself here:
Jeroen
Yes, I also thought it *should* work -
I am using Cocoon 2.1.5.
I will use your sample and see if I can figure it.
Thanks for trying!
Derek
[EMAIL PROTECTED] 2004/09/09 10:23:02 AM
Derek,
regarding the second issue.
I have tested the situation with the sitemap matcher:
map:match
Hello,
I want to send an email when an exception
occurs and inside the mailbody the exception stacktrace must be written.
So I thought to make an action action-sendmail and call it
from the map:handle-errors part. That definitely triggers the action but
how can I send the Exception object (or
Hi,
I still could not solve this problem, but I found out that it _is_ a
conflict between the commons-logging-api.jar in the tomcat/bin directory
and the commons-logging-1.0.3.jar of my application.
But how to get around this conflict? the libraries in tomcat/bin are
loaded by the tomcat system
Hi ,
I installed Apache TOmcat 4.1.18
I copied the cocoon.war file from cocoon2.0.4 .
When i try
http://localhost:8080 - Th tomcat page comes up
bug when i try
http://localhost:8080/cocoon - I get this error
Failed to generate program code (this may happen if
you use Xalan in incremental
Jyothi Giridhar wrote:
Hi ,
I installed Apache TOmcat 4.1.18
I copied the cocoon.war file from cocoon2.0.4 .
When i try
http://localhost:8080 - Th tomcat page comes up
bug when i try
http://localhost:8080/cocoon - I get this error
Failed to generate program code (this may happen if
you use
Hello,
I'm researching caching and performance in Cocoon. Should static files
(html, css, js, gif/jpeg/png) be excluded from a pipeline with the type
set to 'caching'?
I think that they should not be cached serverside, because the filename
is used to generate they key; the caching-key is
Hi!
I'm curently using the WebServiceProxyGenerator provided with Cocoon
2.1.5. I have an issue when receiving a 3xx response code. The redirect
is processed by Jakarta Commons - HttpClient and it works fine. The
problem is that the url in the client's browser doesn't change (which is
normal
or you could just let apache serve your static html.
Kees van Dieren wrote:
Hello,
I'm researching caching and performance in Cocoon. Should static files
(html, css, js, gif/jpeg/png) be excluded from a pipeline with the type
set to 'caching'?
I think that they should not be cached serverside,
Hello Emond! Thank your for your swift reply.
I need to:
1. create a continuation
2. put the id of the continuation in a deliveryUrl
3. redirect to a redirectUrl
4. suspend flowscript execution, until the remote system hosting
redirectUrl redirects the user to my deliveryUrl
5.
My newly-installed http://localhost/cocoon (Tomcat 4.1.30
and Cocoon 2.0.4 under Java 1.4.2_05 on FC2) still fails
with
Cocoon 2 - Internal server error
type fatal
message Failed to generate program code (this may happen if
you use Xalan in incremental processing mode).
did you check the endorsed lib problem? Search the wiki for a howto.
Any particular reason why you decided on an old cocoon version?
Peter Flynn wrote:
My newly-installed http://localhost/cocoon (Tomcat 4.1.30
and Cocoon 2.0.4 under Java 1.4.2_05 on FC2) still fails
with
Cocoon 2 - Internal
Why the bitterness? Competition is a good thing. Personally I am happy
that OXF has been opensourced. It is a good solid product and its main
weakness was not being opensource.
Having used both OXF and Cocoon on several projects they are both good
and both different. I believe OXF started out
On Thu, 2004-09-09 at 11:48, Jorg Heymans wrote:
did you check the endorsed lib problem? Search the wiki for a howto.
Hah! That definitely looks like it.
Unfortunately, the Wiki page doesn't say *what* files need
to be copied to the endorsed directory: it just says the
libraries; and it refers
The host selector mounts a folder located on a different logical disk,
as shown in the code snippet below.
!-- MOUNT IIS CUSTOMER COCOON FOLDERS --
map:match pattern=*/**
map:select type=Host
map:when test=neilrudd-co-uk
map:mount check-reload=yes
On Thu, 2004-09-09 at 11:48, Jorg Heymans wrote:
did you check the endorsed lib problem? Search the wiki for a howto.
That seems to work, after a bit of experimenting. Thanks very much.
For the record, with Tomcat 4.1.30 and Cocoon 2.0.4 with Java 1.4.2_05
under FC2 you need to copy
Also, try out Devaki NextOjbects an opensource tool
that has Torque built it.
http://www.devaki.org/nextobjects/
It automagically generates all the supporting OJB
related files needed including the SQL calls to create
the database.
thx
Paul
--- Jeroen Reijn [EMAIL PROTECTED] wrote:
Pat,
I
Any particular reason why you decided on an old cocoon version?
Yes, Cocoon 2.1.5.1 won't compile because ant is apparently
being picked up wrongly from FC2, despite what the docs say;
and Tomcat 5.5 has issues running under Java 1.5.0 unless
you start adding patches.
If you're looking to use
Hello,
I am running Cocoon 2.1.5 with Tomcat 5.0.19. I'm
trying to load profiles for users from mysql (ver:
4.1.4-gamma-Max) rather then from filesystem (original
setup on cocoon). So i've changed load-user-profile
pipeline in portal/. to:
map:match pattern=load-user-profile
!--
Hi all,
I am writing acustom
transformer that needs to extract some fragments from previous transformation
steps in the running pipeline. Does anyone know how to access, from a sitemap
component, the input / output to the transform method of the transformers that
were applied before?
On Thu, 09 Sep 2004 12:26:32 +0200, Jorg Heymans [EMAIL PROTECTED] wrote:
or you could just let apache serve your static html.
are there any samples doing this? the wiki docs still say todo.
I'm using cocoon under windows (it's for a prototype only) and
have tried to serve static files (mostly
On Thu, 2004-09-09 at 13:25, Jorg Heymans wrote:
Any particular reason why you decided on an old cocoon version?
Yes, Cocoon 2.1.5.1 won't compile because ant is apparently
being picked up wrongly from FC2, despite what the docs say;
and Tomcat 5.5 has issues running under Java
I am writing a custom transformer that needs to extract
some fragments from previous transformation steps in the
running pipeline. Does anyone know how to access, from a
sitemap component, the input / output to the transform
method of the transformers that were applied before?
Hi Javier,
Hi Pat,
I have am now finishing my first project I used Hibernate and Cocoon
together in,
so maybe you are interested in some thoughts from a beginner's point of
view.
The issue Hibernate addresses is how to get objects to and from the
database. When
I started to use cocoon, I was impressed by
Gerald Aichholzer said:
On Thu, 09 Sep 2004 12:26:32 +0200, Jorg Heymans [EMAIL PROTECTED] wrote:
or you could just let apache serve your static html.
are there any samples doing this? the wiki docs still say todo.
I'm using cocoon under windows (it's for a prototype only) and
have
Johannes
I think you hit the nail on the head when you raised the whole
elephant thing. I used the same terminology in a previous
thread. ;-)
http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=108799013931354w=2
A number of folks are pushing OJB... obviously each person
has there own choices,
Ugo
I hope your talk will be online, for those of us not
lucky enough to make the events?
Thanks
Derek
[EMAIL PROTECTED] 2004/09/09 10:54:49 AM
Il giorno 09/set/04, alle 10:38, [EMAIL PROTECTED] ha scritto:
I'm wondering what might be the advantage of
using Hibernate - or another O/R
On Thu, 9 Sep 2004 07:34:10 -0700 (PDT), Ralph Goers
[EMAIL PROTECTED] wrote:
Gerald Aichholzer said:
On Thu, 09 Sep 2004 12:26:32 +0200, Jorg Heymans [EMAIL PROTECTED] wrote:
or you could just let apache serve your static html.
are there any samples doing this? the wiki docs still say todo.
Your action will have access to the Throwable. It is in the object model.
Take a look at ObjectModelHelper.
Gunter D'Hondt said:
Hello,
I want to send an email when an exception occurs and inside the mailbody
the exception stacktrace must be written. So I thought to make an action
On Thu, 2004-09-09 at 15:43, Jorg Heymans wrote:
try build webapp as target.
Same result.
But how on earth you're getting the
instantiationexception i don't know...
Now you know why I'm using 2.0.4 :-)
///Peter
-
To
Gerald Aichholzer said:
On Thu, 9 Sep 2004 07:34:10 -0700 (PDT), Ralph Goers
Well, by clicking on a href=/miracle/app/cook/info.gif in my
xhtml-source-code my browser connects to the following address:
http://server:/miracle/app/cook/info.gif
But if I want to serve static content
xsl:text disable-output-escaping=yes.../xsl:text
may disable that kind of transformation.
On Wed, Sep 08, 2004 at 03:52:05PM +0200, Thomas Kjeldahl Nilsson wrote:
Hello!
Problem: I'm trying to pass a string to a jx template. The passed string
contains html markup which I want the
Il giorno 09/set/04, alle 16:47, Derek Hohls ha scritto:
I hope your talk will be online, for those of us not
lucky enough to make the events?
Last year's GT talks were recorded and made available online as video
files. I hope someone will do the same with this year's talks.
Ugo
--
Ugo
On Thu, 9 Sep 2004 08:11:56 -0700 (PDT), Ralph Goers
[EMAIL PROTECTED] wrote:
Gerald Aichholzer said:
On Thu, 9 Sep 2004 07:34:10 -0700 (PDT), Ralph Goers
Well, by clicking on a href=/miracle/app/cook/info.gif in my
xhtml-source-code my browser connects to the following address:
Hi...
You can find some useful information on Apache/Cocoon and serving
static content here:
http://wiki.apache.org/cocoon/ApacheModProxy
Robin.
On 9 Sep 2004, at 17:37, Gerald Aichholzer wrote:
On Thu, 9 Sep 2004 08:11:56 -0700 (PDT), Ralph Goers
[EMAIL PROTECTED] wrote:
Gerald Aichholzer
Dear Cocoon list,
Please excuse this repost, but I'm fairly stuck on this problem,
and can't make progress on starting to use CForms until I solve it.
I'm running Cocoon 2.1.5.1 under Jetty (even though it says Tomcat
below... it says that because my application folder, gem, is
shared between two
Gerald Aichholzer said:
Hi Ralph,
thanx for your answer - in my test some days ago using TinyWeb
I was explicitly putting http://server:80/; as prefix to the
href- resp. src-attribute values.
Anyway - I'm not quite sure if serving static content using
Apache would be an advantage in my
Hi All,
I am working on a project in cocoon where I need to encode url strings (that
contain diacritics) in an xml document like described on this page:
http://www.w3.org/International/O-URL-code.html
Is there any reason why the encodeURL Transformer doesn't do this?
(
Thank you for that link! it will be of much use for me in future.
Kees
Robin Wyles wrote:
Hi...
You can find some useful information on Apache/Cocoon and serving
static content here:
http://wiki.apache.org/cocoon/ApacheModProxy
Robin.
On 9 Sep 2004, at 17:37, Gerald Aichholzer wrote:
On Thu, 9
57 matches
Mail list logo