0. Do you use the *same* JRE to compile and run Cocoon?
Yes.
1. Check that user you use to launch tomcat can read jars:
chmod 666 $TOMCAT_HOME/webapps/cocoon/WEB-INF/*
Or even: chmod -R 666 $TOMCAT_HOME/webapps/cocoon
All files/folders are owned by tomcat.dev. I left the permissions
I got sidetracked and am now trying (once again) to get Cocoon2 running on
our Linux server. We are using Cocoon 2.0.2, Tomcat 3.2.2 (with Apache),
RedHat 7.1, and IBM JDK 1.3.0.
My last post (12 Apr 2002) left me with this error message on Cocoon
startup:
message Language Exception
Sorry about the previous post with a misleading subject... I'm re-posting
this with a 'proper' subject line...
I got sidetracked and am now trying (once again) to get Cocoon2 running on
our Linux server. We are using Cocoon 2.0.2, Tomcat 3.2.2 (with Apache),
RedHat 7.1, and IBM JDK 1.3.0.
My
To: [EMAIL PROTECTED]; Mark Kent
Subject: RE: LanguageException errors on startup
From: Mark S. Kent [mailto:[EMAIL PROTECTED]]
Sorry about the previous post with a misleading subject... I'm
re-posting
this with a 'proper' subject line...
I got sidetracked and am now trying (once again) to get
on 3.2.2 so I can complete the
integration with my existing app.
mark
-Original Message-
From: Vadim Gritsenko
Sent: Thursday, July 25, 2002 2:33 PM
To: [EMAIL PROTECTED]; Mark Kent
Subject: RE: LanguageException errors on startup
From: Mark S. Kent [mailto:[EMAIL PROTECTED]]
OK. I
] (/cocoon/)
Thread-8/CocoonServlet: Problem with Cocoon servlet
java.lang.NullPointerException
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999)
Is this an easier one to eradicate? :)
mark s. kent - web dev
vistyx corp. - www.vistyx.com
972.755.0447 x 107
Troels/Chris,
I'd also like to see this working, but without the pre-packaged
Tomcat/JBoss. We are using Tomcat 3.2.3 and JBoss 2.4.4 with each running
as their own user so that each can be restarted independently (for future
scalability issues).
I'd like to hear from anyone whose been able to
I've seen this on our Linux 7.1 servers when Tomcat didn't completely
shut-down and left some stuff in memory. Try 'kill'-ing the Tomcat process
and restarting Tomcat.
mark
-Original Message-
From: daniel robinson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 29, 2002 4:04 PM
To:
Java 1.3
Tomcat 3.2.2
Cocoon 2.0.2
JBoss 2.4.3
Mark
-Original Message-
From: Mark S. Kent [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 10:27 AM
To: [EMAIL PROTECTED]
Subject: LanguageException error on startup (Coc2.0.2,Tomcat3.2.2)
We are trying to start Cocoon 2.0.2 using
server, but can't
get
Cocoon running...
Linux 7.2
IBM Java 1.3
Tomcat 3.2.2
Cocoon 2.0.2
JBoss 2.4.3
Mark
-Original Message-
From: Mark S. Kent [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 10:27 AM
To: [EMAIL PROTECTED]
Subject: LanguageException error on startup
I'm testing the JBoss-2.4.4_Tomcat-4.0.1 package with Cocoon2 and I'm trying
to get Cocoon to read an user's session name variable (employeeData) created
by the login process. Can Cocoon2 read the session information from the
JB/TC instance? (sorry if that is not the right terminology)
I can
-Original Message-
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 11, 2002 2:49 PM
To: [EMAIL PROTECTED]; Mark Kent
Subject: RE: using C2 to read sessions from JBoss/Tomcat
From: Mark S. Kent [mailto:[EMAIL PROTECTED]]
I'm testing the JBoss-2.4.4_Tomcat-4.0.1 package
Thanks, Vadim. I'll check it out.
-Original Message-
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 11, 2002 4:11 PM
To: [EMAIL PROTECTED]; Mark Kent
Subject: RE: using C2 to read sessions from JBoss/Tomcat
From: Mark S. Kent [mailto:[EMAIL PROTECTED]]
Vadim
We are trying to start Cocoon 2.0.2 using Tomcat 3.2.2 and getting the
following error upon the first attempted load of the default samples page:
-- begin snip --
Cocoon 2 - Internal server error
Hold the phone. I think the problem was further up in the file with a
missing $ on a variable of the same timetype name. I fixed that and it
worked just fine.
Mark
-Original Message-
From: Mark S. Kent [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 26, 2001 10:00 AM
To: [EMAIL
Sorry if this is off-topic, but I didn't see an FOP User list, just a
Developer one, so let me know if I need to ask this question over there.
Is there a command in Apache's FOP to rotate the page by 90 degrees to get a
landscape orientation for PDF? I have an output file that reads from a
I'm creating an alias name in my SQL statement:
select column_name as alias_name
but the esql:get-string column=alias_name/ is causing the XML file to
stop writing records. What's really strange is that it works on my dev box
(running WinNT4) but not in Linux Red Hat 7.1.
Development box:
Excuse this for being a little off topic, but I've asked this on an XSLT
site with no reply (yet) as was hoping someone of Xalan knowledge could
answer it quicker from here.
If not, how do I look at the format-number() source of Xalan to see what
it's doing? Is it in the xalan-2.2.0-dev.jar
Yes, the data IS from a database. However, often my output files are
sorting the results of the data based on a user choice (I'm creating
reports).
But, you got the thinking so I made an addition to my dynamic query string
in my esql command to change the SQL sort order based on the order
You're posting your message in HTML format. Change to Plain Text format
for your email and then post the NS source into the mail...
Mark
-Original Message-
From: Henrik Hofmann [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 15, 2001 9:15 AM
To: [EMAIL PROTECTED]
Subject: Strange
I've been seeing this message in my logs alot recently and would like to see
it go away. The actual message in the log is:
ERROR (2001-11-15) 12:05.18:008 [cocoon ]
(/cocoon/mark/styles/mystyle.css) HttpProcessor[8080][0]/sitemap_xmap: error
notifier barfs
I just tried using xsl:message in Cocoon2 and got a hard-failure screen.
Per the XSLT spec, isn't the message entered supposed to display in the
browser or something?
Tried this:
xsl:message terminate=yes
xsl:textError occurred - check your data!/xsl:text
/xsl:message
But got
I read the latest messages about the fix to get Tomcat4 to start up (in
list and FAQ) but the change I made keeps getting overwritten each time I
restart Tomcat4. I think the FAQ fix worked fine with C2RC1 but C2RC2
seems to reset the cocoondb.properties line of modified=no to
modified=yes each
Does anyone have examples of the Xalan nodeset() function? I am having some
trouble. Does Cocoon2 use the 1.0 or 1.1 (a?) specification of XSLT?
What I want to do is:
1. Select nodes from my XML tree
2. Create a variable of the unique dates within the selected nodes
XML data looks like this:
My pages display fine, but the log is chock full of messages about a
java.net.SocketException. I haven't changed my sitemap, but the error seems
to occur after I haven't visited my Cocoon2 page page for a while. Once I
try to refresh it, it fills the logs with these messages while try to serve
: Mark S. Kent [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 1. November 2001 23:08
An: [EMAIL PROTECTED]
Betreff: [C2] Socket write error serving CSS file
My pages display fine, but the log is chock full of messages about a
java.net.SocketException. I haven't changed my sitemap, but the error
We are using JBoss and beans to manage the other pages in our site but I'm
using Cocoon2 for the reports because they have the ability to take data and
create other formats (namely HTML,PDF,CSV,and XML). Our reports will be
available in any of the formats and I'd like to use the same query in
I'm trying to find the best way to organize my XML data before doing the XSL
stylesheet, and wanted to create my queries using ESQL nesting like this:
esql:execute-query
esql:queryselect foo from bar/esql:query
esql:results
esql:row-results
data
a
esql:execute-query
Christian,
I'm trying the same thing and tried to wrap the esql:get-time call with an
esql:if-null. If that is the only command:
esql:if-null column=schedule_lunch_startnone/esql:if-null
it works just fine when the value is null, but I can't find the correct
syntax to use for the
I was mistaken... the esql:get-date and esql:get-time do work (in C2) to
return a empty value if the date or time is null. I found that my error I
was getting was because the column name I was referencing was not in my ESQL
query (DOH!). Sorry about that.
Mark
-Original Message-
From:
-May/007585.html]
Just curious... I suppose I could add them to the esql.xsl myself, but I'm
leery of adding a hack that will get overwritten with a later version of a
Cocoon install.
Mark
-Original Message-
From: Mark S. Kent [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 24, 2001 2
This is weird.
I just tried putting a nowrap param to my TD tag in my XSL file like
this:
td nowrap
to prevent the table cell in HTML from wrapping and got this error on the
screen:
Error creating the resource
Failed to execute pipeline.
and in the log:
I noticed a message previously about choosing an XSL file using actions
depending on some external input (in this case a value in the database --
ref:
http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=99806349922890w=2 ).
I have reports that I am using Cocoon2 to render with two (maybe more
Kenny,
Not really a solution, but I've seen the same error. It went away when I
deleted the cocoondb.backup file in the WEB-INF\db folder. I've only seen
it again once or twice and solved it with the same solution.
Mark
-Original Message-
From: Kenny Chow [mailto:[EMAIL PROTECTED]]
I'm migrating from my C1 tests to C2 and attempting to get my previously
working FO (PDF) examples to work. I had a namespace defined in my C1 file
that the C2 serializer doesn't like:
code:
xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
error:
FOTreeBuilder:
I'm having a similar problem with pooling setup for Interbase. I've used
the Cocoon2 sample for ESQL to edit my page, sitemap, etc. but it still
won't work.
I've defined the datasource cl (that's C and L -- not C and ONE) and in
cocoon.xconf as:
datasources
jdbc name=cl
theUserSession = request.getSession();
String theLoginName = (String) theUserSession.getAttribute(loginName);
/xsp:logic
marty
-Original Message-
From: Mark S. Kent [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 16, 2001 3:06 PM
To: [EMAIL PROTECTED]
Subject: RE: session and xsl
Does the latest release of FOP (.20) work with Cocoon 1.8.2? I tried using
the included FOP .15 version with the Cocoon distribution, but realized it
is seriously lacking a few key components that I'd like to use.
Peace,
Mark
You also need a version specified in the xsl:stylesheet tag:
xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
Mark
-Original Message-
From: Anthony Diodato [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 19, 2001 3:07 PM
To: '[EMAIL PROTECTED]'
I'm
creating session object called "employee" during login time by a JSP page (using
a bean). I would like to be able read the "employee" session information
to validate a user in XSP (within my XML file) like this:
?xml version="1.0"?
?cocoon-process type="xsp"??cocoon-process
I'd like to include an XML page request with esql query string and
report type (i.e. html, pdf, csv, etc.) as a jsp:include in a current
JSP page which already has my page security and other stuff.
Currently, in my JSP I have:
jsp:include page=test.xml flush=true /
I'm getting the message:
] [mailto:[EMAIL PROTECTED]]On Behalf Of
Brian P Millett
Sent: Thursday, September 13, 2001 2:37 PM
To: [EMAIL PROTECTED]; Mark Kent
Subject: Re: TurbineResources.properties error msg
Mark S. Kent wrote:
I've turned on esql pooling (which works great), but now the first time I
try to run an esql
I asked this earlier but received no response:
I've turned on esql pooling (which works great), but now the first time I
try to run an esql command in an XML file I get an error message in the
tomcat log file of:
java.lang.Exception: The logfile= property and the turbine.logs= property
in the
Do I get counted off points as a newbie poster when I'm just stupid?? Bad
coding on my part in another page: While trying to get the xsp:logic to
work, I mistakenly placed it in a sub XSL file and didn't close it. Argh.
-Original Message-
From: Mark S. Kent [mailto:[EMAIL PROTECTED
44 matches
Mail list logo