CLI Recursion Again

2005-01-13 Thread Alexander Schatten
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 assume: I want to create an off line site *recursively*, meaning, that the links

Re: CLI Recursion Again

2005-01-13 Thread Alexander Schatten
Simon Mieth wrote: the uri-element itself does not suüüpport follow-links only the uris-element. Simple enclose the uri with: uris follow-links=§true uri type=append src=buch/index.html dest=build/dest/ / /uris. actually I tried both; now I tried your

CLI at Cocoon 2.1.6: working somewhere?

2005-01-04 Thread Alexander Schatten
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 Erorrs/Exceptions (unknown resource, InvocationTargetException...) all details can be found at:

CLI at Cocoon 2.1.6 working somewhere?

2005-01-04 Thread Alexander Schatten
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 Erorrs/Exceptions (unknown resource, InvocationTargetException...) all details can be found at:

Re: CLI at Cocoon 2.1.6 working somewhere?

2005-01-04 Thread Alexander Schatten
Simon Mieth wrote: Hi, this problem can simple be solved by copy lib/optional/servlet.jar to build/webapp/WEB-INF/ölib. My local 2.1.6 works only without the taglib-block in the CLI-environment. So if you are running in exception after copying 'servlet.jar' try to build cocoon without the

Re: Coonecting to a mysql database

2004-04-16 Thread Alexander Schatten
bremerj wrote: I am a newcomer to Cocoon. I would like to connect to a Mysql database. I have downloaded the JDBC driver, but I have difficulties loading the driver into the Cocoon environment and establishing a connection to the database.

Follow Up: Curious Encoding Problems (OS X) and Strange Solutio

2004-04-07 Thread Alexander Schatten
*Brief Introduction* There was an extensive discussion about (form) encoding problems using Cocoon/Jetty/mysql or PostgreSQL, particularly under OS X, obviously mainly Yves Vindevogel and myself had these problems. My application is and was running perfectly on Linux with the same

Re: Follow Up: Curious Encoding Problems (OS X) and Strange Solutio

2004-04-07 Thread Alexander Schatten
Joerg Heinicke wrote: On 08.04.2004 00:33, Alexander Schatten wrote: My application is and was running perfectly on Linux with the same configuration, but destroyed all Umlauts after form send on OS X. Just curious: This is only dependent on the system where the server is running

Re: java start

2004-03-31 Thread Alexander Schatten
Bertrand Delacretaz wrote: Le 31 mars 04, à 10:48, Yves Vindevogel a écrit : Hi, Do I have to pass certain parameters to Java VM or JDBC to tell that the encoding must be Latin1 or Iso-8859-1 I have my dburljdbc:postgresql://myserver/mydb?charSet=latin1 Dunno about this one I also have the

Re: [OS-X] Serious Encoding Problems (VM Bug?)

