Re: trouble with Hibernate 2.1 under Cocoon 2.17

2005-03-15 Thread Leszek Gawron
Grzegorz Sikora wrote: Hello , I succesfuly used Hibernate 2.1.8 under Cocoon 2.16 followed by Wiki tutorial[1] sugestions. When I've switched to 2.17dev (current Head rev) I've got strange error when HibernateFactory is initialising (...and it causes failing Cocoon to load :) root cause

CForm repeater binding and hibernate mapping

2005-03-15 Thread Johnson
Hi! I used OJB ODMG to treat database operation before,I try to change to hibernate now. In OJB the mapping for repeater binding is a List collection,and work good. I use hibernatesync to generate O/R map,and it creat a set collection, and the binding to child table is fail. How to do if I

Tracking down errors in the handled errors log

2005-03-15 Thread Derek Hohls
(Cocoon 2.1.6 under Linux) One of my apps is giving a persistent error in the handled errors log; org.apache.excalibur.source.SourceNotFoundException: file:/usr/local/jakarta-tomcat-4.1.31/webapps/cocoon/resources/sitemap.xmap doesn't exist. Now the resources directory is one of the nested

Re: Problems running Cocoon 2.1.5 on Websphere 5.1

2005-03-15 Thread Nicole Hochleiter
Hi, I had the same problems and with your postings I managed to run Cocoon 2.1.5 on Websphere 5.1. Thanks! :-) But now I updated Cocoon to 2.1.6 and got the Problem again. I' using the ParanoidCocoonServlet and set the Logging to use the Apache commons logging supplied with Cocoon. Setting the

Returning large datasets via SQL Transformer?

2005-03-15 Thread Derek Hohls
Using Cocoon 2.1.6 on Linux... I am having a problem attempting to return a large set of data, via the SQL transformer, from a MySQL database, through Cocoon. A query such as : SELECT * FROM mytable LIMIT 100 works fine, but if I remove the limit and attempt to retrieve the entire table - some

textarea in xhtml

2005-03-15 Thread Gunter D'Hondt
Hi, I've got the following problem inside a xslt running on Cocoon: textarea name=mynote/textarea which is serialized into textarea name=mynote / and the problem with this is that browsers (likes IE6) do not understand this syntax very well. if I'm placing a space in between (textarea

Re: textarea in xhtml

2005-03-15 Thread Derek Hohls
Gunter That's strange - the output I get in my HTML forms page (in IE) looks like: input type=text title=test value=2002-08-15 name=CalDate ie there is no / at the end... The input in the XML file is input type=text title=test value=2002-08-15 name=CalDate/ but admittedly there is no XSL

Re[2]: trouble with Hibernate 2.1 under Cocoon 2.17

2005-03-15 Thread Grzegorz Sikora
Hello Leszek, Tuesday, March 15, 2005, 9:38:53 AM, you wrote: 4j-1.4.jar, cglib-full-2.0.2.jar, jta.jar) Anyone used Hibernate 2.1 under Cocoon 2.17 ? LG I am using cocoon under 2.1.x branch and trunk - no problem at all. LG by the way: don't you need the odmg jar also ? I dunno. I don't

com.coyotegulch.jisp.DatabaseException

