Configure Cocoon 2.1 with IBM Wepsphere 5

2003-12-16 Thread Mohan Ganesan
Hi, How to Configure Cocoon 2.1 with IBM WebSphere. Please give me the step to configure the cocoon 2.1 with IBM webSphere 5. Thanks. Mohan.G - Click here to find your dream partner! Know more at http://www.bharatmatrimony.com/partner/sify.html

Re: map:parameter and xsl defaults

2003-12-16 Thread Tony Collen
Anders Forsgren wrote: Hi all I want to use a request param passed on as an argument to a transform. The sitemap snippet looks like this: In the log2page.xsl file, I have defaults for the parameters, for example The default va

RE: OT: How do you use CVS?

2003-12-16 Thread Ralph Goers
We are using Maven. It handles the dependencies nicely, although the current release doesn't differentiate between dependencies needed to build, those for unit-testing, and those needed at runtime. Maven has a repository where dependent jars are placed. Migration from one release of Cocoon to ano

RE: OT: How do you use CVS?

2003-12-16 Thread Steve Schwarz
Justin, I'm using eclipse http://www.eclipse.org and use it to put my whole tree under CVS. You can choose to exclude various directories if you don't want to include your jars. I created a separate sub project for my Cocoon application. If you use the sunbow extensions http://radio.weblogs.com

Re: OT: How do you use CVS?

2003-12-16 Thread Justin Fagnani-Bell
On Dec 16, 2003, at 4:37 PM, Geoff Howard wrote: I don't understand the question. Just check everything into cvs. If a file is binary, just make sure you check it in as such. WinCVS and other gui clients give easy ways to do that without really knowing too much about cvs. I guess I'm asking i

Re: Comments?? [RT] SVGRenderingTransformer?

2003-12-16 Thread Geoff Howard
Steve Schwarz wrote: Hi Does anyone have any comments on this idea? Thanks Steve I thought it seemed like a cool idea with some promise and I was hoping someone else would build it! :P Seriously, I've just gotten into svg a little more this last month and would think it a pretty big task to do

Re: OT: How do you use CVS?

2003-12-16 Thread Geoff Howard
Justin Fagnani-Bell wrote: I'm just now starting to setup CVS for my Cocoon based projects and I'm wondering how other Cocoon users use CVS. My project directory structure is probably similar to others using Cocoon and Ant. It's something like this: Project - build.sh - build.xml - etc - -

OT: How do you use CVS?

2003-12-16 Thread Justin Fagnani-Bell
I'm just now starting to setup CVS for my Cocoon based projects and I'm wondering how other Cocoon users use CVS. My project directory structure is probably similar to others using Cocoon and Ant. It's something like this: Project - build.sh - build.xml - etc - - cocoon.xconf (and others) -

Comments?? [RT] SVGRenderingTransformer?

2003-12-16 Thread Steve Schwarz
Hi Does anyone have any comments on this idea? Thanks Steve Hi, I have a problem for which a general solution might be useful to others and am looking for feedback on my idea. As much as I'd like to supply SVG directly to the client; few people have SVG plugins installed. So, like many of you, I'v

RE: How to customize logging?

2003-12-16 Thread JD Daniels
I simply added a source-write transformer to my pipelines module-files/stats/.xml /log

map:parameter and xsl defaults

2003-12-16 Thread Anders Forsgren
Hi all I want to use a request param passed on as an argument to a transform. The sitemap snippet looks like this: In the log2page.xsl file, I have defaults for the parameters, for example The default values are never assign

How to customize logging?

2003-12-16 Thread H . vanderLinden
Hi, As a newbie to Cocoon I wonder how I can customize logging. I'd like to log each "page" visited but stamped with timestamp, ip address and username, preferably in a custom format. I know how to do most of this using Log4J, but I haven't been able to figure out how it works in Cocoon. I would a

JavaBean rewrite as XSP? Help requested

2003-12-16 Thread H . vanderLinden
Hi, I'm in the middle of a rewrite of my web application (JSP/JavaBeans/XML/XSL) to Cocoon. The "database" part of my application consists of CORBA-based servers. Currently I connect to the servers through specific beans. I was wondering if I could rewrite these beans as XSP. Some questions I co

