Cocoon CommandLine - loading classes at startup

2002-03-14 Thread Eisert, Wolfram (ext.)
Hi, is it possible in Cocoon CommandLine-mode to load classes at startup like in webapp-mode with the web.xml load-class param? I need it to load jdbc-driver-class prior connection pool initialization. Wolfram - Please check

Problems restarting cocoon2 with WebSphere 4.0.1

2002-03-14 Thread Volker Schneider
Dear cocoon-users, after clearing the cocoon's working directory in WebSphere I restarted cocoon using the adminclient. After that, WebSphere's servlet engine hangs and I can't get any response from it. Maybe cocoon 2 didn't shut down properly. Yesterday we solved the problem by restarting the

Best apache/tomcat connector?

2002-03-14 Thread Nick Airey
Hello everyone, What is the recommended connector to use between apache 1.3 and tomcat 4.0.1 ? (tomcat is only being used for cocoon) Is it (a) the warp connector, or (b) the http 1.0 connector? If (b) is this planned to change? Kind regards, Nick.

invoke class on start of tomcat

2002-03-14 Thread Niket Anand
Hi all, How can I invoke a class at the time of starting of Tomcat-4.0.1 server?I know it is not related to cocoon but I want to execute a class before calling any request to cocoon servlet. pls suggest something. Thanks, Niket

Re: Help on sitemap

2002-03-14 Thread Andreas Hartmann
Title: Help on sitemap Hi, *** REPLY SEPARATOR ***On 14.03.2002 at 14:10 ÂÞÃù/eNet/¼¼Êõ·þÎñÊÂÒµ²¿/ϵͳ²¿/×ܼà wrote: Hello All, I hava a question for sitemap how can i write a sitmap: if i request http://site/test.xml it will transform by default.xsl if

Re: Help on sitemap

2002-03-14 Thread Andreas Hartmann
Hi Yury, What about using a RequestParamAction? Greetings, Andreas 2Andreas: My example just more for undestand of cocoons action's work. (May be :) ) OK, this can't be bad :) Greetings, Andreas - Please check that your

Re: Bizarre SQUID Cocoon PDF caching issue - any brainwaves?

2002-03-14 Thread Stuart Roebuck
On Thursday, March 14, 2002, at 02:23 am, Peter Royal wrote: On Wednesday 13 March 2002 08:17 pm, Stuart Roebuck wrote: +-+ | THIS IS DOING MY HEAD IN - ANYONE GOT A BRAINWAVE ? ... |

Call of dynamically created tags in logicsheets

2002-03-14 Thread Dirk Reiss
Hello, we have the follogwing logicsheet where we dynamically create atag with the content of the return value of a java method. The creation of the tag is working very well so that I did not included the Java-code in this example. The output in the browser is currently a file having a tag

Re: how to call a servlet from a generator, but with parameters POSTed!

2002-03-14 Thread Walter Gamba
Thanx 4 all the help .. unfortunately I can't install Tomcat4 so I'll stick with this soultion Hello! SUMMARY: How to use a servlet as a generator in Cocoon, but allowing forms data to be passed via POST method (And NOT GET!!) -- I can obtain

Re: Bizarre SQUID Cocoon PDF caching issue - any brainwaves?

2002-03-14 Thread Peter Royal
On Thursday 14 March 2002 06:55 am, Stuart Roebuck wrote: One of the many odd things is that, when I changed the file extension I retained the application/pdf mime type, so if you download in a recent browser it happily realises that the .txt file is really a PDF and opens it with no problem

Re: Problems restarting cocoon2 with WebSphere 4.0.1