2004-03-28 Thread Alexander Schatten
related ... If Alexander Schatten reads this: what do you think ? Is your problem also only on installations with Jetty ? this is a good question, I also thought about this recently; unfortunately I am completly full with work and had no time to transfer everything to tomcat (not only Cocoon

Re: xsl:for-each increase integer variable value ???

2004-03-26 Thread Alexander Schatten
Tuan Luu wrote: hello I would like to use xsl:for-each, and for every run the variable should increase by let's say the value 10. How can I do that? this is definitly no Cocoon question, it is an XSL (beginner) question. XSL is no procedural language, hence the concept of variables is

Re: [OS-X] Serious Encoding Problems (VM Bug?)

2004-03-09 Thread Alexander Schatten
Yves Vindevogel wrote: btw.: what do you mean with mydatabase?charSet=iso-8859-1 dburl. In your configuration of the datasources: I use this to force Postgresql to send my everything in ISO-8859-1. This works under Tomcat / Cocoon 2.0.x on Mac OSX 10.2 (no panther yet on that machine) jdbc

Re: [OS-X] Serious Encoding Problems (VM Bug?)

2004-03-09 Thread Alexander Schatten
Yves Vindevogel wrote: Yes, could be I use 1.4.2_03 What I also noticed ... I use swaret to keep my system up-to-date. Swaret wanted me to install XFree86 4.xx to run J2Sdk. I think this is no longer needed (since 1.4), so I did not install it. Could there be a problem there ? really, I

Re: [OS-X] Serious Encoding Problems (VM Bug?)

2004-03-07 Thread Alexander Schatten
Yves Vindevogel wrote: jdbc name=mypool dburljdbc:postgresql://myserver/mydatabase?charSet=iso-8859-1/dburl /jdbc hm, thank you; did not know this one; looks like a specific postgresql feature, no? will this work on mysql too? thanks alex

Re: [OS-X] Serious Encoding Problems (VM Bug?)

2004-03-06 Thread Alexander Schatten
Yves Vindevogel wrote: My problem (see: Bug in ServerPages Generator ??) could be related to this. If I declare some string in Java within XSP, I have to use unicode for (in my case) french characters. I now experience the same problems with data coming from my database. I think it could also

[OS-X] Serious Encoding Problems (VM Bug?)

2004-03-05 Thread Alexander Schatten
I develop certain Cocoon webapps on a Powerbook with recent cocoon version; up to now with same config like on Redhat Linux and no problems also iso-8859-1 (german) encoding worked fine: environment variable LANG is set to de... yesterday I worked on an application on the powerbook and

Re: [OS-X] Serious Encoding Problems (VM Bug?)

2004-03-05 Thread Alexander Schatten
Bertrand Delacretaz wrote: Le Vendredi, 5 mars 2004, à 16:22 Europe/Zurich, Alexander Schatten a écrit : ...Has anyone an idea, how I could fix this encoding problem on OS X ? Most probably, you need to make sure the JVM is started with the correct encoding definition, like -Dfile.encoding

Re: [OS-X] Serious Encoding Problems (VM Bug?)

2004-03-05 Thread Alexander Schatten
Alexander Schatten wrote: JAVA_OPTIONS='-Dfile.encoding=iso-8859-1' I read the Sun documentation now, and extended this to: -Dfile.encoding=iso-8859-1 -Duser.language=de -Duser.country=DE -Duser.variant=MAC additionally, -- the LANG=de_DE.iso-8859-1 -- the two encoding init params in web.xml

Re: Deployment/Migration to linux

2004-02-15 Thread Alexander Schatten
Anders Forsgren wrote: Hi, I hope someone could help me sort out some of the problems I'm experiencing when deploying my cocoon webapp to a linux server. I'm developing and testing my cocoon 2.1 webapp under windows XP/Tomcat 4.1.29, and it works great. - The WEB-INF/work and logs

Re: Deployment/Migration to linux

2004-02-15 Thread Alexander Schatten
Anders Forsgren wrote: How difficult is it to set up a minimal linux development environment with tomcat and cocoon? Can it be done with a knoppix or mandrake livecd? Or better yet, are there any testbed linux distros that installs on windows as an application? basically it is very simple,

Re: SQL Transformer generates illegal element names

2004-02-10 Thread Alexander Schatten
Schweigl, Johann wrote: Hi all, recently I ran into a problem with SQL Transformer. The column names returned from the database are used for naming the children of sql:row, but those names can be something like count(distinct xxx) or 'SYS$', which violates the wellformed conditions of

Re: A notebook for Cocoon development

2004-02-05 Thread Alexander Schatten
mirko wrote: Hi, I just need a notebook that will be sufficient to make my work in Cocoon (besides of my primary desktop computer) when I'm outside (spring is comming :) ). Will a PIII 500, 128MB notebook be OK for this? why a PC? consider an Apple; e.g. iBook: seems to be far better for this

Re: Cocoon activity

2003-11-14 Thread Alexander Schatten
Derek Hohls wrote: Hi Anyone want to hazard a guess as to whether the issues around the non-binary version of Cocoon are affecting downloading and use of Cocoon... Look a the monthly views from: http://www.apache.org/~vgritsenko/stats/projects/cocoon.html During Dec 2001 to April 2003, the

Re: Cocoon activity

2003-11-14 Thread Alexander Schatten
Joerg Heinicke wrote: But there is also another possible effect: If there are only Cocoon sources available why not take the sources directly from CVS. This is what we are doing here in the company. The updating process can be done much easier, you have to download less. this might be true,

Re: Cocoon activity

2003-11-14 Thread Alexander Schatten
Schultz, Gary - COMM wrote: Would you really recommend newbies use Struts? I thought Cocoon's appeal is that is has everything right out of the box to deploy an XML web publishing system and provide the framework to more easily build web applications using XML. I don't use Struts, but our Java

Re: Cocoon activity

2003-11-14 Thread Alexander Schatten
Carsten Ziegeler wrote: I might sound like a rogue, but if you have an itch, scratch it! understood. ---no further undesired comments to come. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Install Problem

2003-11-13 Thread Alexander Schatten
Tony Maniaci wrote: I installed cocoon 2.0.4 binary on XP on Tomcat 4.1 and I received : java.lang.RuntimeException: Errors in XSLT transformation: The output format must have a {http://xml.apache.org/xalan}content- handler' property! at org.apache.xalan.transformer.TransformerImpl.run what

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

2003-11-12 Thread Alexander Schatten
Simon Mieth wrote: i tested it with a CVS-build from last friday/sunday the steps i did: 1.) copy your cocoon-day directory to build/webapp 2.) add to the main-sitemap in build/webapp as first pipeline in map:pipelines map:pipeline map:match pattern=cocoon-day** map:mount