XMLDBTransformer output fails to serialize?

2003-12-16 Thread Morley Howell
Hi all, I'm trying to execute an XUpdate statement against a collection using the XMLDBTransformer, and then serialize the result as xml. The XUpdate succeeds, but the serialization throws an NPE. An update against a specific resource works fine, i.e. when the oid is specified. Everything also wor

RE: How to passing an param into a resource/action?

2003-12-16 Thread Gould, Troy (ELS)
You need to set the value tag to the following: {../myParam} if the parameter is set outside of the action. You may have to add more ../ depending on how far up the "tree" the value is set. Hope this helps. -Original Message- From: Stephan Coboos [mailto:[EMAIL PROTECTED] Sent: Tuesday

Re: FW: Configuring Cocoon with Apache and TomCat (blank page!)

2003-12-16 Thread Krishna
Hi, thanks, I got it working!!! Now, how do I serve swf and simple html pages??? regards, Krishna At 09:43 PM 12/16/2003 +0200, you wrote: maybe you have to put endorsed lib in tomcat endorsed lib directory -- stavros On Thu, 13 Jan 2000, Krishna wrote: > Hi, > >

Re: FW: Configuring Cocoon with Apache and TomCat (blank page!)

2003-12-16 Thread gounis
maybe you have to put endorsed lib in tomcat endorsed lib directory -- stavros On Thu, 13 Jan 2000, Krishna wrote: > Hi, > > Now I copied the whole domain's document root domain.net to > /var/tomcat4/webapps/cocoon and created a sitemap > in /var/tomcat4/webapps/cocoon/domain.net/s

Re: Problem................... Please ..................Help.............

2003-12-16 Thread Mark Leicester
Only a guess, but could your troubles have anything to do with missing X Server libraries? See Mark On 16/12/2003, at 18:08, Geoff Howard wrote: [EMAIL PROTECTED] wrote: What do the logs say? If Cocoon startup up correct

Re: Problem................... Please ..................Help.............

2003-12-16 Thread Geoff Howard
[EMAIL PROTECTED] wrote: What do the logs say? If Cocoon startup up correctly, look in WEB-INF/lib if not, look in your container's logs. Is there a difference in your configuration regarding expansion of the webapp? Special care must be taken to configure a webapp to run as an unexpanded wa

Re: Quick Install Question

2003-12-16 Thread Geoff Howard
Charles Williams wrote: ok, up and running now! I just had to manually add the java folder to the stx block as ZIP does not include empty folders. Exactly. There are two fixes for this situation (within our control) - always include a bogus empty file in cvs which winzip will respect. - fix our b

Not able to execute flash

2003-12-16 Thread Krishna
Hi, I finally got my domain working with XML pages. But I am having problems executing swf files. This is my sitemap.xmap for the domain. Under pipelines for swf I have put this But it does not work? regards, Krishna Krishna Shekhar, RHCE Network/Systems

RE: [xsp-session-fw] NPE when use getxml with empty tag

2003-12-16 Thread Laurent Trillaud
OK I have made a modification in the src/blocks/session-fw/java/org/apache/cocoon/components/languages/markup/xsp /java/session-fw.xml I give you a patch, if someone wants to include it in the CVS. It's working fine for me. Laurent trillaud > -Message d'origine- > De : Laurent Trillaud [m

File Downloads and Caching

2003-12-16 Thread Brent L Johnson
I'm using the following pipeline for downloadable files: This works fine for Mozilla based browsers. Using IE though, I get an error like: "Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found

Re: Writing plain text files with SourceWritingTransformer?

2003-12-16 Thread Stephanie Zohner
This does not work in my case, no idea why. I still have the xml declaration tag and the root tag in my output file. Any ideas? Are there other parameters I was't aware of? Thanks, Stephanie > Stephanie Zohner wrote: > > >Hi, > > > >Is there a way to write plain text files with the > SourceWri

Antwort: RE: Portal Engine Security

2003-12-16 Thread Stefan Eichenhofer
thnx, i've tried that and it works :) now im looking for the file to configure - restricted access to coplets according to role or user - status of the coplets (mandatory, sizeable, minimized/maximized .) stefan   "Carsten Ziegeler" <[EMAIL PROTECTED]> schrieb am 15.12.2003 10:45:38: > Th

[cforms|important] changed semantics on all binding elements.

2003-12-16 Thread Marc Portier
Hi all, Specially for those working on cvs-head I just did a commit on the woody-binding stuff that introduces an attribute @direction on each binding element. The value of the attribute should be one of 'both'(default), 'load' or 'save' and naturally indicates which binding-directions are act

Re: Launching 2 cocoons simultenaously

2003-12-16 Thread Upayavira
David Hello wrote: I've tried on other computer, and it seems to work. What is the way to put more than one cocoon in the same servlet container? Depends upon your servlet container. On Tomcat, you can either drop the webapp folder into the tomcat webapps folder, and (I think) it just picks it

Re: Quick Install Question

2003-12-16 Thread Charles Williams
ok, up and running now! I just had to manually add the java folder to the stx block as ZIP does not include empty folders. Chuck Williams [EMAIL PROTECTED] Why Wait? Move to EarthLink. > [Original Message] > From: Geoff Howard <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Date: 12/16/2003 8:0

Re: How to passing an param into a resource/action?

2003-12-16 Thread Jorg Heymans
Have a look at thread http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=106863428414030&w=2 maybe you need to do something like {../myParam} Stephan Coboos wrote: Hello, I have the following resource with an action and call in it: ... an I

RE: Newbie question about Cocoon DatabaseReader

2003-12-16 Thread Staffan Kvisth
Title: I have a set of images stored as blobs in a database that I want to retrieve using a Cocoon DatabaseReader Problem solved. I’m stupid, I know... Hit me the next time you see me ;-) I had misconfigured the reader. I should be:          mydatabase           -Ori

Re: Problem................... Please ..................Help.............

2003-12-16 Thread Jorg Heymans
a less intrusive subject line could get you a lot further. please refrain from this, you're ruining my mailer overview. [EMAIL PROTECTED] wrote: Hi I have problem when I deploy my cocoon application on Unix environment Iam working on a project, displaying XML file in PDF format using cocoon pa

RE: How to passing an param into a resource/action?

2003-12-16 Thread Reinhard Poetz
From: Stephan Coboos > Hello, > > I have the following resource with an action and call in it: > > > > > > > > > > > > > > > ... an I call the resource with a parameter from a pipeline like the > following example: > > > >

Re: Quick Install Question

2003-12-16 Thread Charles Williams
Geoff, I'm now running into this problem with my build: BUILD FAILED file:D:/cocoon/build/cocoon-2.1.3/temp/blocks-build.xml:263: D:\cocoon\src\block s\stx\java not found. Total time: 5 minutes 38 seconds D:\cocoon> I'm on Win2K with JVM 1.4 and the latest 2.1.3 src download. Chuck Williams

Re: i18n date pattern question

2003-12-16 Thread Jeremy Quinn
On 16 Dec 2003, at 13:37, Ivo Limmen wrote: Hi everyone, I have been trying to i18n a piece of xml with dates. The standard date patterns are not sufficient for my needs. I know that you can i18n a date with: But I have tried to do this: This, unfortunatly, does not work. Is there another w

How to passing an param into a resource/action?

2003-12-16 Thread Stephan Coboos
Hello, I have the following resource with an action and call in it: ... an I call the resource with a parameter from a pipeline like the following example: But the parameter myParam is always empty in . Outside the block t

Re: Launching 2 cocoons simultenaously

2003-12-16 Thread David Hello
Hassan Abolhassani wrote: What is the way to put more than one cocoon in the same servlet container? You can have different directory names in your webapps. For example copy your cocoon to cocoon1 and cocoon2 in your webapp directory and then you have two instances. Anyway I have noticed that

Newbie question about Cocoon DatabaseReader

2003-12-16 Thread Staffan Kvisth
Title: I have a set of images stored as blobs in a database that I want to retrieve using a Cocoon DatabaseReader I have a set of images stored as blobs in a database that I want to retrieve using a Cocoon DatabaseReader. I have defined the reader in the sitemap as follows:          

Problem................... Please ..................Help.............

2003-12-16 Thread UM19
Hi I have problem when I deploy my cocoon application on Unix environment Iam working on a project, displaying XML file in PDF format using cocoon package from Apache. On my computer WSAD 5.0 is installed. I imported the cocoon.war generated from source provided by Apache into WSAD 5.0. I wro

Re: Quick Install Question

2003-12-16 Thread Charles Williams
Geoff, Thanks! It was late last nite when I did my build and the build failed on the stx block. I've removed that block from the build and things are looking much better now. This is fresh off a 2.1.3 download which I did last nite as well so someone might want to check that distribution. Chuck

Re: Launching 2 cocoons simultenaously

2003-12-16 Thread Hassan Abolhassani
> What is the way to put more than one cocoon in the same servlet container? You can have different directory names in your webapps. For example copy your cocoon to cocoon1 and cocoon2 in your webapp directory and then you have two instances. Anyway I have noticed that doing this way, a lot of me

Newbie question about Cocoon DatabaseReader

2003-12-16 Thread Staffan Kvisth
Title: I have a set of images stored as blobs in a database that I want to retrieve using a Cocoon DatabaseReader I have a set of images stored as blobs in a database that I want to retrieve using a Cocoon DatabaseReader. I have defined the reader in the sitemap as follows:        

Re: FW: Configuring Cocoon with Apache and TomCat (blank page!)

2003-12-16 Thread Krishna
Hi, Now I copied the whole domain's document root domain.net to /var/tomcat4/webapps/cocoon and created a sitemap in /var/tomcat4/webapps/cocoon/domain.net/sitemap.xmap I am testing with two test xml and xsl pages. This is test.xml http://www.w3.org/1999/XSL/Transform";> type="text/htm

i18n date pattern question

2003-12-16 Thread Ivo Limmen
Hi everyone, I have been trying to i18n a piece of xml with dates. The standard date patterns are not sufficient for my needs. I know that you can i18n a date with: But I have tried to do this: This, unfortunatly, does not work. Is there another way to specify my pattern per country without

RE: [xsp-session-fw] NPE when use getxml with empty tag

2003-12-16 Thread Laurent Trillaud
Yes, I know but in this case, I need a string. In fact the logicsheet is not safe enough because the java generated is ((DocumentFragment) blahblah).getFirstChild().getNodeValue(); Laurent > -Message d'origine- > De : Antonio Gallardo [mailto:[EMAIL PROTECTED] > Envoyé : mardi 16 décembre

Re: [xsp-session-fw] NPE when use getxml with empty tag

2003-12-16 Thread Antonio Gallardo
Laurent Trillaud dijo: > Hi >>From the portal engine, for example, when I use as="string" context="authentication" path="/authentication/data/title"/> I > got an NPE if this tag is empty. > If I put something on it in the sunrise-user.xml from the portal sample, > it's working fine. > Any idea? T

Re: Quick Install Question

2003-12-16 Thread Geoff Howard
Charles Williams wrote: When I try http://localhost:/ I get the same result: HTTP ERROR: 404 Not Found RequestURI=/ The startup from "cocoon servlet" shows that Jetty is listening to 0.0.0.0: This cannot be correct...when I startup other Jetty installations it is listening to my correct

[xsp-session-fw] NPE when use getxml with empty tag

2003-12-16 Thread Laurent Trillaud
Hi >From the portal engine, for example, when I use I got an NPE if this tag is empty. If I put something on it in the sunrise-user.xml from the portal sample, it's working fine. Any idea? Laurent Trillaud - To unsubscribe, e-ma

Re: Quick Install Question

2003-12-16 Thread Simon Mieth
On Tue, 16 Dec 2003 07:33:53 -0500 "Charles Williams" <[EMAIL PROTECTED]> wrote: > When I try http://localhost:/ I get the same result: > > HTTP ERROR: 404 Not Found > RequestURI=/ > > The startup from "cocoon servlet" shows that Jetty is > listening to 0.0.0.0: > > >

Re: Writing plain text files with SourceWritingTransformer?

2003-12-16 Thread Upayavira
Stephanie Zohner wrote: Hi, Is there a way to write plain text files with the SourceWritingTrnasformer? I don't want to have the xml-declaration tag or the root tag in the written file, only the text. How can I do this? I tried to overwite the sourceWrintingTransformer in my subsitemap and set t

Re: Quick Install Question

2003-12-16 Thread Charles Williams
When I try http://localhost:/ I get the same result: HTTP ERROR: 404 Not Found RequestURI=/ The startup from "cocoon servlet" shows that Jetty is listening to 0.0.0.0: This cannot be correct...when I startup other Jetty installations it is listening to my correct IP address at the speci

db->disk reader

2003-12-16 Thread Otmar Vobejda
Hi, I have a little problem - I have stored some data in database about some files stored on disk. And I'd like to read them thru browser. Data in database describe the file - it means filename, path, where is file stored, mimetype of the file etc. On disk are physically files stored with name

Re: Quick Install Question

2003-12-16 Thread Simon Mieth
On Tue, 16 Dec 2003 07:02:23 -0500 "Charles Williams" <[EMAIL PROTECTED]> wrote: > Sorry for the repeat... your question is answered yet (look your older mail). Again ;-) only point your browser to "http://localhost:/";, thats all, Best Regards, Simon