2002-03-14 Thread Akber Choudhry
In Websphere, the 'Application Server' (under the node in the admin client) is the JVM. I believe you mean that you restarted the Cocoon Webapp - that will not restart the JVM. And you do not need to restart the whole Websphere. From the adminclient, shut down and start the App server (e.g.

RE: Call of dynamically created tags in logicsheets

2002-03-14 Thread Vadim Gritsenko
Dirk Torsten: What I understood: You want to insert content of document using XSLT document() function. Name of the document is generated dynamically by XSP. If this is right, what you have to do: -- sitemap - !-- apply 'ownnamespace' logicsheet to the x.xml, compile

RE: xsp-session:isNew question

2002-03-14 Thread Vadim Gritsenko
From: Stefano Bonnin [mailto:[EMAIL PROTECTED]] Hi, I want check if the session is new, so, I have to use xsp-session:is-new tag. How can I use this tag? Can I write a code as following boolean isNew = xsp-session:is-new/; Yes. Try it. or if (xsp-session:is-new/) .

Re: Bizarre SQUID Cocoon PDF caching issue - any brainwaves?

2002-03-14 Thread Stuart Roebuck
Peter, I've tried that too, but thanks for suggestion it. The only reference to PDFs in the configuration is in the mime.conf file which has lines like the following: \.bin$ application/macbinary anthony- unknown.gif - image \.exe$

Re: Call of dynamically created tags in logicsheets

2002-03-14 Thread Dirk Reiss
Hello again, thank you very much, this works fine, but the next problem is, that several files are not processed recursively, which means: one file links to another which (for itself) contains/links to another using the same tags as the first one... this means, that we would have to include

RE: Call of dynamically created tags in logicsheets

2002-03-14 Thread Vadim Gritsenko
From: Dirk Reiss [mailto:[EMAIL PROTECTED]] Hello again, thank you very much, this works fine, but the next problem is, that several files are not processed recursively, which means: one file links to another which (for itself) contains/links to another using the same tags as the first

Problem creating new generator

2002-03-14 Thread Volker Schneider
Dear cocoon-users, first I tried to run the time example, but I got the error message, that the component cannot be found, though all classes were at the right place. Second I tried to take the Generator.java class, renamed it and cleaned it from the missing component. The generator should now

RE: newbie: how to get a clean application

2002-03-14 Thread Moritz Petersen
thank you all for your replies. unfortunately, it doesn't work that smooth. if i run ant installwar i get the error message: Q:\home\Moritz\development\apache.org\cocoon-2.0.1-src\cocoon-2.0.1\build.xm l:264: Could not create task of type: user-input. Common solutions are to use taskdef to

Cocoon2, SOAP: How to process xml-content?

2002-03-14 Thread Erwin Burgstaller
I have a SOAP service which produces well formed xml-content. I want to get data from that service into a cocoon xsp application. At the moment the result looks like this: [..] SOAP-ENV:Body namesp3:list_allResponse xmlns:namesp3=urn:Stlist s-gensym15 xsi:type=xsd:stringlt;?xml version=1.0?gt;

Re: newbie: how to get a clean application

2002-03-14 Thread Nicola Ken Barozzi
From: Moritz Petersen [EMAIL PROTECTED] thank you all for your replies. unfortunately, it doesn't work that smooth. if i run ant installwar ahem, I know I'm repeating myself, but use build installwar what's what i wouldn't call a well-prepared build file. anyways, i keep on trying; any

Installation Cocoon 2.0.1

2002-03-14 Thread cyril vidal
Hello! I'm trying to install Cocoon 2.0.1 with the servlet engine Tomcat 4.0.3 on Windows Millenium, but it doesn't work. This is what I've done: a) I've downloaded Cocoon on c:\cocoon (Tomcat is on c:/tomcat) b) I've copied the file c:\cocoon\cocoon.war on c:\tomcat\webapps c) I've run

RE: newbie: how to get a clean application

2002-03-14 Thread Vadim Gritsenko
From: Nicola Ken Barozzi [mailto:[EMAIL PROTECTED]] From: Moritz Petersen [EMAIL PROTECTED] thank you all for your replies. unfortunately, it doesn't work that smooth. if i run ant installwar ahem, I know I'm repeating myself, but use build installwar what's what i

XSP...help!

2002-03-14 Thread berardi
Hi David, I'm new of Cocoon2 and I try to work with! but I've a little problem... I've a xsp page (user interface) where you can insert some data with input fields, when you click on the submit button, then you go in a other xsp page where the data you entered before goes into a database

RE: newbie: how to get a clean application

