Problems with Java1.4 and svg2png

2002-03-23 Thread C. Gaffga
0. It cleared up a lot of errors I > > was getting earlier. Maybe this one will clear up too. > > > > Rob > > > > From: "C. Gaffga" <[EMAIL PROTECTED]> > > > > > Hi, > > > > > > Since i upgraded my System I have Problems w

Problems with Java1.4 and svg2png

2002-03-21 Thread C. Gaffga
Hi, Since i upgraded my System I have Problems with the svg2png serializer in cocoon. I'm using Redhat 7.2, Java1.4, Tomcat 4.0.1, Cocoon 2.0.1 When I serialize a SVG-file to PNG using the Batik libraries there are some problems with rendering text. When I output a Text, saying "Test", and anot

[C2] JVM memory usage is growing and growing util OutOfMemory-Exception

2001-08-09 Thread C. Gaffga
I have still the same Problem, Cocoon consumes all my memory over a short period of time. I did a few checks, so I could see that all instances of my Java Classes (some need very much memory) a released correctly. I overwrote the finalize method for that, and printed something to stdout, to see if

[C2] JVM memory usage is growing and growing util OutOfMemory-Exception

2001-08-09 Thread C. Gaffga
Hi! Im using Tomcat4.b5, JDK1.3.1 and Cocoon2.b2 The memory usage of the VM, cocoon is running on, is growing an growing with each request. Aprox. 200K more by each request. This is going on until a OutOfMemory-Eception occures and the VM is using about 500 to 600 MB of memory. During generating

[C2] Problem: Checking XML before including it (XSPUtil.include)

2001-07-23 Thread C. Gaffga
I have some XML stored in the database an want to include in in my page. Im using the following code in my XSP-page: try { ... org.apache.cocoon.components.language.markup.xsp.XSPUtil.include( __is, this.contentHandler, newParser); } catch (Exception e) { XML-Error XML: e.getMessage

cocoon: url and caching - Problem with MRUMemoryStore

2001-07-17 Thread C. Gaffga
Hi ! I have same problems with the latest version of coocon2. (But I need that version because of cocoon: url) When I load my page one, two or three times, there ar no problems. But if I load the page some more times, press the browsers refresh butten, say, every 10 sec., after two or three minu

[C2] denial of service made easy

2001-07-16 Thread C. Gaffga
How stable is the current 2.b1-dev ? If have a page that runs, but if I press my browsers refresh button, say 5 times (fast), I get an error "Cocoon 2 - Resource not found" for all pages (including coocon welcome page and samples). The page, that generates the error, uses cinclude. Could it be t

How can I set the charset/encoding in coocon2

2001-07-16 Thread C. Gaffga
How can I set the output encoding/charset for coocon2? My xml-file, and my xsl-file as well, use ISO-8859-1 (Latin-1), but my output is UTF-8! Why? Christoph Gaffga - Please check that your question has not already been answe

Processing Time in last line in C2 like in 1.8?

2001-07-16 Thread C. Gaffga
Is it possible to have the processing Time as a comment in the output in cocoon2 like it was in cocoon1.8. It was a nice feature to have a look on performence without looking to the logfile. I'm using cocoon2.1-dev from today. Christoph Gaffga -

Re: [C2] use-request-parameters=true

2001-07-15 Thread C. Gaffga
- From: "Sergio Carvalho" <[EMAIL PROTECTED]> To: "C. Gaffga" <[EMAIL PROTECTED]> Sent: Sunday, July 15, 2001 1:00 AM Subject: Re: [C2] use-request-parameters=true > > Ok, now I get it. Set up the XSLT producing pipeline, just as if it were any other pipe

Re: [C2] a pair of errors instantiating C2

2001-07-14 Thread C. Gaffga
> Trying to load class: com.ibm.servlet.classloader.Handler Disable the IBM Webshere Appserver in cocoon.xconf. > java.sql.SQLException: File input/output error: ${install.war}/cocoon/WEB- you can ignore that Exception, does't disturb the function of coocon. (only SQL, bur repair it later) > lac

Re: Re: [C2] use-request-parameters=true

2001-07-14 Thread C. Gaffga
; 1) Edit sitemap.xmap; change > > > false > true > > to > > > true > true > > 2) Declare the parameter in your XSLT. e.g: > > http://www.w3.org/1999/XSL/Transform";> > / > > 3) Use the parameter, available as $siteSection

[C2] Problem using request parameters