YES! CLI solved!!

2003-11-12 Thread Alexander Schatten
Upayavira wrote: If you want to follow links, you must not use 'replace'. It looks to me like you should use: uris name=CocoonDay follow-links=true uri type=append src-prefix=cocoon-day src=index.html dest=build/dest/cocoon-day-site// /uris

Re: Compilation of Cocoon / Binary Distribution / Different Configurations,

2003-11-07 Thread Alexander Schatten
Upayavira wrote: Alexander, There are a whole host of reasons why we only distribute a source version at present. When we get on with implemening cocoon blocks, all will change. For the time being, a source distribution is what we've got. (Reason for source distribution: it is the only simple

Re: Compilation of Cocoon / Binary Distribution / Different Configurations,

2003-11-07 Thread Alexander Schatten
Thank you again for feedback; some comments though: Upayavira wrote: Dependencies between blocks are a relatively new thing - at the moment we've just dealt with it with comments in the blocks.properties file, which is not ideal, but better than not telling anyone at all. yes, but

Re: Impossible CLI??

2003-11-07 Thread Alexander Schatten
So next iteration, again a new exception... Upayavira wrote: (3) it works in normal cocoon mode fine as ever. As a servlet, you mean? yes, precisely. t's hope so, or maybe the docs could be extended. - the person who knows something best isn't always the best person to write user docs! so,

Re: Impossible CLI??

2003-11-07 Thread Alexander Schatten
Upayavira wrote: You have included a block that needs the servlet.jar. Copy servletX_X.jar into WEB-INF/lib and you'll get past that one. Thanks also for the doc suggestion. It looks good. I'll include it within the default cli.xconf. I am glad if it is helpful so then again; I really have

Re: Compilation of Cocoon / Binary Distribution / Different Configurations,

2003-11-07 Thread Alexander Schatten
Nicolas Toper wrote: for instance I know tons of webdeveloper with no formal training and admin sys competencies. They use EasyPHP (a great product by the way) to develop their websites. Why? B/C it's easy to install on windows and for now definitely easier than Cocoon. (1) yes, this is an

Re: Compilation of Cocoon / Binary Distribution / Different Configurations,

2003-11-07 Thread Alexander Schatten
Nicolas Toper wrote: Yes, but we would need to rethink the Cocoon build/releases cycles to simplify the installation... no, I do not see why; As an expert one could rather easily provide such an binary installation package. no problem at all I see. But we first need to know if we want to

Re: Impossible CLI??

2003-11-07 Thread Alexander Schatten
Upayavira wrote: Okay, you're getting somewhere. Can you update to the latest CVS? I fixed this default-encoding problem today. The /styles/main.css is showing because you got an error. At some point I'll fix it so that links don't get followed on error pages. So many things to do :-( Update

Re: does cocoon support css

2003-11-07 Thread Alexander Schatten
Asim Raja wrote: Hi, I'm interested in using use Cocoon to convert an html page to a PDF file. I would like to feed the URL of the page and get the PDF. I would like to know if CSS used by the webpage would be supported by the HTMLGenerator and the PDF Serializer? I suggest you read a little

Re: Impossible CLI??

2003-11-06 Thread Alexander Schatten
Again thank you for answers, I have still not advanced for one millimeter, though again trying for some long time... the details: Upayavira wrote: I believe this (uri) is now fixed in CVS. uris is a new feature that allows you to process groups of uris, having independant options with each

Compilation of Cocoon / Binary Distribution / Different Configurations,

2003-11-06 Thread Alexander Schatten
I want to start a new thread, because I had some compilation problems during still unsuccessful experiments with cli. but those are (at least partly) no cli matters: (1) To the first point: I believe it to be an extremly bad idea not to provide an binary distribution, by many reasons, the

Impossible CLI??

2003-11-05 Thread Alexander Schatten
So, I am playing around for hours now, to get the CLI running to produce an example for a demonstration... seems to be, that I am far too stupid to understand the documentation: (1) I tried using a config file; then I detected, that there seem to be various modifications of the syntax: the

Re: Cocon 2.1: Still Problems with large downloads

2003-10-22 Thread Alexander Schatten
Bruno Dumon wrote: Then I tried putting the map:read in a pipeline like this: map:pipeline type=noncaching map:parameter name=outputBufferSize value=8192/ map:match pattern=test.xyz map:read src=/home/bruno/tmp/sylvain.avi/ /map:match /map:pipeline Two important things here: * I

