Re: How to install Cocoon with Apache?

2002-12-19 Thread Antonio Gallardo
Sorin: Check this: http://xml.apache.org/cocoon/installing/index.html Antonio Gallardo Sorin Marti dijo: > Christian Bucholdt wrote: > >>Hi, >> > Hi Christian, > >> >>Cocoon runs as a servlet. So you need Tomcat (or a other >> Servlet-Engine). >> > got it. > >> >>Install tomcat an bundle it wit

Re: How to install Cocoon with Apache?

2002-12-19 Thread Sorin Marti
Christian Bucholdt wrote: Hi, Hi Christian, Cocoon runs as a servlet. So you need Tomcat (or a other Servlet-Engine). got it. Install tomcat an bundle it with your apache using an adapter. Then install cocoon in tomcat. I already installed cocoon in Tomcat and everything works fine, b

xmlform and different output formats

2002-12-19 Thread Kirchhoff, Lars
hello, I need some help for the xmlform. I would like to create a application that runs multiple forms and at the end outputs some data to the user. at these stage the user should have the possibility to get the outputted data in different formats. how can this approach be done. I thought abo

Re: How to install Cocoon with Apache?

2002-12-19 Thread Christian Bucholdt
Hi, Cocoon runs as a servlet. So you need Tomcat (or a other Servlet-Engine). Install tomcat an bundle it with your apache using an adapter. Then install cocoon in tomcat. by christian - Original Message - From: "Sorin Marti" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, Dec

How to install Cocoon with Apache?

2002-12-19 Thread Sorin Marti
Hi All, I'd like to set up Cocoon with apache. I did it with Tomcat and it was not a problem... but on the cocoon home-page there's nowhere described how to do it with apache... any suggestions? I am working - on Linux - cocoon 2.0.4 - apache 2.0.43 Thanks Sorin Marti -

Lucene - elements stored in the index

2002-12-19 Thread Sebastian Gil
Hi there, I've problem with storing elements in the lucene search index. I'm using create-index.xsp from cocoon/search example for indexing and SearchGenerator for featching results. I've modified lines in cocoon.xconf header and my XML files looks like my-header my-content Wh

How can i see the working of Sitebuilder in cocoon 2.0.4

2002-12-19 Thread Sreenivasan N.
Hi all When i was going through the directories of cocoon 2.0.4 i saw a folder called sitebuilder. What is that ? How can i see that working? Looks like you can edit xml document, forms etc. Can anyone explain about that. Thanks in advance Regards Sreenivasan. "Attitudes are much more i

Xml form How To-Please help me out

2002-12-19 Thread poornima ponnuswamy
I am able to get the http://localhost:8080/cocoon/samples/xmlform/wizard Now I tried to run the XML form wizard but I couldnt succeed. I am really trying hard to get it done but I couldnt. Can one spend few min in helping me out...please These are the following steps I followed. I created "howto"

Re: still stuck with esql connection pool

