Re: CLI in 2.1.9: Cannot find ServletContext object

2006-12-19 Thread Simon Mieth
On Tue, 19 Dec 2006 11:14:26 -0600 J.D. Williams [EMAIL PROTECTED] wrote: I have Googled for this exception, read the docs for 2.1, and cannot figure this out. I did a ./build.sh clean, then built a minimal webapp and verified that it worked. No blocks, no samples, bare minimum. Then, I

Re: links in svg

2005-07-20 Thread Simon Mieth
On Tue, 19 Jul 2005 13:01:04 -0500 (CDT) Andres Taborda [EMAIL PROTECTED] wrote: hello list some user can help me I have an code of svg and applied an transformation to png. my code svg have various LINK by example in g id=background rect x=0 y=0 height=195 width=370 style=fill:red/

Re: Using Cocoon as a command line tool

2005-05-13 Thread Simon Mieth
On Fri, 13 May 2005 19:03:02 +0200 Jean-Claude Moissinac [EMAIL PROTECTED] wrote: If I add servlet_2_2.jar and openjms-0.7.6.1.jar to my config in WEB-INF/lib not only my CLI attempt fails, but also my standard use of Cocoon as a server doesn't start With just the openjms-0.7.6.1.jar,

Re: CLI Recursion Again

2005-01-14 Thread Simon Mieth
On Fri, 14 Jan 2005 00:15:14 +0100 Alexander Schatten [EMAIL PROTECTED] wrote: http://localhost:/my/site/index.html?cocoon-view=links This should give a list off all links in the page. no, it does not: the page is rendered as usual, no difference; but the page is rather

Re: CLI Recursion Again

2005-01-13 Thread Simon Mieth
On Thu, 13 Jan 2005 15:10:59 +0100 Alexander Schatten [EMAIL PROTECTED] wrote: Dear other CLI users maybe someone can give me a hint: after some configuration effort (blocks) the CLI with cli.xconf is *basically* working, but I am not able to solve one problem, which should be simple, I

Re: CLI at Cocoon 2.1.6 working somewhere?

2005-01-04 Thread Simon Mieth
On Tue, 04 Jan 2005 14:28:16 +0100 Alexander Schatten [EMAIL PROTECTED] wrote: I try (again) to get Cocoon CLI under Control. But it seems, that there are severe problems in version 2.1.6; actually not even the default cli.xconf example is working. I receive a multitude of

Re: CLI

2004-12-07 Thread Simon Mieth
On Tue, 07 Dec 2004 16:10:24 + Upayavira [EMAIL PROTECTED] wrote: Nandakumar Mounasamy wrote: Has anyone got the CLI working for compiling xsp pages offline? I recall it had an issue in version 2.1.5. I can't remember what version it was that had the problem, but it is not yet

Re: CLI

2004-12-07 Thread Simon Mieth
On Tue, 07 Dec 2004 20:44:01 + Upayavira [EMAIL PROTECTED] wrote: My understanding of this bug is that it is simply a matter of how it handles its configuration - i.e. it won't let you run it without any targets configured, but you don't want to configure targets when precompiling

Re: svg2png question

2004-11-01 Thread Simon Mieth
On Fri, 29 Oct 2004 09:30:59 -0600 Craig Christophersen [EMAIL PROTECTED] wrote: Derek; Thanks again for your reply. In my tomcat(version5) webapps folder my cocoon application is navCoc. SVG is a subfolder of that (as is WEB-INF,.metadata,.settings,style(xsl),Graphics, Menus, and more).

Re: Out of Memory error base64 encoded to SVG to JPG

2004-09-14 Thread Simon Mieth
On Mon, 13 Sep 2004 23:27:34 +0200 Joerg Heinicke [EMAIL PROTECTED] wrote: It seems to be heavy to do this transformation multiple times though you need to do it only once using the FragmentExtractorTransformer. Could help to reduce the memory needs. Well, after looking for some docs, it's

Re: Out of Memory error base64 encoded to SVG to JPG

2004-09-11 Thread Simon Mieth
On Sat, 11 Sep 2004 10:15:08 +0800 Lincoln Mitchell [EMAIL PROTECTED] wrote: I need to convert multiple wordml images (base64 encoded) to JPG. I am currently using the following code but get an Out of Memory error. If I am lucky I get 2 images appear on screen. I will try importing low

Re: WordML image to jpeg/gif via cocoon?

2004-09-05 Thread Simon Mieth
Hi Licoln, ?xml version=1.0 encoding=UTF-8? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:w=http://schemas.microsoft.com/office/word/2003/wo rdml xmlns:wx=http://schemas.microsoft.com/office/word/2003/a uxHint

Re: WordML image to jpeg/gif via cocoon?