2002-03-14 Thread Moritz Petersen
thank you all for your replies. unfortunately, it doesn't work that smooth. if i run ant installwar ahem, I know I'm repeating myself, but use build installwar h. oops? ok! works. but: the ant task user-input is still unknown! thanks a lot!! -moritz.

RE: Installation Cocoon 2.0.1

2002-03-14 Thread Vadim Gritsenko
Read http://marc.theaimsgroup.com/?t=10150987843r=1w=2 Vadim -Original Message- From: cyril vidal [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 14, 2002 12:11 PM To: [EMAIL PROTECTED] Subject: Installation Cocoon 2.0.1 Hello!   I'm trying to install Cocoon 2.0.1 with the

Cocoon and Database pool

2002-03-14 Thread snpe
hello, I am tried cocoon 'jdbc' datasources (oracle) and esql When I use driver,dburl, username (not user) and password then everthing is ok But If I use esql:pool i get excpetion NoAvaliableConnectionException : There are no connections in the pool, check your settings I change setting, but

xsl and log4j

2002-03-14 Thread Moritz Petersen
hi list, is it possible to use log4j for loggings from inside xsp commands? like xsp:template ... ... xsp:log4j xsp:textlog this./xsp:text /xsp:log4j ... thank you, moritz. - Please check that your question

thanks for sharing your expertise Vadim

