RE: 2.0.2 - 2.0.3: ClassNotFoundException on startup

2002-07-26 Thread Mark S. Kent
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

RE: caching strategy

2002-07-25 Thread Mark S. Kent
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

LanguageException errors on startup

2002-07-25 Thread Mark S. Kent
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

RE: LanguageException errors on startup

2002-07-25 Thread Mark S. Kent
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

RE: LanguageException errors on startup

2002-07-25 Thread Mark S. Kent
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

2.0.2 - 2.0.3: ClassNotFoundException on startup

2002-07-25 Thread Mark S. Kent
] (/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

RE: Cocoon 2.0.2 and JBoss 3.0.0RC3

2002-06-05 Thread Mark S. Kent
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

RE: hsqldb - how do I get rid of this error message (and turn off hsqldb)

2002-05-29 Thread Mark S. Kent
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:

RE: LanguageException error on startup (Coc2.0.2,Tomcat3.2.2)

2002-04-12 Thread Mark S. Kent
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

RE: LanguageException error on startup (Coc2.0.2,Tomcat3.2.2)

2002-04-12 Thread Mark S. Kent
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

using C2 to read sessions from JBoss/Tomcat

2002-04-11 Thread Mark S. Kent
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

RE: using C2 to read sessions from JBoss/Tomcat

2002-04-11 Thread Mark S. Kent
-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

RE: using C2 to read sessions from JBoss/Tomcat

2002-04-11 Thread Mark S. Kent
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

LanguageException error on startup (Coc2.0.2,Tomcat3.2.2)

2002-04-09 Thread Mark S. Kent
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

RE: Cocoon2 and FOP

2001-11-26 Thread Mark S. Kent
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

Cocoon2 and FOP

2001-11-25 Thread Mark S. Kent
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

esql and AS statement (SQL)

2001-11-23 Thread Mark S. Kent
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:

XSLT/Xalan format-number() issue:

2001-11-21 Thread Mark S. Kent
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

RE: Xalan and xsl:sort speed by type

2001-11-16 Thread Mark S. Kent
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

RE: Strange Netscape Behavior

2001-11-15 Thread Mark S. Kent
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

C2: sitemap_xmap: error notifier barfs

2001-11-15 Thread Mark S. Kent
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

C2: xsl:message

2001-11-14 Thread Mark S. Kent
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

cocoondb.backup error C2 rc2

2001-11-12 Thread Mark S. Kent
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

C2 uses 1.0 or 1.1 of XSLT spec?

2001-11-12 Thread Mark S. Kent
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:

[C2] Socket write error serving CSS file

2001-11-01 Thread Mark S. Kent
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

RE: [C2] Socket write error serving CSS file

2001-11-01 Thread Mark S. Kent
: 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

Creating CSV and XML files

2001-11-01 Thread Mark S. Kent
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

[C2] esql nested queries

2001-10-29 Thread Mark S. Kent
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

RE: date-format in cocoon 1.8.2

2001-10-25 Thread Mark S. Kent
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

RE: date-format in cocoon 1.8.2

2001-10-25 Thread Mark S. Kent
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:

RE: C2: esql:if-null

2001-10-25 Thread Mark S. Kent
-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

[C2] using HTML nowrap in a TD

2001-10-25 Thread Mark S. Kent
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:

C2: Choosing XSL dynamically

2001-10-24 Thread Mark S. Kent
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

RE: Second run error

2001-10-22 Thread Mark S. Kent
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]]

C2: FO example with XML file

2001-10-22 Thread Mark S. Kent
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:

RE: C2.0: connection pool/ datasource problem [interbase]

2001-10-19 Thread Mark S. Kent
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

RE: session and xsl

2001-10-18 Thread Mark S. Kent
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

FOP .20

2001-09-25 Thread Mark S. Kent
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

RE: Question

2001-09-19 Thread Mark S. Kent
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]'

Sessions: JSP/XSL

2001-09-17 Thread Mark S. Kent
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

C1: Including XML/XSL in JSP pages

2001-09-14 Thread Mark S. Kent
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:

RE: TurbineResources.properties error msg

2001-09-13 Thread Mark S. Kent
] [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

TurbineResources.properties error msg

2001-09-12 Thread Mark S. Kent
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

RE: logic

2001-08-29 Thread Mark S. Kent
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