2004-09-02 Thread Simon Mieth
On Thu, 02 Sep 2004 15:41:05 +0200 Gerald Aichholzer [EMAIL PROTECTED] wrote: On Thu, 2 Sep 2004 20:59:51 +0800, Lincoln Mitchell [EMAIL PROTECTED] wrote: How would I convert an image in wordML to a jpeg or gif via Cocoon? So far I have only found this .net solution by Oleg

Re: Error in offline site generation

2004-06-18 Thread Simon Mieth
On Fri, 18 Jun 2004 08:30:41 -0400 Riddim Dread [EMAIL PROTECTED] wrote: Thanks a lot for your help. I was able to resolve that problem and it runs without any error messages. However, I now have another problem. I am trying to explicitly generate an html file from an xml one, but it's

Re: Error in offline site generation

2004-06-18 Thread Simon Mieth
On Fri, 18 Jun 2004 15:57:35 -0400 Riddim Dread [EMAIL PROTECTED] wrote: I don't think so because I'm trying to generate an html file from an xml file using an xsl stylesheet so I believe src should point to the source xml file. Hi, the CLI works uri-based like the CocoonServlet. The

Re: request for CLI-only build

2004-06-15 Thread Simon Mieth
On Mon, 14 Jun 2004 15:05:20 -0400 Murphy, Thomas H. (Newport News) [EMAIL PROTECTED] wrote: Partly because Cocoon comes with just about everything except the kitchen sink (scheduled for Cocoon 2.2?), I'm interested in exploring Cocoon as a standalone, command-line application, *separate*

Re: Cocoon CLI Command Line Interface - Basic Question

2004-05-14 Thread Simon Mieth
On Thu, 13 May 2004, David Swearingen wrote: I'm trying to get Cocoon CLI to work. I've scoured all the documents on this, but can't figure out how cli knows where to find my sitemap. I have cocoon up and running just fine under Tomcat as a web application. What I need is a very basic

Re: Cocoon CLI: order of page generation

2004-04-06 Thread Simon Mieth
On Tue, 6 Apr 2004 11:24:15 +0200 (MEST) Stephanie Zohner [EMAIL PROTECTED] wrote: Hi, I'm using the cocoon cli with the xconf file for configuration. I use an text file to list the uris I want to get generated. This text file is set in xconf file. So far so good. Here's the problem:

Re: Cocoon CLI: order of page generation

2004-04-06 Thread Simon Mieth
Hi Stephanie, On Tue, 6 Apr 2004 18:15:42 +0200 (MEST) Stephanie Zohner [EMAIL PROTECTED] wrote: It might start the generation in the right order, but then it does not wait until the first uri generation is finished before it starts the second one(and so forth). Could this be the reason?

Re: Cocoon Ant Task

2004-04-01 Thread Simon Mieth
On Wed, 31 Mar 2004 16:33:36 -0500 Corey Keith [EMAIL PROTECTED] wrote: I'm trying to use the CocoonTask from ant and when I include the load-class element in the cocoon target I get the following error. Below is my build.xml. BUILD FAILED C:\vets\build.xml:10: Class

Re: static web site creation by ant - error

2004-02-26 Thread Simon Mieth
On Wed, 25 Feb 2004 22:28:19 -0800 (PST) yangontha Maung [EMAIL PROTECTED] wrote: Cocoon 2.1.4 Trying to create static web pages by ant Mounted the /usr/local/spider at the main sitemap.xmap. I can run cocoon servlet and server the page http://myserver:/spider/hello.html Now I

Re: CLI with Modifiable Source

2004-02-18 Thread Simon Mieth
On Wed, 18 Feb 2004 17:57:05 +0100 Boris Althaus [EMAIL PROTECTED] wrote: Hello everyone, i tried out the offline-generation capabilities of Cocoon. To generate the project to local disk is no problem at all. But how I can invoke the generation with a Modifiable Source for a ftp-transfer?

Re: Referencing inline images - How to?

2004-02-17 Thread Simon Mieth
On Mon, 16 Feb 2004 22:54:09 + beyaNet Consultancy [EMAIL PROTECTED] wrote: Simon, could you just confirm to me that i am using the correct syntax sitemap: map:serializers default=html map:serializer name=svg2jpeg

Re: e-mail Transformer

2004-02-17 Thread Simon Mieth
On Tue, 17 Feb 2004 07:33:57 + Russell Geraghty [EMAIL PROTECTED] wrote: Dear all, I've started down a route to generate XSP pages from a SQL query to send e-mails to the users of our system about updates. I have subsequently realised that a mail transformer would be better, and

Re: Referencing inline images - How to?