2002-03-14 Thread Marty McClelland
Hello Vadim - I just want to express my appreciation for your participation on the Cocoon users list. I have a Cocoon 1.8.2 application that I will migrate to Cocoon 2 in a couple of months. In the meantime, I am reading the list to get a heads up on the issues and solutions with C2 (

Re: newbie: how to get a clean application

2002-03-14 Thread Nicola Ken Barozzi
From: Moritz Petersen [EMAIL PROTECTED] but: the ant task user-input is still unknown! I think I fixed it in latest CVS version (2.0.2). Try that next time you upgrade, and let me know if there are still problems. thanks a lot!! You're welcome :-) Remember users: we need your input, and

Re: thanks for sharing your expertise Vadim

2002-03-14 Thread Nicola Ken Barozzi
From: Marty McClelland [EMAIL PROTECTED] Hello Vadim - ... I also want to acknowledge your patience with newbies. After reading the list for some months - I find it interesting to see how many of the questions are repeats. Yet you continue to point folks in the right direction - even when

RE: thanks for sharing your expertise Vadim

2002-03-14 Thread Moritz Petersen
... but it's not the first of april, today? -mo. Hello Vadim - ... I also want to acknowledge your patience with newbies. After reading the list for some months - I find it interesting to see how many of the questions are repeats. Yet you continue to point folks in the right

RE: newbie: how to get a clean application

2002-03-14 Thread Moritz Petersen
nicola, i have another remark. after using your (and also vadim's!) hints, i've got a much smaller cocoon webapp, than before. but that's not exactly what i wanted. the produced war file contains still documentations etc. and the sitemap.xmap and cocoon.xconf are still full. i removed all

I'd really love to POST forms...

2002-03-14 Thread Matthieu Benéteau
Hi folks, I'm using Cocoon-2.0.1 with Tomcat-4.0.1. I'm working on a Cocoon-based editor that allows to edit and modify XML files with a web browser. It uses several HTML forms. RequestGenerator is just fine to retrieve the parameters of a GET request. But as my application is growing, my

Re: Installation Cocoon 2.0.1

2002-03-14 Thread cyril vidal
Vadim, thanks for the tip. I've read your tutorial. Bu I don't find the cocoon directory you're talking about in step 2 : xml-cocoon2\lib\core -:(. Could you please tell me how to see it? I apologize for these really basics questions... Cyril. - Original Message - From: Vadim Gritsenko

RE: Cocoon2, SOAP: How to process xml-content?

2002-03-14 Thread William Brogden
-Original Message- From: Erwin Burgstaller [mailto:[EMAIL PROTECTED]] On Behalf Of Erwin Burgstaller Sent: Thursday, March 14, 2002 12:04 PM To: [EMAIL PROTECTED] Subject: Cocoon2, SOAP: How to process xml-content? I have a SOAP service which produces well formed

RE: xsl and log4j

2002-03-14 Thread Vadim Gritsenko
From: Moritz Petersen [mailto:[EMAIL PROTECTED]] hi list, is it possible to use log4j for loggings from inside xsp commands? like I'm not sure about its current status (never used it by myself), but there is logichseet in the Cocoon (since day one) called log

XML for describing databases?

2002-03-14 Thread tvon
Hey folks, I need to build a web interface to a whole bunch of databases. To limit the work I'll have to do, I would like to be able to define each database in a XML file, and have the interface somewhat dynamically generated from those files. So, for one database named 'gesupply',

RE: newbie: how to get a clean application

2002-03-14 Thread Vadim Gritsenko
From: Moritz Petersen [mailto:[EMAIL PROTECTED]] nicola, i have another remark. after using your (and also vadim's!) hints, i've got a much smaller cocoon webapp, than before. but that's not exactly what i wanted. the produced war file contains still documentations etc. and the

RE: I'd really love to POST forms...

2002-03-14 Thread Vadim Gritsenko
From: Matthieu BenÊteau [mailto:[EMAIL PROTECTED]] Hi folks, I'm using Cocoon-2.0.1 with Tomcat-4.0.1. I'm working on a Cocoon-based editor that allows to edit and modify XML files with a web browser. It uses several HTML forms. RequestGenerator is just fine to retrieve the

RE: Installation Cocoon 2.0.1

2002-03-14 Thread Vadim Gritsenko
From: cyril vidal [mailto:[EMAIL PROTECTED]] Vadim, thanks for the tip. I've read your tutorial. Bu I don't find the cocoon directory you're talking about in step 2 : xml-cocoon2\lib\core -:(. Could you please tell me how to see it? I apologize for these really basics questions...

RE: thanks for sharing your expertise Vadim

2002-03-14 Thread Vadim Gritsenko
:) Vadim From: Nicola Ken Barozzi [mailto:[EMAIL PROTECTED]] From: Marty McClelland [EMAIL PROTECTED] Hello Vadim - ... I also want to acknowledge your patience with newbies. After reading the list for some months - I find it interesting to see how many of the questions are

RE: Problem creating new generator

2002-03-14 Thread Vadim Gritsenko
From: Volker Schneider [mailto:[EMAIL PROTECTED]] Dear cocoon-users, First of all, what servlet engine do you use? I will assume Tomcat 4.0.1 here... first I tried to run the time example, but I got the error message, that the component cannot be found, though all classes were at the

Re: Installation Cocoon 2.0.1

2002-03-14 Thread cyril vidal
Vadim, Actually, i've downloaded the Cocoon 2.0.1 binary version. Can't it really don't work by this way? Cyril. - Original Message - From: Vadim Gritsenko [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 14, 2002 7:56 PM Subject: RE: Installation Cocoon 2.0.1 From:

RE: Installation Cocoon 2.0.1

2002-03-14 Thread Vadim Gritsenko
From: cyril vidal [mailto:[EMAIL PROTECTED]] Vadim, Actually, i've downloaded the Cocoon 2.0.1 binary version. Can't it really don't work by this way? Steps were written for src version. You can try with binary version also. First unpack cocoon.war in tomcat/webapps/cocoon, remove

Optimize Performance

2002-03-14 Thread Michael Wechner
Hi I try to configure Cocoon and Tomcat such that the performance is as good as possible. What I figured out already is 1) set all check-reloads attributes within all sitemaps to false 2) set all log-level attributes within logkit.xconf to ERROR 3) set attribute reloadable of Context cocoon

Pizza

2002-03-14 Thread Ed Jenkins
Yesterday, we upgraded to Cocoon 2.0.2dev. In that version, in cocoon.xconf, the default compiler was switched from Javac to Pizza. Pizza is reporting some compilation errors in my XSP files that were OK when compiled with Javac. Also, I believe the JLS would not consider this to be an

RE: Pizza

2002-03-14 Thread Vadim Gritsenko
From: Ed Jenkins [mailto:[EMAIL PROTECTED]] Yesterday, we upgraded to Cocoon 2.0.2dev. In that version, in cocoon.xconf, the default compiler was switched from Javac to Pizza. Pizza is reporting some compilation errors in my XSP files that were OK when compiled with Javac. Also, I

