Cocoon deffo does not work in Jetty

2002-12-10 Thread Charlene Mitchell
Hi, The Jetty guys confirmed that Cocoon 2.0.3 does not work in Jetty (JBoss 3.0.3/JBossWeb) - so I am not going mad. Anyone else searching the groups with the same problem can follow the thread on YahooGroups under the title JSP Engine in the group 'jetty-support'. HTH someone in the future

RE: i18n and xmlform combination-HELP

2002-12-10 Thread Hong Gia Dinh
Title: RE: i18n and xmlform combination-HELP I just applied i18n into the XMLForm sample of Cocoon2.1 like this, but it cant apply i18n in sitemap i declare : map:match pattern=* map:act type=WizardAction map:parameter name=xmlform-validator-schema-ns

RE: XMLForm: content listbox problem

2002-12-10 Thread Sylvain.Thevoz
Hi Ivelin, Thanks for your suggestions. Do you create this method in the Bean file or Action file? What does the method should return? The dom document? Thank you Regards Sylvain -Message d'origine- De: Ivelin Ivanov [mailto:[EMAIL PROTECTED]] Date: lundi, 9. décembre 2002 20:49 À:

get real path is always null in TomCat

2002-12-10 Thread Charlene Mitchell
Hi, The TomCat guys confirmed getRealPath returns null, and this is how it is supposed to be - because embedded TomCat does not expand the war file (and Jetty does). Anyone searching on this can look in the tomcat mail archives under the subject getRealPath is null HTH someone in the future

Unit Test Cocoon

2002-12-10 Thread Charlene Mitchell
Hi, Does anyone successfully use JUnit and/or Cactus to Unit Test Cocoon actions/generators etc ? I have my own generators and actions but I'm not sure how to call them from JUnit, how to pass in what they would normally expect to receive. e.g. an action receives public Map act(Redirector

Re: get real path is always null in TomCat

