Has anyone managed to successfully install Cocoon 2 (B2) on weblogic 6.1?
I followed the instructions that came with the distribution, but Cocoon
failed to load during deployment (I'm running weblogic 6.1 in development
mode so that it would auto-deploy any .war applications dropped into the
Their is not jasper.jar in Tomcat 4.0-b7 or -b8, but their is a
jasper-compiler.jar. Copying jasper-compiler.jar to cocoon/WEB-INF/lib
works.
Is this a Tomcat or Cocoon problem?
I think, this is no a problem, but a feature of Tomcats (at least 3.3 and
4.0). See 'readme' files in lib/common
I need to select the correct stylesheet checking some XML flags of the
pipeline. Something like this (look at the XML selector):
map:match pattern=*
map:generate type=serverpages src=db.xsp/
map:select type=xml node=/test/test2/flag
!-- you could
Hi, C2ers!
I'm still trying to understand how source resolver works with different
types of paths and protocols.
Can anybody please point me to some kind of documentation about the path
resolution? I can't figure out why SourceResolver.resolve() returns
different formats of paths. Is
Has anyone further information concerning the MRUMemoryStore-Settings in
cocoon.xconf?
It is commentent in the File, but on several questions i found no
answers:
- Why are there three MRUMemoryStores? One store, one stream-cache,
on event-cache?
- What exactly is cached in store?
- What
but what i now need, is a xsp-function, which gets the content of an
xml-file (because i want to select something before
formatting it in an
xsl).
read the samples in your 'samples/xinclude/' distribution of cocoon (this
path is for C1, but I guess there's one for C2 too)
Olivier
Cocoon 2 (don't know Cocoon 1) ignores the xsl:output, you must this
parameters in the sitemap. Have a look at
http://xml.apache.org/cocoon2/sitemap.html. There can be found examples at
the point 'Serializers'.
Joerg
Ling Kok Choon wrote:
Hi All,
I use cocoon to build a web site, when
Hi,
- Why are there three MRUMemoryStores? One store, one stream-cache,
on event-cache?
I don't really now. Few days before I asked this question too, but I didn't
get an
anwer. But I think because there are 2 piplines (CacheStreamPipeline and
CacheEventPipeline). Each of them has a own
Hi Stefan,
below there is a answer of the man of the cache Carsten, to
your question why more then one store.
Hi Gerhard,
the answer is in fact really short: It's the way it was designed :-)
No, seriously, the idea behind this was that you can configure both
stores differently. For example you
Hello Chris,
if you can send me your sources/patches, i will be very happy.
I'm not java-spec, while only try :)
What version on C2 you change?
I described on cocoon-dev mailing list and can send your sources to
developers. Or if you subscribed too, you can do it.
I think what this changes are
IMHO:
You have a newline char before your ?xml ? tag (ie it's not on the first
line, first char of the file). That is not allowed by the xml specs.
- Original Message -
From: JEULIN Olivier [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 06, 2001 11:20 AM
Subject: RE:
Hi Joerg,
Haha, Thank a lot, it works ! The answer is there, but i didn't go and read it
carefuly.
Anyway, Thank you.
:)
All the best.
Kok Choon.
Name: Ling Kok Choon
E-mail: Ling Kok Choon [EMAIL PROTECTED]
Date: 09/06/01
Time:
Tomcat v4 has 2 jasper jar files, jasper-runtime.jar and
jasper_compiler.jar, but it does NOT have a jasper.jar.
Jasper-runtime.jar is the only one exposed to webapps. Is the intent
that webapps, like cocoon, should use jasper-runtime.jar?
Paul Spencer
Piroumian, Konstantin wrote:
Their
Tomcat v4 has 2 jasper jar files, jasper-runtime.jar and
jasper_compiler.jar, but it does NOT have a jasper.jar.
Jasper-runtime.jar is the only one exposed to webapps. Is the intent
that webapps, like cocoon, should use jasper-runtime.jar?
Try to copy jasper-compiler.jar to your WEB-INF/lib
This works for the main xslt-stylesheet but when using xsl:include the
problem remains:
htmlheadMETA http-equiv=Content-Type content=text/html;
charset=UTF-8titlen3k Homepage/titlemeta content=Agents in Action
name=autormeta content=english, en name=languagemeta
content=coming soon
hi,
it says I need xalan 1.2.3 which isn't available anymore, so which one do I
take? Or does someone have a URL to this?
Konstantin
--
Konstantin Agouros - NetAge Solutions, Dingolfinger Str. 6, 81673 Muenchen
Tel.: 089 666584-0, Fax: 089 666584-11, Email: [EMAIL PROTECTED]
Hi,
anybody tried the docbook-dtd with cocoon? Are there stylesheets available?
Sorry if this is in the FAQ.
Konstantin
--
Konstantin Agouros - NetAge Solutions, Dingolfinger Str. 6, 81673 Muenchen
Tel.: 089 666584-0, Fax: 089 666584-11, Email: [EMAIL PROTECTED]
Are you using xsl:apply-templates/ anywhere exactly in this forms, i.e.
without select-attribute? Then you match on text()-nodes too, e.g. line
wraps. They will be copied into the output-document too.
Depending on your XSL the following template COULD help:
xsl:template match=text()/
Joerg
Konstantin Agouros wrote:
Hi,
anybody tried the docbook-dtd with cocoon? Are there stylesheets available?
Sorry if this is in the FAQ.
The Avalon documentation is built using DocBook DTD and Cocoon.
(http://jakarta.apache.org/avalon/developing/index.html)
Hi Konstantin,
the stylesheets to convert DocBook to HTML and other formats are hosted at:
www.sourceforge.net/projects/docbook
I used the HTML and HTMLHelp stylesheets with C2 and they work very well.
Regards, Mario
Konstantin Agouros wrote:
Hi,
anybody tried the docbook-dtd with cocoon?
Hello, I am not sure if you have stumbled across a bug or not, but I have
gotten xinclude to work without indenting in C2b2. The way I got this to
work is by including an internal pipeline using a cocoon:// style url from
my aggregate xml file (probably not the only way, but this is what I am
Thangadurai,
try
fp:read select=../document[child::type='request:get-parameter
name=type/'] from=repository as=node/
Kevin
-Original Message-
From: Thangadurai [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 04, 2001 7:56 AM
To: cocoon-users
Subject: dynamic select
try http://xml.apache.org/dist/xalan-j/old/
Although I don't see a 1.2.3 - the closest seems to be 1.2.2.
-Christopher
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: Building 1.8.2
hi,
it says I need xalan 1.2.3 which isn't available anymore, so which one do
Hi
I'd like to generate an xsl from an xsp (an example of this below)
and save this it on my disk automatically (overwriting the previous one)
and use it as a transformer for requests(I already know this part).
I've found this in apidocs:
public FileSavingEnvironment(java.lang.String uri,
500 Internal Server Error
org.apache.cocoon.Cocoon;
java.lang.NullPointerException
Any Suggestions???
Anthony Diodato
Webmaster - IT
Prophet 21, Inc.
19 West College Avenue
Yardley, PA 19067
1-800-776-7438, ext. 4600
Fax: 215-321-8014
[EMAIL PROTECTED]
http://www.p21.com/
Prophet 21 --
C2B2 (5th Sept)
JBoss 2.4.0 with Tomcat 3.2.3
Where does the classpath for the compilation of sitemap come from?
I have the dreaded Class not found scenario (though the class is in the
context/WEB-INF/lib)
I assume it is coming from tomcat?
Any hints helpful
instead of xsl:template match=/ you could
try xsl:template match=page and see whether this can solve the problem.
I had similar problem when I used xsl:template match=/, I solveed the
problem by remplacing / by the root element of my XML in the match
attribute of my xsl:template.
Bobo,
-
Hi, JOERN_HEID and All
JOERN_HEID is right.
I use the action to select XML based on the request. I am not sure is it can help u or
not ...
regards,
Kok Choon
map:components
...
...
map:actions
!-- here i register my action --
map:action name=path-selector
Konstantin Agouros wrote:
Hi,
anybody tried the docbook-dtd with cocoon? Are there
stylesheets available? Sorry if this is in the FAQ.
Yes, we have successfully used both the full DocBook
and the Simplified DocBook with C2 processing. This
assumes that you have installed the DocBook DTDs and
Hi There!
I've recently installed Cocoon on WebSphere 3.5.4 using the install script
and when I try to display the index.xml file in the samples directory I get
the following:
org.xml.sax.SAXParseException: The markup in the document following the root
element must be well-formed.
at
I tried that one... but i got the
org.xml.sax.SAXParseException: The value of attribute select must not
contain the '' character.
because, we are trying to include the element request:get-parameter before
closing thefp:read.
when tried with
xsp:element name=fp:read
xsp:attribute
Christopher -
The way I do this is to work out the absolute path for the page (not always
reliable, depending upon your servlet environment), and then use the Java
File methods to get the last modified date. I don't have sample code to
hand, but it's fairly straightforward once you get the path
you are wrong. i use cocoon-1.8.2 with jdk-1.3. your problem seems to be
with extraneous (dom1) classes in your servlet engine's classpath.
Could you let me know your classpath? I could check mine and see what's
wrong with my configuration. By the way, what JDK/platform are you using?
Hi,
In the sitemap for i18n, the pipeline for the xsp example is defined as
follows
map:match pattern=**.xsp
map:act type=lang-select
map:generate type=serverpages src={../1}.xsp/
map:transform type=i18n
map:parameter name=src
Dear C2 and Turbine users
We are using Cocoon 2 Turbine to build a content mgmt tool. In the admin
user/content publisher tool, we need to cater for the following hierarchical
structures.
root---folder1---index.xml
+
+-folder2---index.xml
+
Hi All,
The util logicsheet still doesn't work in Cocoon2b2 (from CVS). Is this
still a valid way to insert a String containing XML into the document as SAX
events? i.e. should I try and fix it or is there a better way to do this?
(I'm using namespace xmlns:util=http://apache.org/xsp/util/2.0;)
Hi Chris,
when I have a form validation descriptor to validate parameters, which
are later stored in database columns, then I do not like to put the same
rules into the form validation descriptor and also in the database
descriptor.
I like to have all validation rules in one descriptor. I
Hi Mario,
You are completely right!
I'd forgotton that the form validation action could substitute default
values for missing form parameters. In that case there is no need to add
support for nullable and default descriptor attributes in
AbstractDatabaseAction.
I'll still submit a patch to
Oops, wrong list. It was for cocoon-dev.
Hi, C2ers!
I'm still trying to understand how source resolver works with different
types of paths and protocols.
Can anybody please point me to some kind of documentation about the path
resolution? I can't figure out why
Hi Mario,
I am using 3 nested actions in my sitemap:
action1: form validation and substitution of default value for missing
non-nullable parameters
action2: request parameter manipulation (new values are saved into request
attributes since there is no setParameter() method on the Request
Hi Andrew,
I'm working with the latest Cocoon2b2 code from CVS.
I've added support in AbstractDatabaseAction for:
request attributes overriding request parameters
nullable attribute in the AbstractDatabaseAction descriptor
default attribute in the AbstractDatabaseAction descriptor
I'll be
Hi Mario,
I can't see how this conflicts. I would imagine that people would be using
different descriptor files for form validation and database manipulation
wouldn't they?
A form validation descriptor is about parameter constraint validation, the
database action descriptor is about
42 matches
Mail list logo