2004-02-17 Thread Simon Mieth
On Tue, 17 Feb 2004 14:25:13 + beyaNet Consultancy [EMAIL PROTECTED] wrote: Simon, I am doing something wrong here. explain to me exactly what attributes should be made available in the image tag? I think it would be better if you just show me the code you are using to generate the

Re: SVG broken images.....HELP!!

2004-02-17 Thread Simon Mieth
Hi, On Tue, 17 Feb 2004 17:02:43 + beyaNet Consultancy [EMAIL PROTECTED] wrote: map:serializers default=html map:serializer name=svg2jpeg src=org.apache.cocoon.serialization.SVGSerializer mime-type=image/jpeg logger=sitemap.serializer.svg2jpeg/

Re: Referencing inline images - How to?

2004-02-16 Thread Simon Mieth
On Mon, 16 Feb 2004 07:46:26 + beyaNet Consultancy [EMAIL PROTECTED] wrote: Hi, so far I have been making reference to images via my sitemap as standard: map:match pattern=*.jpg map:read mine-type=text/jpeg

Re: Referencing inline images - How to?

2004-02-16 Thread Simon Mieth
Hi, On Mon, 16 Feb 2004 16:51:27 + beyaNet Consultancy [EMAIL PROTECTED] wrote: Simon, thanks for the tip you gave earlier. It works fine in Netscape but is a broken image in IE. What am I doing wrong? My xsp looks like this: byte[] photoa =

Re: Offline generation Exception can't find component

2004-02-15 Thread Simon Mieth
On Sun, 15 Feb 2004 11:27:45 + Alex S [EMAIL PROTECTED] wrote: Hi Thanks for the reply. Yes that makes some sense. But I am still having dificulties. Something about CatalogManager.properties or server.properties can't be found . a) I am now just going to try using the CL to pass in

Re: Offline generation Exception can't find component

2004-02-14 Thread Simon Mieth
On Sat, 14 Feb 2004 17:30:31 + Alex S [EMAIL PROTECTED] wrote: Also if I do this: cocoon-2.1]# ./cocoon.sh cli wscott/index.html -C ws.xconf I get an error about specifying a destination directory but I have done that in the ws.xconf file like so:

Re: offline generation - NullPointerException in release()

2004-02-04 Thread Simon Mieth
On Wed, 4 Feb 2004 15:02:32 -0800 (PST) [EMAIL PROTECTED] wrote: Hi everyone and especially the helpful cocoon experts, I think I really need help on this one. The NullPointerException I'm getting in the release() method (see below) does seem to have an effect. When I generate the site I do

Re: CocoonBean

2004-01-31 Thread Simon Mieth
On Sat, 31 Jan 2004 07:57:34 + Upayavira [EMAIL PROTECTED] wrote: A crawler is not re-entrant. You need a new one each time. So you would call bean.process(crawler) with a newly created crawler. Obviously all of your 'set' javabean properties of the bean would need to be set and left

Re: CocoonBean

2004-01-30 Thread Simon Mieth
, there is a controller over processed URI's too. Other question ;) Is there a way to stop the processing? I have only found dispose(), but this need then a new CocoonBean-instance. Best Regards, Simon Mieth BTW: i will release a 0.1 of my cocoon-app next week

realpath module - subsitemap