2005-03-15 Thread Gunter D'Hondt
Hi, Strange things are happening inside the Cocoon error.log with my Cocoon/CForms webapp (which doesn't use any db). Anybody any idea why I'm getting this? See stacktrace below (it occurs on multiple uri's and not always...) Regards, Gunter D'Hondt Stacktrace from errorlog: ERROR

Re: textarea in xhtml

2005-03-15 Thread Jan Hoskens
Hi, There's a little bit more you need to know about textarea and xhtml. Try to follow me on this one ;-) If you are getting problems with a textarea under IE(or another browser) it's because you think you are serializing to xhtml but in fact you're sending plain html. First you need to know

Re: Tracking down errors in the handled errors log

2005-03-15 Thread Bertrand Delacretaz
Le 15 mars 05, à 10:06, Derek Hohls a écrit : ...org.apache.excalibur.source.SourceNotFoundException: file:/usr/local/jakarta-tomcat-4.1.31/webapps/cocoon/resources/ sitemap.xmap doesn't exist. Now the resources directory is one of the nested subdir's in my app... why would Cocoon be looking for

Re: Tracking down errors in the handled errors log

2005-03-15 Thread Derek Hohls
Bertrand You are right - there is a generic map:mount in the root directory for Cocoon. But this still does not account for where the call itself comes from... if you do manage to figure out what log might have the URL, I would grateful for that info. Thanks Derek [EMAIL PROTECTED]

Re: Returning large datasets via SQL Transformer?

2005-03-15 Thread Irv Salisbury
When you say you get an empty file, are there any errors in the log or exceptions that you can see? Something tells me you are probably getting an OutOfMemoryException or something along those lines? The other thing that comes to mind is that this could take a long time. Is the browser still

Re: Tracking down errors in the handled errors log

2005-03-15 Thread Bertrand Delacretaz
Le 15 mars 05, à 12:40, Derek Hohls a écrit : ... if you do manage to figure out what log might have the URL, I would grateful for that info... Setting the overall log level to DEBUG should allow you to find the request URL, maybe by correlating times between the different log messages. You

Re: Returning large datasets via SQL Transformer?

2005-03-15 Thread Derek Hohls
Irv Unfortunately there are no errors in the log file... and no exceptions I can see. I would have thought an OutOfMemoryException might be itbut no reports of that. The query itself can take a few minutes to run (1.25 min in the MySQL command line). I tried both a file download and

Re: Returning large datasets via SQL Transformer?

2005-03-15 Thread Bruno Dumon
On Tue, 2005-03-15 at 15:14 +0200, Derek Hohls wrote: Irv Unfortunately there are no errors in the log file... and no exceptions I can see. I would have thought an OutOfMemoryException it's actually an OutOfMemoryError, which is important, because errors are not logged by Cocoon. You need

Re: Returning large datasets via SQL Transformer?

2005-03-15 Thread Derek Hohls
Bruno Of course you're right - clearly stated in the Tomcat log... now to try and get support for the JVM memory issue ( I have to go this route as I will need to produce CSV and XLS output) I guess I really should add this to an FAQ somewhere... Derek [EMAIL PROTECTED] 2005/03/15 03:31:43

Cron + HSQLDB: Unexpected token: in statement [SELECT 1]

2005-03-15 Thread Andreas Hartmann
Hi all, I'm trying to run the cron block with the TX job store and the built-in HSQL DB. My configurations: store delegate=org.quartz.impl.jdbcjobstore.HSQLDBDelegate type=tx datasource provider=excaliburLenyaScheduler/datasource /store datasources jdbc logger=core.datasources.lenya.scheduler

[Solved] Re: Cron + HSQLDB: Unexpected token: in statement [SELECT 1]

2005-03-15 Thread Andreas Hartmann
Andreas Hartmann wrote: Hi all, I'm trying to run the cron block with the TX job store and the built-in HSQL DB. My configurations: store delegate=org.quartz.impl.jdbcjobstore.HSQLDBDelegate type=tx datasource provider=excaliburLenyaScheduler/datasource /store datasources jdbc

Order of declarations in cocoon.xconf important?

2005-03-15 Thread Andreas Hartmann
Hi all, I noticed that the order of component declarations in cocoon.xconf affects the startup behaviour. When I use a JDBC job store for the scheduler, the datasource has to be declared before the scheduler component, otherwise I end up with a connection refused error. Is this by design, i.e. is

showForm sintax and conceptualization (ojb/jdo)

2005-03-15 Thread Jorge Davila
Hello cocooners: Sorry for my ignorance. There are some concepts that are confused to me. Well if I understand cocoon is something like this (for html visualization): (VIEW) +--+ | web page (forms in html) | +--+ ^ | v (CONTROLLER) ++

datasource/pool/mysql problem

2005-03-15 Thread trampus
Hi! I've the following problem: I've made a cocoon based application and I've defined a datasource in cocoon.xconf, using MySQL and the ?autoReconnect=true option specified. After some hours the application stop working. I guess the problem is that mysql drops theidle connection after 12 hours.

Re[2]: trouble with Hibernate 2.1 under Cocoon 2.17

2005-03-15 Thread Grzegorz Sikora
Hello Leszek, Tuesday, March 15, 2005, 3:17:16 PM, you wrote: LG from hibernate/lib/README.txt: LG odmg.jar (3.0) LG - ODMG API 3.0 LG - runtime, required Well, thanks for info. This lib is required for sure but there's no need to copy it into Cocoon's lib dir 'cause db-obj-1.0.x.jar has

Re: flow-jxpath implementation of selectionList widget

2005-03-15 Thread Jorge Davila
The correct sintax is: form.showForm(form-template, [collection_1, collection_2, .., collection_n]); El lun, 14-03-2005 a las 21:20 +0100, Robin Wyles escribi: Jorge, My mistake... you pass the object to the showForm method... var form = new Form(your-form-definition-file);

Re[2]: trouble with Hibernate 2.1 under Cocoon 2.17

2005-03-15 Thread Grzegorz Sikora
Hello Leszek, Tuesday, March 15, 2005, 9:38:53 AM, you wrote: Anyone used Hibernate 2.1 under Cocoon 2.17 ? LG I am using cocoon under 2.1.x branch and trunk - no problem at all. Are you sure ? Which HB version ? I've downloaded RELEASE_2_1_6 and followed the same steps as in 2.1.x trunk

class widgets

2005-03-15 Thread Binkley, Peter
Title: class widgets I'm starting to get into class widgets in Cocoon Forms, and I'm not sure if my problem fits their use. I have an XML structure in which several elements have an identical set of four optional attributes, as well as their own unique attributes. I've declared a widget

Re: class widgets

2005-03-15 Thread Tim Larson
On Tue, Mar 15, 2005 at 12:27:05PM -0700, Binkley, Peter wrote: I'm starting to get into class widgets in Cocoon Forms, and I'm not sure if my problem fits their use. snip/ Could you either post a sample of your code here or pop into the #cocoon IRC channel and pastebot a sample there? --Tim

Re: Validation problem on CForms fd:struct

2005-03-15 Thread Tim Larson
On Mon, Mar 14, 2005 at 10:19:24PM +0200, Arsen A. Gutsal wrote: I'm using 2.6.1. Validation does not happen for widgets in current struct. They displays, even [*] displays on each widget means that CForm template generator correctly handles required attribute... But validation does not

Re: class widgets

2005-03-15 Thread beatejung
hallo peter, Am Dienstag, 15. Mrz 2005 20:27 schrieb Binkley, Peter: I'm starting to get into class widgets in Cocoon Forms, and I'm not sure if my problem fits their use. I have an XML structure in which several elements have an identical set of four optional attributes, as well as their

RE: class widgets

2005-03-15 Thread Binkley, Peter
Title: RE: class widgets Thanks, Beate, your telepathic proof-reading skills nailed the problem: my ft:new element had an attribute named class instead of id. Everything works now. And thanks, Tim, for the offer to look at my code. I'll probably need that before I get through this project...

Re: com.coyotegulch.jisp.DatabaseException

2005-03-15 Thread Gregor J. Rothfuss
Gunter D'Hondt wrote: Hi, Strange things are happening inside the Cocoon error.log with my Cocoon/CForms webapp (which doesn't use any db). Anybody any idea why I'm getting this? See stacktrace below (it occurs on multiple uri's and not always...) Regards, Gunter D'Hondt Stacktrace from

