Hi folks,
cab anyone tell me what the recommended way is to add Avalon/Excalibur
components to the Cocoon configuration? I guessed it is by adding
component entries in cocoon.xconf, but this is nowhere explicitely
mentioned in the developers docs. Related to this: does Cocoon use an
Excalibur
Dear Ray, dear all,
thanks for the reply!
Ray Martin wrote:
Sir,
I too experienced that no one would give any answers. But, i am wondering
if the cocoon-users mail list server is always behaving correctly. i am
subscribed to the cocoon-users list, but this is the first time that i have
seen
Hi,
I have several servlets on my application, and I want to handle their
exceptions with handle-errors...
I've tried map:redirect ... to call the servlets but when a servlet
throws an exception I only get a white page. Then I tried map:generate
src=myservlet but the sitemap gives me an
Can somebody explain me why there are two stylesheets used for
the transformation in the XMLWizard Howto example?
What is the reason to separate the transformation in two different
files?
Lars
-Ursprüngliche Nachricht-
Von: Kirchhoff, Lars
Gesendet: Dienstag, 3. Dezember 2002 12:58
Title: how to fix this bug???
i ran my application with cocoon2.0.3 in Tomcat-4.1.x . it's ok
but when i ran it in JBOSS 3.0.4 it kept on reporting error like this :
Cocoon 2 - Internal server error
---
type fatal
message
Hi,
I have a select box with several entries (with values).
An onCange - event should post the the value of the selected entrie. I'm
trying to do this in as much javascrit as possible.
Here my code so far:
!-- This should post the value of the selected entrie to the interactive
xsp-page, but I
Hello.
I want to install Cocoon 2 to WebSphere Application Server 4.0.4. What's
requirements for this task? Whether somebody did it?
Regards
Vasil Yaroshevich
-
Please check that your question has not already been
At 17:10 02/12/02, you wrote:
Tomcat/Cocoon on our production server has somehow reached a bad state after
attempting to launch our Web site. Tomcat restarts but does not respond to
any requests.
Are you sure that the previous tomcat is genuinely killed off? If it merely
got stuck then you
On Tue, 2002-12-03 at 09:12, Vermeulen, Francis wrote:
Hi folks,
cab anyone tell me what the recommended way is to add Avalon/Excalibur
components to the Cocoon configuration? I guessed it is by adding
component entries in cocoon.xconf, but this is nowhere explicitely
mentioned in the
On Mon, 2002-12-02 at 17:25, Vermeulen, Francis wrote:
Hi folks,
we are trying to invoke an application framework from within Cocoon by means
of a custom transformer. This framework itself uses Avalon/Excalibur
components through a separate component and role manager, instantiated from
Hi.
I have another question.
I changed all the headers of the inside XSP pages from:
xmlns:xsp-session=http://apache.org/xsp/session/2.0;
to:
xmlns:xsp-session=http://apache.org/xsp/session/2.0; create-session=false
Can this help?
Thanks in advance,
Antonio Gallardo.
Antonio Gallardo
Another question:
This issue can be generated by a bad release of some components?
xmlns:xsp-session=http://apache.org/xsp/session/2.0; create-session=false
I am using the xsp-session:getxml tag, but I am suspecting that this tag
is not working good.
Here the original code:
Hi Bruno,
thanks for your answers. In the meantime I did what you suggested and it
seems to work with our own instances of ExcaliburComponentManager and
DefaultRoleManager.
Regards,
Francis
-Original Message-
From: Bruno Dumon [mailto:[EMAIL PROTECTED]]
Sent: dinsdag 3 december 2002
i call an .xsp page like
http://.../viewer.xsp?image=test.gif
i send the image file name
but i dont know how to create an image element with dynamic content for
the src attribute
i have the follow .xsp code
xsp:page
xsp:logic xmlns:xscript=http://apache.org/xsp/xscript/1.0;
Vasil,
I've done this...all I had to do was to deploy the cocoon.war file
using the admin console and restart the server...everything worked
fairly seamlessly. However, if you need to install under 3.5.X send me
an email and I'll let you know the specifics of how to do it...it was
NOT
text/plain; charset=us-ascii; format=flowed: Unrecognized
---BeginMessage---
Dear Ray, dear all,
thanks for the reply!
Ray Martin wrote:
Sir,
I too experienced that no one would give any answers. But, i am wondering
if the cocoon-users mail list server is always behaving correctly. i am
Hi Cocooners!
I am trying to fix an error in the xsp-session. See in bugzilla (13070).
Can someone explain if in the current 2.1 CVS is a different approach to
get session context from the following interfaces:
xsp-session
sesion-fw-block
authentication-fw-block
portal-fw-block
Will be
Hello
I am getting on OK with Cocoon. I like it very much. I am using some JSP code as a
generator. This creates some XML data which I apply xsl to transform to SVG. This is
then serialised with
svgxml and returned to the client. It all works fine. Except that, looking at my logs,
very often,
Hi,
I am working on a simple
online registration tool, to register for exams. That for I have got a mysql database server, to insert and read the data.
Within that database I have
set a primary key that is made out of lets say the studentid,
and the id from the exam. I have set it to
Hi,
I am working on a simple online registration tool, to register for exams. That for I
have got a mysql database server, to insert and read the data.
Within that database I have set a primary key that is made out of lets say the
studentid, and the id from the exam. I have set it to
Try something like:
img
xsp:attribute
name=srcxsp:exprimageDisplay/xsp:expr/xsp:attribute
/img
--Steve
-Original Message-
From: Cocoon User [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 03, 2002 6:42 AM
To: [EMAIL PROTECTED]
Subject: XSP create dynamic an element
i call
I'm reading some data from a database (mysql) using an xsp page.
My xsp is very simple, something like:
esql:results
news
esql:row-results
titleesql:get-string column=title//title
/esql:row-results
/news
/esql:results
Then I fill a text field using this data:
Hi there,
I want static files (images, js, css) be served by the web server (apache
port 80).
I have found a FAQ How can I improve performance by making the web-server
deliver the static contents? which partly answers this questions.
I have successfully followed steps 1 and 2.
However, the
Hello,
Does Cocoon use JDOM?
Tank you
Sylvain
-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faq/index.html
To unsubscribe, e-mail: [EMAIL
By they way, the faq mentioned below on declaring a
user roles file in cocoon.xconf may be incorrect (at
least for Catalina/Tomcat). The path to the roles
file as shown should be an absolute reference. i.e.,
cocoon version=2.0 user-roles=/WEB-INF/my.roles
See
Hi All
Can anyone advise me on getting this complicated setup right?
We have a website that will have some stuff served by Cocoon and some
served by Apache.
It is not easy to separate them out because we need to retain legacy
URLs. Likewise, it is not possible to give Cocoon served material a
Sylvain,
According to the lib/core and lib/optional directories JDOM is currently not
used. But if you need it (e.g. in a custom transformer) it's very easy to
use it.
Regards,
Reinhard
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 03,
At 14:04 03/12/02, you wrote:
I want static files (images, js, css) be served by the web server (apache
port 80).
You set up your Apache front end to serve static content - eg from a
directory called images, or js, or static, and you set up apache to forward
dynamic stuff to your java servlet
by specifying :8080 you have forced (tomcat) to handle
the image - apache is only listening on 80. Are you
saying that when you try the same url with default
port 80 you are not seeing the image? If so,
something is wrong in your first two steps. Once you
have configured apache to handle the
Hi,
Thank for answering.
totaly right. My problem in this case is, that i dont want the common
internal server error message, rather than my own, to explain what
mistake took place.
Here is my code, to give you a better idea of what I want.
If you are using modular Database actions you can turn of the throw of
exceptions:
Here is the config:
!-- Modular DB --
map:action name=mod-db-add
src=org.apache.cocoon.acting.modular.DatabaseAddAction
descriptordatabase.xml/descriptor
inputrequest-param/input
On Tue, 3 Dec 2002, Jeremy Quinn wrote:
We have a website that will have some stuff served by Cocoon and some
served by Apache.
Is the stuff served by Apache static content, ie html, mpeg, avi, etc?
It is not easy to separate them out because we need to retain legacy
URLs. Likewise, it is
OK, thank you Reinhard.
I don't plan to use JDOM in a custom transformer but your remark is very interesting.
What do you think about? Have you an example of use?
Regards
Sylvain
-Message d'origine-
De: Reinhard Poetz [mailto:[EMAIL PROTECTED]]
Date: mardi, 3. décembre 2002 15:38
À:
Hi!
I'm currently trying to get Cocoon 2.1 (i.e. CVS Head) running on Websphere 4.x,
or to be more exact on the Integreated Websphere Test Environment of WSAD 4.1.0.
While every things works perfectly well with Tomcat, on Webshpere I experience problems
with redirects. For example: trying to
No, it was only a thought.
Regards,
Reinhard
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 03, 2002 4:07 PM
To: [EMAIL PROTECTED]
Subject: RE: JDOM
OK, thank you Reinhard.
I don't plan to use JDOM in a custom transformer but your
On Tuesday, December 3, 2002, at 03:34 PM, Jeremy Quinn wrote:
Hi All
Can anyone advise me on getting this complicated setup right?
We have a website that will have some stuff served by Cocoon and some
served by Apache.
It is not easy to separate them out because we need to retain legacy
Thanks Christoph!
I will make it later, because I need to sleep a little.
Antonio Gallardo
Christoph Gaffga dijo:
Where I can configure for all the pages the
response.setHeader(Cache-Control, No-Cache);
I'm using a filter for that:
in my web.xml-file:
filter
Hi!
We are currently evaluating the cocoon portal functionality. So far we have seen a lot
of very promising stuff!
Now the question arises, wether it would be possible to integrate webappications
within coplets.
To be more exact: Is it possible to write a coplet, that acts like a
I tried to access a Oracle database with SQL transformer.
Then, I modified cocoon.xconf
jdbc logger=core.datasources.hub_annuaire name=hub_annuaire
pool-controller min=1 max=2 keep-alive=true/
dburljdbc:oracle:thin:@:1521:HUB0/dburl
user/user
-Original Message-
From: Reinhard Poetz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 03, 2002 4:23 PM
To: [EMAIL PROTECTED]
Subject: RE: JDOM
No, it was only a thought.
I meant you can collect the incoming data and store it in a JDom.
Regards,
Reinhard
On Tuesday, Dec 3, 2002, at 15:03 Europe/London, Andrew Savory wrote:
On Tue, 3 Dec 2002, Jeremy Quinn wrote:
We have a website that will have some stuff served by Cocoon and some
served by Apache.
Is the stuff served by Apache static content, ie html, mpeg, avi, etc?
correct, but we
Hi,
I'm attempting to view an xml/xsl page in a browser through Cocoon. I have Tomcat up and running andmy browser pointingto the following URL:
http://localhost:8080/cocoon/mystuff/person.xml
However I encounter the following error: "Cocoon 2 - Resource not found"
I created the person
I tried every tip I could find on the web, but I never had success including
an jpg into an pdf with cocoon.
Maybe sombody can help?
Thats what I have:
XSL:FO fragment transforming IMG tags:
xsl:template match=IMG
fo:inline
fo:external-graphic src=url(MYPATHBASE/{$src})/
I am working on a news site, where every author can assign own xsl
stylesheet to their article. I want to bring cocoon dynamically insert an
article's path into the transformer src attribute.
I thought of generating an parameter inside the xsp for the following
components an later catch it by the
Hi
David,
Yes...
you are supposed to edit the sitemap.xmap and tell cocoon what to do with the
request: to get the xml-file, transform it and present the result to the
user.
This
might scare you for a moment, just before it opens up a whole new world to
you.
Look
in the documentation
David,
when asking this sort of question try to give us all possible information.
Have you got the samples working?
Have you modified the sitemap to take into account mystuff?
Alex
At 16:39 03/12/02, David Cahill wrote:
Hi,
I'm attempting to view an xml/xsl page in a browser through
Hi robert,
I solved this problem this afternoon :-) there were no error message in the
logs, and the cause was a too large image. try with a small jpg.
Regards,
Ludovic
- Original Message -
From: Robert Sösemann [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 03, 2002
On Tuesday, Dec 3, 2002, at 15:31 Europe/London, leo leonid wrote:
On Tuesday, December 3, 2002, at 03:34 PM, Jeremy Quinn wrote:
Hi All
Can anyone advise me on getting this complicated setup right?
snip/
Many thanks for any help
I had a very similar situation, I solved it by
Peter,
I don't understand your task completly but maybe this helps: If you have a
certain number of xml files in a directory you can use the directory
generator to produce a list of all files in it and if you like of it's
subdirectories.
Regards,
Reinhard
-Original Message-
From:
David,
Did you set up the necessary pipelines in the sitemap.xmap? Do you get the
cocoon examples or the cocoon docs?
Regards,
Reinhard
-Original Message-
From: David Cahill [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 03, 2002 5:39 PM
To: Cocoon
Subject: Viewing XML files through
At 16:52 03/12/02, Jeremy Quinn wrote:
Is 'JK2' the best one to be using now?
I am a bit confused between mod_webapp (warp) and JK[n] TBH.
If it is any consolation so am I.
I am using mod_webapp happily which I believe is the supposedly correct
thing to use, but since the JK one is older it
HI
More on this - a couple of others seem to have similar problems but nobody ever got a
reply when they post the error makes me think it is a bug. Anyhow, if I change
this parameter to false (it is true by default) in
cocoon.xconf
parameter name=incremental-processing value=false/
I
Alex McLintock said:
At 14:04 03/12/02, you wrote:
I want static files (images, js, css) be served by the web server
(apache port 80).
You set up your Apache front end to serve static content - eg from a
directory called images, or js, or static, and you set up apache to
forward dynamic
On Tue, 3 Dec 2002, Jeremy Quinn wrote:
Is 'JK2' the best one to be using now?
I am a bit confused between mod_webapp (warp) and JK[n] TBH.
I never got warp working, so I've always used Jk myself.
Sure you'll run into troubles if there are html files in the static
directories, or you
On Tuesday, December 3, 2002, at 05:52 PM, Jeremy Quinn wrote:
On Tuesday, Dec 3, 2002, at 15:31 Europe/London, leo leonid wrote:
On Tuesday, December 3, 2002, at 03:34 PM, Jeremy Quinn wrote:
Hi All
Can anyone advise me on getting this complicated setup right?
snip/
Many thanks for
-Original Message-
From: Chris Faulkner [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 03, 2002 7:20 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: RE: Changing Xalan XSL (WAS Re: SVG - java socket
exception)
Thanks for that - I did search the archives and found
No need to redirect, your problems can be solved with the AliasMatch
directive in httpd.conf:
AliasMatch ^(.*)/([^/]+\.gif)$ /path/to/images/$2
AliasMatch ^(.*)/([^/]+\.css)$ /path/to/css/$2
The above will match any .gif or .ccs, both legacy and cocoon, and serve
them from the same location.
On Tuesday, Dec 3, 2002, at 17:57 Europe/London, leo leonid wrote:
On Tuesday, December 3, 2002, at 05:52 PM, Jeremy Quinn wrote:
On Tuesday, Dec 3, 2002, at 15:31 Europe/London, leo leonid wrote:
On Tuesday, December 3, 2002, at 03:34 PM, Jeremy Quinn wrote:
Hi All
Can anyone advise
Thanks Carsten,
We have used the latest CVS 2.0.3 and the problem is
fixed.
--- Carsten Ziegeler [EMAIL PROTECTED] wrote:
Hi Terry,
did you try the latest CVS version of the 2.0.3
branch?
The NPE should be fixed there.
HTH
Carsten
-Original Message-
From: Terry Paddy
Jeremy Quinn writes:
On Tuesday, Dec 3, 2002, at 17:57 Europe/London, leo leonid wrote:
On Tuesday, December 3, 2002, at 05:52 PM, Jeremy Quinn wrote:
On Tuesday, Dec 3, 2002, at 15:31 Europe/London, leo leonid wrote:
On Tuesday, December 3, 2002, at 03:34 PM, Jeremy Quinn
Here's one way:
See the Meta-Stylesheets page on the Wiki.
http://outerthought.net/wiki/Wiki.jsp?page=MetaStylesheets
I assume that the article contains a PI or similar, pointing to the
stylesheet the author wants to use? You can transform the document using an
XSLT that is generated by another
Hello,
there shell be no difference between xsl:value-of/ with
xsl:attribute/ or without it. What I can definitively say, is, that
you don't need disable-output-escaping in general. Is there any
difference between with or without it? d-o-e shell only be used, if you
need (less than) in a non
Can anyone advise me on getting this complicated setup right?
We have a website that will have some stuff served by Cocoon and some
served by Apache.
It is not easy to separate them out because we need to retain legacy
URLs. Likewise, it is not possible to give Cocoon served material a
My image was also very small. This could not be the reason. Maybe you could
send me some of your code snippets.
Robert
- Original Message -
From: Ludovic de Beaurepaire [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 03, 2002 5:51 PM
Subject: Re: dynamic xsl:fo image
Have a look into the log files (something like FileNotFoundException)
and look, how the path is resolved. Furthermore is it possible to look
at the XSL FO after MYPATHBASE is evaluated?
Joerg
Robert Sösemann wrote:
My image was also very small. This could not be the reason. Maybe you could
Joerg Heinicke wrote:
Have a look into the log files (something like FileNotFoundException)
and look, how the path is resolved.
FO image source URLs are not resolved and leave no trace in the logs.
It may be necessary to look into the stdout/stderr for the FOP error
message.
J.Pietschmann
With
fo:external-graphic height=16cm src=../img/01.jpg/
I get at least following error message in the error.log:
ERROR (2002-12-03) 23:06.40:484 [sitemap] (/cocoon/joerg/kal)
Thread-7/ExternalGraphic: Error while creating area : Error with image
URL: ..\img\01.jpg (Das System kann den
Hi!
I was currently downloading the lastest CVS of 2.1. I made a
./build.sh clean after download.
Now I am getting this error:
Error in:
xml-cocoon2/build/cocoon/blocks/databases/dest/db-modules-input.xconf
BUILD FAILED
file:xml-cocoon2/build.xml:1310: IOException: java.io.IOException: XPath
No, although the example sitemap includes config that looks like its setting the
mime-type
HSSFSerializer.java doesn't actually use it. Its hardcoded - and I think its
reasonable to
hardcode it as there is only one correct value (its just that the current hardcoded
value
isn't it).
Andrew C.
Joerg Heinicke wrote:
With
fo:external-graphic height=16cm src=../img/01.jpg/
I get at least following error message in the error.log:
ERROR (2002-12-03) 23:06.40:484 [sitemap] (/cocoon/joerg/kal)
Thread-7/ExternalGraphic: Error while creating area : Error with image
URL: ..\img\01.jpg
Hi!
Currently the command:
./build.sh javadocs
does not include the docs for blocks.
Antonio Gallardo
-
Please check that your question has not already been answered in the
FAQ before posting.
The CaphNet site, http://www.caphnet.com/ is listed as a Cocoon 1 site,
it upgraded some time ago to Cocoon 2.
Thanks to Cocoon, its one of the few sites in the US that serves WML.
-
Please check that your question has not
Chris,
The problem you have is a well-known problem of Cocoon or more precicly of
Xalan. There are many mails in the archives about this topic (e.g.:
http://marc.theaimsgroup.com/?l=xml-cocoon-devm=101994024218728w=2).
If you want to use Saxon have a look at
Thanks for that - I did search the archives and found some messages with the same
error message as I had but none that I saw had a follow-up. I really did search but
until you understand the nature of the problem
better, it is difficult to know what terms to search on. I do apologise for
Hi all
I was just trying to work with XML form and found that the folder name
specified are different in each steps in
xml.apache.org/cocoon/howto/xmlform
For ex step 1 say to create a how-to folder in src\webapp\samples\xmlform.
In the same page for start.xml it says copy and save to
Thanks all,
Please please contribute to the page on specific database
connections on wiki.
It's pretty simple:
1. go to
http://outerthought.net/wiki/Wiki.jsp?page=SpecificDatabaseConnection
2. see what others like you have done. Copy one of them in a new page
you create
3. Adapt it to the
Hello Frank,
so you patched the sendmail.xsl to have multiple cc. Rhanks for the reply.
What you have said makes sense (showing the concept). I had a look @ the
JavaMail Design Specification. I have there my desiered result (a script
for multipart message). That would be the ready to go Java
77 matches
Mail list logo