Re: Performance Question

2003-08-27 Thread Joerg Heinicke
Bertrand Delacretaz wrote: Many big sites are running Cocoon today, there's a list at http://cocoon.apache.org/link/livesites.html (containing only sites that want to be listed, there are some serious installations that are not listed there). This link is no longer correct but this old page is

Newbie question (include a file)

2003-08-27 Thread Pablo Aravena
Hi There is a way to include a file (generated dynamically) in a xsp page Thanks for your help - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Datasources Flow

2003-08-27 Thread Miles Elam
What is the accepted way of accessing datasources in Flow. I've seen a few things on the dev and users list, but nothing definitive. I realize that it's still in discussion, but what's the current best practice? - In an unrelated issue, can datasources be restricted by password? What

Cocoon 2.1 with Jboss 4.0.0DR2

2003-08-27 Thread Yogesh
I am a newbie in Cocoonand trying to deploy Cocoon 2.1 as webapp under "default" jboss configuration. I get following error whereas same deployment works with standalone tomcat 4.1.24 installation with no error. Development environment :Windows 2000 with PIII 700 MHz and 512 MB RAM FYI, I

RE: two subsitemaps

2003-08-27 Thread Tim Olson
thanks all. the solution we used was a combination of reorganization and the resource-exists action map:match pattern="*/*/*" !-- domain/page/action -- map:act type="resource-exists" map:parameter name="url" value="c:/mag/xsl/{1}/{2}.xmap"/ !-- mount domain-specific sitemap -- map:mount

Re: How To Run 2 Cocoons Simultaneously?

