database problem ...

2001-08-27 Thread Sumit Ranjan
in the sample database table department_table , whenever i add a new entry the id generated is in the sequence 2,21,211,2111,2 ...and so on is this a bug ? or am i doing anything wrong. please suggest as i am new to cocoon. i am using C2 on tomcat 3.2.2 and apache 1.3.11 on my NT 4.0

Re: [C2] Webapp directory for development...

2001-08-27 Thread Enke Michael
Per Kreipke wrote: ... 1. I could start with the entire contents of the WAR. But I'm wondering if the minimum set is: - sitemap.xmap (and only the necessary portions of it) - cocoon.xconf (leave as is) - WEB-INF/web.xml (no changes) - WEB-INF/lib (leave as is or modify according do

two webapps ...one database !

2001-08-27 Thread Sumit Ranjan
hi there ! i have a question not entirely different from what u r discussing i am new to cocoon , so forgive if i ask something elementary. i am using tomcat 3.2.2 as my servlet container , on which there are two webapps running--jetspeed and cocoon. both of these webapps use hsql as

RE: two webapps ...one database !

2001-08-27 Thread Liam MacQuarrie Morley
Sumit, my first guess would be to do the following: find out what the root of the exception is. You have a number format exception, which is being caused by Integer.parseInt() not getting an integer. I assume there is a null value in the database, you'd need to discover why that's being returned

Re: [C2] Don't know how to use character encoding ?! Please HELP

2001-08-27 Thread Peter Nuetzel - inglobo
add a parameter to the HTML or XML serializer definition in your sitemap to specify encoding: map:serializer name=html mime-type=text/html src=org.apache.cocoon.serialization.HTMLSerializer encodingISO-8859-1/encoding /map:serializer - peter -Ursprüngliche Nachricht- Von: Samuel

Get the File-Date of the source-file

2001-08-27 Thread Christofer Dutz
Hi, one question. I want to alter my main website-xsl that it shows the date of the source-dokument. Is there a way to do that with XSLor XSP ?Since the webbrowser candisplay these dates, I thought mabe there is some non-XSP-way. Tho only thing I could come up with was to get the

how to view the generated xml ?

2001-08-27 Thread Andrei Bejenaru
I would like to checkthe XML generated from a XSP. How can I do it?

Re: Out of memory with JDK

2001-08-27 Thread Stephan Kassanke
Hi chris, thanks for your quick answer. Currently we are using JVM 1.1.8 under Linux. The switches are the same you mentioned below. Is this set when I start the cocoon servlet? eg. java -Xms128m -Xmx128m some-cocoon-initialization-classes best regards, Stephan - Original Message -

Re: how to view the generated xml ?

2001-08-27 Thread Enke Michael
Andrei Bejenaru wrote: I would like to check the XML generated from a XSP. How can I do it? Comment out the transform - to - html - or - whatever tag in the sitemap. Depending on which browser you use you must view the source, that's the xml. Michael

Re: [C2] Don't know how to use character encoding ?! Please HELP

2001-08-27 Thread Drasko Kokic
Hi Peter, I am still having the unchanged META http-equiv=Content-Type content=text/html; charset=UTF-8 Is this maybe a bug in Cocoon2 ... does it work at your installation (for sure :-) TIA Drasko --- Peter Nuetzel - inglobo [EMAIL PROTECTED] wrote: add a parameter to the HTML or XML

Re: [C2] Don't know how to use character encoding ?! Please HELP

2001-08-27 Thread Xavier Renard
try: xsl:output method=html encoding=ISO-8859-1/ xsl:template match=/ . Xavier Hi Peter, I am still having the unchanged META http-equiv=Content-Type content=text/html; charset=UTF-8 Is this maybe a bug in Cocoon2 ... does it work at your installation (for sure :-) TIA

Re: database problem ...

2001-08-27 Thread java guru
Please look at the process-department.xsp.. You will understand... may be the esql:parameter is considering string and so when u add 1 to string ... basically its taking result as string again.. so 2 + 1 = 21 (string expressions) 21 + 1 = 211 (String expressions)... :-) --- Sumit Ranjan

