Hello,
is it possible to convert OpenDocument-Text files into Formatting Object
files? Whish stylesheets would I require?
Thanks!
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
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
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
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
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!
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
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
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.
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
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 =
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
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
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]
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:
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
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. */
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
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,
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
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;
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;
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
for details.
---
-News Hunter-
---
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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]
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
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
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
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
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
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!!
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
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
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
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
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
36 matches
Mail list logo