2001-07-13 Thread C. Gaffga
Hi ! Is it possible to use the same context for all parts of a processing pipeline. I want to use the request parameters in the parts of aggregate.xml, but it doesn't work. I thought that is for what the cocoon: protocol is for, isn't it? How can I use the request in all XSP files? I want it als

[C2] use-request-parameters=true

2001-07-13 Thread C. Gaffga
I'm using cocoon 2.1-dev (12.07.2001). I want to use the request in a dynamic generated Stylesheet using the following sitemap: I have the following im my stylesheet.xsp for testing: Request Parameter: { java.util.Enumer

Re: ./build.sh - permission denied

2001-07-13 Thread C. Gaffga
You have to set the executeable.   $> chmod u+x build.sh   then it works!   Christoph Gaffga - Original Message - From: raghu To: [EMAIL PROTECTED] Sent: Friday, July 13, 2001 12:19 PM Subject: ./build.sh - permission denied Hello there, I am unable to buil

Re: Does Cocoon return the Request Object as XML?

2001-07-13 Thread C. Gaffga
In Cocoon 2.1-dev there is something like that in the Docs.   Request Generator . Name : request Class: org.apache.cocoon.generation.RequestGenerator Cacheable: .     but there ist no more doc available, test is or look at the source perhaps helps.   Christoph Gaffga ---

Re: AW: Re: [C2] Using XSP inside XSL

2001-07-12 Thread C. Gaffga
> Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn > www.sundn.de mailto: [EMAIL PROTECTED] > ======== > > > -Ursprüngliche Nachricht- > > Von

Re: [C2] Using XSP inside XSL

2001-07-12 Thread C. Gaffga
Oh, I forgot to say that it is very importent for us to use the same request (inc. Parameters, etc...) in the stylesheet generating XSP, that is not possible with the solution below. Christoph Gaffga - Original Message - From: "C. Gaffga" <[EMAIL PROTECTED]> To: &

[C2] Using XSP inside XSL

2001-07-12 Thread C. Gaffga
Why can't I use dynamicly generated Stylesheets in Cocoon 2. I tryed with the following configuration (sitemap): But I got a File not Found exception. Will this be fixed? Will this feature (using pipelines) be integrated in a future Version of C2? When I use a URL with tran

Re: AW: [C2] Redirects

2001-07-11 Thread C. Gaffga
What's the Problem about flow. It's also very simple with coocon. Because a page that redirect doesn't output anything, why you dont't use a simple JSP page. from there you can redirect to an XML/XSP page with output. Christoph Gaffga - Original Message - From: "Ulrich Mayring" <[EMAIL

Re: Executing XML inside XML

2001-07-09 Thread C. Gaffga
This works fine with cocoon 1.8, but what is about cocoon 2, where you can't use processing-instructions. I think you have a problem later, when porting to c2. Or do you have a solution for cocoon 2, too? Christoph Gaffga - Original Message - From: "JEULIN Olivier" <[EMAIL PROTECTED]> T

Merge multiple files to one XSP-File

2001-07-08 Thread C. Gaffga
Hi ! I split up my xsp files to keep them small and for reusebility. With Cocoon 1.8 ist wasn't a problem to merge them BEFORE the xsp-file is translated to a class. I used xinclude. But now with cocoon 2 that is not possible. XInclude works only as a postprocessor. So my question: Is there a w

[C2]You cannot select a Component from a disposed ComponentSelector

2001-07-07 Thread C. Gaffga
Hi ! What meens: org.apache.cocoon.ResourceNotFoundException: You cannot select a Component from a disposed ComponentSelector:java.lang.IllegalStateException: You cannot select a Component from a disposed ComponentSelector at org.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPagesGen

Re: How to run cocoon2 without X11

2001-07-06 Thread C. Gaffga
Now it works, clever and simple idea. Thank you very much Christoph Gaffga - Original Message - From: "Marcus Crafter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 06, 2001 7:13 PM Subject: Re: How to run cocoon2 without X11 > On Fri, 6

How to run cocoon2 without X11

2001-07-06 Thread C. Gaffga
Hi! How can I run cocoon 2 without X11. Why is a Display needed??? Christoph Gaffga > Hi ! > > for me, this is a strange error. Why does C2 need the X server. > And how can I fix it. > > thanks in advance. > > Christoph Gaffga > > > > ERROR 41966 [cocoon ] (Thread-5): Error compiling sit

C2 Error after Install: Can't connect to X11

2001-07-05 Thread C. Gaffga
Hi ! for me, this is a strange error. Why does C2 need the X server. And how can I fix it. thanks in advance. Christoph Gaffga ERROR 41966 [cocoon ] (Thread-5): Error compiling sitemap java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY v