Passing a parameter to a XSL Stylesheet

2001-08-23 Thread Christofer Dutz
Hi, Can somebody tell me how to create a XSP-page which can pass a parameter to the XSL-file when beeing processed ? Regards, Christofer Dutz

Re: What's wrong? i have done but...:(

2001-08-23 Thread Ekrem Aksoy
I've done as you said, but... (be sure ,the path exists...) P.S:i've tried WEB-INF/..., ./WEB-INF/...,..etc.; i'm trying to use cocoon 1.8.2 on both IIS5+JRun and apache,tomcat3.2.3 Unable to open resource:

Re: What's wrong?: Get it worked...

2001-08-23 Thread Ekrem Aksoy
Now i have got it worked..thanx...

mod_rewrite

2001-08-23 Thread Liam Morley
Can anybody who has successfully used mod_rewrite for Cocoon2 please contact me, or send me your full configuration (apache, tomcat if used, cocoon)? if you're using mod_jk, that'd be yet another plus. Or if not full configuration, as much as you can spare... Here's what's happening to me: I'm

hsql db

2001-08-23 Thread raghu
hi all ! i am using c2. it uses a default db hsql. i have also jetspeed running as another of my webapps; which in turn also uses hsql db. this results in having two db , one for jetspeed and another for c2. can anyone please suggest some method by which i'll be able to use only one db to

Re: mod_rewrite

2001-08-23 Thread Andre Juffer
Liam Morley wrote: Can anybody who has successfully used mod_rewrite for Cocoon2 please contact me, or send me your full configuration (apache, tomcat if used, cocoon)? if you're using mod_jk, that'd be yet another plus. Or if not full configuration, as much as you can spare... Here's

/login;jsessionid=....

2001-08-23 Thread logica
How come the jsessionid tag appears sometimes, and other times not. I have cookies turned on. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To

RE: performance tuning...

2001-08-23 Thread java guru
Hi., I am not sure about everything else but the first hit stuff.. It is possible to greatly reduce the first hit time by having the c2 pre-compiled...This reduced the first-hit time greately for me...(specially i have lots of xsps).. --- Karl_Øie [EMAIL PROTECTED] wrote: I am sorry, I

RE: performance tuning...

2001-08-23 Thread Karl Øie
how do i set up c2 to precompile? mvh karl Hi., I am not sure about everything else but the first hit stuff.. It is possible to greatly reduce the first hit time by having the c2 pre-compiled...This reduced the first-hit time greately for me...(specially i have lots of xsps).. ---

RE: separation of content and logic

2001-08-23 Thread Vadim Gritsenko
If you write for Oracle you could use connect by clause of select statement. http://technet.oracle.com/docs/products/oracle8i/doc_library/817_doc/server.817/a85397/state21b.htm#2065648 Vadim -Original Message- From: Max Larsson [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 23,

Re: performance tuning...

2001-08-23 Thread Jörg Heinicke
Karl Øie wrote: wget timing: first run of toc.html - 41.879s second run of toc.html - 0.013s (!!!) first run of page.html?xpath=//*[@id='1222'] - 58.031s second run of page.html?xpath=//*[@id='1222'] - 0.017s (!!!) Hi Karl, maybe I have another proposal for you: If you

RE: Passing a parameter to a XSL Stylesheet

2001-08-23 Thread Vadim Gritsenko
1) Put your parameters inside XML generated by XSP, or 2) In XSP, put parameters as attributesof request object, use action in sitemap to obtain these parameters into sitemap parameters, ans pass these parameters to XSL: map:genenrate type="serverpage" src="..."/ map:act

Re: mod_rewrite

2001-08-23 Thread Berin Loritsch
Liam Morley wrote: Can anybody who has successfully used mod_rewrite for Cocoon2 please contact me, or send me your full configuration (apache, tomcat if used, cocoon)? if you're using mod_jk, that'd be yet another plus. Or if not full configuration, as much as you can spare... Here's

RE: [C2] issues/observations

