Antwort: Serving wbmp images in cocoon

2002-02-08 Thread Richard Gfrerer
If you use apache, check mime-types, too. image/vnd.wap.wbmp wbmp Richard [EMAIL PROTECTED] (Sean Malone) am 07.02.2002 21:37:54 Bitte antworten an [EMAIL PROTECTED] An: [EMAIL PROTECTED] Kopie: (Blindkopie: Richard Gfrerer/DEBIS/EDVG/AT) Thema:Serving wbmp

Re: external cgi

2002-02-08 Thread Anders Conrad
Hi. I used to use the tag util:include-uri in the XSP util logicsheet (xmlns:util=http://www.apache.org/1999/XSP/Util;). That was in cocoon 1.8. Anders - Original Message - From: Ratty [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 07, 2002 4:25 PM Subject: external

RE: HowTo Cocoon pages

2002-02-08 Thread DURDINA Michal
Mohamed, Your problem is too general. Anyway, try to copy generated war file (after Build) to Tomcat webapps directory and run Tomcat without JBuilder. Don't forget to include required libraries to WEB-INF\lib directory for generated war file (all jars from cocoon/lib). Your problem looks like

Re: Cocoon-2.0/Tomcat with Postgres

2002-02-08 Thread heli
Alex Kachanov wrote: what seems to be a problem? I use jakarta 4.0.1 and cocoon 2.0.1 and want to use PostgreSQL. I have the following problem: my test page says the following: Hello This is my first Cocoon2 page filled with sql data! This method is not yet implemented. it is just the

patch to SQLTransformer for result sets returned from stored procedures

2002-02-08 Thread neil
The version of org.apache.cocoon.transformation.SQLTransformer.java in cocoon 2.0 handles ResultSets returned from a stored procedure as OUT parameters. Oracle and some others do this, however MS SQL Server and some others can return multiple results each of which is either a ResultSet or a

JSPGenerator encoding problem

2002-02-08 Thread yuryx
Hi all! My JSPGenerator or jasper-compiler don't supported KOI8-R charset encoding. What is me do? Instructions llike ?xml version=1.0 encoding=KOI8-R? in header jsp page or map:generator name=jsp src=org.apache.cocoon.generation.JspGenerator logger=sitemap.generator.jsp label=content,data

Antw: Re: odd problem with transformer

2002-02-08 Thread Johannes Schwarz
Thank you all for your help! I've got still the same problem! I tried the writeToFile suggestion. The dynamic created xml data isn't in the pipeline anymore! Only the static data appears in the output! In my xsp code I build a dom -tree and insert the tree with

Problems with Tomcat 4.0.1 and Cocoon 2.0.1

2002-02-08 Thread Kreyßel, Conny
I try to use Cocoon 2.0.1 on Windows 2000 with Tomcat 4.0.1. But when I start Cocoon 2.0.1 then I get the following error. (I have enabled the trace in the cocoon.xconf.) Starting service Tomcat-Standalone Apache Tomcat/4.0.1 DriverManager.getConnection(jdbc:hsqldb:hsql://localhost:9002)

Re: odd problem with transformer

2002-02-08 Thread Johannes Schwarz
I found a workaround!!! I have to put the generation- code into an aggregate function! But if someone have another solution or even an explanation I will very thankful Ciao Johannes Schwarz - Please check that your question

RE: JSPGenerator encoding problem

2002-02-08 Thread Vadim Gritsenko
From: yuryx [mailto:[EMAIL PROTECTED]] Thanx for ideas ,Vadim. But I can't undestand how declare JSP encoding. Try to read JSP specification. Vadim instead of %out.println(?xml version='1.0' encoding='koi8-r'?);% I try ?xml version='1.0' encoding='KOI8-R'? in sample.jsp but again it

Re: JSPGenerator encoding problem

2002-02-08 Thread Piroumian, Konstantin
From: yuryx [mailto:[EMAIL PROTECTED]] Thanx for ideas ,Vadim. But I can't undestand how declare JSP encoding. Try to read JSP specification. The correct declaration is: %@ page language=java import=java.text.SimpleDateFormat,java.util.* pageEncoding=KOI8-R%?xml version='1.0'

RE: JSPGenerator encoding problem

2002-02-08 Thread Vadim Gritsenko
From: yuryx [mailto:[EMAIL PROTECTED]] Hi all! My JSPGenerator or jasper-compiler don't supported KOI8-R charset encoding. What is me do? Use UTF-8 or Win-1251 which are (IIRC) supported. Vadim Instructions llike ?xml version=1.0 encoding=KOI8-R? in header jsp page or map:generator

Re: JSPGenerator encoding problem

2002-02-08 Thread Piroumian, Konstantin
From: yuryx [mailto:[EMAIL PROTECTED]] Hi all! My JSPGenerator or jasper-compiler don't supported KOI8-R charset encoding. What is me do? Use UTF-8 or Win-1251 which are (IIRC) supported. KOI8-R is supported too. I've just checked. Vadim Instructions llike ?xml

Cocoon 2rc2 - 2.0.1

2002-02-08 Thread Anders Lindh
Hi, I'm trying to migrate from Cocoon 2rc2 to 2.0.1, but after replacing all libraries I get the following error when trying to access the context: message Error in sitemap configuration : org.apache.cocoon.transformation.LDAPTransformer description

Re: JSPGenerator encoding problem

2002-02-08 Thread yuryx
Shes live!!! :) Thanx for Piroumian, Konstantin and Vadim Gritsenko Also thanx for all I try %@ page language=java import=java.text.SimpleDateFormat,java.util.* _/*pageEncoding=KOI8-R*/_% in my jsp page and this solve problem. following line in sitemap map:serialize type=html

AW: Having Servlet call Cocoon and then capturing results...

2002-02-08 Thread Joseph Jupin
Hey, All, Since I posted that response of having a serlvet talk to cocoon and capture the results, I've had several requests on how to do this. First off, let me give the reason why we chose this way: We have a state machine that is sending xml documents of activities across the net. The

Re: New release 2.0.1 woes

2002-02-08 Thread Alexander Smirnoff
Thanks, Vadim, for help it seems start to work. Just one intersting problem. It looks like I missed many new features lately. One of those: I found out that on each request context is changing to the directory where sitemap.xmap located. I do not use multiple sitemap application and I would

c2: scales badly compared to c1

2002-02-08 Thread Hans-Guenter Stein
I have a c1 application and migrated it to c2. I have both (c1 and c2) running in the same environment (tomcat 3.3) on the same machine. I did a first very basic performance test by just hiting the reload button of my browser several times very quickly and found: c1: single request processing

c2: broken pipe

2002-02-08 Thread Hans-Guenter Stein
Any help? In my c2 setup with tomcat 3.3, when several request are to be processed simultaniously, I get the following exception: ERROR (2002-02-08) 18:49.35:583 [access] (/standard.xml) Thread-39/CocoonServlet: Problem with servlet org.apache.cocoon.ProcessingException: Failed to execute

Re: c2: scales badly compared to c1

2002-02-08 Thread Alexandre Victoor
Hi, I am also migrating from C1 to C2. I have tried to migrate changing as lessc ode as possible. I have noticed that if I use a very basic generator, which doesn't use the avalon framework, the amount of memory used by cocoonk eep increasing at each request. Well that's quite normal I guess

(?) xsp-request:get-attribute documentation

2002-02-08 Thread Andre Thenot
Hi, I've been playing around with setAttribute() in a java Action class in the container, to set attributes accessible with xsp- request:get-attribute.../ in an XSP. It works perfectly for String objects. But what I'm looking for is documentation that explains how to pass more exotic stuff

Re: c2: scales badly compared to c1

2002-02-08 Thread Vishal Khatnani
In cocoon 1, all xml files were passed to coocon and rendered properly. However, in cocoon 2, do we need to specify which individual xml files we want to pass to cocoon? Can't we just match all xml files? Thanks in advance, -- - Vishal Khatnani ESIT Group, x40727 Sun

RE: c2: scales badly compared to c1

2002-02-08 Thread Luca Morandini
Vishal, yes, you could match every XML file using the pattern **/*.xml, and, if you like, pass every XML file through the same stylesheet. Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED]

Re: cocoon sitemap to match all xml files?

2002-02-08 Thread Donald Ball
On Thu, 7 Feb 2002, Vishal Khatnani wrote: I would like to add a configuration on my sitemap that will match all xml files on my server and render using the appropriate stylesheet. I want it to look at the stylesheet specified in the xml file, and use that. i'm not aware of any way to do

Re: Cocoon-2.0/Tomcat with Postgres

2002-02-08 Thread Donald Ball
On Fri, 8 Feb 2002, heli wrote: Alex Kachanov wrote: what seems to be a problem? I use jakarta 4.0.1 and cocoon 2.0.1 and want to use PostgreSQL. I have the following problem: my test page says the following: Hello This is my first Cocoon2 page filled with sql data! This method is

Re: external cgi

2002-02-08 Thread Ratty
Hi all! i am still have problemm then calling cgi from cocoon2: then i try map:generate src=URL all works fine, but how can i supply parameter to cgi ? parameter is changing dynamically so i can't specify it in sitemap and then trying xinclude i get following: type internal-server-error message

Re: cocoon 2.0.1 on win2000 weblogic 6.1 sp2

2002-02-08 Thread Jerry . Sun
In a message dated 2/8/2002 11:16:43 AM Eastern Standard Time, [EMAIL PROTECTED] (JSun0607) writes: Hi All I just download the Cocoon 2.0.1 and followed the instruction to deploy on my windows 2000, weblogic 6.1 sp2 machine. It seems does not work. I changed the xsl section in cocoon.xconf.

cocoon 2.0.1 on win2000 weblogic 6.1 sp2

2002-02-08 Thread Jerry . Sun
Hi All I just download the Cocoon 2.0.1 and followed the instruction to deploy on my windows 2000, weblogic 6.1 sp2 machine. It seems does not work. I changed the xsl section in cocoon.xconf. I also try on tomcat 4.01 and got the same result. Could someone give me a hand ? Following is the

RE: sitemap

2002-02-08 Thread Luca Morandini
Vishal, well, you must have a transformation declaration in your pipeline... but you could choose it dynamically, based on the browser type. There are example on this in the Cocoon doc (though I never tried them :( ). Best regards, P.S. Since I think this matter may be helpful to others, I

Re: sitemap

2002-02-08 Thread Vishal Khatnani
I did the matching of all xml documents in the documents directory... map:match name=wildcard pattern=*.xml map:generate type=file src=documents/{1}.xml/ map:transform src=stylesheets/{1}.xsl/ map:serialize type=html/ /map:match but when I point my browser to:

Re: sitemap

2002-02-08 Thread Vishal Khatnani
I have verified that the documents and stylesheets directory are in the ROOT directory under webapps. Still no success! Any ideas?? Thanks so much. Vishal Khatnani wrote: I did the matching of all xml documents in the documents directory... map:match name=wildcard pattern=*.xml

RE: sitemap

2002-02-08 Thread Luca Morandini
Vishal, they should be under $TOMAT_HOME/webapps/cocoon. The path is relative to the cocoon servlet directory. Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED]

Re: sitemap

2002-02-08 Thread Vishal Khatnani
makes sense now! Thank you very much! it works. Luca Morandini wrote: Vishal, they should be under $TOMAT_HOME/webapps/cocoon. The path is relative to the cocoon servlet directory. Best regards, - Luca Morandini

Re: Cocoon-2.0/Tomcat with Postgres

2002-02-08 Thread heli
Donald Ball wrote: On Fri, 8 Feb 2002, heli wrote: Alex Kachanov wrote: what seems to be a problem? I use jakarta 4.0.1 and cocoon 2.0.1 and want to use PostgreSQL. I have the following problem: my test page says the following: Hello This is my first Cocoon2 page filled with sql data!

Re: (?) xsp-request:get-attribute documentation

2002-02-08 Thread Andre Thenot
Never mind -- I found where to look: in the request.xsl logicsheet in the cocoon.jar file. And btw, it works! (I needed to use as=object for the array case). Is there any documentation project going on? I'd like to consider helping out some. Things really aren't too hard to understand

confusion with C2!

2002-02-08 Thread Vishal Khatnani
cocoon users, Im confused. I don't understand why my xml files have to be in the cocoon directory e.g. ...webapps/cocoon/proj/file.xml That means I can't render xml files which are under ...webapps/ROOT/XML/ which really poses a problem for me (file layout considerations). Also, java

Selector problem

2002-02-08 Thread Thorsten Mauch
Hi All without the seelctor everything works well, but with the parameterselector in my pipeline get the following error: java.lang.RuntimeException: Stylesheet directed termination at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3174) at

RE: confusion with C2!

2002-02-08 Thread Vadim Gritsenko
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] cocoon users, Im confused. I don't understand why my xml files have to be in the cocoon directory e.g. ...webapps/cocoon/proj/file.xml snip/ Please help! I am desperate! Dear Vishal, As Sun employee you should teach everybody how

RE: (?) xsp-request:get-attribute documentation

2002-02-08 Thread Vadim Gritsenko
From: Andre Thenot [mailto:[EMAIL PROTECTED]] Never mind -- I found where to look: in the request.xsl logicsheet in the cocoon.jar file. And btw, it works! (I needed to use as=object for the array case). Is there any documentation project going on? It's kind of going on continuously

SVG to JPEG

2002-02-08 Thread Colin Hall
Hi all, I am trying to generate a JPEG image from SVG. I can get this to work if I generate the source SVG, save it to disk and then put the source file through the svgtojpeg serializer. In other words, it appears that the svgtojpeg serialzer will work in this instance. The problem is that in

Re: cocoon 2.0.1 on win2000 weblogic 6.1 sp2

2002-02-08 Thread Bernhard Huber
hi, i have changed sitemap.xmap commenting out parentcm, as it is not by default declared in cocoon.xconf hence the cocoon2 webapp is changed to: !-- = Parent Component Manager -- !--map:match pattern=parentcm map:generate

Re: confusion with C2!

2002-02-08 Thread Vishal Khatnani
Vadim, Let me explain. I have worked with java servlets before, and used several servlet engines such as jakarta tomcat and iplanet in the past. The problem is not deploying these, but understanding specific configurations which aren't well documented IMHO. It's been very recent since I got into

RE: confusion with C2!

2002-02-08 Thread Tim Kyle
Vadim- It's a pity that we can't help people today, isn't it? My understanding is that Sun is a big company, with many different jobs. Just my 2 cents ... Tim - Please check that your question has not already been answered