odt 2 fo

2007-02-05 Thread news
Hello, is it possible to convert OpenDocument-Text files into Formatting Object files? Whish stylesheets would I require? Thanks!

Servlet.service() for servlet Cocoon threw exception

2006-10-04 Thread news
Hello List, I've Cocoon running with Tomcat 5.5.Cocoon only deploys PDF files generated with FOP using the fo2pdf serializer. Between 1000 and 2000 deployed PDF files the errer shows up. Cocoon is still running, and able to deploy everything else than PDF files. For instance, the xml

Cocoon security rules

2006-09-29 Thread news
Hello List, How can I set up Cocoon to allow accses only to one specific directory within the cocoon installation? For instance, I have a directory 'cocoon/test1' and 'cocoon/test2'. when ever Cocooc is called on another location than 'test1' (root, test2) I want Cocoon to perform a 404 or

java.lang.OutOfMemoryError

2006-04-11 Thread news
Hello List, I'd run Tomcat5/Cocoon on a Server for 6 Month and it worked fine. All the Server has to do is to convert about 1 - 10 XML files to PDF using XSLT-FO (FOP). Now I suddenly get the following error: 2006-04-10 13:24:55 StandardContext[/Cocoon]StandardWrapper.Throwable

AW: java.lang.OutOfMemoryError

2006-04-11 Thread news
You need to find out what causes the error, either by watching your logs and correlating with the problem, The problems comes whenever Cocoon is started. The logs say the problem lays in: Servlet.init() or by torturing your app until you find a way to reproduce the problem. I can reproduce

AW: AW: java.lang.OutOfMemoryError

2006-04-11 Thread news
If it worked before, it's probably related to temp stuff stored in tomcat's work dir. Yes there is a lot of stuff stored in there. Mostly empty directorys. Is there a way to clean this? Like a clean chache function? Or is it possible to just delete this content while tomcat is offline? thanks!

AW: AW: AW: java.lang.OutOfMemoryError

2006-04-11 Thread news
Thanks for your help. Deleting the Work directorys content helped to solve this problem. jan -Ursprüngliche Nachricht- Von: Bertrand Delacretaz [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 11. April 2006 11:08 An: users@cocoon.apache.org Betreff: Re: AW: AW: java.lang.OutOfMemoryError

Pipeline Question

2005-10-14 Thread news
Hello List, I ve got two pipelines: map:match pattern=*/*/*.pdf map:generate src={global:xml-path}/{1}/{3}.xml/ map:transform type=xslt-saxon src={global:stylesheet-path}/{1}/{2}.xsl label=content/ map:serialize type=fo2pdf/ /map:match map:match

AW: Flow Script Output - SOLVED

2005-09-29 Thread news
Hello Jason, That helped perfectly! Thanks! -Ursprüngliche Nachricht- Von: Jason Johnston [mailto:[EMAIL PROTECTED] Gesendet: Montag, 26. September 2005 18:29 An: users@cocoon.apache.org Betreff: Re: Flow Script Output Hello List, I ve a FlowScript which creates a XML tree.

Variables

2005-09-26 Thread news
Hello List, is it possible to use variables in a sitemap? I m using a flow script and want to pass informations by parameters to the script. Since I ve many pipelines using party the same informations I dont want to have to write this informations (directoty locations) more than once in the

Flow Script Output

2005-09-26 Thread news
Hello List, I ve a FlowScript which creates a XML tree. var doc = Packages.org.jdom.Document(); var root = Packages.org.jdom.Element(SWLREPORT); var outputter = Packages.org.jdom.output.XMLOutputter(Packages.org.jdom.output.Format.getPre ttyFormat()) var xmlfile =

AW: Flow Script Output

2005-09-26 Thread news
Hi Johannes, I can't quite understand why one should create a whole XML tree in flow script. isn't it much easier to use JXT for this purpuose ? I m using XSL Stylsheets to generate a PDF file. Dependant on the called URI basicly three different things can happen with the generated PDF. 1. It

Position of folders and files in Cocoon

2005-09-21 Thread news
Hello, I va a package stucture like this: -Tools +src +swl +util -SwlLogger.java -MyTools.java +lib +config -config.xml -logging.cfg +log -mylogfile.xml Where config.xml contains relevant configuration details. for my own classes that I use i a flow script. My classes are

AW: Position of folders and files in Cocoon

2005-09-21 Thread news
Sorry I dont get you :( What do I have to do exactly? Regards, Jan -Ursprüngliche Nachricht- Von: Jorg Heymans [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 21. September 2005 11:06 An: users@cocoon.apache.org Betreff: Re: Position of folders and files in Cocoon [EMAIL PROTECTED]

AW: AW: Position of folders and files in Cocoon

2005-09-21 Thread news
Thank you, but both ways arent good. To make a jar is bad because the config can not be easiely modified by customers or service stuff. To use a absolute path is bad because I'd cocoon customer system specific jars. :( But thanks anyway! Regards, Jan -Ursprüngliche Nachricht- Von:

AW: AW: AW: Antwort: Saving the Outputstream

2005-09-16 Thread news
Holger, so far I wrote the following code. Works pretty fine except that I get an empty file on the servers harddrive :( Do you have any Idea what I m doing wrong? Thanks ! Regards, Jan code: package swl.test.cocoon.serialization; import java.io.FileOutputStream;import

AW: Antwort: AW: AW: AW: Antwort: Saving the Outputstream

2005-09-16 Thread news
Holger, no its not working. I m still getting an empty file + no outputfile to the client. :( I checked the FOPSerializers sources and founf out that it might be a bit more difficult: /** * Create the FOP driver * Set the codeOutputStream/code where the XML should be serialized. */

AW: AW: AW: AW: Antwort: Saving the Outputstream

2005-09-16 Thread news
I ll give it a try! Do you have an example? Regards, Jan -Ursprüngliche Nachricht- Von: Upayavira [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 16. September 2005 11:49 An: users@cocoon.apache.org Betreff: Re: AW: AW: AW: Antwort: Saving the Outputstream Can't you just use the

AW: AW: AW: AW: Antwort: Saving the Outputstream - Solved

2005-09-16 Thread news
Hello Again, It is possible to save the outputstream. But in a different way I thought. I found: http://wiki.apache.org/cocoon/SavingFilesToFileSystem Thanks Holger Upayavira Regards, Jan -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Freitag,

AW: AW: Antwort: Saving the Outputstream

2005-09-15 Thread news
Holger, thanks for the hint! One point that is unclear for me is, how to tell a OutoutStream where it is supposed to point on except by using the contructor. So, how do I tell myoutoutstream that it has an OutputStream with the same content as the original OutoutStream butispointing to a

AW: Antwort: Saving the Outputstream

2005-09-14 Thread news
Yes offcause I cant do this :) But some things have changed. Insted of using a Reader I extandet the fo2pdf Serializer. package swl.test.cocoon.serialization; import java.io.FileNotFoundException; import java.io.FileOutputStream; import org.apache.cocoon.serialization.FOPSerializer;

AW: Antwort: Saving the Outputstream

2005-09-14 Thread news
Yes offcause I cant do this :) But some things have changed. Insted of using a Reader I extandet the fo2pdf Serializer. package swl.test.cocoon.serialization; import java.io.FileNotFoundException; import java.io.FileOutputStream; import org.apache.cocoon.serialization.FOPSerializer;

Saving the Outputstream

2005-09-13 Thread news
Hello List, I m creating PDF Files using cocoons fo2pdf serializer. Everything works fine. Now I want to save the created pdf file on a servers directory. I wrote a Reader to get access to the outputstream in order to save it. The directory name is dependent on the transferred xml files name. To

Re: Cocoon 2.1.6

2005-01-03 Thread News Hunter
for details. --- -News Hunter- --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Cocoon 2.1.6

2005-01-02 Thread News Hunter
Can i use cocoon 2.1.6 with jre1.5 and fresh install of tomcat 5.5.4? --- -News Hunter- --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Cocoon 2.1.6

2005-01-02 Thread News Hunter
where can i find the tested configuration? --- -News Hunter- --- - Original Message - From: Upayavira [EMAIL PROTECTED] To: users@cocoon.apache.org Sent: Sunday, January 02, 2005 11:11 PM Subject: Re: Cocoon 2.1.6 News Hunter wrote: Can i use

Re: Cocoon 2.1.6

2005-01-02 Thread News Hunter
how can you run tomcat 5.5.4 without jdk 1.5? --- -News Hunter- --- - Original Message - From: Aurlien DEHAY [EMAIL PROTECTED] To: users@cocoon.apache.org Sent: Sunday, January 02, 2005 11:32 PM Subject: Re: Cocoon 2.1.6

Re: Cocoon 2.1.6

2005-01-02 Thread News Hunter
my problem is to use cocoon 2.1.6 with tomcat. i can not use cocoon 2.1.6 with tomcat 5.5.4. --- -News Hunter- --- - Original Message - From: Aurlien DEHAY [EMAIL PROTECTED] To: users@cocoon.apache.org Sent: Sunday, January 02, 2005 11:39 PM

Location of Recourses required in Sytelsheets.

2004-09-21 Thread news
Hello List. I' m using Cocoon to transform XML Files to PDFs using Saxon and FOP. In the XSL Stylesheets I'm using a external grafik: fo:external-graphic height=4.4cm src=siegel02.jpg / If I transfer a XML using this Stylesheet, the image is always missing: ERROR (2004-09-20) 14:07.29:875

How to get accsess to net devices

2004-09-20 Thread news
Hello List, I m using Cocoon in Apache Tomcat/5.0.25 on a Windows 2003 server system. In on of my piplines I need to get access to net devices of the server. It is not for internet use, so I don'nt need a super secure solution. Right now if I write: map:match pattern=*/*/*.pdf

printing

2004-09-08 Thread news
hello list, I have a pipeline generating pdf documents out of xml files. is it possible to tell cocoon to pring a generated document on a printer connected to the server itself or to the client? what I want is that any generated pdf is printed. thanks!!

Using Cocoon with Tomcat 5

2004-07-23 Thread news
Hello List, I m using Cocoon with Tomcat 5 on an Windos XP se 1 system. I ve Java j2sdk1.4.2_04 installed. I ve put the Cocoon.war file into the webapps folder of Tomcat. When starting Tomcat the war file is extracted into a new Cocoon folder automaticly. But somehow Cocoon does not run. in the

RE: request for CLI-only build

2004-06-17 Thread Murphy, Thomas H. (Newport News)
Thank you Simon and Jorg for your explanations. I take it that, for now, the build structure of Cocoon is inextricably linked to its intended use as a web application. I'll redirect my explorations into the areas you've suggested. (Plus spend some quality time at the wiki . . . .) Thanks

RE: request for CLI-only build

2004-06-15 Thread Murphy, Thomas H. (Newport News)
Thanks Upayavira and Simon for writing. I don't want to take up too much of people's time on this because I imagine I'm in a very small minority in wanting a command-line-only build option. Just as Cocoon can work as the center for all kinds of different web apps and transformations, it could

request for CLI-only build

2004-06-14 Thread Murphy, Thomas H. (Newport News)
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* from any use of Cocoon as a webapp. I realize that Cocoon can currently be used from the command

cocoon 2.1.5 keys, md5 hash

2004-06-09 Thread Murphy, Thomas H. (Newport News)
Warning: nitpicky questions regarding download verification below. For cocoon 2.1.5, I got the pgp keyfile KEYS from http://www.apache.org/dist/cocoon and noticed that that KEYS file is different from the KEYS file included with the cocoon-2.1.5-src.zip distribution. Is one to be preferred? If