2001-08-23 Thread Vadim Gritsenko
-Original Message- From: Piroumian, Konstantin [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 23, 2001 7:38 AM To: [EMAIL PROTECTED] Subject: Re: [C2] issues/observations Hi! Hello, I'm currently evaluating Cocoon 2 for the next version of our site (we deployed with

AW: separation of content and logic

2001-08-23 Thread Jörn Heid
It really looks nice but I wouldn't use a jsp for rendering. I think using XSLT is the 'standard' for rendering in different output formats. JSP is only a Sun/Java standard not a W3C standard. You can use XSLT without Java - JSP not. But that's believing. Is XSP-XSLT-HTML that much slower?

RE: separation of content and logic

2001-08-23 Thread Karl Øie
I agree to your point that jsp/java is not a standard like XSLT, but my point here is that the jsp page comes at the end of the pipeline so it must be regarded as a serializer of the strange kind. but since my pipeline (xml-xsl-jsp) is pure up to the end point it is easy to re-use the

newcomer: desperately impossible getting Cocoon Started

2001-08-23 Thread Enric Staromiejski
We've been reading lots of threads from faqs and mail-lists and do not understand how it is possible anyone is actually working with tomcat Cocoon 2. We're sorry to admit, but are getting a bit desperate ... Our problem is that we constantly get the message:

AW: newcomer: desperately impossible getting Cocoon Started

2001-08-23 Thread Jörn Heid
I do ot use Tomcat but perhaps I can help you. Remove (oder better just move;) all XML libs of Tomcat (perhpas jaxp.jar, xerces.jar, dom.jar, sax.jar). Replace them with the xerces lib of C2. Restart. Hope that helps. -Ursprüngliche Nachricht- Von: Enric Staromiejski [mailto:[EMAIL

Re: separation of content and logic

2001-08-23 Thread Berin Loritsch
java guru wrote: Hi., I appreciate if anyone is generous enough to share xsl code for building collapsing menu structure for my sample project... Alot of the collapsable menues are done in javascript on the client side. Your solution will have to be a combination of XSLT and

Re: separation of content and logic

2001-08-23 Thread Arnaud Vandyck
From: Karl Øie [EMAIL PROTECTED] Subject: RE: separation of content and logic Date: Thu, 23 Aug 2001 15:07:17 +0200 Message-ID: [EMAIL PROTECTED] btw: I'll try the id(xxx) tip you gave me, perhaps it can speed up things a lot! :-) Can you give us a feed back? ;) Thanks, --Arnaud

Re: newcomer: desperately impossible getting Cocoon Started

2001-08-23 Thread java guru
I understand ur frustation as any one struggled with c2 first time would understand...but once u get it, its amazing.. If u problem is not solved yet..please send zipped log(latest) to me.. As curtesy, please dont post large files to user list.. Thanks --- Enric Staromiejski [EMAIL

RE: newcomer: desperately impossible getting Cocoon Started

2001-08-23 Thread Enric Staromiejski
We've already tried this and does not solve our problem :( thanks anyway -Mensaje original- De: Jörn Heid [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 23 de agosto de 2001 15:30 Para: [EMAIL PROTECTED] Asunto: AW: newcomer: desperately impossible getting Cocoon Started I do ot use

RE: separation of content and logic

2001-08-23 Thread Karl Øie
oufcourse, i'll give you wget timings tomorrow! mvh karl btw: I'll try the id(xxx) tip you gave me, perhaps it can speed up things a lot! :-) Can you give us a feed back? ;) Thanks, --Arnaud - Please check that your

RE: newcomer: desperately impossible getting Cocoon Started

2001-08-23 Thread Vadim Gritsenko
1. Put Tomcat 3.2.3 (that's latest release) 2. Do build clean 3. Do not copy cocoon, but do build install (see 3a) Automatic install. in install file) 4. Remove jaxp.jar, parser.jar from tomacat/lib 5. put xerces_1_4_1.jar into tomcat/lib 6. launch tomcat. If you still have problem, send

[C2.1] You can only select one Generator (file)

2001-08-23 Thread Philipp Schmidt
Hi all, why does something like this map:match pattern=navigation.xml map:act type=session-validator map:parameter name=descriptor value=context://auth//descriptors//params.xml/ map:parameter name=validate value=username/ map:generate src=myNavigation.xml/

Re: newcomer: desperately impossible getting Cocoon Started

2001-08-23 Thread Arnaud Vandyck
--- Enric Staromiejski [EMAIL PROTECTED] wrote: snip/ 2. We install Tomcat-3.2.1. (and it starts ok) It is possible to run T3.2.1 with C2b2 but 1) Tomcat 3.2.2 is out now. 2) Tomcat 3.3.x is better because it manages the jar files in a different way. The librairies of Tomcat

[c2] Q: connect to postgresql

2001-08-23 Thread Christoph Kliemt
Hi! Problem : I'm not able to make connections to a postgresql-db (unmodified samples) (cocoon from cvs, branch cocoon_20_branch a few days ago). Exception is : (Yes, i read the faq and browsed the mail-archive...) Could not get the datasource java.sql.SQLException: You cannot get a

Re: [C2.1] You can only select one Generator (file)

2001-08-23 Thread Berin Loritsch
java guru wrote: Hi., I have just used the following successfully.. map:match pattern=welcome2 map:act type=session-isvalid map:generate src=docs/samples/samples.xml/ map:serialize/

Frustrated by Tomcat4 Cocoon2

2001-08-23 Thread Lamb, Mark
Hi All, I am getting really frustrated trying to get Cocoon2 to run under Tomcat4. I have a Linux Mandrake 8.0 machine with Java 1.3.1 installed. Tomcat 4.0-b7 has been downloaded, installed and I have confirmed that it works correctly. Jakarta Ant 1.4.1 Beta 1 has been installed and is

Re: [C2.1] You can only select one Generator (file)

2001-08-23 Thread Philipp Schmidt
java guru wrote: Hi., I have just used the following successfully.. map:match pattern=welcome2 map:act type=session-isvalid map:generate src=docs/samples/samples.xml/ map:serialize/

Re: Frustrated by Tomcat4 Cocoon2

2001-08-23 Thread java guru
Hi., There were earlier reports of segmentation fault on linux platform 'coz of sun jdk. Sun also have faq on that issue and workaround.. Your problem may/maynot be related with that...try it out.. Good luck --- Lamb, Mark [EMAIL PROTECTED] wrote: Hi All, I am getting really

Re: [C2.1] You can only select one Generator (file)

2001-08-23 Thread java guru
Hi., Sorry if i gave the impression that i AM using two generators.. The orginal author of this problem seems to have problem with coding two generators inside a map:match.. You are right in the sense that logically only one generator is used.. --- Berin Loritsch [EMAIL PROTECTED] wrote:

Re: [c2] Q: connect to postgresql

2001-08-23 Thread Enke Michael
Did you start the postmaster before starting tomcat? (or other engine) Useful for debugging is WEB-INF/logs/cocoon.log Michael Christoph Kliemt wrote: Hi! Problem : I'm not able to make connections to a postgresql-db (unmodified samples) (cocoon from cvs, branch cocoon_20_branch a

Re: [C2.1] You can only select one Generator (file)

2001-08-23 Thread java guru
I am using c2 cvs from around the same time as urs.. From the error portion u posted, i cannot really tell anything as it wouldnt guarantee the problem to be with this portion of sitemap.. If u can send the sitemap log zipped up to my mail... --- Philipp Schmidt [EMAIL PROTECTED] wrote:

Re: Frustrated by Tomcat4 Cocoon2

2001-08-23 Thread Marcus Crafter
Hi Mark, The problem you are experiencing is a known problem with jdk1.3.1. It does not occur with jdk1.3.0. Nevertheless, there is a fix. Which is to add the string '-classic' to your $CATALINA_OPTS environment variable. This should fix the issue. Hope

RE: Frustrated by Tomcat4 Cocoon2

2001-08-23 Thread Lamb, Mark
Thanks a lot everyone, That worked a treat - it was really starting to bug me :) Cheers again, Mark. - Please check that your question has not already been answered in the FAQ before posting.

