RE: Cocoon War and Command line

2001-12-10 Thread Karl Øie
use jar to unpack your war file, inside you will find the cocoon.jar. mvh karl øie -Original Message-From: vendo [mailto:[EMAIL PROTECTED]]Sent: 8. desember 2001 14:52To: cocoonSubject: Cocoon War and Command line Hi, I got the latest release of cocoon, for

SOLVED?: Connection refused after installing Cocoon + X11 comment s

2001-12-10 Thread david . greaves
Hi I ma have solved this problem - certainly I had the same issue: # tomcat4 run started tomcat fine; I waited a while (minutes!) the made a req to http://tc/ Worked fine, tomcat4 demos fine Then a connection to /cocoon/ Instant death! All the tomcat4 processes died - no errors no (useful) logs

optimization time: cacheing

2001-12-10 Thread Aurelien
Hi, I've almost finished a rather big project using cocoon2. Now that cocoon2 is final and I'm using tomcat 4, performance is already great. But, since the web site will probably serve a 1000+ users, it oughta be even faster. Actually, the site is currently manually updated, and we had the

Handling Code 500 errors

2001-12-10 Thread Jonathan Downey
Hi, I'm trying to handle Page Not Found errors in Cocoon. My sitemap.xsl reads: map:pipeline internal-only="true" map:handle-errors type="404" map:generate type="serverpages" src="xsp/notfound.xsp"/ map:serialize status-code="404"/ /map:handle-errors map:handle-errors type="500"

Re: optimization time: cacheing

2001-12-10 Thread Torsten Curdt
Hi, I've almost finished a rather big project using cocoon2. Now that cocoon2 is final and I'm using tomcat 4, performance is already great. But, since the web site will probably serve a 1000+ users, it oughta be even faster. Actually, the site is currently manually updated, and we had the

Re: optimization time: cacheing

2001-12-10 Thread Aurelien
Thanks for answering, Torsten ! Take a look into the caching docs. Yes but hey ! I don't know where they are ! Didn't find them on the web site anyway. Looks like the 1.8 docs do mention cacheing, but is that up-to-date ? Candide

Re: optimization time: cacheing

2001-12-10 Thread Torsten Curdt
Thanks for answering, Torsten ! Take a look into the caching docs. Yes but hey ! I don't know where they are ! Didn't find them on the web site anyway. Looks like the 1.8 docs do mention cacheing, but is that up-to-date ? Ups... sorry, assumed you were talking about 2.0 True - it was

Re: performance