2004-01-27 Thread Simon Mieth
Hi all, i try to access the realpath to my subsitemap. With the realpath module i can get the contextPath. How can i access the path of a subsitemap? The request module doesnt give the correct path, when i do this: map:match pattern=foo/** map:mount check-reload=yes src=otherdir/

Re: CocoonBean

2004-01-27 Thread Simon Mieth
On Tue, 27 Jan 2004 12:29:52 -0500 Jeffrey Winter [EMAIL PROTECTED] wrote: I have been exploring using Cocoon in a standalone, event-driven, multi-threaded application via the CocoonBean. Is it possible to use the CocoonBean to handle individual transformation requests in this manner?

Re: content aggregation + links to used files

2004-01-05 Thread Simon Mieth
On Mon, 5 Jan 2004 14:41:09 +0100 (CET) Nele Vogel [EMAIL PROTECTED] wrote: Hello Koen! Koen wrote: I think your original approach is correct, but we need to determine whypath is not returing a value. Just to get things straight: the snippet you mentioned *does* match file(and

Re: how to get the user agent in an xsp page?

2004-01-03 Thread Simon Mieth
On Sat, 03 Jan 2004 01:54:59 +0100 Davide [EMAIL PROTECTED] wrote: Hi, my question il simple: how to get the user agent in an xsp page? Best Regards, Davide Hi, xsp-request:get-header name=user-agent as=xml/ or this xsp:exprrequest.getHeader(user-agent)/xsp:expr Best regards,

Re: How to get the request parameters in a transformer?

2003-12-31 Thread Simon Mieth
On Wed, 31 Dec 2003 10:51:50 +0100 Davide [EMAIL PROTECTED] wrote: Thanks a lot, I'll consider it, but now I would like to build my own transformer. My problem is to get into the transformer a parameter of the http request... Hi, you can get it in the setup(..) method from your transformer

Re: how to put {1}, {2}... into XSP

2003-12-29 Thread Simon Mieth
On Mon, 29 Dec 2003 02:25:39 +0100 [EMAIL PROTECTED] wrote: Hi, I have a this problem. I'd like to put parsed pieces of URI into serverpages as parameters. For example: I have URI html/english/article/102 (it means, that I want to get article with ID=102 in english language and in HTML

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: 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: Loading

Re: 2 generators in a request

2003-12-02 Thread Simon Mieth
On Tue, 2 Dec 2003 11:46:08 +0100 Carmona Perez, David [EMAIL PROTECTED] wrote: Hi all, I'm using DocBook under Cocoon. In the chunked version of the standard DocBook stylesheets, the transformation step generates a set of files.. map match=**.html map:generate src=my-source.xml

Re: SendMailTransfomer question

2003-12-02 Thread Simon Mieth
Hi Rui, i tried your example with my enviroment and it works, but i use postfix as MTA. Maybe there is a problem by sendmail. On 02 Dec 2003 12:15:44 + Rui Alberto L. Gonçalves [EMAIL PROTECTED] wrote: I'm getting the message in /var/log/maillog: Dec 2 11:44:43 localhost

Re: SendMailTransfomer question

2003-12-02 Thread Simon Mieth
Hi Rue, On 02 Dec 2003 12:15:44 + Rui Alberto L. Gonçalves [EMAIL PROTECTED] wrote: I'm getting the message in /var/log/maillog: Dec 2 11:44:43 localhost sendmail[4960]: hB2BigJP004960: localhost.localdomain [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA It

Re: SendMailTransfomer question

2003-11-28 Thread Simon Mieth
On 28 Nov 2003 18:21:23 + Rui Alberto L. Gonçalves [EMAIL PROTECTED] wrote: I'm sending in attachment the result log of a request that matches this pipeline with DEBUG level. In fact the match pattern this time is sendmail-x :) I'm using cocoon 2.1.2. I tryed to use SendMailTransformer

Re: Cocoon and interaction with the Shell

2003-11-18 Thread Simon Mieth
On Tue, 18 Nov 2003 12:10:15 +0100 Yves Vindevogel [EMAIL PROTECTED] wrote: I agree that it something very useful. I think, but I'm not an export, that we need something like this: An XSP, with parameter target-platform for Linux / Windows choice. The XSP should be able to do this, eg.

Re: offline page generator

2003-11-15 Thread Simon Mieth
On Sat, 15 Nov 2003 14:07:50 +0100 Next Design | Luca Mascaro ::. [EMAIL PROTECTED] wrote: buongiorno they are newbye excused my English, but I speak Italian I ave a problem whit offline page generator I ave one directory _dotinfo on build/webapp folder, whit pipeline default

Re: Install Problem

2003-11-13 Thread Simon Mieth
On Fri, 14 Nov 2003 07:20:28 +0100 [EMAIL PROTECTED] (Simon Mieth) wrote: There is the servlet installed by default, you can try cocoon by ./cocoon.sh servlet and point your browser to http://localhost:. Sorry, i mean the servlet-engine jetty is include by default. Simon

Re: CLI Still not working ... :-(

2003-11-12 Thread Simon Mieth
On Wed, 12 Nov 2003 20:11:07 +0100 Alexander Schatten [EMAIL PROTECTED] wrote: Upayavira tried to help me the last days to get the Cocoon CLI running to generate the website for a Cocoon-Tutorial Day. Thanks again, I made some steps forward but: after meanwhile days of work, I

Re: problem embedding images

2003-11-08 Thread Simon Mieth
On Sat, 8 Nov 2003 23:57:53 +0500 (GMT) Ashish Kumar [EMAIL PROTECTED] wrote: hi all, i want to simply embed an image in my pdf document. i m using following codes: xsl:template match=hello fo:block hello there! fo:external-graphic src=hello.jpg/ /fo:block

Re: Command line interface

2003-10-21 Thread Simon Mieth
On Tue, 21 Oct 2003 07:19:13 +0100 Upayavira [EMAIL PROTECTED] wrote: Try recompiling Cocoon without the Deli block (and exclude session-fw whilst you're at it). Regards, Upayavira Hi, another solution is to strip down the cocoon.xconf file to related components, which are needed for