Re: [c2] Q: connect to postgresql

2001-08-23 Thread Christoph Kliemt
Hi! -E == Enke Michael [EMAIL PROTECTED] writes: E Did you start the postmaster before starting tomcat? Yes. netstat --inet --listen Aktive Internetverbindungen (Nur Server) Proto Recv-Q Send-Q Local Address Foreign Address State tcp0 0 *:

Problems with Cocoon 2 with Tomcat 3.2.3-1 on Debian

2001-08-23 Thread Jan Warnstam
I are having trouble installing Cocoon 2 (via the CVS as described on http://xml.apache.org/cocoon2/install.html). I am using it together with a Tomcat 3.2.3-1 Debian package and some problems have occured. First, I suspect that, since I am running both Cocoon and Tomcat on a remote server

Re: Problems with Cocoon 2 with Tomcat 3.2.3-1 on Debian

2001-08-23 Thread java guru
Hi., 1. X problem is that some of the c2 components requiring x server... 2. Second problem is that c2 not setup to talk to hsqldb that ships with c2 by default.. Both of these are discusses numerous times..please look into the mail archive.. --- Jan Warnstam [EMAIL PROTECTED] wrote: I are

RE: C2 SQL-server 7 : webbrowser keeps on loading

2001-08-23 Thread florent barbare
Hi all, I'm update to cocoon 2.0b2 and Tomcat 4b7. Everything works fine except the same error when I query SQL server with cocoonso bad any idea greatly appreciated Thanks Florent for the off-topic a little : i'm using freetds_jdbc.snapshot.jar (last version) -Original

instal cocoon2 with tomcat-3.2.3

2001-08-23 Thread zze-DELARUE Franck stagiaire FTRD/DMI/LAN
hi everyone, I'm trying to install cocoon2 with tomcat-3.2.3 on linux redhat .A month ago, I've installed cocoon2 on tomcat-3.2.2 without any problem but with the new version of tomcat (3.2.3), cocoon doesn't work. When I try to connect to cocoon2 with the url : http://localhost:8080/cocoon/ as

[C2] with Tomcat 3.2.3 under win2k

2001-08-23 Thread Olivier Pineau
Here my log Thanks, Olivier ERROR 99855 [cocoon ] (Thread-32): Error compiling sitemapjava.lang.NoSuchMethodErrorat org.apache.cocoon.components.browser.BrowserImpl.createDocumentForBrowserInfo(BrowserImpl.java:378)at

[C2] esql from c2 to c2...

2001-08-23 Thread Arnaud Vandyck
Hello, I have a strange problem with esql. I got a page running well with an old(one ortwomonth?)cvsversion ofcocoon2 http://vbstefi60.fapse.ulg.ac.be/www/index.html but with c2b2, it generates an error when compiling the page... of course, the source is not

Re: Problems with Cocoon 2 with Tomcat 3.2.3-1 on Debian

2001-08-23 Thread Arnaud Vandyck
From: Jan Warnstam [EMAIL PROTECTED] Subject: Problems with Cocoon 2 with Tomcat 3.2.3-1 on Debian Date: Thu, 23 Aug 2001 17:42:53 +0200 Message-ID: [EMAIL PROTECTED] First, I suspect that, since I am running both Cocoon and Tomcat on a remote server (which I access via SSH) the Tomcat

Re: instal cocoon2 with tomcat-3.2.3

2001-08-23 Thread Ekrem Aksoy
May be you should check whether /cocoon app. found on startup of tom3 ,if not, the problem is on tomcat, i don't know why ,but i met with same problem before.. - Original Message - From: zze-DELARUE Franck stagiaire FTRD/DMI/LAN [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday,

Session Parameters in Stylesheets

2001-08-23 Thread logica
How do I access a session parameter from a stylesheet? I know how to get a request parameter: 1. set use-request-parameterstrue/use-request-parameters 2. and use something like this in the stylesheet: xsl:param name=messageid0/xsl:param ... xsl:template

Re: Problems with Cocoon 2 with Tomcat 3.2.3-1 on Debian

2001-08-23 Thread Jan Warnstam
Karl Oie wrote: goto http://www.xfree86.org and get the xvfb package, i had the same problem, so i included this in the tomcat.sh after i installed Xvfb: if [ $1 = stop ] ; then # kill off any framebuffer running, kill kill kill :-) kill -TERM `/sbin/pidof Xvfb` elif [ $1=start -o

Validating XML from DB

2001-08-23 Thread Brent L Johnson
Is there a way to test possible XML data from a database prior to doing an esql:get-xml column=DESC/ ? The problem is, if someone else (non-technical) enters the data in the database and they forget to close off a tag or something, is there a way I can intercept that - or tell that it's not

RE: Session Parameters in Stylesheets

2001-08-23 Thread Vadim Gritsenko
Use action to get session attributes and return them to sitemap. Right now there is no such action, but it is easy to write it. Vadim -Original Message- From: logica [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 23, 2001 1:09 PM To: [EMAIL PROTECTED] Subject: Session Parameters

C2: About taglibs

2001-08-23 Thread Andre Juffer
Dear All, I have a practical question. I have this taglib that I have written earlier for C1. With C1, one could tell cocoon where to find the corresponding xsl file through an entry in cocoon.properties. What is the best way of doing this with C2. The cocoon.xconf file contains entries like

RE: C2 SQL-server 7 : webbrowser keeps on loading

2001-08-23 Thread Bernard D'Have
try this: http://www.thinweb.com/tw_products_twfreetds.html Bernard -Original Message- From: florent barbare [mailto:[EMAIL PROTECTED]] Sent: 23 August, 2001 18:04 To: [EMAIL PROTECTED] Subject: RE: C2 SQL-server 7 : webbrowser keeps on loading Hi all, I'm update to cocoon

Re: Validating XML from DB

2001-08-23 Thread Marcelo F. Ochoa
Brent L Johnson wrote: Is there a way to test possible XML data from a database prior to doing an esql:get-xml column=DESC/ ? The problem is, if someone else (non-technical) enters the data in the database and they forget to close off a tag or something, is there a way I can intercept that - or

XSPJavaPreprocessor error

2001-08-23 Thread Vic Cekvenich
I have the bellow error runing some samples: java.lang.NoSuchMethodError at org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XS PJavaPreprocessor.java:116) at org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XS PJavaPreprocessor.java:123) I