2001-12-10 Thread arjen stolk
- Original Message - From: Berin Loritsch [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 07, 2001 5:36 PM Subject: Re: performance hello berin, i have some answers to your questions and some questions 'bout your answers... Also, you didn't answer my first question:

Re: XSP page getting called TWICE! (was: Pipeline dependencies)

2001-12-10 Thread David Rosenstrauch
Anyone have any thoughts on this? What could cause an XSP page to get called twice in the same request? Tnx! DR At 12:07 PM 12/7/01 -0500, you wrote: Actually, regarding the setup below (which I mentioned in another message), I'm having a problem with it and would appreciate some help.

Re: AW: SVG Resizing

2001-12-10 Thread David Rosenstrauch
At 12:44 AM 12/10/01 +0100, you wrote: 2. Write your own action which puts the parameter to the sitemap params. FYI - I just happened to discover the other day, that there's a pre-written action that will do this for you. map:action name=request

XSLT transformations with Cocoon

2001-12-10 Thread Matthias Fischer
Hallo, I find myself in front of the task to process xml data through an xsl(t) stylesheet to a different xml. It is possible to do that using Cocoon [2] as if it where supposed to produce an html output. Before I embark in using Cocoon (instead of, for instance, SAXON) I'D like to ask

Re: performance

2001-12-10 Thread arjen stolk
- Original Message - From: arjen stolk [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 10, 2001 3:22 PM Subject: Re: performance , but performance is still the same. oke finally connected to other dbserver instead of server running on my local machine. that made a

Re: XSLT transformations with Cocoon

2001-12-10 Thread David Rosenstrauch
I'm not sure I understand your question, so I'll try to answer as best I can: * Is it possible to use cocoon to do an XSLT transformation with the output being XML? Yes.map:serialize type=xml/ * Is it possible to use cocoon to do an XSLT transformation with the output being HTML? Yes.

Re: performance

2001-12-10 Thread Berin Loritsch
arjen stolk wrote: - Original Message - From: arjen stolk [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 10, 2001 3:22 PM Subject: Re: performance , but performance is still the same. oke finally connected to other dbserver instead of server running on my

Passing POST parameters to a request.

2001-12-10 Thread lucas
I must send a parameter to an external cgi. This cgi only implements doGet() method, and couldn't be changed. ¿How can i pass parameters to this external server using POST method?. I have a pipeline like that: map:match pattern=exec/external map:act type=request

RE: Cocoon Position Available - Brisbane, Australia

2001-12-10 Thread Andrew C. Oliver
Wow I wish I could applybut I think the commute would be unbearable. (from NC, US) ;-) -- www.sourceforge.net/projects/poi - port of Excel format to java http://developer.java.sun.com/developer/bugParade/bugs/4487555.html - fix java generics! The avalanche has

RE: XSLT transformations with Cocoon

2001-12-10 Thread Matthias Fischer
That was real quick, David. Thanks. I'll clarify: 1. In Tomcat [4] we have set the destination type to map:serialize type=xml/, as you have suggested. The following problems have arisen: - Internet Explorer gets into Cocoon's way and wants to open the xml file when I click onto it to start the

RE: XSLT transformations with Cocoon (added clearer formulation)

2001-12-10 Thread Matthias Fischer
That was real quick, David. Thanks. I'll clarify: 1. In Tomcat [4] we have set the destination type to map:serialize type=xml/, as you have suggested. The following problems have arisen: - Internet Explorer gets into Cocoon's way and wants to open the xml file when I click onto it to start the

AW: XSLT transformations with Cocoon (added clearer formulation)

2001-12-10 Thread Jörn Heid
The browser shows the xml file becuase of its content type text/xml. If you change that (you can do so in the sitemap) to application/x-whatever your browser should ask you to save or view it. But that's not Cocoon specific. If you want to show the source code I think you have to write a xslt

Re: AW: XSLT transformations with Cocoon (added clearer formulation)

2001-12-10 Thread David Rosenstrauch
What Joern said is correct. I'll elaborate some more, though. Since you've set map:serialize type=xml/, you're sending XML to the browser (mime type: text/xml). Most browsers don't know how to natively display XML, so it looks wacky. IE, however, does know how to do it, so it does - as

RE: XSLT transformations with Cocoon

2001-12-10 Thread Matthias Fischer
Jörn, what do mean by sitemap? (Please tell me the German term, maybe I'll understand it better...) Matthias -Original Message- From: Jörn Heid [mailto:[EMAIL PROTECTED]] Sent: Monday, December 10, 2001 5:08 PM To: [EMAIL PROTECTED] Subject: AW: XSLT transformations with Cocoon (added

RE: AW: XSLT transformations with Cocoon

2001-12-10 Thread Matthias Fischer
Are you sure IE doesn't put its hands on text files? We'll try it out tomorrow, I'll tell you the outcome. For today (CET), thanx a lot for your quick and detailled answers. Matthias -Original Message- From: David Rosenstrauch [mailto:[EMAIL PROTECTED]] Sent: Monday, December 10, 2001

RE: AW: XSLT transformations with Cocoon

2001-12-10 Thread David Rosenstrauch
At 05:51 PM 12/10/01 +0100, you wrote: Are you sure IE doesn't put its hands on text files? We'll try it out tomorrow, I'll tell you the outcome. Actually, no I'm not sure. It was just an off-the-top-of-my-head suggestion. The download suggestion, however does work. I'm using it in my own

Java code being dumped to browser. (newbie question)

2001-12-10 Thread Matthew Crocker
Hello all, I'm setting up cocoon2 with tomcat, both are latest versions from the website. The examples from tomcat and cocoon2 work fine. I'm also trying to setup ELDAP and I'm having some trouble. I created a pipeline in sitemap.xmap and when I bring up the URL in the browser I

RE: Java code being dumped to browser. (newbie question)

2001-12-10 Thread Jeremy Crosbie
My guess is you need to specify you are using the LDAP transformer like so map:transform type=ldap src=crocker/eldap.xsl / . This requires that you have defined this transformer in the first place, which is not done in the default sitemap in the distribution. Add: map:transformer name=ldap

Re: Java code being dumped to browser. (newbie question)

2001-12-10 Thread Matthew Crocker
Jeremy Crosbie wrote: My guess is you need to specify you are using the LDAP transformer like so map:transform type=ldap src=crocker/eldap.xsl / . This requires that you have defined this transformer in the first place, which is not done in the default sitemap in the distribution. Add:

RE: Reading a JSP file

2001-12-10 Thread Matt Ho
Rockin! I'll give this a try. -- Matt Ho Principal Indigo Egg, Inc. Providing VoiceXML Professional Services -Original Message- From: Piroumian, Konstantin [mailto:[EMAIL PROTECTED]] Sent: Monday, December 10, 2001 12:51 AM To: [EMAIL PROTECTED] Subject: Re: Reading a JSP file

Re: Stylesheet directed termination??

2001-12-10 Thread Mauricio Souza Lima
Hello Michael, try this xsp: ?xml version=1.0 encoding=ISO-8859-1? xsp:page language=java xmlns:xsp=http://apache.org/xsp; page testxsp:exprTESTING.toLowerCase()/xsp:expr/test /page /xsp:page Send a reply if it works... The stylesheet processed there, is the

Re: Can I access to the requets parameters from tag-lib?

2001-12-10 Thread Mauricio Souza Lima
Hi Sergio, I had the same problem, XSP forces us to take a different look at common tasks of a server page. Using taglibs is'nt so trivial and powerful as i had thinked. In this case, why don't you try to solve the problem by taking the arguments of the request direct in your taglib? If

Cocoon Installation

2001-12-10 Thread Darren P Martin
Hi, I hope there's a little bit of help out here - I am just starting this really but I seem to be getting just a little stuck. System: Windows 2000, build 2195, Service Pack 1; 392 meg of RAM. Previously had installed JDK 1.2.2 to C:\jdk1.2.2. Downloaded Tomcat 3.2.1 and installed to

Re: XSLT transformations with Cocoon

2001-12-10 Thread Mauricio Souza Lima
sitemap is the configuration file located in: $TOMCAT_HOME/webapps/cocoon/sitemap.xmap It defines the pipelines and the components of it. Have you try to rigth-click the xml that IE shows and click in view-source to see the xml file the cocoon returns? Regards... -- Mauricio Souza Lima

Using document() in a stylesheet

2001-12-10 Thread Lock, Fred
Hi, I want to do this in a stylesheet: xsl:variable doc=some-doc select=document('http://some-server/some-doc.xml')/ The first time the stylesheet is run, the URL in the document() function is accessed. After that, it appears to be cached, and any changes to some-doc.xml are not reflected in

[URGENT-HELP NEEDED] Stupidity stifles deployment attempt

2001-12-10 Thread Phil Blake
Hi all, Another attempt to deploy has failed and I have to chalk it up to stupidity - although I've seen (perhaps 20) different methods and configurations to get cocoon+tomcat+apache working together, I have proved too stupid to make ANY of them work. I REALLY need someone who has

Re: How best to incorporate xml from a string into XSP

2001-12-10 Thread David Rosenstrauch
Someone else had this same problem recently. Use util:include-expr. It will parse the text that you pass in to it, and generate SAX calls from it (as opposed to writing the text straight to the output - after escaping all the control chars - like it's doing now). 1) Include the namespace

JspGenerator and Encoding

2001-12-10 Thread Peter Schwenke
If I save the following in a file as iso-8859-1 ?xml version=1.0 encoding=iso-8859-1? page test T-t testing 1-2-3! Günther check 1-2 /test /page and run it through xerces using a sample test program where the guts contains SAXParserFactory factory = SAXParserFactory.newInstance();

Cocoon 2.0 Tested and Ready

2001-12-10 Thread Brian Beaulieu
Hi, Can the hosting web page be updated to reflect that Capital Internet has tested Cocoon 2.0 and it is available to customers. Pre-2.0 support will still be available. Thanks, Brian -- Capital Internet, LLC High Availability Web Hosting and Internet Access http://www.capital-internet.net

JspGenerator and Encoding

2001-12-10 Thread Peter Schwenke
I omitted a detail...I'm on Cocoon 2.0rc2. Thanks ...Peter - Please check that your question has

no such method error!

2001-12-10 Thread Phillip Gibb
Hi, I have just installed Cocoon and I get this message when I try to view a xml page with a stylesheet The sitemap handler's sitemap is not available. Please check logs for the exact error the error in cocoon.log is : java.lang.NoSuchMethodError xml : ?xml version=1.0 ? ?xml-stylesheet

urgent encoding problem...

2001-12-10 Thread Arun.N
 Hi all, I have some problems with the xsp pages and encoding. When i try to display Shift_JIS encoded characters it is not displaying properly. when i hard code the japnese characters it is working properly. for example in this xsp page ?xml version="1.0" encoding="Shift_JIS"?