Re: [Woody-binding] nested repeaters are allowed?

2003-12-16 Thread Marc Portier
Antonio Gallardo wrote: Hi Marc, thanks for the replay. I found a little trick to do so, but I am currently testing it. Maybe it would work. Who knows:-D the usual stuff . the usual stuff . Note the "play" with attributes parent-path, row-path, unique-row-id and unique-pa

Re: Quick Install Question

2003-12-16 Thread gounis
you dont have to ask for http://localhost:/cocoon/ but for http://localhost:/ On Tue, 16 Dec 2003, Charles Williams wrote: > Sorry for the repeat... > > I'm trying to install Cocoon. I'm following the instructions supplied in the > distribution and I get the following output when

Quick Install Question

2003-12-16 Thread Charles Williams
Sorry for the repeat...   I'm trying to install Cocoon. I'm following the instructions supplied in the distribution and I get the following output when I start cocoon from the command line   command: cocoon servlet   results: Loading Processing repositor

Writing plain text files with SourceWritingTransformer?

2003-12-16 Thread Stephanie Zohner
Hi, Is there a way to write plain text files with the SourceWritingTrnasformer? I don't want to have the xml-declaration tag or the root tag in the written file, only the text. How can I do this? I tried to overwite the sourceWrintingTransformer in my subsitemap and set the parameter "serializer