2003-08-27 Thread Antonio Gallardo
Sonny Sukumar dijo: Hi guys, I'm trying to run a 2nd cocoon webapp on the same Tomcat instance, so that one can be for testing (and using a test backend db) and another for using what will be a live backend db. However, something isn't working right (rather, I'm getting something

Re: How To Run 2 Cocoons Simultaneously?

2003-08-27 Thread Michael Wechner
Sonny Sukumar wrote: Hi guys, I'm trying to run a 2nd cocoon webapp on the same Tomcat instance, so that one can be for testing (and using a test backend db) and another for using what will be a live backend db. However, something isn't working right (rather, I'm getting something wrong).

Re: [oss] cocoon and avalon based portal

2003-08-27 Thread Mircea Toma
Michael McConnell wrote: a. WOW. :) b. I didnt see any downloads (Source or otherwise) well, you can browse the source code at http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/webtop/webtop/ or download the code using cvs. c. I would love to talk to you some time about how you went about

Re: How To Run 2 Cocoons Simultaneously?

2003-08-27 Thread Sonny Sukumar
From: Michael Wechner [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: How To Run 2 Cocoons Simultaneously? Date: Wed, 27 Aug 2003 08:33:26 +0200 Sonny Sukumar wrote: Hi guys, I'm trying to run a 2nd cocoon webapp on the same Tomcat instance, so that one can

Re: Performance Question

2003-08-27 Thread gounis
i think that http://www.theonion.com/ is (or was) cocoon powered and there is a thread in this list talking about it ---stavros On Tue, 26 Aug 2003, Andy Meadows wrote: My company is expressing interest in moving some of our new application development onto Cocoon. I've been learning a

Re: Newbie question (include a file)

2003-08-27 Thread gounis
maybe a different approach 1. do what you want to do with xsp 2. generate you file aggregate the output from both ---stavros On Tue, 26 Aug 2003, Pablo Aravena wrote: Hi There is a way to include a file (generated dynamically) in a xsp page Thanks for your help

Re: How To Run 2 Cocoons Simultaneously?

2003-08-27 Thread gounis
i dont know if i'm to the right direction but i use sepperated tomcat instalations On Tue, 26 Aug 2003, Sonny Sukumar wrote: Hi guys, I'm trying to run a 2nd cocoon webapp on the same Tomcat instance, so that one can be for testing (and using a test backend db) and another for using

Re: How To Run 2 Cocoons Simultaneously?

2003-08-27 Thread Bertrand Delacretaz
Le Mercredi, 27 aoû 2003, à 10:17 Europe/Zurich, Sonny Sukumar a écrit : ...HSQL? I'm running MySQL databases on the backend, but I think I'm misunderstanding what you're saying. Does Cocoon use HSQL internally or something?... it is activated by default if the corresponding block was

Re: How To Run 2 Cocoons Simultaneously?

2003-08-27 Thread Antonio Gallardo
Sonny Sukumar dijo: HSQL? I'm running MySQL databases on the backend, but I think I'm misunderstanding what you're saying. Does Cocoon use HSQL internally or something? Hi: Yep. But just for show some examples. This is not requiered at all if you dont need it. Antonio Gallardo

Re: How To Run 2 Cocoons Simultaneously?

2003-08-27 Thread Antonio Gallardo
Hi: Sonny Sukumar dijo: That is very interesting, Antonio. How were able to achieve that? Are each of your apps connecting to separate dbs? Right. Every application has its own database 4 databases and 1 server (locahost). I am using postgres. advertise http://www.postgresql.org/

Re: How To Run 2 Cocoons Simultaneously?

2003-08-27 Thread Antonio Gallardo
i dont know if i'm to the right direction but i use sepperated tomcat instalations. I did this before and of course that it works, but the problem is that you waste too much RAM with this approach. I think you can try to use same tomcat instalation. Best Regards, Antonio Gallardo

RE: XMLForm HowTo example HowToWizard Compilation errors

2003-08-27 Thread Cocoon
Hi, I haven't received any replies to this message about the HowToWizard. Is it that the stupidity of my question is so enormous that no one can be bothered to reply or is it just uninteresting or what? :-( Phil -Original Message- From: Cocoon [mailto:[EMAIL PROTECTED] Sent: 24 August

Implementing XSLT Tag Libraries?

2003-08-27 Thread Robert Simmons
Can anyone point me to any documentation on how to implement XSLT tag libraries in cocoon? -- RObert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

XForms Implementation

2003-08-27 Thread Robert Simmons
Are there any plans to implement XForms as covered in the spec from W3C? http://www.w3.org/TR/2002/CR-xforms-20021112/index-all.html I am especially currious because I am interested in getting the filled out form as XML and not as a java bean per-se. I have investivgated XMLForms and it is

Sitemap XSD?

2003-08-27 Thread Robert Simmons
Is there a XSD definition of the sitemap? If not, how hard would it be to develop such a thing? I would really like to see all cocoon documents be validateable. -- Robert - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Sitemap XSD?

2003-08-27 Thread Konstantin Piroumian
There's a sitemap W3C Schema somewhere in documents/drafts, just search for something like *.xsd in Cocoon src directory and you'll find it there. Though, I'm not sure that it is up-to-date, but I don't remember any important changes since I last updated the schema. Also, there are several other

JSP and Cocoon

2003-08-27 Thread postmaster
Dear All, I have been tasked to migrate a web site and they mainly use JSPs on I-PLanet. I would like to take advantage of Cocoon as I have been building some simple sites with just XML,XLST,Cocoon and think XSLT is the way to go. The missing link for me is how do I combine existing

AW: JSP and Cocoon

2003-08-27 Thread Robert Simmons
I wouldnt bother with JSP on the front end. Merely use XSP instead. Its more XML friendly and easy to learn for any JSP programmer. -- Robert -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 27. August 2003 13:36 An: cocoon Betreff: JSP and

Empty Webapp build?

2003-08-27 Thread Robert Simmons
Greetings, Is there a target that will allow me to build cocoon without the documentation or examples? I want to build a BLANK web site with the basic sitemap for starting a new project. -- Robert - To unsubscribe, e-mail:

RE: Empty Webapp build?

2003-08-27 Thread Chris Clark
If you check the install.txt file you'll see that there is a build.properties file wherein you can specify what to exclude. Note: depending on what version you're using, you may or may not have any luck with this. (e.g. in 2.1m2 you can't exclude the deprecated package as it gets used by

AW: Empty Webapp build?

2003-08-27 Thread Robert Simmons
Actually, I dont want to create just another directory. This is for a production project and I dont want any of the cocoon docs or examples or any of that. I want it totally blank. I find it strange ... that I should be the only cocoon user to want that. There should be a build target. Of

Re: How To Run 2 Cocoons Simultaneously?

2003-08-27 Thread Michael Kurz
- Original Message - Sonny Sukumar [EMAIL PROTECTED] My app *is* database driven and uses Tomcat's DBCP, but I'm not able even to read a simple html file.The html files were copied along with the cocoon directory, so all the paths should be correct. It doesn't look like the

LOG4J and JMS based logging

2003-08-27 Thread Robert Simmons
Greetings, I noticed that cocoon uses Avalon for logging. Why not Log4j? I would like errors to be sent via JMS for the sys admins to handle, not merely dumped in a file. Log4j is the best logging package for this kind of configuration. Is there a way I can send log events via JMS using the

AW: Empty Webapp build?

2003-08-27 Thread Robert Simmons
Well, I have no desire to get into the Dev list because I wouldnt need it for any more than this, but I can say that it is preposterous that there isnt a production target for Cocoon build. Absolutely rediculous beyond compare. Anyone wanting to use cocoon in a production environment is not going

Unable to access Cocoon using Tomcat 4.1 and JDK 1.4.2

2003-08-27 Thread Jon Bedworth
Hello, I have installed Cocoon using Tomcat 4.1 and JDK 1.4.2 but when I try to access the default page I get a 'org.apache.avalon.framework.configuration.ConfigurationException'. I have moved three jars (xalan-2.3.1.jar, xercesImpl-2.0.0.jar and xml-apis.jar) into Tomcat's 'common\endorsed'

Re: Products in the Build directory?

2003-08-27 Thread Bertrand Delacretaz
Le Mercredi, 27 aoû 2003, à 15:24 Europe/Zurich, Robert Simmons a écrit : In my continuing quest to understand the build system in order to use it in a production project, I would like to know what exactly is placed in the build/cocoon-2.1 directory. I dont see the batch file to run cocoon. I

Re: Sitemap XSD?

2003-08-27 Thread Konstantin Piroumian
From: Robert Simmons [EMAIL PROTECTED] ...Further, the definition of the sitemap namespace and schema in the sitemap file would allow tools such as XMLSpy to automatically make poopup dialogs for schema elements which would be cool. That was the reason that I started the XSD development. --

Re: AW: Empty Webapp build?

2003-08-27 Thread Vadim Gritsenko
Robert Simmons wrote: Greetings, Is there a target that will allow me to build cocoon without the documentation or examples? I want to build a BLANK web site with the basic sitemap for starting a new project. Have you seen this [1] already? It's as simple as uncommenting 5 lines

coplets and flow

2003-08-27 Thread Joern Wallstabe
Hi there, i'm new to cocoon and i'd like to build a portal website based on portal-fw. 1. how do i integrate a flow appl (e.g. flow petstore example) into a coplet (portal-fw)? my configuration looks like this copletprofile.xml coplet id=shop resource

Re: Products in the Build directory?

2003-08-27 Thread Timothy Larson
Robert, I am running the latest 2.1 development snapshots, but I think this also worked with the 2.1 final release as well. These are directions to build a blank Cocoon webapp. In the top-level cocoon-2.1 directory create a file named local.build.properties and put this content in the file: #

Re: Implementing XSLT Tag Libraries?

2003-08-27 Thread Christopher Painter-Wakefield
What is an XSLT tag library? Do you mean XSP tag library, otherwise known as a logicsheet? Those docs are here: http://cocoon.apache.org/2.1/userdocs/xsp/logicsheet.html http://cocoon.apache.org/2.1/userdocs/xsp/logicsheet-concepts.html -Christopher

Re: Error caused by AbstractEnvironment (Cocoon 2.1)

2003-08-27 Thread Agustinus Tedja
Sorry, I have to answer my question 'cause I have found the answer. In Cocoon 2.1 there is a new parameter in web.xml called enabled-uploads .This must be true. This enable the image to be uploaded because image uplode utilizes mutlipart request. Regards, Agustinus Tedja Agustinus Tedja wrote:

Re: How To Run 2 Cocoons Simultaneously?

2003-08-27 Thread Geoff Howard
Bertrand Delacretaz wrote: Le Mercredi, 27 aoû 2003, à 10:17 Europe/Zurich, Sonny Sukumar a écrit : ...HSQL? I'm running MySQL databases on the backend, but I think I'm misunderstanding what you're saying. Does Cocoon use HSQL internally or something?... it is activated by default if the

Blocks Manual

2003-08-27 Thread Robert Simmons
Greetings, Is there a manual that describes all of what each block in cocoon 2.1 does ? Perhaps I missed it. Thanks --Robert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

i18n problem setting the locale

2003-08-27 Thread Enrico Ballarin Dolfin
Hi we would like to internationalize our site and to do this we are experimenting on a small prototype. We have a startpage where we can select other laguages and a picture with a link to a second page. Basically we would like to select the wished language or accept the default language on the

Re: i18n problem setting the locale

2003-08-27 Thread Mustafa Yalniz
Hi Enrico Have you tried to use an action to get the local language? I'm not a big expert, this is only a suggestion... I think the most qualified person to answer your question is Konstantin Piroumian. rgds, Mustafa At 16:55 27.08.2003 +0200, you wrote: Hi we would like to internationalize

RE: use my own configuration file for my avalon component

2003-08-27 Thread Ralph Goers
Sorry Antonio - I didn't read far enough... -Original Message- From: Ralph Goers Sent: Wednesday, August 27, 2003 8:03 AM To: '[EMAIL PROTECTED]' Subject: RE: use my own configuration file for my avalon component Your instructions do not configure a new component. They only

Re: AW: Empty Webapp build?

2003-08-27 Thread Robert Simmons
Actually Im lookign for a production build to base a customer's web site off of. There are only three beefs I have about cocoon. 1) it Doesnt have a build target for a production build. 2) it doesnt Support XForms W3C standard. 3) It doesnt use Log4j for logging. 1) is annoying but will go away

Re: Blocks Manual

2003-08-27 Thread Tony Collen
Robert Simmons wrote: Greetings, Is there a manual that describes all of what each block in cocoon 2.1 does ? Perhaps I missed it. Thanks --Robert Robert, Check out http://wiki.cocoondev.org/Wiki.jsp?page=BlockDescriptions There isn't a lot there, but it might be a useful jumping point. Tony

Authentification Framework problem

2003-08-27 Thread Alex Scott
Hello, I am trying to get the 'authentication-fw' webapp (coming in the samples folder of cocoon 2.1)to work with an additional field - for a password. I am currently getting a java.lang.NullPointerException when I submit the form. At which part of the pipeline am I most likely going wrong?

Authentification Framework problem

2003-08-27 Thread Alex Scott
XMLS LOGIN.XML input type=text name=username/ input type=password name=password/ !-- Added this field for password -- USERLIST.XML user namecocoon/name password123456/password !-- Added password node-- /user

Re: LOG4J and JMS based logging

2003-08-27 Thread Geoff Howard
Robert Simmons wrote: Greetings, I noticed that cocoon uses Avalon for logging. Why not Log4j? I would like errors to be sent via JMS for the sys admins to handle, not merely dumped in a file. Log4j is the best logging package for this kind of configuration. Is there a way I can send log events

cocoon resourc-exists concerning reading a directory

2003-08-27 Thread jakarta
I am reading several image directories and my pipe fails when the directory does'nt exist. The resource-exists action can be used concening files but not concerning a directory. Also delegating the task of the not-exists case to an error handler doesn't work, maybe because it is internal use.

image archive service

2003-08-27 Thread jakarta
I am using an image archive produced by acdsee in cocoon. I am reading this archive with the imagedirectory generator read the acdsee text files with chaperon and mix these both. But I also have to change the texts, delete and copy the images maybe compress the files in future or even mix the

RE: LOG4J and JMS based logging

2003-08-27 Thread Ralph Goers
I haven't done this myself, but the avalon logger has a JMSTargetFactory that you should be able to use. Again, I'm not sure how it is done, but I see what appear to be hooks from the avalon logger to Log4J. Ralph -Original Message- From: Robert Simmons [mailto:[EMAIL PROTECTED] Sent:

Re: Cocoon and xindice

2003-08-27 Thread JC Tchitchiama
On Thursday 21 Aug 2003 1:32 pm, maisonneuve nico wrote: hy, i use cocoon and xindice. i use the Xindice serlvet (xindice.war) and i configure cocoon with this driver org.apache.xindice.client.xmldb.DatabaseImpl. the cocoon call is : xmldb:xindice://localhost:8080/db I don't know anything

Re: Cocoon and xindice

2003-08-27 Thread JC Tchitchiama
Nico, I forgot to mentioned that the xmlrpc driver is org.apache.xindice.client.xmldb.xmlrpc.DatabaseImpl On Thursday 21 Aug 2003 1:32 pm, maisonneuve nico wrote: hy, i use cocoon and xindice. i use the Xindice serlvet (xindice.war) and i configure cocoon with this driver

Re: Products in the Build directory?

2003-08-27 Thread Timothy Larson
--- Geoff Howard [EMAIL PROTECTED] wrote: ... Can you all agree on which options should define a production build? Geoff I don't know. Lets try! I suggest that a baseline production build should: Include all components, even scratchpad and deprecated Exclude all samples Exclude all

Re: How To Run 2 Cocoons Simultaneously?

2003-08-27 Thread Sonny Sukumar
From: Michael Kurz [EMAIL PROTECTED] - Original Message - Sonny Sukumar [EMAIL PROTECTED] My app *is* database driven and uses Tomcat's DBCP, but I'm not able even to read a simple html file.The html files were copied along with the cocoon directory, so all the paths should be

Re: LOG4J and JMS based logging

2003-08-27 Thread Robert Simmons
Yes it does actually. Its the best logging package for Java .. hands down. Cocoon should use Log4j instead of avalon IMHO. -- Robert Geoff Howard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Robert Simmons wrote: Greetings, I noticed that cocoon uses Avalon for logging. Why

RE: Implementing XSLT Tag Libraries?

2003-08-27 Thread Conal Tuohy
Robert Simmons wrote: I meant the XSP logicsheets. Thanks for the link. However, I wonder if one can create XSLT taglibs as wall. That would be cool. It *is* cool :-) See http://wiki.cocoondev.org/Wiki.jsp?page=MetaStylesheets

Re: XMLForm HowTo example HowToWizard Compilation errors

2003-08-27 Thread Geoff Howard
Cocoon wrote: Hi, I haven't received any replies to this message about the HowToWizard. Is it that the stupidity of my question is so enormous that no one can be bothered to reply or is it just uninteresting or what? :-( Phil No, it's worse than that: the XMLForm stuff is deprecated. Search the

Re: Cocoon 2.1 with Jboss 4.0.0DR2

2003-08-27 Thread ykp_java
That seems still a problem to me because when I deployed cocoon with all those jars (which I deleted later on) JBoss kept complaining about Duplicate class and won't run properly. If were to put all those jars back in, I know that Cocoon 2.1 is not going to run. Any other insight ? -Yogesh

Re: How To Run 2 Cocoons Simultaneously?

2003-08-27 Thread Sonny Sukumar
From: Geoff Howard [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: How To Run 2 Cocoons Simultaneously? Date: Wed, 27 Aug 2003 18:13:37 -0400 Sonny Sukumar wrote: From: Michael Kurz [EMAIL PROTECTED] - Original Message - Sonny Sukumar [EMAIL

Re: Cocoon 2.1 with Jboss 4.0.0DR2

2003-08-27 Thread Robert Simmons
Strange. JBoss shouldnt freak if you have a web app class that is the same as a lib class. The class loader should prefer the web app's version. Maybe you have some setting in JBoss that you need to fix. -- Robert [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] That seems still a

Vote for Cocoon on the O'Reilly Open source Directory.

2003-08-27 Thread Robert Simmons
Go vote http://www.osdir.com/Downloads-req-ratedownload-lid-11-ttitle-Cocoon.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]