binding on element name

2005-03-15 Thread Binkley, Peter
Here's a binding question. I'm working with a record structure that can have seven different date fields, which are distinguished by element name: dateIssued, dateCreated, etc. They all have the same internal structure (several attributes, text content), and they're all optional and repeatable.

Very Strange Cocoon 2.4.1 Problem

2005-03-15 Thread Jeff Sexton
I've got a directory full of XML files and a sitemap to turn them into PDF. This works perfectly almost all the time. Once in a great while, a file will not work. Requests for the given file will return this strange bit of code as literal text: function toggle(id) { var element =

RE: i18n transformation error - solved!

2005-03-15 Thread E Sadler
Niels, This was a great suggestion, and it got me going in the right direction. For future reference, the problem was that i18n transformations were only working if they were the first step in my pipeline, but they wouldn't work if they were a later step, i.e. occuring after an xsl

Siegfried Haltemeyer/INTERN/o2-Germany ist außer Haus.

2005-03-15 Thread Siegfried . Haltemeyer
Ich werde ab 16.03.2005 nicht im Büro sein. Ich kehre zurück am 18.03.2005. Ich werde Ihre Nachricht nach meiner Rückkehr beantworten. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Very Strange Cocoon 2.4.1 Problem

2005-03-15 Thread Bertrand Delacretaz
Le 16 mars 05, à 00:38, Jeff Sexton a écrit : ...Once in a great while, a file will not work. Requests for the given file will return this strange bit of code as literal text:... I guess you mean 2.1.4...this might be due to bug http://issues.apache.org/bugzilla/show_bug.cgi?id=26753, which has