Re: [Woody-binding] nested repeaters are allowed?

2003-12-16 Thread Antonio Gallardo
Hi Marc, thanks for the replay. I found a little trick to do so, but I am currently testing it. Maybe it would work. Who knows:-D the usual stuff . the usual stuff . Note the "play" with attributes parent-path, row-path, unique-row-id and unique-path. I hope it would wo

Re: Launching 2 cocoons simultenaously

2003-12-16 Thread David Hello
I've tried on other computer, and it seems to work. What is the way to put more than one cocoon in the same servlet container? Thanks, David Upayavira wrote: You can either mount more than one Cocoon in the same servlet container, or run more than one servlet container. Both work. What is not wo

Source.refresh() - what may be cached?

2003-12-16 Thread Christian Mayrhuber
I'm trying to speed up my custom Source and would like to know what information may be cached. The API documentation says the following: - Refresh the content of this object after the underlying data content has changed. Some implementations may cache some

Re: [Woody-binding] nested repeaters are allowed?

2003-12-16 Thread Marc Portier
Antonio Gallardo wrote: Hi: Is posible to nest repeaters in the binding of a Java Bean? I am facing a database structure of type master(detailA[detailB]). I need to present it as: master (detail A) (detail B) so in order to do that, I need to nest the repeaters. Is this posible at all? good q

