Cocoon 2.01, Tomcat 4.01, Oracle db
I can't access my Oracle db, no errors, just this entry in the core log:
WARN(2002-03-26) 09:11.01:401 [core]
(/cocoon/Kurt/testsxml/HD/base/query.xml)
HttpProcessor[8080][3]/LogKitLogger: Could not return Connection
java.lang.IllegalStateException:
Dear Cocoon Dev Team,
Congratulations - I look forward eagerly to my download completing!.
- I'm in the UK and BT haven't got ADSL working in my exchange so it'll take
a while at 56k ;-{
Just a couple of nitpicks ...
1) The cocoon homepage still referds to 2.0.1 :-
-Original Message-
From: Corey Jewett [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 26, 2002 12:50 PM
To: [EMAIL PROTECTED]
Subject: HTML Output Issues
Rookie cocoon user. Asked this question about a week ago and got no
answer, trying to rephrase it.
I have very simple
Now I found an additional entry in the access log:
DEBUG (2002-03-26) 10:48.43:410 [access] (Unknown-URI)
Unknown-thread/CocoonServlet: parent-component-manager was not set -
defaulting to null.
DEBUG (2002-03-26) 10:48.43:430 [access] (Unknown-URI)
Unknown-thread/CocoonServlet: Trying
Hi Michael.
There are install instructions for Cocoon 1 on the website
http://xml.apache.org/cocoon1/install.html
Do you have all jar files from the Cocoon 2.0.1 install in your
classpath? It looks like you missed some...
Cheers, Michael
-Ursprüngliche Nachricht-
Von: Souillard M Ext
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 26, 2002 10:38 AM
To: [EMAIL PROTECTED]
Subject: RE: [Announcement] Apache Cocoon 2.0.2 Release
Dear Cocoon Dev Team,
Congratulations - I look forward eagerly to my download completing!.
Dear friends,
I'm stuck trying to install cocoon 2.0.1.
The details are:
W2000 professional
tomcat 4.0.3 installed and working fine
cocoon copied under webapps directory
listening to 8080 port
.war file copied and automatically decompressed under webapps
JAVA_HOME path set ok to jdk1.3
what I
Hi Diego,
I have the same configuration and I didn't copy cocoon under webapps
directory, but the cocoon.war file. Then I restarted Tomcat so that the war
file can be unpacked.
Then you have to copy the batik...jar and xml-apis.jar file to the
common/lib directory and restart tomcat again.
First you have to load Oracle driver in WEB-INF/web.xml
init-param
param-nameload-class/param-name
param-value
oracle.jdbc.driver.OracleDriver
/param-value
/init-param
-Original Message-
From: Hahn Kurt (CHA) [mailto:[EMAIL PROTECTED]]
Thanks,
I changed a number of configurations, including the Web.xml file, and now
it's working!
-Message d'origine-
De: Sozonnik Andrew [mailto:[EMAIL PROTECTED]]
Date: mardi, 26. mars 2002 11:22
À: [EMAIL PROTECTED]
Objet: RE: Problems accessing database,
First you have to load
Hi list,
reading the Performance Guide Draft, it sems to me that turning XSPs
into Generators is a good idea, is there some general way how to do
this? Any tips, templates?
Cheers, Michael
-
Please check that your question has
I had the same problem. Adding
xsl:output indent=no /
xsl:strip-space elements=* /
right under the root node solved the problem. Every image sticks correctly
to the previous one in the browser. All the tags follow one another. It's
also a very good way to compress the HTML output. There's
From: Michael Zehrer [EMAIL PROTECTED]
reading the Performance Guide Draft, it sems to me that turning XSPs
into Generators is a good idea, is there some general way how to do
this? Any tips, templates?
tip: use the .java file that results from the XSP; look in the work dir
template: look in
There are install instructions for Cocoon 1 on the website
http://xml.apache.org/cocoon1/install.html
Yes, I already used these instructions, with and without the properties
param to indicate where to find the cocoon.properties file. But I have
the following problems (of course I've checked
Hi Michael,
try defining the properties param as a relativ unix-style path, where
your current directory is the web directory (like
../servlets/cocoon.properties)
Michael
-Ursprüngliche Nachricht-
Von: Souillard M Ext DvSI/SICoR
[mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 26. März
and be sure that your Servlet Engine ist in full servlet2.2/JSP1.1
compliance mode...
-Ursprüngliche Nachricht-
Von: Michael Zehrer
Gesendet: Dienstag, 26. März 2002 12:19
An: [EMAIL PROTECTED]
Betreff: AW: cocoon Websphere 3.55
Hi Michael,
try defining the properties param as a
Hi,
I use java 1.4, Tomcat 4.0.3 and Cocoon 2.0.2.
Copied the cocoon.war to webapps and was hoping of a smooth lift-off. Error I am
getting is:
org.apache.cocoon.ProcessingException: Error compiling sitemap:
java.lang.NoClassDefFoundError: org/w3c/dom/svg/SVGPaint at
Hi,
I was having a similar problem a while ago. My versions do not exactly
match, still,
I would try this:
Then you have to copy the batik...jar and xml-apis.jar file to
the common/lib directory and restart tomcat again.
it worked for me, and i couldn't find it in the
documentation.
XSL: you can also use #160; to force spaces
Placing JavaScript inside XSLT should *not* cause any
problems - use the ![CDATA notation - see:
http://www.mail-archive.com/cocoon-users@xml.apache.org/msg09863.html
I had no problems with the formatting of the Javascript
being altered when I
Tx, that solved it.
- Original Message -
From:
Diego Lluna
To: [EMAIL PROTECTED]
Sent: Tuesday, March 26, 2002 12:41
PM
Subject: RE: Problems with Cocoon
2.0.2
Hi,
I was having a similar problem a while ago. My versions do not exactly
match,
I use C2.0.2 with JDK1.3.1_02 from Sun.
I try to generate the xjavadocs.
I use the command ./build.sh xjavadocs.
It complains that:
Cannot find com.sun.xml.XmlDoclet
I wonder if this class is available by default with JDK1.3?
And if this is the correct command to have the javadocs
generated
yes ... it's ok with a relative unix-style path for the properties
param.
(at least for cocoon 1.8.2 - we would use cocoon 2.x when our
application will be full servlet2.2/JSP1.1
compliant).
I have now to resolve some problems with FOP usage but the simple cocoon
samples are ok.
Michael, many
Jdk=suns jdk1.3.1_02
Os=redhat 7.2 (headless)
Servlet container = tomcat 4.0.1
Cocoon= cocoon 2.0.2
Webserver = apache 1.3.23
I have just upgraded from cocoon 2.0.1 too 2.0.2 on my server
Previously I had cocoon 2.0.1 running fine through apache + mod_webapp +
tomcat on my headless redhat box
Hi,
I've downloaded Cocoon 2.0.2, compiled, replaced the libs in my project and
deployed successfully. It works, however, I keep getting spammed in the
error.log with messages like these:
ERROR (2002-03-26) 14:13.28:463 [core.manager] (/list/mainlist)
SocketListener-0/XMLResourceBundle:
Hi Marco,
now I found a workaround for your (and my) problem. Take a look into
cocoon's web.xml file:
!-- HSQLDB Server for samples:
Comment this section out if you don't care about the samples.
port : number port where the server is listening
silent : true/false
Hi Marco,
sorry it wasn't web.xml but cocoon.xconf.
Best regards
- Volker -
-Original Message-
From: marco [mailto:[EMAIL PROTECTED]]
Sent: Montag, 18. Marz 2002 03:45
To: [EMAIL PROTECTED]
Subject: help on jvm_bind error
I am using cocoon 2.00, jdk1.3.1_01, tomcat4.0.1 in Windows
Here is my problem:
i have several similar directories structures containing XML datas, for
each customers I have (customer1/, customer2/, customer3/)
I need to apply the same pipeline on one directory tree, depending on a
request parameter:
when I have URL?customer=IBM, i need my pipeline to
did you delete the Tomcat work directory for cocoon?
(don't trust me, i am just a beginner :-)
Peter Jacobs
-Original Message-
From: caleb racey [mailto:[EMAIL PROTECTED]]
Sent: dinsdag 26 maart 2002 14:11
To: [EMAIL PROTECTED]
Subject: cocoon 2.0.2 and mod_webapp
Jdk=suns
Hi,
How can I get RootContext in action?
---
Andrey Demchenko.
-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html
To unsubscribe, e-mail: [EMAIL
Thanks peter its working now :-)
I had assumed that deleting cocoon, shutting down tomcat pasting in the
new cocoon war and firing up tomcat would force a complete redeploy
instead of a kind of half redeploy :-(
You live and learn
-Original Message-
From: Peter Jacobs [mailto:[EMAIL
Hi!
How can I turn off the automatic upload of files
sent by an
input type="file" ?
I dont know if Tomcat or Cocoon saves all the files
to
%TOMCAT_HOME%\work\localhost\cocoon\cocoon-files\upload-dir
I think Cocoon does this, but why?
Thanks,
Alex.
You can change the upload direcrory in the web.xml
of cocoon
- Original Message -
From:
Alexander Kruth
To: [EMAIL PROTECTED]
Sent: Tuesday, March 26, 2002 2:57
PM
Subject: Automatic upload
Hi!
How can I turn off the automatic upload of files
sent by
Yes, Iknow, but I don't know how to turn off
this feature!
Alex.
- Original Message -
From:
Markus
Blank
To: [EMAIL PROTECTED]
Sent: Tuesday, March 26, 2002 3:07
PM
Subject: Re: Automatic upload
You can change the upload direcrory in the
web.xml of
When trying to connect to a mySQL database, I get:
Could not get the datasource java.sql.SQLException: There are no
connections in the pool, check your settings.
I already have the setting for the driver in the web.xml;
init-param
param-nameload-class/param-name
what about changing the location of your work directory to something
like /WEB-INF/work (relative to the context path of the servlet) ?
/Leo
I had assumed that deleting cocoon, shutting down tomcat pasting in the
new cocoon war and firing up tomcat would force a complete redeploy
instead of
1) You must have jdbc driver file in classpath
2) Check your cocoon.xconf
for datasources.../datasources for pool configuration
3) See access.log for message like this
DEBUG (2002-03-26) 17:04.45:713 [access] (Unknown-URI)
Unknown-thread/Cocoon
Servlet: Trying to load class:
Title: logic sheet help
Hi
I am trying to get a session variable in a logic sheet AND assign values to variable in esql so if they match I can display extra features
I have a database table with training details in and am displaying all but restricting some of the functions a user can
Hi,
I have some problems using cocoon in the commandline. The option
following links won't work with my documents.
In the project Krysalis from Nicola Barozzi everything works. In the
log file appears following line:
[java] INFO10171 [] (): Link translated: images/logo.png
On Tue, 26 Mar 2002, Stephan Michels wrote:
Hi,
I have some problems using cocoon in the commandline. The option
following links won't work with my documents.
In the project Krysalis from Nicola Barozzi everything works. In the
log file appears following line:
[java] INFO10171
Hi,
I've just installed Cocoon 2.0.2 on Tomcat 4.0.1, and it works perfectly :).
But I've encountered a problem using the scratchpad's
SourceWritingTransformer.
I used to use revision 1.6 of the old FileWritingTransformer.
I've just changed xfwt into source and tested it, and I've received the
At 6:18 pm +0100 26/3/02, Matthieu Benéteau wrote:
Hi,
I've just installed Cocoon 2.0.2 on Tomcat 4.0.1, and it works perfectly :).
But I've encountered a problem using the scratchpad's
SourceWritingTransformer.
I used to use revision 1.6 of the old FileWritingTransformer.
I've just changed
1. From Object Model get the request object
2. String ctxRoot = request.getContextPath()
-Original Message-
From: Andrey Demchenko [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 26, 2002 5:49 AM
To: [EMAIL PROTECTED]
Subject: getRootContext in Action
Hi,
How can I get RootContext in
Hello Konstantin...
I downloaded the binary of 2.0.2 and tested the JSP generator
and the exception's still there
Did you do the fixes ?
If yes, is there any configuration that needs to be done to get
the JSP's working...
Thanks in advance,
Chiths
-Original
Has anyone ever seen THIS TAG :
dependency
xmlns:xsp="http://apache.org/xsp"
xmlns:apparelshow="http://www.apparelxml.net/apparelshow"/C:/final
latest/cocoon/docs/samples/showroom1/showroomXSP2.xsl/dependency
this is output.
The file being fed into the serverpages generator has a
Thanks to Carsten who uploaded new website... Now I can say:
RTFM: http://xml.apache.org/cocoon/installing/index.html
It has all you need to know about tomcat 4.0.3
Vadim
-Original Message-
From: Diego Lluna [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 26, 2002 5:12 AM
To:
From: Michael Zehrer [mailto:[EMAIL PROTECTED]]
Hi list,
reading the Performance Guide Draft, it sems to me that turning XSPs
into Generators is a good idea, is there some general way how to do
this? Any tips, templates?
Once you run XSP once, Cocoon will compile them into Java classes
Two advices:
1. use plain text emails
2. RTFM http://xml.apache.org/cocoon/installing/index.html
Vadim
-Original Message-
From: Mike Ahlers [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 26, 2002 6:44 AM
To: [EMAIL PROTECTED]
Subject: Re: Problems with Cocoon 2.0.2
Tx, that solved
DELETE WORKING DIRECTORY
PS: RTFM http://xml.apache.org/cocoon/installing/index.html
Vadim
-Original Message-
From: Rob Jellinghaus [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 26, 2002 2:36 AM
To: [EMAIL PROTECTED]
Subject: Cannot install: latest snapshot, Java 1.4, Tomcat
RTFM http://xml.apache.org/cocoon/installing/index.html
Vadim
From: Diego Lluna [mailto:[EMAIL PROTECTED]]
Dear friends,
I'm stuck trying to install cocoon 2.0.1.
The details are:
W2000 professional
tomcat 4.0.3 installed and working fine
cocoon copied under webapps directory
If you mean to show a navigation-path like subdirectories, I would
enable
sitemap-parameters in the XSLT-Transformer and use the request-url of
the
user as name(I think they did the same at yahoo changing the '_' to a
blank
space).
Maybe that helped you
Axel
I included the breadcrumb
Hello,
for my thesis I have studied Cocoon 2 and am now writing a chapter about
it. At the moment I am writing a section about the sitemap, but I still
have some (theoretical) questions about it.
(as this is my first post to the list, I hope this is the right place to
ask)
I downloaded the
Anyone have any experiences with 4 Suite Server http://fourthought.com;
compared to cocoon2?
Thank You,
Anthony
-
Please check that your question has not already been answered in the
FAQ before posting.
Hi Matthieu,
I don't find this a silly question, because I have exactly this problem and
I'm searching a solution for hours. Please tell me the solution.
Best regards
- Volker -
-Original Message-
From: Matthieu Benéteau [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 21. März 2002 19:10
Can you explain how this makes things faster, I assume
XSPs are not convereted to Java and complied each time
I access given XSP. Is the performance difference in
sitemap processing, cache lookups, etc. If so how much.
Thanks,
Artur...
-Original Message-
From: Vadim Gritsenko
Title: Glacier
Hi,
This is going to be rather long-winded,
please bear with me. :)
I have a java class that returns a result
set as XML. I am calling it in a logic sheet like so:
xsl:template match="singertags:get-all-singers"
xsp:expr
SingerHelper.getAllSingers().asXML()
From: Rune Sandnes [mailto:[EMAIL PROTECTED]]
I have set up caching in an XSP page with several ESQL statements.
One version bases the CacheValidity object on a timestamp that it gets
from
the database, like this:
public CacheValidity generateValidity() {
return new
Apache Cocoon 2.0.2 Released
The Apache Cocoon team is proud to announce the new release
of Apache Cocoon.
Apache Cocoon is an XML framework that raises the usage of
XML and XSLT technologies for server applications to a new level.
Designed for
From: Erwin [mailto:[EMAIL PROTECTED]]
Hello,
...
I downloaded the latest release (2.0.2) and have studied the sitemap
dtd
and the sitemap schema
dtd: src/documentation/xdocs/dtd/sitemap-v02.dtd
schema: /src/documentation/xdocs/drafts/sitemap-working-draft.xsd
but I havent found an
From: Artur Bialecki [mailto:[EMAIL PROTECTED]]
Can you explain how this makes things faster, I assume
XSPs are not convereted to Java and complied each time
I access given XSP. Is the performance difference in
sitemap processing, cache lookups, etc.
One is serverpages generator overhead
Try deleting work directory. Might help, I'm not sure what you have got
(you cut the stacktrace too short)
Vadim
From: Jozsa Kristof [mailto:[EMAIL PROTECTED]]
Hi,
I've downloaded Cocoon 2.0.2, compiled, replaced the libs in my
project and
deployed successfully. It works, however, I
Anthony W. Marino wrote:
Anyone have any experiences with 4 Suite Server http://fourthought.com;
compared to cocoon2?
They were developing a fairly nippy XSLT engine last I saw, but I've not
tried the recent 4SS releases. I think they are at a similar level of
working the bugs out and tuning
Title: Glacier
Found the answer to my problem in the news
group archives, actually. I was looking for nearly a day without knowing -what-
I should search for; finally today it clicked! (veterans, please don't get
annoyed, I am new to the list too :))
After duly 'importing' the Util style
In a dos box:
set PATH=C:\WINNT\system32;C:\WINNT
set CLASSPATH=
build clean
build
First error:
C:\Neil\cocoon-2.0.2\build\cocoon\src\org\apache\cocoon\components\language\
mark
up\xsp\EsqlConnection.java:66: class
org.apache.cocoon.components.language.marku
p.xsp.EsqlConnection must be
Hi Neil,
I've had the same problem. I don't completely understand the build.xml, but
I assume that it looks for the java.sql.Savepoint class, in the classpath.
I've checked it and that should be the case with my setup, same as you! It
then replaces JDBC3_START and _END in any source, I suppose,
Hi!
I passed a parameter to a stylesheet and I can get the value with
xsl:value-of select=$order-by/.
But I need to sort data by the value of the parameter like
xsl:sort select=$order-by order=ascending/.
But with this nothing happens and all other forms I tried also failed.
Does anyone know
Wasn't this is:
*) New implementation of the sitemap engine based on an evaluation
tree.
This provides super-fast load times (no more compilation), and a
slight gain
in request processing speed compared to the compiled engine thanks to
the
HotSpot VM. [SW]
or, at least, that was what it
1) The jdbc driver file is loaded under: WEB-INF/classes/
2) The xconf file contains:
datasources
jdbc name=my_connection
pool-controller min=5 max=10/
auto-committrue/auto-commit
dburljdbc:mysql://localhost:3306/mydbase/dburl
userfoo/user
I'm still a Cocoon beginner, and I just got my db connection working
yesterday, and my dburl in datasources looks a bit different, like this:
dburljdbc:oracle:thin:@pallas6:1521:PAIG/dburl
I don't know whether you should replace the //localhost by @localhost?
Maybe it's worth a try
Regards
Kurt
Hi Axel,
You can use something like following:
xsl:sort select=child::node()[name()=$order]/
Best regards
Roman
Axel Honfi wrote:
Hi!
I passed a parameter to a stylesheet and I can get the value with
xsl:value-of select=$order-by/.
But I need to sort data by the value of the
It's not a very good solution if you have a lot of values for sort,
because you need to put one xsl:if tag for any possible value.
?xml version=1.0 encoding=ISO-8859-1?
xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
xsl:parameter name = sort/
xsl:template
Congratulations to all for all the work, and to Carsten for putting it
together!
I noticed there was no mention of the interpreted sitemap in the
announcement. Was it on purpose to not confuse people?
Ovidiu
On Tue, 26 Mar 2002 09:51:19 +0100, Carsten Ziegeler [EMAIL PROTECTED] wrote:
Apache
Tell us, version of Cocoon and JDK.
Have you compiled Cocoon by yourself and under what JDK ?
-Original Message-
From: Derek Hohls [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 8:39 AM
To: [EMAIL PROTECTED]
Subject: Re: Database connection problem
1) The jdbc driver file
Hi!
Hello Konstantin...
I downloaded the binary of 2.0.2 and tested the JSP
generator and the exception's still there Did you do the fixes ?
If yes, is there any configuration that needs to be
done to get the JSP's working...
Unfortunately, I hadn't much time to
73 matches
Mail list logo