XML Schema validation of sitemap

2001-08-23 Thread Michael McKibben
Hello, I was wondering if anyone had any thoughts/comments/insights into the evolution of the schema for the sitemap.xmap file in Cocoon2. Currently, it doesn't seem possible to validate the sitemap.xmap file against an XML schema or DTD. This is because each component may have it's own markup

Purpose of LinkSerializer?

2001-08-23 Thread Michael McKibben
Title: Purpose of LinkSerializer? I've been playing around with Cocoon2 and came across the LinkSerializer. The documentation simply states that is shows the targets of the links in a document. How is this used? What can it be used for? I was looking for some examples using this serializer

RE: ldap

2001-08-23 Thread Bentley, Tim
Beat - Here's the current version. In addition to querying, you can do adds, removes and deletes. The Add syntax is as follows: eldap:execute type=add eldap:server-urlldap://yourmachine:porthere/eldap:server-url eldap:search-basecn=James

./build.sh: /home/dcuser/cocoon/bin/ant: no such file or directory

2001-08-23 Thread raghu
Hello, I am trying to install the Cocoon2b2 version. But when i try to build the cocoon.war i get the error, that it is not able to find ant. I have set the ANT_HOME , but still i get the same error. Thanx, Raghu light the deep, and bring silence to the world. light the world, and bring depth

Re: ./build.sh: /home/dcuser/cocoon/bin/ant: no such file or directory

2001-08-23 Thread raghu
I got it. The solution is, copy the ant and antRun from jakarta-ant-1.3 into cocoon/bin and then run build.sh, may be the ant and antRun given by cocoon2b2 is for dos. Thanx, Raghu light the deep, and bring silence to the world. light the world, and bring depth to the silence. -