Hello All:
Just an FYI about a potential pitfall for those using JBuilder7 to create Cocoon Generators... (C2.0.3).
When extending org.apache.cocoon.generation.AbstractGenerator using the New Class function in JB7, JB7 will automatically import org.apache.cocoon.xml.*; into the class. This leads
Antonio Gallardo Rivera wrote:
I just one to tell that the lastest CVS has this problem:
Constructing Javadoc information...
/cocoon-2.1/xml-cocoon2/build/cocoon/src/org/apache/cocoon/components/pipeline/AbstractProcessingPipeline.java:76:
package sun.tools.tree does not exist
import
Hi,
I would like to develop a distributed system based
on several Cocoon backends which will
return XML to a central Cocoon portal. The portal
will aggregate the answers, and will
display
an unified response. Now I would like to know how
it is possible to control the several streams,
and
Hi,
I just downloaded a snapshot from cvs, for upgrading, but the build failed. The
commandline was:
./build.sh -Dinclude.webapp.libs=yes -Dinstall.war=$RESIN_HOME/webapps webapp
I am on linux with java 1.3.0.
This is the stack trace:
BUILD FAILED
java.lang.NullPointerException
at
On 17 Sep 2002, Gerrit Niestijl wrote:
Hi,
I just downloaded a snapshot from cvs, for upgrading, but the build failed. The
commandline was:
./build.sh -Dinclude.webapp.libs=yes -Dinstall.war=$RESIN_HOME/webapps webapp
I am on linux with java 1.3.0.
This is the stack trace:
BUILD
Hi all!
I'm rather new with Cocoon but I think I've got a somehow tricky question:
In my ORACLE database XML formatted records are stored e.g. for users (also
for other types of records but these are the easy ones I want to try with)
in CLOB fields - so the record could look like:
-- CLOB
Hi -
I'm attempting to configure a simple toy site with cocoon
(2.0.3). I have a pipeline which delivers (almost) all pages by
aggregating a content xml file with a navigation xml file
(and doing a little transformation on the result). This is
matched on almost every URI I get:
map:match
Hi,
In core.log file I saw the following:
DEBUG (2002-09-17) 11:38.04:392 [core] (Unknown-URI)
Unknown-thread/Cocoon: user.timezone=Africa/Abidjan
Where can I change this value?
Antonio Gallardo
-
Please check that
Hello Barry,
I think it is a known bug! You could find it in the buglist, with this link:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12293
I hope that help you! :-)
Dirk
Barry McMullin schrieb:
Hi -
I'm attempting to configure a simple toy site with cocoon
(2.0.3). I have a
On Tue, 17 Sep 2002, u15603 wrote:
I think it is a known bug! You could find it in the buglist, with this link:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12293
Thanks Dirk -
I guess it would be comforting to feel that this is a cocoon
problem (rather than just a problem of my own
On Tue, 17 Sep 2002, Antonio Gallardo Rivera wrote:
You need the map:handle-errors element inside your pipeline, for example:
map:handle-errors
map:transform src=stylesheets/system/error2document.xsl/
map:transform src=stylesheets/apache.xsl/
map:serialize
Majcen, Kurt wrote:
Hi all!
I'm rather new with Cocoon but I think I've got a somehow tricky question:
In my ORACLE database XML formatted records are stored e.g. for users (also
for other types of records but these are the easy ones I want to try with)
in CLOB fields - so the record
Alexander Schatten wrote:
I use Cocoon 2 to produce HTML. I use the HMTL serializer, but have to
detect, that the output is *not* HTML as expected, but XHTML, which
makes several problems, e.g. with Mozilla.
I use HTML serializer and it outputs HTML. This can be confirmed by W3C
Antonio Gallardo Rivera wrote:
Try this maybe it helps you:
If you are using 1.4 (I am using 1.4.1RC) You must to copy the following
libraries to your Java libs:
PROBLEM: When you are trying to use sunRise and your plataform is (or
similar):
Cocoon 2.0.3
Tomcat 2.1.8 or
Ugo Cei wrote:
Majcen, Kurt wrote:
Hi all!
I'm rather new with Cocoon but I think I've got a somehow tricky
question:
In my ORACLE database XML formatted records are stored e.g. for users
(also
for other types of records but these are the easy ones I want to try
with)
in CLOB
Barry McMullin wrote:
On Tue, 17 Sep 2002, Antonio Gallardo Rivera wrote:
You need the map:handle-errors element inside your pipeline, for example:
map:handle-errors
map:transform src=stylesheets/system/error2document.xsl/
map:transform src=stylesheets/apache.xsl/
Hi,
To reformulate my last question in a more cocoon
fashion, how can I fire parrallel "generator" steps
in my pipeline and is it possible to stream ( both
transforming and serializing) the results to generate
HTML.
Thanks in advance,
Regards,
johann
Title: RE: Cocoon in multiple webapp
Well, I've tried all:
- I put all cocoon jars under $CATALINA_HOME/common/lib
- I added the extra-classpath in the web.xml of my webapps
- I copied the xerces-XXX.jar, xalan-XXX.jar, and the xml-apis.jar to $JAVA_HOME/jre/lib/endorsed
- I deleted the
If you are in a linux machine, you can make a link.
ln -s path of the .jar files
So it will be the same file (only one i-node).
Tell me if it works or any questions if you don't understand.
Mauro
On Tue, 17 Sep 2002, Alejandro Raiczyk wrote:
Well, I've tried all:
- I put all cocoon
Barry McMullin wrote:
On Tue, 17 Sep 2002, u15603 wrote:
I think it is a known bug! You could find it in the buglist, with this link:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12293
Thanks Dirk -
I guess it would be comforting to feel that this is a cocoon
problem (rather
Title: RE: Cocoon in multiple webapp
Mauro, I always do that, but I guess (I'm not sure, but watching the mem consume of my linux box I'm almost sure) the jars of each context are loaded in memory although they are links to the same files.
-Mensaje original-
De: Mauro Daniel Ardolino
Sorry! Now I understand your problem but not other ideas for the moment.
On Tue, 17 Sep 2002, Alejandro Raiczyk wrote:
Mauro, I always do that, but I guess (I'm not sure, but watching the mem
consume of my linux box I'm almost sure) the jars of each context are loaded
in memory although
Johann Romefort wrote:
Hi,
To reformulate my last question in a more cocoon fashion, how can I
fire parrallel generator steps
in my pipeline and is it possible to stream ( both transforming and
serializing) the results to generate
HTML.
... and the result will be mix of tags from
u15603 schrieb:
Hello Barry,
I think it is a known bug! You could find it in the buglist, with this
link:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12293
I hope that help you! :-)
Dirk
Barry McMullin schrieb:
Hi -
I'm attempting to configure a simple toy site with
Barry McMullin schrieb:
On Tue, 17 Sep 2002, u15603 wrote:
I think it is a known bug! You could find it in the buglist, with this link:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12293
Thanks Dirk -
I guess it would be comforting to feel that this is a cocoon
problem (rather
Read down, the guru Vadim said::
Ahem... Seems like nobody reading install docs...
http://xml.apache.org/cocoon/installing/index.html
***Java 1.4 configuration*
Have you tried to download the source code and compile it? Please read the
link, that Vadim sent to you.
How many application are
[Cocoon 2.0.3, JDK 1.3.1_02, Tomcat 4.0.4]
What is the suggested way to translate a document fragment with the
I18nTransformer?
I would like not to chunk the content in smaller i18n:text elements, as the
message catalogue would get harder to understand and translate.
For instance:
Mauro, Java is a memory eater. You must know that. But, Linux has a very nice
memory admin. :)
Antonio Gallardo.
El Martes, 17 de Septiembre de 2002 07:46, Alejandro Raiczyk escribió:
Mauro, I always do that, but I guess (I'm not sure, but watching the mem
consume of my linux box I'm almost
Hi
I was wondering how I can use "context://" or something similar to pick up value for my parameter from my sub-sitemap folder rather than from servlet. I want map:parameter to pick up getMethod.xml from folder that has it's own sub-sitemap. If I give only "xml/getMethod.xml" it doesn't find the
Title: RE: Cocoon in multiple webapp
Antonio:
I did read what Vadim said, and I did what says in the install docs. That doc says that u have to compile the code if u want to use JDBC, and that´s not my case. Anyway, I downloded the C2 distribution for JDK 1.4.
I´m running about 20
Hello,
I've been able to easily forward GET request data via
sitemap redirect by using {requestQuery}, but I can't
figure out how to redirect and forward POST data. The
following is what I've tried, to no avail:
(HTML form sends POST request to 'testfrom',
below)
!-- FROM --
Sushil Bhattarai wrote:
Hi
I was wondering how I can use context:// or something similar to
pick up value for my parameter from my sub-sitemap folder rather than
from servlet. I want map:parameter to pick up getMethod.xml from
folder that has it's own sub-sitemap. If I give only
gv wrote:
Hello,
I've been able to easily forward GET request data via
sitemap redirect by using {requestQuery}, but I can't
figure out how to redirect and forward POST data. The
following is what I've tried, to no avail:
(HTML form sends POST request to 'testfrom',
below)
!-- FROM --
Please help,
I am trying to make a master detail form with Cocoon. Can someone provide me
some tips about how to make it with Cocoon?
Many thanks in advance ;)
Antonio Gallardo
-
Please check that your question has not
In Cocoon 2.0.3, how is the base path determined for map:handle-errors?
I'm confused, because in different subsitemaps it either looks for files at the
same level as the current subsitemap or all the way out at the root sitemap.
Tim
Hello
I am trying to use FormValidatorAction to check data before inserting it
into a database.
The key on the database is one of the values on the form, and I want to
check if it already exists on the database so I can tell the user to enter
a different value.
I cannot work out how to do
Hi
How can i inlcude one xml y another?
-
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 PROTECTED]
Timothy Larson wrote:
In Cocoon 2.0.3, how is the base path determined for map:handle-errors?
I'm confused, because in different subsitemaps it either looks for files at the
same level as the current subsitemap or all the way out at the root sitemap.
It should be current sitemap. Have you
Gabor Bartha wrote:
Hi All,
I have a java applet in a jar file and there are several class files
beside the jar, which files (modules) can be loaded by the applet with
the Class.forName() and newInstance() methods. My applet works well as
far as it has to load a module, at that time
hi together,
I'm looking for a way to substitute/translate
the following statement with i18n-transformations:
a href=/test
img src=/images/test.svg?label_text={0}#38;label_color={1}/
/a
to:
a href=/test
img src=/images/test.svg?label_text=hello#38;label_color=red/
/a
i18n:attr settings
It doesn't work.
A few classes are in the jar, the others are beside the jar in the
proper directories (as they are in the packages).
During the running of the applet every class is loaded by the
Class.forName(), ... method.
- If I use map:match pattern=**.class the classes which are in the
Hi Raul,
I personnally use Tamino from Software AG for my project, and Cocoon to
redesign it. The appropriate xmldb driver to make them interact the nicest
way has been partly rewritten for me since it's still a beta, so I have a
version that works and it not bad in terms of efficiency.
I use
Would you consider using 2.1 in production yet if you wanted the
new features/bugfixes?
I wouldn't, but may be other people would.
Vadim
I would, for example, with triple-checking of everything, and I know that my
project won't be in production before several months so I worry less, I
I tried that way. Well I tried value="xml/getMethod.xml" because my getMethod.xml file is inside xml folder (which is at the same level as the sub-sitemap). But it does not pick up xml when I give it that way
From: Vadim Gritsenko <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL
John Austin wrote:
I have seen the same behaviour in 2.0.3. Pretty annoying when the most
resource-intensive part of our system has this flaw.
Just nitpicking: it's primarily a flaw in the client (IEx),
requesting the same URL twice or even thrice, *not* a flaw
in Cocoon, FOP, Tomcat or
Rob Grundel wrote:
I have a svg image that gets serialized to jpeg through the svg2jpeg
converter. In this svg i use ECMA script to format some of the text. It
displays properley when viewed through an SVG viewer but when converted to
JPEG it does not seem to be running the script.
AFAIK
Vadim Gritsenko wrote:
!-- FROM --
map:match pattern=testfrom
map:act type=request
map:parameter name=parameters
value=true/
map:redirect-to session=true
uri=testto/
This send respond to the browser with status 302 and
*no* parameters.
Browser then will request
Hi
Has anyone succesfully deployed cocoon in Oracle 9IAS. For me, the deployment of war file worked fine. When giving the URL in the browser, the server does pick up the cocoon servlet but throws Sax Parser error. Has anyone tried cocoon in Oracle 9IAS?
Sushil
Join the worlds largest e-mail
Hello all,
This is a slighty different (and failry trivial) question about request parameters. Is
there any way to pass parameters to a redirect or do they just have to be embedded in
the URI? And I'm not wanting to do anything complex as was discussed in the
forwarding POST paramters thread,
I am trying to run Cocoon 2.0.3 under Enhydra 3.1.
Here is my environment:
Win2K
jdk1.3.1_03
I get the following in my Enhydra log:
2002.09.17 10:48:02: WebQuery,INFO: DEBUG (2002-09-17) 10:48.02:619
[] (Unknown-URI) Unknown-thread/DefaultLogTargetFactoryManager:
added new
gv wrote:
Vadim Gritsenko wrote:
!-- FROM --
map:match pattern=testfrom
map:act type=request
map:parameter name=parameters
value=true/
map:redirect-to session=true
uri=testto/
This send respond to the browser with status 302 and
*no* parameters.
Browser
Do you have the pipeline for the jar?
--
Ilya
Gabor Bartha wrote:
It doesn't work.
A few classes are in the jar, the others are beside the jar in the
proper directories (as they are in the packages).
During the running of the applet every class is loaded by the
Class.forName(), ...
Hi Antonio... in your OS settings I guess ? This may be read by the JVM in
the OS' settings
Babs
--
website : www.babsfrance.fr.st
ICQ #: 135868405
- Original Message -
From: Antonio Gallardo Rivera [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 17, 2002 1:44 PM
So Vadim, is it possible to use redirect-to with POST method ? If so, please
provide a code snippet. I guess not, you replied once on this... I am
interested too, since I use GET for now but the url bugs me ;-)
Thanks a lot,
Babs
--
website : www.babsfrance.fr.st
ICQ #: 135868405
- Original
hi,
When trying the svg examples which come with cocoon under linux i get an error. In
windows it works fine.
Here is my setup:
Redhat Linux 7.0
Sun's jdk 1.4
Apache Tomcat 3.3
Cocoon 2.0.3
Error:
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at
Nice question! Its very hairy! :)
I resolved it using this sitemap:
!--Paginas HTML de Base de Datos --
map:match pattern=*-*.html
map:act type=auth-protect
map:parameter name=handler value=agshandler/
!-- catálogos --
map:match
Sushil Bhattarai wrote:
I tried that way. Well I tried value=xml/getMethod.xml because my
getMethod.xml file is inside xml folder (which is at the same level as
the sub-sitemap). But it does not pick up xml when I give it that way
Have you tried latest cocoon 2.0.4-dev? If issue is still
I just now grabbed the cvs cocoon_2_0_3_branch and tried it.
Exactly the same results as with released 2.0.3.
Excerpts from my sitemaps are included below with indication
of where it looks for the error files.
Talk to you tomorrow.
Tim
Excerpt from main sitemap:
(not worried about this one...)
Barbara Post wrote:
So Vadim, is it possible to use redirect-to with POST method ?
Redirect to cocoon:// URI would work with POST. For any other
redirects see also reply from purist Ken ;-P
PS: I use redirects... to welcome ;-)
Vadim
If so, please
provide a code snippet. I guess not,
gv wrote:
Vadim Gritsenko wrote:
!-- FROM --
map:match pattern=testfrom
map:act type=request
map:parameter name=parameters
value=true/
map:redirect-to session=true
uri=testto/
This send respond to the browser with status 302 and
*no* parameters.
Oracle Application Server should install just as if it was Orion application server. It could be because the SAX parser of OAS is different than the one being used by Cocoon and is overriding your call.
On Tuesday, September 17, 2002, at 01:51 PM, Sushil Bhattarai wrote:
Hi
Has anyone
Matthew Hailstone wrote:
I am trying to run Cocoon 2.0.3 under Enhydra 3.1.
Here is my environment:
Win2K
jdk1.3.1_03
I get the following in my Enhydra log:
java.lang.NullPointerException
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999)
at
I have been experimenting, with great success, data scraping of HTML
pages for inclusion into some cocoon apps. What a great tool! It really
simplifies life.
I am now attempting to scrape pages behind a user/pw entry. I get a
pop-up request window when I grab the URI of interest via the
I have noticed two different results when sending images to the client
from Cocoon. The older browsers don't get the image. The new versions do.
What gives?
Jon Lancelle
-
Please check that your question has not already
Hello!
I'm tried to use EJB together
with cocoon but unfortunately didn't find any EJB logicsheet.
Maybe I should use plain xsp instead?
Is there any of common usage patterns?
--
With best regards, Dmitry
I have installed cocoon in my system. When I try to access some xsp file, the java content appears along with the generated html page. Also, refreshing dumps the xsp file onto the browser. Can anybody tell me what I have to do to make it work?Get a bigger mailbox -- choose a size that fits your
That does take care of the phantom text, but what if someone wanted some
additional text on the form. The patch that I posted is based on the
assumption that someone would not want a double post of the first caption,
but any additional captions they would want to see. With the patch that is
On my machine the endorsed
directory is ..\bin\, so I put Xalan in $CATALINA_HOME/bin.
You should look at environment property java*endorsed*.
--
With best regards, Dmitry
Alejandro Raiczyk [EMAIL PROTECTED]
17.09.2002 10:19
Please respond to
[EMAIL PROTECTED]
To
'[EMAIL
-Original Message-
From: Jonathan Lancelle [mailto:[EMAIL PROTECTED]]
I am now attempting to scrape pages behind a user/pw entry. I get a
pop-up request window when I grab the URI of interest via the
browser.
How do I handle the user/id entry within Cocoon? Can I pass them as
check,
http://xml.apache.org/cocoon/developing/webapps/index.html
Antonio Gallardo
El Lunes, 16 de Septiembre de 2002 18:42, Jonathan Lancelle escribió:
I have been experimenting, with great success, data scraping of HTML
pages for inclusion into some cocoon apps. What a great tool! It
Vadim,
Thanks for your reply and the reference to the patch. I've been
pulling my hair out trying to make Cocoon work under Enhydra3.1. :) I
performed a CVS update on a previously checkedout cocoon_2_0_3_branch
tag module. It appears to be the 2.0.4-dev version. I verified that the
patch that
Sushil Bhattarai wrote:
Hi
Has anyone succesfully deployed cocoon in Oracle 9IAS. For me, the
deployment of war file worked fine. When giving the URL in the
browser, the server does pick up the cocoon servlet but throws Sax
Parser error. Has anyone tried cocoon in Oracle 9IAS?
Sushil
Hello,
I'm having what seems to be an encoding problem -- not
sure it's related to Cocoon, but... ;)
xsl:for-each select=//city-name
a href=city-detail?city-name={.}xsl:value-of
select=.//abr/
/xsl:for-each
All my xml is UTF-8, it work in English, but not in
Russian. Any ideas?
Thanks,
Try http://www.crudlet.comit uses cocoon as
a frontend.
Fred
- Original Message -
From:
Johann Romefort
To: [EMAIL PROTECTED]
Sent: Tuesday, September 17, 2002 2:56
AM
Subject: Cocoon Distributed system
Hi,
I would like to develop a distributed system
74 matches
Mail list logo