2002-12-19 Thread Johannes . Becker
Hi, I had the same problem, till I read this thread (http://www.mail-archive.com/avalon-users@jakarta.apache.org/msg00101.html). I use JDK 1.41. I compiled Cocoon under 1.41 and now it works fine. I read that this wass a bug in Cocoon. I hope I could help. Jonny ---

Slide & Cocoon Impl

2002-12-19 Thread Julian Klein
Hi all, I am trying to implement slide with cocoon via the slide source and slide source factory available in the scrathpad. I built cocoon with jdk1.4, tomcat 4.1.12, and the cocoon cvs snapshot from 12/19/2002. I got it to run at first, but when i fooled around a bit with the samples, cocoon w

cocoon-session management.

2002-12-19 Thread Kishore
Hi all,    I am using cocoon to apply XSL transformation on XML files generated by my 'SERVLETS'. So, cocoon intercepts the client request, calls the proper application servlet, then applies xsl mapping on the servlet's output and returns the result as a html file.   

xmlForm: java.lang.ArrayStoreException

2002-12-19 Thread Hill .
Hi all, I am trying to use int array on MyBean attribute (I about xmlForm): When I try NextPage after I choose some more item (by xf:selectMany) I get error: java.lang.ArrayStoreException at java.lang.System.arraycopy(Native Method) at org.apache.cocoon.components.xmlform.Form.setValue(Form.java:

Re: Optional libraries that are not optional

2002-12-19 Thread Joerg Heinicke
There is a jars.xml. I guess you must also remove it from there. Joerg Faron Dutton wrote: The following libraries appear to be non-optional: lib/optional/commons-jxpath-1.0.jar lib/optional/spark.jar To Recreate: 1) ./build.sh clean 2) rm -f lib/optional/*.jar 3) ./build.sh --

Re: XPath problem in Cocoon?

2002-12-19 Thread Joerg Heinicke
Anna Afonchenko wrote: Hi Luca. Thank you for answering. Yes, probably that's something with my configuration. I am using Win98, Tomcat 4.1.12, Cocoon 2.0.4, Xalan 2.4.1. I'll try to change the Xalan version. Anyway, this thing is very weird. Thank you. Anna Hello Anna, may I point out again,

Re: Source aggregation by XInclude

2002-12-19 Thread Andrew C. Oliver
Joerg Heinicke wrote: Timothy Larson wrote: You coulde try the caching version of the cinclude transformer in place of the non-caching xinclude transformer. See http://xml.apache.org/cocoon/userdocs/transformers/cinclude-transformer.html The only problem I see is that the cinclude transformer

Re: integrate IF THEN ELSE conditions in a simple XSP page

2002-12-19 Thread Joerg Heinicke
Hello Maxime, in my opinion this layouting/styling is not the task of the XSP, but it should be done by a transformer. Regards, Joerg [EMAIL PROTECTED] wrote: Hi, How can I quickly add a condition in someting like : If I want to add a condition like : If ID = 3 then font color = red else

Re: Source aggregation by XInclude

2002-12-19 Thread Joerg Heinicke
Timothy Larson wrote: You coulde try the caching version of the cinclude transformer in place of the non-caching xinclude transformer. See http://xml.apache.org/cocoon/userdocs/transformers/cinclude-transformer.html The only problem I see is that the cinclude transformer does not seem to have the

Optional libraries that are not optional

2002-12-19 Thread Faron Dutton
The following libraries appear to be non-optional: lib/optional/commons-jxpath-1.0.jar lib/optional/spark.jar To Recreate: 1) ./build.sh clean 2) rm -f lib/optional/*.jar 3) ./build.sh - Please check that your question

RE: EJBs and Cocoon (hmm, again ;-)

2002-12-19 Thread Hunsberger, Peter
> So the question is: does anybody already have a decent solution for the EJB-Cocoon problem? Or isn't there any problem at all... Umm, what problem? If you want EJB's you go ahead and use them... What's your environment? We use JBoss and create an EAR with Cocoon as a WAR inside it and the EJB

Re: HTTP Status 503

2002-12-19 Thread Miles Elam
Astor Rivera wrote: with the following command: .\build.bat webapp That should be... ./build.bat -Dinclude.webapp.libs=true webapp That should take care of your error message once you redeploy. - Miles - Please check tha

HTTP Status 503

2002-12-19 Thread Astor Rivera
I just compiled the last cocoon cvs snapshot on:   win2k 5.00.2195 sp 3   j2sdk1.4.0_02   tomcat/4.1.12-LE-jdk14   with the following command:   .\build.bat webapp   and I installed cocoon.war and when I access it I get the following error:   HTTP Status 503 - Servlet Cocoon2 is currently

jca-jdbc firebird drivers

2002-12-19 Thread Juraj misovych
i try to use cocoon 2.0.4 with firebird i try interclient201 but i have problem with connection when use esql sql transformer works, i try to use new jca-jdbc firebird drivers . i have configured cocoon jdbc:firebirdsql://localhost:3050/c:/server/data/db/elza.gdb

How to get User ID after authentication

2002-12-19 Thread Nils Leßmann
Hi!   I’ve been able to write my own authenticator using the sunrise-components. How can I access the user id in my xsp after the user has logged in?   Thanks, Nils  

RE: Where to get the 2.1-dev without using CVS?

2002-12-19 Thread Luca Morandini
http://cvs.apache.org/snapshots/xml-cocoon2/ - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - > -Origina

RE: How do I read files inside an Action?

2002-12-19 Thread Ray Martin
not sure what it is that you want!!! did you ever hear of Xerces? - ya know, XML parsers? - SAX event generators? - or, are you looking for something else? > -Original Message- > From: Chintalapaty, Sreedhar [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 19, 2002 12:07 PM > To: [EM

Where to get the 2.1-dev without using CVS?

2002-12-19 Thread aps olute
Can the 2.1-dev download retrieved without using CVS? Is the cvs version not guaranteed to compile? sorry for the newbie questions. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -

accessing resources in sibling directories

2002-12-19 Thread Tomasz Muldner
Hi, I'm trying to modify an example of a gallery from the Cocoon book, and have this directory structure: Directory: mount sub-directories: photos gallery In the photos directory there are jpeg files (in the original example, photos were in a subdirectory of "gallery"). In the gallery directory

Problem with cocoon

2002-12-19 Thread vodoop vodoop
Hi have anyone had this error : java.lang.NullPointerException at _home._id._gen_make._sender.populateDocument (_state.java:456) at org.apache.cocoon.processor.xsp.XSPPage.getDocument (XSPPage.java:97) at org.apache.cocoon.processor.xsp.XSPProcessor.process (XSPProcessor.java:527) at org.apac

still stuck with esql connection pool

2002-12-19 Thread Nils Leßmann
Hi!   Sorry to bother you again, but I still can’t get that esql-connection to work, I’ve tried three different databases up to now...   Whenever I use I get the following exception:   Could not get the datasource org.apache.avalon.excalibur.datasource.NoValidConnectionException: No

run a Cocoon web application from CD-ROM?

2002-12-19 Thread Jakob
Hi, I am trying to run a Cocoon web application from CD-ROM. The webapp consists of Jetty (another servlet container), Cocoon, and an XML database, eXist. I would like to disable *all*logging*; obviously I do not want to write to a log file, as I don't know what OS it will be run (so I can't ta

RE: How do I read files inside an Action?

2002-12-19 Thread Chintalapaty, Sreedhar
Sorry for the confusion, I should have phrased my question better. What I wanted to know was how to read in an XML file _as an XML Document_ object. I intend to use that object to determine the flow of control. Sreedhar -Original Message- From: Ray Martin [mailto:[EMAIL PROTECTED]] S

Cocoon build empty site

2002-12-19 Thread Christian Bucholdt
Hi,   I've installed Cocoon2 (jdk1.4 on Win XP) and developed some own components like Action, Selector und Generator.   On my own pc it work's fine. Now I installed it to a other pc. The same application with the same configurations build a empty site, every request. My debug notices also no

Re: Strange behaviour

2002-12-19 Thread Antonio Gallardo
This is one of the things that will be corrected or enhanced in the next version of cocoon. "remove of spaces chars". For now you can work around: "Category" "Carboxypeptidases" or try to use the xsl function normalize-space() in a stylesheet. Antonio Gallardo Vermeulen, Francis dijo: > Hi, >

Strange behaviour

2002-12-19 Thread Vermeulen, Francis
Hi, can anyone tell me why the following xsp statements: "Category" "Carboxypeptidases"

Re: i18n best practice

2002-12-19 Thread Konstantin Piroumian
From: <[EMAIL PROTECTED]> > Thank you Konstantin! Not at all. > > "Konstantin Piroumian" <[EMAIL PROTECTED]> writes: > > My mail application could not open your message correctly due to some error > > in encoding, so my answers are marked by [KP]: > > Gnus wanted to know the encoding style (lati

RE:

2002-12-19 Thread Geoff Howard
you put a qoute in front of login. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 19, 2002 7:50 AM > To: [EMAIL PROTECTED] > Subject: > > Hi, > > I wann have a refresh: > > after 5 seconds on my xsp page. The url="login" is a page tha

Re: i18n best practice

2002-12-19 Thread Martin Lüthi
Thank you Konstantin! "Konstantin Piroumian" <[EMAIL PROTECTED]> writes: > My mail application could not open your message correctly due to some error > in encoding, so my answers are marked by [KP]: Gnus wanted to know the encoding style (latin-1), sorry! > [KP] i18n transformer is not responsi

Re: howto xmlform sitemap

2002-12-19 Thread Ivelin Ivanov
Fixed. Although the HOWTO is intended as a illustration. You should start customizing with the maintained demo. The first page of the HOWTO mentions this. Ivelin - Original Message - From: "Thor Heinrichs-Wolpert" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sen

Re: Fw: MDB Access

2002-12-19 Thread Antonio Gallardo
Check this: http://outerthought.net/wiki/Wiki.jsp?page=SpecificDatabaseConnection Antonio marco scotoni dijo: > > - Original Message - > From: "marco scotoni" <[EMAIL PROTECTED]> > To: "Upayavira" <[EMAIL PROTECTED]> > Sent: Thursday, December 19, 2002 2:05 PM > Subject: Re: MDB Access >

Re: MDB Access

2002-12-19 Thread Antonio Gallardo
Try the generic JDBC driver it must work. I did some test with it 2 years ago. Antonio Gallardo marco scotoni dijo: > There's anyone who could send me string connection to a MDB File please? > > thx > __ Dark > Schneider > ICQ#: 1381

Fw: MDB Access

2002-12-19 Thread marco scotoni
- Original Message - From: "marco scotoni" <[EMAIL PROTECTED]> To: "Upayavira" <[EMAIL PROTECTED]> Sent: Thursday, December 19, 2002 2:05 PM Subject: Re: MDB Access > OK, > > i'm able to connect with this string in local way: > jdbc:odbc:Driver={Microsoft Access Driver > (*.mdb)};DBQ=c:\

cocoon-users@xml.apache.org

2002-12-19 Thread Johannes . Becker
Hi, I wann have a refresh: after 5 seconds on my xsp page. The url="login" is a page that is listed in my sitemap. Trying it this way doesn't work. What am I doing wrong? Greetings Jonny This

Re: i18n best practice

2002-12-19 Thread Konstantin Piroumian
Hi! My mail application could not open your message correctly due to some error in encoding, so my answers are marked by [KP]: - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 19, 2002 14:22 Subject: i18n best practice Hello The i18n trans

RE: XSP/ESQL - separation of concerns?

2002-12-19 Thread Luca Morandini
Jeremy, no idea... I use Stored Procedures, hence, performance is not an issue for me :) Try searching this mailing list, the subject was mentioned some time ago. Best regards, - Luca Morandini GIS Consultant

i18n best practice

2002-12-19 Thread Martin Lüthi
Hello The i18n transformer is a great solution for the creation of multilingual content. So far I have found no documentation on how to best implement language change. ATM I see two possibilities: (1) create URL's with ?locale=xx_YY (2) store the state of the actual user locale in the session

How to store xml files in Xindice inside Cocoon

2002-12-19 Thread Sreenivasan N.
Hi all I got a sudden doubt with hsql and Xindice. If we use Personnel are we connecting to HSQL or Xindice? If i want to store my xml files inside Xindice how it is done. I am not running Xindice as a seperate server. Can somebody give some explanation. Regards Sreenivasan. "Attitudes

reference stylesheet in xml document

2002-12-19 Thread Hans Thomas Nordeck
Is there a simple way to reference a stylesheet directly in the xml file and not in the Sitemap?   In the XML document this syntax:     What do I have to write in the sitemap? As far as I know I alway have to specify the  Stylesheet for the transformer. Do I need an action that graps the in

Re: XSP/ESQL - separation of concerns?

2002-12-19 Thread Jeremy Quinn
On Wednesday, Dec 18, 2002, at 11:37 Europe/London, Luca Morandini wrote: The caveats are: - SQLTranformer in slower than ESQL Eeargh! How much slower?!? regards Jeremy - Please check that your question has not already b

Re: context problem - repeat

2002-12-19 Thread Konstantin Piroumian
context problem - repeatProbably, the problem is in the level you are using to access parameters in resource (../locale). You are calling your resource from inside of two nested actions, so the level should be something like {../../locale}. It'd be better to pass parameters to resources explicitel

Re: EJBs and Cocoon (hmm, again ;-)

2002-12-19 Thread Konstantin Piroumian
From: "Alef Arendsen" <[EMAIL PROTECTED]> Alef, > Hi all, > > > You wouldn't want to develop an airline reservation system with (just) > Cocoon. You wouldn't want to develop a website and documentation > production environment with (just) EJBs. > > I look forward to the two becoming more closel

MDB Access

2002-12-19 Thread marco scotoni
There's anyone who could send me string connection to a MDB File please? thx __ Dark Schneider ICQ#: 13815557 Current ICQ status: + More ways to contact me __

Re: How do I read files inside an Action?

2002-12-19 Thread Konstantin Piroumian
You can do it like this: Source source = null; SourceResolver resolver = null; try { resolver = (SourceResolver) manager.lookup( SourceResolver.ROLE ); source = resolver.resolveURI( fileName ); return builder.parse( new InputSource( source.getInp

Re: I think its time to have samples integrated as applications

2002-12-19 Thread Nicola Ken Barozzi
Sreenivasan N. wrote: Hi All It is just a bare suggestion. Currently there are samples which are split ted in various pages. Is it possible to have sample applications which can be used for Corporate intranets or internets so that the idea to develop those kind of sites will be easy. Give a t

I think its time to have samples integrated as applications

2002-12-19 Thread Sreenivasan N.
Hi All It is just a bare suggestion. Currently there are samples which are split ted in various pages. Is it possible to have sample applications which can be used for Corporate intranets or internets so that the idea to develop those kind of sites will be easy. Give a thought about it. Regard

Re: XPath problem in Cocoon?

2002-12-19 Thread Anna Afonchenko
Hi Luca. Thank you for answering. Yes, probably that's something with my configuration. I am using Win98, Tomcat 4.1.12, Cocoon 2.0.4, Xalan 2.4.1. I'll try to change the Xalan version. Anyway, this thing is very weird. Thank you. Anna - Original Message - From: "Luca Morandini" <[EMAIL P

URL Encoding

2002-12-19 Thread Ludovic de Beaurepaire
Hi All, In an Action i want to encode an URL on the HttpResponse to have the session Id on this URL. url = ((org.apache.cocoon.environment.http.HttpResponse)(ObjectModelHelper.getResp onse(objectModel))).encodeURL(url); But my URL is not encoded. I don't find where to configure if encoding is n

RE: XPath problem in Cocoon?

2002-12-19 Thread Luca Morandini
Anna, this is the output I got from your code: http://www.w3.org/1999/XSL/Format";>HELLO P content = some text ...which I suppose to be the right one. Therefore, could it be a problem related to the configuration you're using ? My configuration is: - Windows 2000 Prof SP3 - Tomcat 4.0.1 -