RE: Pizza

2002-03-14 Thread Faulkner, Perry
Hi Ed, Will String s = one\ntwothree/two\ntwothree/two\n/one; solve the problem? Perry -Original Message- From: Ed Jenkins [mailto:[EMAIL PROTECTED]] Sent: Friday, 15 March 2002 9:20 To: [EMAIL PROTECTED] Subject: Pizza Yesterday, we upgraded to Cocoon 2.0.2dev. In that

RE: Pizza

2002-03-14 Thread Ed Jenkins
I tried that. I put the xml all on one line (without \n) and it compiled. But I liked having it split up because it was readable. Ed --- From: Faulkner, Perry [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: RE: Pizza Date: Fri, 15 Mar 2002

RE: Pizza

2002-03-14 Thread Faulkner, Perry
Ed, The alternate, for readability would be: String s = one + twothree/two + twothree/two + /one; or a variation! The lang spec says - no embedded line terminators, unfortunately for your original! Perry -Original Message- From:

SAXParser not found

2002-03-14 Thread Hao Jiang
I have just installed Cocoon 2.0 on Tomcat 4.0.3. And I got SAXParser not found (see attachment) error when I access Cocoon startup page. I tried to put Xerce1.4.4.jar in Tomcat lib directory but it didnt help. Can any one help me on this? Thanks. Hao Title: Internal server

Re: SAXParser not found

2002-03-14 Thread Robert J. Lebowitz
Take a look at the message with the Subject Correction: {SOLUTION] Cocoon with the Tomcat 4.0.3 posted by Vadim. He describes a procedure for moving various JAXP related packages around in it. - Original Message - From: Hao Jiang To: [EMAIL PROTECTED] Sent:

Xindice XUPDATE PROBLEM

2002-03-14 Thread sheshadri emmadi
HI folks, Can anyone help on xupdate, i have been trying it out for the past 3 days, but in vain. My config is Cocoon 2.0.1, tomcat 3.2, jdk 1.3.1 and win2000. I am trying to execute the code below,if i use service.update() method i get 0 rows updated message. my search criteria is right , i am

MS SQL Server and cocoon

2002-03-14 Thread Learhinan, Lance (DAIS)
Has any one had this problem with MS SQL Server and the MS JDBC driver [Microsoft][SQLServer JDBC Driver]Unexpected token type: Unknown token: 0x73 The token is different for different records. This occurs only when the data is coming from and 'ntext' field that is larger than 8k I think. Any

Live Site

2002-03-14 Thread Benjamin Grant
Well, an -almost- live site: http://dir.salon.com/ We began working with cocoon, internally last year and experimented with it quite a bit. Recently, we chose to re-engineer our Directory, which is a compilation of links to all of the articles we have published over the last six

using * and {1} in sitemap

2002-03-14 Thread tvon
Does the level of.hell...ok, I have this: map:match pattern=database-gesupply map:act type=sunRise-auth map:parameter name=handler value=fpiDataPortalHandler/ map:generate src=databases/gesupply.xml/ /map:act map:transform

RE: thanks for sharing your expertise Vadim

2002-03-14 Thread TREGAN Fabien
mmm... +1 ! De: Marty McClelland [mailto:[EMAIL PROTECTED]] Hello Vadim - I just want to express my appreciation for your participation on the Cocoon users list. ... I also want to acknowledge your patience with newbies. After reading the list for some months - I find it interesting to see

RE: newbie: how to get a clean application

2002-03-14 Thread TREGAN Fabien
it would be nice to have a tool, which checks dependencies at all levels. like configure_cocoon svg, html, xslt, png which creates a webapp _only_ with the neccesary .jars, a appropriately configured sitemap and cocoon.xconf... ok, you have other things to do / in mind. maybe i'll find some

RE: XML for describing databases?

2002-03-14 Thread Derek Hohls
Please keep us all informed... this is also a topic I have been thinking about (in the background) for a while now. A solid set of protocols and tools (read 'standard' XSLT and/or logicsheets?) for creating and generating reports/forms for databases/tables would be really cool and crank