Adding root context to cocoon samples

2001-06-06 Thread Sundar Narayanasamy
Hello, Probably, its been answered so many times but I couldn't find it in the archives. So, following is my question. I am able to successfully put cocoon2 samples in my Apache+Tomcat configuration and able to access under www.mydomain.com/cocoon by adding /cocoon context in mod_jk-auto.conf

[C2] Problems with Sample Forms

2001-06-06 Thread Peter Hargreaves
I'm using Windows NT4.0, Jdk1.3.1, Tomcat3.2.1, and C2.0b2. Most of the Examples seem to work fine including the various database examples under Sample Forms. However, if I stop tomcat and restart, the database examples no longer work! To update my installation I deleted my

RE: (urgent)ESQL question

2001-06-06 Thread Ramesh Vejendla
Hi ALL How to pass values from one XSP page to another XSP page plz help me out. Thanks Ramesh.V ***Confidential Notice This e-mail communication may contain information that is confidential and privileged. The information is intended to be for

Apache Cocoon2 Beta 1 Release

2001-06-06 Thread giacomo
The Apache Cocoon team are proud to announce the first beta release of the Apache Cocoon2 XML sub project: Apache Cocoon is a 100% pure Java publishing framework that relies on W3C technologies to provide web content. The Apache Cocoon project aims to change the way web information is created,

R: Apache Cocoon2 Beta 1 Release

2001-06-06 Thread Marco Spinetti
Great You are great!! I'm proud to be a Cocoon User list member. Where can I download the beta release ? From the CVS ? Does exists a binary version? Marco - Original Message - From: giacomo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 06, 2001 1:50 PM Subject:

Re: R: Apache Cocoon2 Beta 1 Release

2001-06-06 Thread giacomo
On Wed, 6 Jun 2001, Marco Spinetti wrote: Great You are great!! I'm proud to be a Cocoon User list member. Where can I download the beta release ? From the CVS ? Does exists a binary version? Oops, forgot to mention it in the announcement. It's at the usual location:

Re: R: Apache Cocoon2 Beta 1 Release

2001-06-06 Thread Ulrich Mayring
giacomo wrote: On Wed, 6 Jun 2001, Marco Spinetti wrote: Great You are great!! I'm proud to be a Cocoon User list member. Where can I download the beta release ? From the CVS ? Does exists a binary version? Oops, forgot to mention it in the announcement. It's at the usual

Re: R: Apache Cocoon2 Beta 1 Release

2001-06-06 Thread Berin Loritsch
Ulrich Mayring wrote: giacomo wrote: On Wed, 6 Jun 2001, Marco Spinetti wrote: Great You are great!! I'm proud to be a Cocoon User list member. Where can I download the beta release ? From the CVS ? Does exists a binary version? Oops, forgot to mention it in the

Re: AW: R: Apache Cocoon2 Beta 1 Release

2001-06-06 Thread Ulrich Mayring
Carsten Ziegeler wrote: Yes and yes. No and yes: The beta is feature-complete including caching and content aggregation. Without having seen it: great work, guys. The only thing missing is even more documentation. Wot no docs? :) Seriously, I think it's really cool that you guys plan to

Re: Saxon extra stuff problem, and comment from Michael Kay

2001-06-06 Thread Sylvain Wallez
Sylvain Wallez a écrit : Steven Punte a écrit : I send this question to Michael Kay, author of Saxon, and received the reply below. He seems to indicated that this is configurable, but I'm not sure of how to adjust cocoon to eliminate this extra information. Can anyone suggest

No build.xml in Beta1?

2001-06-06 Thread John Schult
The build.xml file seems to be missing in the beta1 dist. Is this right? Kind regards, ++john - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html

Re: Checking request parameters ....... planing architecture.

2001-06-06 Thread paint007
If I understand your question, you want to check request parameters and then only do a query if all the request parameters are correct. I've done this by writing tags like this: xsl:template match=mylib:if-valid-query xsp:logic if (...) { xsl:apply-templates/ } /xsp:logic

RE: (urgent)ESQL question

2001-06-06 Thread paint007
I'm not sure what you mean here. One XSP page doesn't generally call other XSP pages. If you mean, how do I set values in one XSP page, then use those values when the user goes to another XSP page, there are several possibilities, including storing values in the session, storing values in

Re: Javascript XML/XSL

2001-06-06 Thread paint007
Your script tag looks fine. If it runs fine in html, then take a look at your html output by Cocoon. Both IE and Netscape allow you to view source for a page. You can easily see if there is some difference that is causing a problem. -Christopher Please respond to [EMAIL PROTECTED] To:

Re: its urgent