Re: how to view the generated xml ?

2001-08-27 Thread Cyril Cambien
My advice is to have 2 pipeline definitions. One usual, the other for debugging purpose For instance: !-- Normal processing -- map:match pattern=*.xsp map:generate type=serverpages src=docs/{1}.xsp/ map:transform src=stylesheets/{1}.xsl/ map:serialize type=html/

xsl:pi

2001-08-27 Thread Gontzal Fresno Astorki
I'm trying to do a transformation from an xml to another one with cocoon 2 and xslt. When I call to the page, it returns org.apache.cocoon.ProcessingException: Failed to execute pipeline.:java.lang.RuntimeException: Problem in getTransformer:null Is not this instruction correct ? xsl:pi

Re: How to log from a Java class ?

2001-08-27 Thread Jon Peterson
I'd recommend looking at Trunk (http://www.openinstitute.org/trunk/). This API allows you to have plugable logging drivers such as Logkit (which cocoon uses), Log4j, JDK1.4, etc. Regards, Jon - Original Message - From: Cyril Cambien [EMAIL PROTECTED] To: Cocoon users [EMAIL PROTECTED]

Re: How to log from a Java class ?

2001-08-27 Thread Giacomo Pati
Quoting Cyril Cambien [EMAIL PROTECTED]: I understand how to log from a xsp file using the log.xsl logicsheet but what is the best way to log information from the Java classes called from my xsp files ? Make them implement Loggable and pass the logger to them

Re: Apache/Tomcat/mod_jk/C1 ?

2001-08-27 Thread Christopher Painter-Wakefield
RTFM. Specifically, http://xml.apache.org/cocoon/install.html -Christopher Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Apache/Tomcat/mod_jk/C1 ? Hi, Is it possible to install Cocoon 1.8.x on Apache/Tomcat/mod_jk. If yes, where could i find some

Cocoon2, Tomcat4, JDK1.3.1, X Server Problem ?!

2001-08-27 Thread Jesse Reynolds
Hi I've just installed Tomcat 4 beta 8, Cocoon 2 beta 2, Sun's Linux JSDK 1.3.1, on FreeBSD 4.2 (with Linux emulation). When I go to http://mybox:8080/cocoon/ I get a Cocoon 2 formatted error page, with the following error: message The sitemap handler's sitemap is not available. Please

Re: Cocoon2, Tomcat4, JDK1.3.1, X Server Problem ?!

2001-08-27 Thread Jesse Reynolds
I love answering my own questions. As discussed previously on this list, Java's AWT in 1.3.1 requires an X server to connect to (!). This is rediculous... Anyway, I ran up the virtual frame buffer, Xvfb, and then it all just worked as they say in the trade. Cheers Jesse At 1:28 AM

One More Cocoon Powered Website!

2001-08-27 Thread James Y. Wilson
Greetings! We have been happily using Cocoon 1.8 in our production environment for the last 4 months, and we are very pleased with the results. Though Cocoon does not power our primary web site, it is the basis for the implementation of a back end subsystem we call the Report Engine. The

Re: how to view the generated xml ?

2001-08-27 Thread Martin Man
On Mon, Aug 27, 2001 at 12:14:28PM +0300, Andrei Bejenaru wrote: I would like to check the XML generated from a XSP. How can I do it? append ?cocoon-view=content to the URL, and then see the source returned, presumming you have corectly configured views in your sitemap rgds, martin --

Re: database problem ...

2001-08-27 Thread Sumit Ranjan
hi java guru ! thanx for your reply. but the problem is as it is. i have checked the process-department.xsp file and there seems to be nothing wrong. here is my process-department.xsp file... ?xml version=1.0 encoding=ISO-8859-1? xsp:page language=java

Re: One More Cocoon Powered Website!

2001-08-27 Thread Derek Hohls
Neat site! Out of interest... which process did you use to produce the .rtf file report? Derek [EMAIL PROTECTED] 27/08/2001 07:45:26 Greetings!We have been happily using Cocoon 1.8 in our production environment for thelast 4 months, and we are very pleased with the results. Though Cocoon