Vadim,
sorry for the delay, I was out of office. I'm running Cocoon 2.0.2 from
JBoss3beta2 latest cvs snapshots (it uses Jetty as the bundled web
container). I thought of the different xalan/xerces libs between JBoss and
Cocoon as a possible problem source here - is that possible?
Anyway, I'm
I really start losing it, I'm trying to do something very simple for hours,
and it just wouldn't work. With an XML document like this:
page (root element)
content
rowset
row
loj_pt_odj /
obj_numero_gctext/obj_numero_gc
obj_soustypetext/obj_soustype
obj_concattitregc1text
Hi,
I've been using the binary installation of cocoon-2.0.1 (Tomcat included)
which ran first-time (WinME) - thanks to all involved! On with my
problem...
I'm trying to get a new webapp so I can run a site through cocoon, but
separate from all the dox and examples. To do this I followed
On Thursday 28 March 2002 09:50 am, Hahn Kurt (CHA) wrote:
. . .
xsl:value-of select=//content/
. . .
gives me everything in the original document, and that's OK. However, I
replace content with some other element, like
xsl:value-of select=//row/
it gives me just an empty tag
Most
Hi!
Is it possible to write a session-attribute to a database?
=descriptor.xml===
?xml version=1.0 encoding=UTF-8?
root
connectionsafeuser/connection
table name=users
key
key param=id dbcol=userid type=int/
/key
values
value
hi all,
where can I find a specification of the cocoon:/ URI scheme and protcol
handler?
looking in cocoon.xconf [c2.0.2], there is only a protcol handler for
resource:/
context:/
.
as one can use the cocoon:/ in document() methods inside xslts, is it
possible to access internal only
Hello,
I'm working with the CVS-Version of Cocoon 2 from last Wednesday
(3/27/02).
According to
http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=100834637226164w=2
this problem has to be fixes since a couple of months.
But every cocoon request to /NotifyService invokes the Apache server
*** REPLY SEPARATOR ***
On 26.03.2002 at 15:47 Argyn Kuketayev wrote:
As I've said
before, you can use an action to get params from whereever
you need then
expose them to sitemap (using returning map in an action).
Then you can
simply set those params in your trasformer
Hi,
*** REPLY SEPARATOR ***
On 28.03.2002 at 09:50 Hahn Kurt (CHA) wrote:
I really start losing it, I'm trying to do something very simple for
hours,
and it just wouldn't work. With an XML document like this:
page (root element)
content
rowset
row
loj_pt_odj /
Hi
I am trying to get the encodeURL transformer working with Tomcat 4.0.1 and
JDK 1.3.1 (Cocoon 2.0.2)
in my sitemap I have following entries
map:transformers
...
map:transformer logger=sitemap.transformer.encodeURL name
=encodeURL
-Message d'origine-
De: Andreas Hartmann [mailto:[EMAIL PROTECTED]]
Hi,
/
At least in your example the row tag has no value, so it is
absolutely correct that nothing is returned. If you use xsl:value-of,
you will only get the value of the matched tag.
If you want a copy of all the
Actually, the problem was something else, somebody else just pointed me to
check for different namespaces, and that solved the problem, I needed to
reference the elements with their corresponding NS.
Thanks
-Message d'origine-
De: TREGAN Fabien [mailto:[EMAIL PROTECTED]]
Date: jeudi,
Hi,
To copy all types of all level sub-nodes you can use copy-of tag:
xsl:copy-of select=some_element/
In this case you need not special template with for-each processing.
Best regards.
Roman
Hahn Kurt (CHA) wrote:
Actually, the problem was something else, somebody else just pointed me
Chitharanjan:
1. Have you tried
util:include-expr
util:exprxsp:expritemsXML/xsp:expr/util:expr
/util:include-expr
?
2. Have you seen generated java class?
Vadim
From: Chitharanjan Das [mailto:[EMAIL PROTECTED]]
Hello,
I am using cocoon 2.0,2 Tomcat 4.0.1 JDK
It's almost RTFM:
http://localhost:8080/cocoon/news/aggregate
Vadim
From: James Andersen [mailto:[EMAIL PROTECTED]]
OK, I'm pretty sure this is a simple thing to do but I'm fairly new to
Cocoon and I cannot figure it out. I've looked at the FAQ about
concatenating files and I get
Erwin,
have you tried to put your classes in
$TOMCAT_HOME/webapps/cocoon/WEB-INF/classes
That's the place where they should be.
Hth,
Christian
On Thu, Mar 28, 2002 at 01:35:15PM +0100, Erwin wrote:
Hi,
I have a program that dynamically generates XML content and to integrate
it with
Ok, I see, you have got national characters in the Java file (I do not have them, may
be because of different locale).
Next step for you would be:
1. Switch back to Javac (pizza does not support Java file encoding option)
2. Make sure Javac gets -encoding KOI8-R command line option
and
I bet it is due to JDK1.4 which you are using.
RTFM: http://xml.apache.org/cocoon/installing/index.html
Vadim
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 8:37 AM
To: [EMAIL PROTECTED]
Subject: Cocoon 2.02 where has the svg
Hi Erwin,
Christian Schmitt told you where to place the class files. Maybe you will
laugh, but it is neccessary to compile your classes externally. Cocoon
doesn't do it for you. When you read about cocoon someone (like me for the
first time) could assume that cocoon could be able to do the
Vadim Gritsenko wrote:
Ok, I see, you have got national characters in the Java file (I do not have them, may
be because of different locale).
Next step for you would be:
1. Switch back to Javac (pizza does not support Java file encoding option)
2. Make sure Javac gets -encoding KOI8-R command
1)Thanks. It's works in Cocoon 2.0.1 and 2.0.2.
I use your recomendations and changed in cocoon.xconf
parameter name=compiler
value=org.apache.cocoon.components.language.programming.java.Javac/
=
2) How can I put -encoding KOI8-R to javac
in servlet container e.g. Resin
Hi all!
Now I have the following problem :)
When I declare jsp generator in matcher within mounted sitemap I have error
about:
type Status report
message /usr/local/jakarta/catalina-4.0.4/webapps/cocoon/mobicom-info/omc/sample.jsp
description The requested resource
I am fighting with that problem. JSPReader already working. Now I try to
figure out what's wrong with the JSPGenerator.
The most strange thing is that the message in log says that: 'no pipeline
matched' my request. But the pipeline with the needed matcher is there and
JSPReader works from the
Hi,
I'm using cocoon 2.01 and upgraded from Java 1.3 to 1.4. Now I cant render
svg. I posted this before but I didn't get an answer.
Do you know, what the the problem ist whith JDK 1.4?
Christoph Gaffga
- Original Message -
From: Vadim Gritsenko [EMAIL PROTECTED]
To: [EMAIL PROTECTED];
Hi,
I am trying to get the SVG serializer to read a CSS stylesheet, I'm
using Cocoon 2.02. I have a sitemap entry like this:
map:serializer mime-type=image/png name=svg2png
src=org.apache.cocoon.serialization.SVGSerializer
parameter name=user_stylesheet_uri value=/styles/default.css/
The example welcome-svg doesn't work in Cocoon 2.0.2 with JDK 1.31 under
tomcat 4. Does anyone have any ideas why. The images are called but they
don't appear to be generating?
Bobby Koya
[EMAIL PROTECTED]
http://www.newarkhall.co.uk
Ext. 0115 84 66820 Int. 66820
Hi!
What is your OS?
I am using Tomcat 4.0.1 on Win NT 4.0, JDK 1.3.1 and CVS version of Cocoon
and SVG samples work fine here.
--
Konstantin Piroumian
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 6:06 PM
Hello,
Use
the fully qualified path for the JSP file
i.e not just sample.jsp
but from the context root
for eg:
map:generate type=jsp src=/omc/docs/jsp/sample.jsp/
where
/ = context directory
omc = mount
***Sender : Matus Krisztián [EMAIL PROTECTED] ***
Hello,I'm in need of your help. My
problem with Cocoon is that I can't breath itto life. I've made a build with
version 1.8.2 and put the JARs undertomcat4.0.1/lib.I've copied
cocoon-1.8.2/samples to tomcat4.0.1/webapps/samples.
After I've
I am using j2sdk1.4.0, tomcat
4.0.4b2LE,mm.mysql-2.0.11 or mm.mysql-2.0.7 (tried both), and cocoon
2.0.3-dev.
Update on my problem:
I can query the database now by instantiating a
connection in my xsp app. however, the app that i am writing needs to use the
pooling capabilities to handle
Title: RE: Cocoon 2.0.2 SVG
I have had this problem, but currently I am running C2.0.2/jdk1.3.1/TC4.0.3LE [*] and everything is functioning properly.
For some of the CVS snapshots (2.0.2-dev)I built in the past few weeks (in eager anticipation of 2.0.2), random SVG pages would not
yes and in my access log it says trying to load and the driver name. i don't
know if this means it failed or it loaded ok. is there any way to tell if it
is loaded ok? and if it is loaded ok does the pool know to use that driver
by default?
thanks for your help.
Jeremy
- Original Message
Good evening!
It seems that I've solved the problem with JSPs. Patch will be available in
CVS tomorrow.
Regards,
Konstantin Piroumian
[EMAIL PROTECTED]
-Original Message-
From: Chitharanjan Das [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 6:37 PM
To: [EMAIL PROTECTED]
Dear Roman,
Were u able to give pipeline as src to serverpages generator ?
I am still struggling for this to work -
What I now see :
1. If I give cocoon pipeline as a serverpages generator source -
map:generate type=serverpages
src=cocoon:/shxmldb/docs/addressbook/?xpath=style /
where the
Hi,
In my root.log file I have
DEBUG (2002-03-26) 15:17.37:230 [root] (Unknown-URI)
Unknown-thread/Coco
onServlet: Trying to load class: org.gjt.mm.mysql.Driver
Thats the only log file reference I get to my DB driver and I have no
problems with DB pooling.
I'm using Cocoon 2.0 final,
Chris,
Thanks again for all the help.
trust me, i'm not pushing the envelope by design, it's just these are the
versions that i've gotten the farthest with in terms of getting things
working.
i've never had db pooling working, in fact this past week or so has been my
first venture into cocoon
Hi Jeremy,
Your XSP page looks fine to me and if it is working without pooling then I'm
starting to think that a bug may have been introduced into the latest
database code.
My best suggestion would be to download the latest release version of Cocoon
(2.0.2) and try your XSP page on that. Also,
yeah i've looked at just about every digital resource describing pooling and
how to get this to work(i think!). i was just hoping that maybe i messed up
a setting or had a typo or that someone knew of some resolution. maybe i'll
just need to do my app without pooling for now and hope that pooling
On Thu, 28 Mar 2002, Erwin wrote:
On Thu, 28 Mar 2002, Christian Schmitt wrote:
Erwin,
have you tried to put your classes in
$TOMCAT_HOME/webapps/cocoon/WEB-INF/classes
Or do I also have to place all the class files of Cocoon 2 self in that
classes-directory? (Seems odd to me, since
On Thursday 28 March 2002 11:03, you wrote:
The example quoted looks like a multi-valued parameter.
See getParameterValues() in the javax.servlet.ServletRequest class.
-
Please check that your question has not already been
Thanks very much for your response John, but this solution must be
hardcoded in a xsp page, I wanted to use the sitemap to manage the
authorisation.
Xavier
John Austin wrote:
On Thursday 28 March 2002 11:03, you wrote:
The example quoted looks like a multi-valued parameter.
See
Hi folks,
We've been using Cocoon 2.0.1, and I just downloaded 2.0.2. After migrating
to it, I find that I'm getting an XSL error in xsp.xsl (using Saxon 6.5).
The message is:
our_path/org/apache/cocoon/components/language/markup/xsp/java/xsp.xsl;
Line#: 441; Column#: -1
Title: newbie help in classpath
Hi,
I am newbie for cocoon. got stuck somewhere and couldn't make cocoon work. Please help.
I download both cocoon-2.0.2-src.zip and cocoon-2.0-bin.zip.
follow the http://xml.apache.org/cocoon/installing/index.html try to make cocoon work.
The sys env I
Harry,
Match attributes must conform to pattern specification. Quoting from Alan Kay's
XSLT Programmers Reference, p415:
When a pattern is used in the match attribute of xsl:template or
xsl:key, the predicate must not contain any references to variables. This is
to prevent circular
I am a large fan of IDEA (http://www.intellij.com/idea) and I am well on
the way to having a Cocoon project running under IDEA.
However, the ideal scenario would be that I can get it so integrated as to
be able to:
1) Edit a Cocoon file.
2) Hit build in IDEA (which integrates with Ant).
3)
Check your cocoon.roles and cocoon.xconf files. Cocoon 2.0.2 uses
XPathProcessor from the Excalibur instead of old Cocoon's
XPathProcessor. It seems that somehow you are instantiating old
processor instead of new, which is seen from the exception:
java.lang.ClassCastException:
From: Jakob Praher [mailto:[EMAIL PROTECTED]]
hi all,
where can I find a specification of the cocoon:/ URI scheme and
protcol
handler?
In the mail archives.
cocoon:/ accesses current sitemap, and
cocoon:// accesses root sitemap.
See sub/sitemap.xmap for usage samples.
looking in
From: Mathias Ochsendorf [mailto:[EMAIL PROTECTED]]
Hello,
I'm working with the CVS-Version of Cocoon 2 from last Wednesday
(3/27/02).
According to
http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=100834637226164w=2
this problem has to be fixes since a couple of months.
If you read
RTFM: http://xml.apache.org/cocoon/installing/index.html
Read Configuring Environment section.
Vadim
From: Christoph Gaffga [mailto:[EMAIL PROTECTED]]
Hi,
I'm using cocoon 2.01 and upgraded from Java 1.3 to 1.4. Now I cant
render
svg. I posted this before but I didn't get an answer.
Do
You can not have two parameters with the same name.
For the form-validator action you can use:
map:parameter name=validate value=name,password/
PS Do not send HTML emails!
Vadim
-Original Message-
From: Xavier DAMAY [mailto:[EMAIL PROTECTED]]
Hello all :-\
I haven't found any
From: sandhu@terra-firma [mailto:[EMAIL PROTECTED]]
Dear Roman,
Were u able to give pipeline as src to serverpages generator ?
http://localhost:8080/sub/xsp-cocoon
If you spend some time on samples it will save bandwidth of all readers
of this list.
Regards,
Vadim
I am still
From: Erwin [mailto:[EMAIL PROTECTED]]
On Thu, 28 Mar 2002, Christian Schmitt wrote:
Erwin,
have you tried to put your classes in
$TOMCAT_HOME/webapps/cocoon/WEB-INF/classes
That's the place where they should be.
Hth,
Christian
Tnx for your answer.
Well, I have tried
Dear Cocoon User Group:
First of all, I LOVE the Cocoon framework,
I'm a total believer, and expecially love
how Cocoon2 is turning out!
Cocoon seems just awesomely powerfully, years
ahead of the classical architectures proposed
by Sun (i.e. JSP to ServletBeans to EJBs...).
USE PLAIN TEXT EMAIL!
And do not use system classpath variables.
It told me that I need to recompile with -deprecation and build
failed.
What's the error?
Vadim
-Original Message-
From: Peng, Meimin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 6:16 PM
To: '[EMAIL
I have this in the tomcat/conf/config.xml:
Context path=/cocoon
docBase=C:/Apache/xml-cocoon2/build/cocoon/webapp debug=0
reloadable=true/
I use build -D... webapp, for faster build times I commented out
jar/ which creates cocoon.war.
Vadim
From: Rob Jellinghaus [mailto:[EMAIL PROTECTED]]
My unsolicited opinion:
I just ran across Cocoon because I am an xml.apache.org contributor (did
some work last summer on Axis). Cocoon has very little visibility outside
of Apache.
I think that Cocoon is designed and built mostly by programmers, and hasn't
been marketed well (or indeed at
From: Andrey Demchenko [mailto:[EMAIL PROTECTED]]
1)Thanks. It's works in Cocoon 2.0.1 and 2.0.2.
I use your recomendations and changed in cocoon.xconf
parameter name=compiler
value=org.apache.cocoon.components.language.programming.java.Javac/
=
2) How can I put -encoding
For your HelloWorld adventure, check out chello on sourceforge.
Cheers,
Thor HW
3/28/2002 7:11:32 PM, Rob Jellinghaus [EMAIL PROTECTED] wrote:
My unsolicited opinion:
I just ran across Cocoon because I am an xml.apache.org contributor (did
some work last summer on Axis). Cocoon has very
Hi
I would strongly recommend this for an excellent
introduction.
Joseph Rajkumar
http://www.cocooncenter.de/cc/documents/resources/navigation/index.html
Thor Heinrichs-Wolpert wrote:
For your HelloWorld adventure, check out chello on sourceforge.
Cheers,
Thor HW
Title: RE: Cocoon 2.0.2 JDK1.4 Tomcat 4.0.4b1 JDBC Connection Pooling Doesn't Work (for me) - any ideas
Thanks, Tom
I
suspect the problems are not only with cocoon, but excalibur too
!
COCOON
===
The comment lines in the CVS EsqlConnection have
@JDBC3_START@ and @JDBC3_END@which the
Wow, these are completely excellent. And to think I could have found them
myself if I had had half a brain and looked on the Cocoon links
page! (http://xml.apache.org/cocoon/cocoon-links.html)
OK, well, I must now revise my original opinion slightly. Cocoon is not
lacking startup tutorials
Well then let the good times roll as a search of the mail archives will
point out that the books are on their way!
Brian
- Original Message -
From: Rob Jellinghaus [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, March 29, 2002 12:40 AM
Subject: Re: Why isn't
IBM Tutorial
http://www-105.ibm.com/developerworks/education.nsf/xml-onlinecourse-bytitle/83F66813F7FFD61486256B74006EB648?OpenDocument
And there are books on the way:
http://www.need-a-cake.com/categories/cbook/
Cheers,
Thor HW
3/28/2002 9:40:25 PM, Rob Jellinghaus [EMAIL PROTECTED] wrote:
Piroumian, Konstantin wrote:
Good evening!
It seems that I've solved the problem with JSPs. Patch will be available in
CVS tomorrow.
Regards,
Konstantin Piroumian
[EMAIL PROTECTED]
Thanx by good news, but where I had download this patch?
Please, I need this :)
Thanx.
Yury.
Hello Matthew,
Let me start my commending U on the well written article, however I have
some questions
I have played around with the sunshine basic authentication and it works
, however my requirements are the following..
Please advise whether this can be achieved with the
Hi, Vadim.
- Original Message -
From: Vadim Gritsenko [EMAIL PROTECTED]
2) How can I put -encoding KOI8-R to javac
in servlet container e.g. Resin 2.0.5, Tomcat 4.0?
You can change encoding for the whole JVM right now
May be this is offtopic but I do not know
how set
66 matches
Mail list logo