2001-06-06 Thread paint007
Plenty of samples have been posted; search the list archives. Other information exists in the Cocoon documentation, code samples, and FAQ. I doubt anyone is going to write a general purpose manual on these topics in a hurry to meet your urgent need. :) So you might have better luck if you

AW: No build.xml in Beta1?

2001-06-06 Thread Carsten Ziegeler
-Ursprüngliche Nachricht- Von: John Schult [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 6. Juni 2001 16:02 An: Cocoon Users Betreff: No build.xml in Beta1? The build.xml file seems to be missing in the beta1 dist. Is this right? No unfortunately not. I will fix this in the

WMLScript

2001-06-06 Thread Antonio Parolini
Hi, I know this is off topic, but anyone know any good WML mailing list out there ? thanks... - Tony -Original Message- From: Truhann van der Poel [mailto:[EMAIL PROTECTED]] Sent: quarta-feira, 6 de junho de 2001 11:25 To: [EMAIL PROTECTED] Subject: Cocoon and Sessions I am new

Re: Adding root context to cocoon samples

2001-06-06 Thread paint007
Sundar, there are probably multiple ways to approach this. I think you can change the docBase in the Context for your app in Tomcat's server.xml configuration file to point to your document root. Alternately, you can point Apache's DocumentRoot to your context. For instance, if your Cocoon

Re: Cocoon and Sessions

2001-06-06 Thread paint007
Truhann, you are probably doing everything right, but there is one small thing that the documentation doesn't cover very well. You need to set the create-session attribute to true in your xsp:page element, like this: xsp:page xmlns:xsp=http://www.apache.org/1999/XSP/Core;

Re: Cocoon and Sessions

2001-06-06 Thread declan kelly
I bet your error is caused by not including the create session directive in the namespaces declaration. Anyway here's a very simple little login thingy, it takes stuff from a form and logs you in or redirects you back. ?xml version=1.0? ?cocoon-process type=xsp? ?cocoon-process type=xslt?

Cocoon-2.0b1 -- build fails

2001-06-06 Thread Rajkumar, Joseph
Hi folks Just now I downloaded the Cocoon-2.0b1.tar.gz (9930213 bytes) and tried to build it after setting my JAVA_HOME on a linux box. The build fails with the following message Regards Joseph Rajkumar == [rajkumar@gman CocoonTwo]$

xsp:element and xinclude

2001-06-06 Thread [EMAIL PROTECTED]
I would like to include the content of a file into my xsp page. So I think I need to use this : (to generate the xinclude dynamicaly) xsp:element name=whatever xsp:attribute name=xinclude:hrefxsp:exprfile/xsp:expr/xsp:attrib ute xsp:attribute name=xinclude:parsexml/xsp:attribute

Mixing XSL and XSP in a single stylesheet

2001-06-06 Thread Adrian Geissel
Hi, I'm trying to write a data abstraction layer to retrieve records from an SQL database (using ESQL) and then to format these into an XML fragment (using XSLT) for onward transformation. It appears that the xsl: namespace elements are not being executed - can I do this in a single step,

[C2] Reloading changed sitemap

2001-06-06 Thread Csaba Nagy
Hi cocooners, I'm running cocoon 2 in weblogic 6.0 on Windows 2000, and there's a big problem in that the sitemap is not reloaded if I change it. In my understanding it should be reloaded as soon as it changes. Am I missing something ? Is the sitemap reloading working on other platforms ?

how to eliminate ......

2001-06-06 Thread Oskar Werewka
stuff like this: xspCurrentNode.appendChild( document.createTextNode(\n\t\t\t\t\t) ); from XSP source code? Is there a switch, or something to do it? Regards, Oskar Werewka -- Kamera wideo Sony, 5000 zl wygraj w konkursie eMarketu i Onet.pl [

RE: Cocoon-2.0b1 -- build fails

2001-06-06 Thread Gary Clark
I had the same problem. I copied the files from an earlier CVS (Monday) version I had. Also, during the build I got: prepare-src-22: Could not find file /usr/xml-cocoon2/src/org/apache/cocoon/environment/http/RequestWrapper22.jav a to copy. It compiles cleanly after copying that file from the

RE: [C2]: Missing files in distribution - solved

2001-06-06 Thread Gary Clark
It compiles much better now, thanks. Gary A. Clark Systems Programmer Software Services Group JELD-WEN Information Systems -Original Message- From: Carsten Ziegeler [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, June 06, 2001 9:28 AM To: [EMAIL PROTECTED]; Cocoon-Users@Xml. Apache. Org

RE: Turbine without ESQL

2001-06-06 Thread Gary Clark
First, setup cocoon.properties (I'm creating a new pool called 'mypool' which connects to a postgresql database called mydb). processor.xsp.pool.database.mypool.driver=org.postgresql.Driver processor.xsp.pool.database.mypool.url=jdbc:postgresql://localhost/mydb

RE: Cocoon 1.8.2 + SAXON: Failed to Compile Stylesheet ERROR

2001-06-06 Thread William Bagby
No Xalan-specific features. Besides, Saxon works properly when used from the command line on the same files. There is nothing in the Weblogic logs or console. Is there something I need to add to build.xml? William Bagby. -Original Message- From: Sylvain Wallez [mailto:[EMAIL

Re: [C2]: Missing files in distribution - solved

2001-06-06 Thread Rajkumar, Joseph
Hi Folks Yes it does. I got Cocoon-2.0b1.tar.gz (9926084 bytes) and it compiles just fine. I would appreciate some instructions on getting it to work with Tomcat-3.2.2. Regards Joseph Rajkumar Gary Clark wrote: It compiles much better now, thanks. Gary A. Clark Systems Programmer

RE: Turbine without ESQL

2001-06-06 Thread Oskar Werewka
Thank you, but I have written my question wrong, I would like to use turbine inside my java helper classes, so I have to use: org.apache.turbine.services.db.PoolBrokerService org.apache.turbine.util.db.pool.DBConnection Can you help me? And sorry again. First, setup

Cocoon 2 beta 1 bug?

2001-06-06 Thread francesco.casalena
Hi, thank you to Carsten and his team for their grat job! I've tried to install Cocoon 2 beta 1 and I noticed: 1) build.xml seems absent (yet indicated on this ml) 2) my /usr/local/jakarta-ant-1.3/ant.jar has been named ant_1_3.jar by me otherwise it isn't recognise (ANT_HOME is path is

RE: Turbine without ESQL

2001-06-06 Thread Gary Clark
Sorry, I'm still scratching my head with C2. Try xml.apache.org and go into the Turbine part of the site. I recall seeing some docs in there, but I don't recall exactly where they were. Gary A. Clark Systems Programmer Software Services Group JELD-WEN Information Systems -Original

RE: Turbine without ESQL

2001-06-06 Thread Antonio Parolini
Can somebody just send me a fragment of code, which gets connections from Turbine pool? Yep... Snip of my code import org.apache.turbine.services.db.PoolBrokerService; import org.apache.turbine.util.db.pool.DBConnection; import

[C2]: with Tomcat 3.2.2

2001-06-06 Thread Gary Clark
Here is what I have found so far with Tomcat 3.2.2 and C2 (RedHat 7.1, fresh install of Tomcat): - Follow the instruction at http://xml.apache.org/cocoon/cocoon2/install.html - Add the init-param as shown with Tomcat 4.0 (can someone verify this is needed?) - Set your DISPLAY variable if :0.0 is

RE: use connection pool in esql

2001-06-06 Thread Gary Clark
Did you restart your servlet server (Tomcat in my case)? The change won't take effect until you do. If you did, look in the log files of your servlet server and see if you can find out why the connection failed. Gary A. Clark Systems Programmer Software Services Group JELD-WEN Information

Re: use connection pool in esql

2001-06-06 Thread paint007
somebody else just had a similar problem. Did you restart Cocoon after editing cocoon.properties? Did you edit the correct cocoon.properties (e.g., the one in the WEB-INF directory, not the one in the original cocoon directory)? -Christopher Please respond to [EMAIL PROTECTED] To:

Re: use connection pool in esql

2001-06-06 Thread Oskar Werewka
I have the same configuration, and it is working? Did you restart cocoon after hanging cocoon.properties? Hi, I was trying to use connection pool in esql, but I still got error: java.lang.RuntimeException: Could not open pooled connection: mypool In cocoon.properties, I add mypool definition

Internal server error

2001-06-06 Thread Rajkumar, Joseph
Hi Folks I am using latest Cocoon-2.0b1 with Tomcat-3.2.2 and following the instructions to the letter and this is what I get Regards Joseph Rajkumar Instructions followed: http://xml.apache.org/cocoon2/install.html PS: why is the sitemap hander's sitemap NOT available and how can I make it

Installation - Update -

2001-06-06 Thread Anand Chauhan
Just a note for the Cocoon guys.. I was abt to install Cocoon on a different combination not listed in the table at the foll: site http://xml.apache.org/cocoon/install.html The combo goes as follows: JDK1.3.1 Tomcat 3.2.1 Apache Web Server 1.3.19 Keep up the good work. All the best, Anand

pl reply

2001-06-06 Thread Prasanta Nayak
Dear sir, Installing Cocoon on Apache Tomcat on linux server i followed your all instruction after that i am facing this problem pl rectify my problem ASAP http://localhost:8080/cocoon/samples/index.xml when i execute this this type of error is coming

RE: use connection pool in esql

2001-06-06 Thread Fang Huang
I restarted tomcat, and it works now. But there is an exception java.lang.Exception: The logfile= property and the turbine.logs= property in the TurbineResources.properties file are null or could not be found. Where is the TurbineResources.properties file? Fang On Wed, 6 Jun 2001, Gary Clark

Re: Internal server error

2001-06-06 Thread eirikdentz
What is your OS? Are you running a headless server? You should take a look in your cocoon.log which should be in $TOMCAT_HOME/webapps/cocoon/WEB-INF/log/ and see if there are any error messages just before this one. This should tell you what is causing the sitemap compilation to fail. eirik

Re: Internal server error

2001-06-06 Thread Bryan Murphy
Comment out every entry in your sitemap.xmap file that contains 'svg' minus the quotes. sitemap.xmap is located in the webapps/cocoon directory. You might have to uncompress the war archive to modify it. Restart tomcat, and everything should work EXCEPT for the svg stuff. If you want to

Re: AW: R: Apache Cocoon2 Beta 1 Release

2001-06-06 Thread giacomo
On Wed, 6 Jun 2001, Ulrich Mayring wrote: Carsten Ziegeler wrote: Yes and yes. No and yes: The beta is feature-complete including caching and content aggregation. Without having seen it: great work, guys. The only thing missing is even more documentation. Wot no docs? :)

Re: [C2] Reloading changed sitemap

2001-06-06 Thread giacomo
On Wed, 6 Jun 2001, Csaba Nagy wrote: Hi cocooners, I'm running cocoon 2 in weblogic 6.0 on Windows 2000, and there's a big problem in that the sitemap is not reloaded if I change it. In my understanding it should be reloaded as soon as it changes. Am I missing something ? Is the sitemap

Re: Internal server error

2001-06-06 Thread Rajkumar, Joseph
Hi Folks Thanks to eirik.dentz and Bryan Murphy who gave me a clue as to the possible problem. So I downloaded a fresh jakarat-tomcat-3.2.2 and Cocoon-2.0B1 on my laptop running mandrake. Followed the instructions on the cocoon2 web page and build cocoon.war and had it working in a

AW: Cocoon 1.8.2 + SAXON: Failed to Compile Stylesheet ERROR

2001-06-06 Thread Ekkehard Hoffmann
Hi William No Xalan-specific features. Besides, Saxon works properly when used from the command line on the same files. Then it seems to be a problem with the current working directory. Do you use xsl:include or xsl:import with relative paths in your xsl files. Try to change these paths to

Re: Adding root context to cocoon samples

2001-06-06 Thread Sundar Narayanasamy
Hello Christopher, Since I do not want to touch my current site, I created xml.mydomain.com(virtual domain) and changed the DocumentRoot to the Hello example dir. The problem is when I go to that site , I get the listing of file under the directory index.xml WEB-INF ... rather than

[C2] sitemap recompile issue

2001-06-06 Thread Gary Clark
Cocoon2-b1 Tomcat 3.2.2 JDK 1.3.0 RedHat Linux 7.1 Although the sitemap compiles correctly at startup, if I modify the sitemap.xmap file, I get the following messages in the log after every request. The procedure I used was: 1) Stop Tomcat 2) Touch sitemap.xmap 3) Start Tomcat 4) Access a

Re: Internal server error/sitemap handler's sitemap is notavailable

2001-06-06 Thread Eirik Dentz
Glad you got it working. I have a little more time now and I wanted offer a bit more that may, or may not be helpful to others on this list. I am rather new to Java, XML and Cocoon so it would be great if those of you who know otherwise could correct me where appropriate. Background: I ran

Cocoon in offline

2001-06-06 Thread kokchoon
hi, May i know how to use cocoon in offline(means generate html file offline) ? Thank you. Kok Choon E-mail: [EMAIL PROTECTED] Date: 06/07/01 Time: 21:19:55 This message was sent by Z-Mail Pro - from NetManage NetManage - delivers

RE: Cocoon and Sessions

2001-06-06 Thread Ramesh Vejendla
Hi Declan if possible can u plz send me those XSL pages also it will very helpful to me. thanks rammi -Original Message- From: declan kelly [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 06, 2001 8:26 PM To: [EMAIL PROTECTED] Subject: Re: Cocoon and Sessions I bet your

AW: [C2]: Missing files in distribution - solved

2001-06-06 Thread Carsten Ziegeler
And again my appologies... There was another bug in the build script for the distribution which made compiling impossible. I fixed this and redistributed the dist to the server. Now the distribution builds very well. Again sorry, hope things are not getting worse... Carsten Open Source