Re: Launching 2 cocoons simultenaously

2003-12-16 Thread Upayavira
You can either mount more than one Cocoon in the same servlet container, or run more than one servlet container. Both work. What is not working about running two? What errors do you get? Upayavira [EMAIL PROTECTED] wrote: i dont know about 2 or more containers but in tomcat you can have as ma

AW: [Woody] Map key values after woody xml binding to values stored in database tables [solved]

2003-12-16 Thread Markus Heussen
With some tiny changes to the xslt that does the transformation to html I have the solution. Many thanks to you Marc! :-) -Ursprüngliche Nachricht- Von: Marc Portier Gesendet: Dienstag, 16. Dezember 2003 09:13 An: [EMAIL PROTECTED] Betreff: Re: [Woody] Map key values after woody xml bindi

[Woody-binding] nested repeaters are allowed?

2003-12-16 Thread Antonio Gallardo
Hi: Is posible to nest repeaters in the binding of a Java Bean? I am facing a database structure of type master(detailA[detailB]). I need to present it as: master (detail A) (detail B) so in order to do that, I need to nest the repeaters. Is this posible at all? Best Regards, Antonio Gallardo

Re: Newbie problem with default install and quick start...

2003-12-16 Thread Antonio Gallardo
Charles Williams dijo: > I cannot get to my main cocoon page (http://localhost:/cocoon/). My > guess is this is the problem: > > 00:03:11.111 EVENT Started SocketListener on 0.0.0.0: > > How do I correct it? Just point the browser to http://localhost:/ Best Regards, Antonio Gallardo

Re: How to obtain db connection from pool ?

2003-12-16 Thread Olivier Billard
You can access the "cocoon context" in Avalon Components via the Contextualizable interface. If you intend to get the request or the session in XSP, logicsheets will do the job, with thinks like : -- Olivier On 16/12/2003 09:36, Marcin Okraszewski wrote: solution, I've adopted it from the code

Re: Newbie problem with default install and quick start...

2003-12-16 Thread Simon Mieth
On Tue, 16 Dec 2003 00:07:31 -0500 "Charles Williams" <[EMAIL PROTECTED]> wrote: > I cannot get to my main cocoon page > (http://localhost:/cocoon/). My guess is this is the > problem: Hi, try http://localhost:/ (not /cocoon). Regards, Simon

Re: How to obtain db connection from pool ?

2003-12-16 Thread Marcin Okraszewski
solution, I've adopted it from the code of database action, and it looks almost the same (but written in javascript instead of java). Because Cocoon is Avalon based I dont think there's other (non-Avalon) possibility to achieve what you asked. Flowscript gives you access to some Cocoon Avalon Compo

Newbie problem with default install and quick start...

2003-12-16 Thread Charles Williams
I'm trying to install Cocoon. I'm following the instructions supplied in the distribution and I get the following output when I start cocoon from the command line   command: cocoon servlet   results: Loading Processing repository: .\tools\jetty\libAdding

Re: [Woody] Map key values after woody xml binding to values stored in database tables

2003-12-16 Thread Marc Portier
Markus, have a look into the documentation on the wiki via http://wiki.cocoondev.org/Wiki.jsp?page=Woody check out the possibilities of the wd:select-list here: http://wiki.cocoondev.org/Wiki.jsp?page=WoodyDatatypeReference that should get you going, regards, -marc= Markus Heussen wrote: Hi Coc

RE: gzip compression

2003-12-16 Thread Carmona Perez, David
Thanks, the latest versions of Tomcat 4.1 already support it. David -Mensaje original- De: Nicolas Toper [mailto:[EMAIL PROTECTED] Enviado el: lunes, 15 de diciembre de 2003 18:56 Para: [EMAIL PROTECTED] Asunto: Re: gzip compression Apache could do that automatically... Otherw

Re: Launching 2 cocoons simultenaously

2003-12-16 Thread gounis
i dont know about 2 or more containers but in tomcat you can have as many different cocoons as you like just rename cocoon.war to cocoon{1,2,3}.war and put them in tomcat's webapp dir --stavros On Tue, 16 Dec 2003, David Hello wrote: > Hi, > > Is there a way to launch two cocoons servlet co

Launching 2 cocoons simultenaously

2003-12-16 Thread David Hello
Hi, Is there a way to launch two cocoons servlet container of differents versions simultenaously on two differents ports. I've tried set JETTY_PORT=8080 cocoon.bat servlet. and for the other set JETTY_PORT= cocoon.bet servlet, but it seems it doesn't work If someone has an idea... thanks