Re: How to protect a Cocoon project

2003-10-22 Thread Alexander Schatten
Jörn Heid wrote: Hello. I want to give my customer a demo of my Cocoon based application which runs with Jetty on their local machine. But the problem is everybody can see the internals of the app. All the pipelines in sitemap.xmap, all XSL and XML. It can be used to find backdoors in the

Re: Cocon 2.1: Still Problems with large downloads

2003-10-17 Thread Alexander Schatten
Bruno Dumon wrote: Oops, forgot one aspect here: the caches and buffers aren't created of the correct size from the first time (because it is unknown on beforehand). Rather it starts small, lets say at 10k, and when that buffer is full, a new one of 20k is created and the first 10k is copied into

Cocon 2.1: Still Problems with large downloads

2003-10-16 Thread Alexander Schatten
Already in Cocoon 2.0x there were severe problems with large downloads. Using a statement like: map:match pattern=downloads/**.gz map:read mime-type=application/x-gzip src=downloads/{1}.gz/ /map:match basically worked with files below approx. 16MB. Files

Re: ANN: Vortrag: Erich Gamma: Eclipse - mehr als nur eine Java IDE

2003-10-08 Thread Alexander Schatten
Bertrand Delacretaz wrote: Le Mardi, 7 oct 2003, à 21:30 Europe/Zurich, Alexander Schatten a écrit : ein wenig off-topic---dennoch, da viele cocoon entwickler ja auch an Eclipse interessiert sind, und Erich Gamma ja nicht gar so oft zu sehen ist, dachte ich mir, daß diese ankündigung den einen

Re: .NET port

2003-10-08 Thread Alexander Schatten
Marchiori Carlo wrote: Hi, is there any effort to port Cocoon to .NET. I work for a company which develops Java and .NET versions of the same applications to suit customers needs. I need an xml pipelining engine which works both in java and .NET. I would say, that this would be a real waste

Re: html templates - best practise

2003-10-03 Thread Alexander Schatten
I developed a way of callback templates. Look at this: (0) consider a HTML design like this: ++ | Page Title (each page different) | ++ | Main Navigation (for all pages the same|

Re: XML2HTML

2003-09-22 Thread Alexander Schatten
Christian Haul wrote: On 18.Sep.2003 -- 03:36 PM, Christoph Strehl wrote: Hello there, I am new to Cocoon and I am already having problems with my first example. I am trying to convert a XML file to HTML. My XML-file looks - simplified - like this: para Text with picture picsource.jpg/pic

Re: Rendering XML!

2003-08-14 Thread Alexander Schatten
amit gokhru wrote: hi, we want to present our data (XML) in different format like Excel, pfg,html or some other XML. I want to use Cocoon for that . Can somebody guide me on how to do that or refer to some resources. I suggest to buy one of the available Cocoon books as a good

Re: Send Parameter from sitemap to XSP

2003-07-30 Thread Alexander Schatten
Bartomiej Urbaski wrote: sitemap: map:generate src=example.xsp type=serverpages map:parameter name=foo value=bar/ /map:generate and xsp: xsp:logic String foo = parameters.getParameter(foo, ); /xsp:logic thank you, this works... unfortunately it still does not solve my problem. the point

Re: Problem with large file-download served by Cocoon 2

2003-07-30 Thread Alexander Schatten
Alexander Schatten wrote: I have a small internal file-sharing application with cocoon. the problem is: there is a document with about 22MB. Cocoon 2 should send this doc back to the client, unfortunately the dowload stops every time (from different clients) at about 16MB. has anyone an idea

Problem with large file-download served by Cocoon 2

2003-07-29 Thread Alexander Schatten
I have a small internal file-sharing application with cocoon. the problem is: there is a document with about 22MB. Cocoon 2 should send this doc back to the client, unfortunately the dowload stops every time (from different clients) at about 16MB. has anyone an idea about this problem? I know

Re: [ANN] OXF 2.0 Released

2003-07-22 Thread Alexander Schatten
Jorg Heymans wrote: This might all very well be true, but I'ld rather not find out about other people's products on this mailinglist sorry. just my 0.5cts.. Jorg Heymans I will add some dollars too. considering, that this is a commercial product, not open source, and is posted into the wrong

Re: Beans as input for cocoon

2003-07-15 Thread Alexander Schatten
Uwe Gerger wrote: Hello, we have some Java-beans wich contains the data we wish to transform with cocoon into PDF. Is there a way how we can get the data from the bean into cocoon? Maybe there is a special bean-transformer or something like this? Hm, a BeanGenerator could be a nice idea? but