2002-12-10 Thread Konstantin Piroumian
(To moderator: please remove alias for my @protek.com email for this list and I'll subscribe with correct address) Comments below: From: Charlene Mitchell [EMAIL PROTECTED] Hi, The TomCat guys confirmed getRealPath returns null, and this is how it is supposed to be - because embedded TomCat

Re: Cocoon deffo does not work in Jetty

2002-12-10 Thread Thor Heinrichs-Wolpert
I'm running JBoss 3.0.4/JBossWeb, and it was by far the easiest install of cocoon 2.1dev I've done so far. Cheers, Thor HW On Tuesday, December 10, 2002, at 12:04 AM, Charlene Mitchell wrote: Hi, The Jetty guys confirmed that Cocoon 2.0.3 does not work in Jetty (JBoss 3.0.3/JBossWeb) - so I

Re: Cocoon deffo does not work in Jetty

2002-12-10 Thread leo leonid
I can't confirm this. I used all C2.0.x versions with Jetty without problems. Apart from this known redirection problem, that Nicola pointed out to be probably a Jetty bug. http://marc.theaimsgroup.com/?l=xml-cocoon-devm=103926206004897w=2 The simple workaround is to put a leading slash to your

i18n transformer and serializer charset

2002-12-10 Thread Kirchhoff, Lars
Hello I'm currently trying to create an application, which should be running in english, german, thai and several other asian languages. The i18n transformer is working correctly, but to display the characters in the correct manner it is needed to use the specific charset in the meta tag of

Re: i18n transformer and serializer charset

2002-12-10 Thread Konstantin Piroumian
From: Kirchhoff, Lars [EMAIL PROTECTED] Hello I'm currently trying to create an application, which should be running in english, german, thai and several other asian languages. The i18n transformer is working correctly, but to display the characters in the correct manner it is needed to use

Oracle SP with ESQL an c2 2.0.3

2002-12-10 Thread Gabriele Domenichini
I had this stored procedure running well with SQL Transformer: query lang=1 isstoredprocedure=true begin dbchem.scheda_xml('substitute-value sql:name=lingua/', ?, 'substitute-value sql:name=codice/', 'substitute-value sql:name=revisione/', ''); end; /query I

Re: Oracle SP with ESQL an c2 2.0.3

2002-12-10 Thread Christian Haul
On 10.Dec.2002 -- 12:26 PM, Gabriele Domenichini wrote: I had this stored procedure running well with SQL Transformer: query lang=1 isstoredprocedure=true begin dbchem.scheda_xml('substitute-value sql:name=lingua/', ?, 'substitute-value sql:name=codice/',

Re: Oracle SP with ESQL an c2 2.0.3

2002-12-10 Thread Frank Taffelt
hi, some time ago i had the same question and the same problems, here's is my working solution for calling a ORACLE SP : !-- search for businessunit's -- esql:execute-query esql:call needs-query=true{ call CONTACTS.searchBusinessUnit(esql:parameter direction=in

xml+xsl - xsp

2002-12-10 Thread Cocoon User
is i possible to create an .xsp from a xml-xsl compination (through cocoon) an then ask from cocoon to execute this .xsp? and all this on the fly? i want to call http://../some.xsp and cocoon create the some.xsp and then execute it thnx stavros Kounis

Cocoon Servlet errors: Closing a stream?

2002-12-10 Thread Derek Hohls
Running Cocoon 2.03, under Tomcat 4.04 (UNIX/Solaris) One moment Cocoon is working, and the next BAM! no response: just the same error (see below for one of many duplicates) for each call that gets made to it - can anyone please help with this!? Thanks Derek ERROR

Re: Cocoon deffo does not work in Jetty

2002-12-10 Thread Charlene Mitchell
Sorry, I forgot to quantify. JSP in Cocoon deployed in Jetty does not work - everything else does work (AFAIK), but JSP's do not. So, unless you use JSP's you can easily be misled unto thinking that everything works fine - but it doesn't. Charlene --- leo leonid [EMAIL PROTECTED] wrote: I

RE: xml+xsl - xsp

2002-12-10 Thread Alten, Jelle Paul (uto)
Hi Stavros, Well, yes, why not. I haven't done it and haven't tested it, but it should be something like the following... map:match pattern=*.xsp map:generate src=xsp_xmls/{1}.xml/ map:transform src=xml2xsp.xsl/ map:serialize type=xml/

ExcaliburComponentManager - Looking up uninitialized and Attemptingto release a null component.

2002-12-10 Thread Peter Hargreaves
Hi Folks, Does anybody know enough about the Cocoon's use of the ExcaliburComponentManager to help me please? I'm getting lots of warnings in my core.log Looking up component on an uninitialized ComponentLocator and Attempted to release a null component. I'm guessing that they are related to

Cocoon authentication - anyone got samples?

2002-12-10 Thread Lenya L. Khachaturov
Hello, I want to protect a single page with Cocoon. How do I provide an authentication dialog and check user's input? Would you point me to a basic sample? -- Lenya Khachaturov mailto:[EMAIL PROTECTED] - Please check that your

SVG - PNG/JPG , browser problems

2002-12-10 Thread Chris Faulkner
Hello I am having problems with the PNG and JPG serializers, but only in Netscape. I know about similar problems in IE but Netscape ?! I have the following config: map:match pattern=jsp/map.svg map:generate src=/docs/samples/jsp/my.jsp type=jsp/ map:transform

Re: Cocoon deffo does not work in Jetty

2002-12-10 Thread Jordi Valldaura i Riqué
Hello, I've tried cocoon 2.0.3 and cocoon 2.0.4 on jboss/jbossweb(jetty), and it works. But I've only tried xsps. Charlene Mitchell wrote: Sorry, I forgot to quantify. JSP in Cocoon deployed in Jetty does not work - everything else does work (AFAIK), but JSP's do not. So, unless you use

Add/Remove/Edit Sql entries with buttons (using ESQL)

2002-12-10 Thread Maxime.Gheysen
Hello, I want to Add/Remove/Edit Sql entries by clicking on buttons. I tryied with these 3 actions : map:actions map:action name=add-workflow src=org.apache.cocoon.acting.DatabaseAddAction / map:action name=del-workflow src=org.apache.cocoon.acting.DatabaseDeleteAction

FW: Add/Remove/Edit Sql entries with buttons (using ESQL)

2002-12-10 Thread Maxime.Gheysen
Excuse me, previous message was not complete : Hello, I want to Add/Remove/Edit Sql entries by clicking on buttons. I tryied with these 3 actions : map:actions map:action name=add-workflow src=org.apache.cocoon.acting.DatabaseAddAction / map:action name=del-workflow

Re: Photo Album sample?

2002-12-10 Thread Upayavira
I would also be interested in the if you have no objections...thanks! You can now download the basics from: http://www.upaya.co.uk/photoalbum.zip This contains the sitemap, the XSL stylesheets, and an XML file for describing the themes and the images. If people think it a good idea, I could

Does FormValidatorAction work with 2.0.4?

2002-12-10 Thread Matthias Brunner
Hello, I am experiencing problems when trying to use FormValidatorAction. Descriptor file: root parameter name=lastname type=string max-len=255 nullable=no/ parameter name=firstname type=string max-len=255 nullable=no/ parameter name=birthdate type=string nullable=no

Re: Cocoon deffo does not work in Jetty

2002-12-10 Thread leo leonid
On Tuesday, December 10, 2002, at 02:43 PM, Charlene Mitchell wrote: Hi, Yes, I have XSP's working as well, but they aren't very performant and usage seem to be discouraged in Carsten's book. I have not read the book yet, but this is very hard to believe! On the contrary, I think the

cocoon 2.0.4

2002-12-10 Thread Lorenzo Bucciarelli
I 'm not able to use cocoon 2.0.4 ; it should work under tomcat 4.0.4, with JDK1.3.1 , but .. it doesn't work at all , it displays The requested resource (/cocoon/) is not available ; am I def or just insane ? - Please check

RE: Add/Remove/Edit Sql entries with buttons (using ESQL)

2002-12-10 Thread Geoff Howard
You need a proper name attribute on your submit button to get it to call the action. For instance, in your case (if you are not using an older version of cocoon): input type=submit value=Save name=cocoon-action-Add/ would call the Add action from your workflow action-set. Similarly,

RE: xml+xsl - xsp

2002-12-10 Thread Geoff Howard
There's an example of this in the samples, but it's likely to be quite slow if it is recreated for each request because of the overhead of compiling the xsp. While there may be people out there successfully using that technique, you'd probably be better advised to see if there's another way to

Re: cocoon 2.0.4

2002-12-10 Thread Matthias Brunner
On Tuesday 10 December 2002 16:10, Lorenzo Bucciarelli wrote: I 'm not able to use cocoon 2.0.4 ; it should work under tomcat 4.0.4, with JDK1.3.1 , but .. it doesn't work at all , it displays The requested resource (/cocoon/) is not available ; am I def or just insane ? What do the logs say?

RE: Add/Remove/Edit Sql entries with buttons (using ESQL)

2002-12-10 Thread Maxime.Gheysen
If I write input type=submit value=Save name=cocoon-action-Add/ I just come back to the previous page. I think it's because I haven't write the ID. That means : The database contains following collumns : ID - Name - Dispatcher The xsp page contains : text field for name - Select object for

Re: cocoon 2.0.4

2002-12-10 Thread Lorenzo Bucciarelli
Seeding of random number generator has been completed 2002-12-10 14:58:34 HostConfig[localhost] Error deploying web application archive cocoon.war java.lang.UnsupportedClassVersionError: org/apache/cocoon/servlet/CocoonServlet (Unsupported major.minor version 48.0) at

RE: cocoon 2.0.4

2002-12-10 Thread Geoff Howard
Is this a fresh install or are you upgrading? Geoff -Original Message- From: Lorenzo Bucciarelli [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 10:11 AM To: [EMAIL PROTECTED] Subject: cocoon 2.0.4 I 'm not able to use cocoon 2.0.4 ; it should work under tomcat 4.0.4,

Re: cocoon 2.0.4

2002-12-10 Thread Hussayn Dabbous
I got such an error, when my appserver was running on java1.2 while my webapp was compiled with java1.3. I found, that my JAVA_HOME was not defined, when i started the tomcat server. That forces tomcat to guess, which java env it shall use and this was unfortunately not the expected one... Maybe

Re: cocoon 2.0.4

2002-12-10 Thread Ugo Cei
Lorenzo Bucciarelli wrote: 2002-12-10 14:58:34 HostConfig[localhost] Error deploying web application archive cocoon.war java.lang.UnsupportedClassVersionError: org/apache/cocoon/servlet/CocoonServlet (Unsupported major.minor version 48.0) You are using a version of Cocoon compiled for JDK 1.4

RE: cocoon 2.0.4

2002-12-10 Thread Lorenzo Bucciarelli
I'm upgrading; I have no problem using tomcat 4.0.4 - cocoon 2.0.3 - JDK1.3.1 , it works fine; I thought to use the new cocoon.war, but .. At 10:23 10/12/2002 -0500, you wrote: Is this a fresh install or are you upgrading? Geoff -Original Message- From: Lorenzo Bucciarelli

RE: cocoon 2.0.4

2002-12-10 Thread Geoff Howard
Well, first make sure the version you're using is compiled for the JDK you're using as just mentioned. But I've also found that when upgrading, I need to delete the contents of the tomcat/work directory that pertain to cocoon (while tomcat is stopped is probably better). Also, make sure you've

RE: Add/Remove/Edit Sql entries with buttons (using ESQL)

2002-12-10 Thread Geoff Howard
Well, either you have your config file for your database action configured wrong for the tables in your database, or you have the field names wrong on your form (I'm assuming the DatabaseActions work similarly to the ModularDatabaseActions), or the action is actually working and your pipeline is

cocoon-2.0.4 problem with multipart file upload

2002-12-10 Thread Sternath Elmar
Hello, after cocoon-2.0.4 upgrade the following check inside my self-implemented UploadGenerator (transfers an uploaded multipart file to a backend server, receives an XML response from the backend server and transforms it into HTML) does not become true any more: if

Accessing DatabaseAddAction result

2002-12-10 Thread Matthias Brunner
Hello, is there any way to find out whether a DatabaseAddAction was successful / display the error message? I would like to do the following: map:match ... map:action-set name=mydb map:parameter .../ /map:action map:generate .../ ... ...

Re: Accessing DatabaseAddAction result

2002-12-10 Thread Christian Haul
On 10.Dec.2002 -- 05:05 PM, Matthias Brunner wrote: Hello, is there any way to find out whether a DatabaseAddAction was successful / display the error message? I would like to do the following: map:match ... map:action-set name=mydb map:parameter .../

style - external references

2002-12-10 Thread Chris Faulkner
Hello I have a stylesheet which imports some CSS and SVG styles in a defs tag for an SVG document with the following xsl:copy-of select=document('style.xml')/ In my static SVG files, I can make an external reference to the file in this way. ?xml-stylesheet type=text/css

Re: Cocoon deffo does not work in Jetty

2002-12-10 Thread Charlene Mitchell
Hi, Well, I don't know if quoting the book breaches copyright :-) but here is what it says (p.301) about XSP which discouraged me: In earlier versions of Cocoon, XSP was the only alternative for dynamic content ...with Cocoon's current architectureXSP is losing some of [its] interest

RE: cocoon 2.0.4 - END

2002-12-10 Thread Lorenzo Bucciarelli
Thank U Matthias, Hussayn, Ugo, Geoff : now I have my cocoon 2.0.4 well running. It was because of the wrong cocoon.war, and then (only then) a not well formed pipeline in the sitemap; excuse me for wasting your time. ~ Lorenzo Bucciarelli~

Re: Accessing DatabaseAddAction result

2002-12-10 Thread Matthias Brunner
On Tuesday 10 December 2002 17:19, Christian Haul wrote: At least the one from the modular package does set the error message as request attribute. Thanks for your reply. Do you know whether this is in 2.1 only? (I cannot grep setAttribute in the source file but it could be hidden in other

RE: cocoon-2.0.4 problem with multipart file upload

2002-12-10 Thread Geoff Howard
Yes, maybe. Check to make sure that the new upload settings in web.xml (new in 2.0.4) are set to allow uploads. There are several init-params (such as autosave-uploads), and down later in web.xml there is a configuration for the request factory implementation. The comments in web.xml should

Re: Accessing DatabaseAddAction result

2002-12-10 Thread Christian Haul
On 10.Dec.2002 -- 05:57 PM, Matthias Brunner wrote: On Tuesday 10 December 2002 17:19, Christian Haul wrote: At least the one from the modular package does set the error message as request attribute. Thanks for your reply. Do you know whether this is in 2.1 only? (I cannot grep

RE: How to build custom search engine in cocoon?

2002-12-10 Thread Hugo Burm
I don't know your reasons for using Xindice, but using Lucene as your search engine may be a better approach: - The Lucene 1.2 jar is integrated into the Cocoon war. - With Lucene you divide your XML document into fields. For each field you can decide whether to store it into the Lucene index or

Re: Photo Album sample?

2002-12-10 Thread Litrik De Roy
I made an entry some time ago about the ImageReader. Very close... http://outerthought.net/wiki/Wiki.jsp?page=ImageReader Litrik De Roy www.litrik.com - Original Message - From: Upayavira [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 10, 2002 2:45 PM Subject: Re:

Re: Cannot access Cocoon WAP page

2002-12-10 Thread Skip Carter
Costantino, but unfortunately that did not fix the problem. In fact, I have the same problem if I try to access hello.html, for example, with the mobile device (which should be no problem). Do you have any idea? Try this site with the mobile browser: http://www.caphnet.com/ This is

Re: style - external references

2002-12-10 Thread Joerg Heinicke
xsl:processing-instruction name=xml-stylesheet xsl:texttype=text/css href=http://localhost/style.xml;/xsl:text /xsl:procesing-instruction As you can read, it's a processing instruction. A PI has no attributes (even if it looks so), so you create the content as text. Joerg Chris Faulkner

Re: Unit Test Cocoon

2002-12-10 Thread Kevin O'Neill
On Tue, 2002-12-10 at 19:40, Charlene Mitchell wrote: Hi, Does anyone successfully use JUnit and/or Cactus to Unit Test Cocoon actions/generators etc ? I have my own generators and actions but I'm not sure how to call them from JUnit, how to pass in what they would normally expect to

Multiple data sources

2002-12-10 Thread Jonathan Spaeth
Title: Multiple data sources Is there a standard way of integrating multiple data sources using xmlform? The XForms spec defines the model and instance elements which would be a good solution for my problem. Basically, this is what I am attempting to do: 1. Load an xml document from an xml

Calling resources from mounted sitemaps

2002-12-10 Thread Bordet, Simone
Title: Calling resources from mounted sitemaps Hi, I could not find a way to call resources in the root sitemap from a mounted sitemap. I have my resources defined in the root sitemap, and I'd like to call these resources from sub-sitemaps. In the sub sitemap I have a simple matcher:

Re: Cannot access Cocoon WAP page

2002-12-10 Thread Costantino Sertorio
Hi Skip, I can access your site without problem with my mobile - but unfortunately not yet mine (http://titao.homelinux.org:8080/cocoon/hello.wml)... I also tried every possible combination with http://webcab.de/cgi-bin/fetchpage.cgi, checking the result in the core.log file. I am really puzzled,

[ERROR] - CVS 2.1

2002-12-10 Thread Antonio Gallardo
I got the following error: HTTP Status 500 type: Exception report message: description: The server encountered an internal error() that prevent it from fulfilling this request. Exception: javax.servlet.ServletException: Servlet execution threw an exceeption at

RE: Calling resources from mounted sitemaps

2002-12-10 Thread Geoff Howard
Title: Calling resources from mounted sitemaps Did you try the cocoon pseudo-protocol? map:call resource="cocoon://stdout" for the root sitemap, cocoon:/stdout for one in the same sitemap. Geoff Howard -Original Message-From: Bordet, Simone [mailto:[EMAIL PROTECTED]]Sent:

RE: Blank screen on error

2002-12-10 Thread Geoff Howard
-Original Message- From: Steven Cummings [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 3:57 PM To: [EMAIL PROTECTED] Subject: Blank screen on error Hello all, We've occasional seen the messages on this list about a blank screen that is returned when there is some

Re: Cannot access Cocoon WAP page

2002-12-10 Thread Skip Carter
Costantino, I can access your site without problem with my mobile - but unfortunately not yet mine (http://titao.homelinux.org:8080/cocoon/hello.wml)... I also tried every possible combination with http://webcab.de/cgi-bin/fetchpage.cgi, checking the result in the core.log file. I am

AW: i18n transformer and serializer charset

2002-12-10 Thread Kirchhoff, Lars
Thank you Konstantin, you were right, it's working with utf charset, as well as the original strings are using TIS-620. But now I run in a new problem. I get these characters from a database and unfortunately the characters will be transformed to be html compliant. That means odd characters

Can not build on another directory

2002-12-10 Thread Ahmed
$ sh build.sh -Dbuild.root=somewhere leads to errors when coming to scratchpad. I had to modify build.xml. See the attached patch. --- build.xml 2002-12-06 21:41:58.0 +0100 +++ build.xml 2002-12-11 04:27:59.0 +0100 @@ -191,7 +191,7 @@ include name=*.jar/

Re: XMLForm: content listbox problem

2002-12-10 Thread Ivelin Ivanov
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 10, 2002 2:19 AM Subject: RE: XMLForm: content listbox problem Do you create this method in the Bean file or Action file? In the Action. What does the method should return? The dom document?

MYSQL, ESQL and character encoding

2002-12-10 Thread [EMAIL PROTECTED]
I'm using ESQL to read and write data from a MYSQL database. Everything works fine, except for one thing. When I look at the data stored in my database, I see very strange characters instead of the ones I expected. For example, when I fill a field of the db with the string òàù, this is

howto-xml form problem

2002-12-10 Thread Martin Heink
Following the how-to xmlform I get the exception below, when finally submitting the data (from the confirmation page) additionally s.th. within the logic seems wrong. after choosing the interestgroup, the selection of the refering mailing-list forms work, but when selecting and submitting these

[HELP]Exception in ServerPagesGenerator.generate()

2002-12-10 Thread Lars Müller
Description:org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Could not get the datasource org.apache.avalon.excalibur.datasource.NoValidConnectionException: No valid JdbcConnection class available Please help me! I've made

AW: howto-xml form problem

2002-12-10 Thread Kirchhoff, Lars
hello martin, this happens most probably if you put spaces before starting the ?xml version=1.0 ? tag. So be sure that there is no space before this tag in your xml file. ciao Lars -Ursprüngliche Nachricht- Von: Martin Heink [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 11.

Re: [HELP]Exception in ServerPagesGenerator.generate()

2002-12-10 Thread Antonio Gallardo
What Database are you using? Antonio Gallardo Lars Müller dijo: Description:org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Could not get the datasource org.apache.avalon.excalibur.datasource.NoValidConnectionException: No

RE: Add/Remove/Edit Sql entries with buttons (using ESQL)

2002-12-10 Thread Maxime.Gheysen
I want to add an entry in my page when I click on : input type=submit value=Save name=cocoon-action-Add/ And how can I have an automatic ID? What is wrong in my page? Or in my Sitemap? Where do I have to write witch connection to use? map:actions map:action name=add-dbentry

AW: cocoon-2.0.4 problem with multipart file upload

2002-12-10 Thread Sternath Elmar
Thanks Geoff, indeed it was the autosave-uploads param I had to set to true. -Ursprüngliche Nachricht- Von: Geoff Howard [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 10. Dezember 2002 18:15 An: [EMAIL PROTECTED] Betreff: RE: cocoon-2.0.4 problem with multipart file upload Yes, maybe.