Re: ServletException in JSPReader.generate()

2003-03-25 Thread Konstantin Piroumian
To make the JSP samples work try to copy jasper-compiler.jar to cocoon/lib/optional directory and then rebuild Cocoon, so the optional JSP block could become available. And then try again. Hope this helps. -- Konstantin From: "Bobby Mitchell" <[EMAIL PROTECTED]> > Hi, > I'm using RedHat 8

AW: Xindice related query..

2003-03-25 Thread Stephan Meinl
Hi Gautam, try http://www.schatten.info/software/xindice_browser/xindice_browser.html It is much easier to debug your commands with that Xindice-GUI Kind regards, Stephan > -Ursprüngliche Nachricht- > Von: Gautam Ganguly [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 26. März 2003 00:29

Re: how instantiate an Action for each session?

2003-03-25 Thread Charles Yates
Component instantiation is handled by the underlying component framework, Avalon. What you would like to do is _might_ be possible by mucking with Avalon (ComponentHandlers and such) but there must be an easier way. For example, your Action could use the Session object to keep an Object

RE: Cocoon-2.1-dev build fails

2003-03-25 Thread Tony Collen
On Wed, 26 Mar 2003, neil wrote: > 2. I had a look at build.xml and figured out that I need: > > ./build.sh \ > -Dinclude.webapp.libs=yes \ > -Dexclude.webapp.samples=yes \ > -Dexclude.webapp.documenation=yes \ > -Dexclude.webapp.javadocs=yes \ > -Dexclude.scratchpad=yes \ > -Dexclude.webapp

RE: Cocoon-2.1-dev build fails

2003-03-25 Thread neil
Re: http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=104865067609362&w=2 1. Ok, lib/core/util.concurrent-1.3.1.jar has been added to fix this. (I'd added 1.3.2 locally and that also works). 2. I had a look at build.xml and figured out that I need: ./build.sh \ -Dinclude.webapp.libs=yes \

RE: Cocoon-2.1-dev build fails

2003-03-25 Thread Geoff Howard
Neil, I can't reproduce this problem. I did build clean and excluded xmldb block via local.blocks.properties. The build ran fine, and cocoon started up with no error (in jetty, but still...). After trying a fresh cvs update, and a build clean if you still have this problem can you specify what o

RE: Source using Component via ECM

2003-03-25 Thread Geoff Howard
You can also skip the roles file and define the role in cocoon.xconf directly in a component-instance element. I did this some time ago, but have lost the original config file after leaving that employer. This email exchange though should give enough of a clue if you want to go that way: http://

RE: Cocoon-2.1-dev build fails

2003-03-25 Thread Geoff Howard
Here are two patches to do this. One simply adds a new validate.jars property to build.properties and sets it to false by default for now. The other uses this property to set up an unless property, and an unless attribute on the validate-jars target. I can submit these to bugzilla, but thought i

RE: Cocoon-2.1-dev build fails

2003-03-25 Thread Geoff Howard
Ok, you're not crazy - the build is in fact broken. Sort of. What is broken is an old validation target that was recently put back in (validate-jars in src/targets/validate-build.xml). It appears that everything is actually built correctly, but this old target has not been correctly updated to d

how instantiate an Action for each session?

2003-03-25 Thread vupt vupt
Hi, I am hoping someone can help me with this. I have created an Action and would like an instance of that Action to be instantiated for each new session that uses the Action. For example, take this snippet from my sitemap.

RE: Cocoon-2.1-dev build fails

2003-03-25 Thread Geoff Howard
I thought that was a problem that was fixed yesterday. When (what time about) was the checkout? Geoff > -Original Message- > From: Bobby Mitchell [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 25, 2003 3:53 PM > To: [EMAIL PROTECTED] > Subject: Cocoon-2.1-dev build fails > > > I'm tryi

RE: Cocoon-2.1-dev build fails

2003-03-25 Thread Geoff Howard
The build process for 2.1dev has very recently changed and is still stabilizing. While these problems may in fact be real, it's difficult to tell because you appear to be following the old method for customizing the build (no surprise since the docs probably still instruct you to). If you haven't

Re: Xindice related query..

2003-03-25 Thread Gautam Ganguly
Thanks to both of you for your help...xindiceadmin it is!! >>> [EMAIL PROTECTED] 03/25/03 06:34PM >>> Hi, On Tue, 25 Mar 2003, Gautam Ganguly wrote: >I don't know wether this query is suitable for this site or not..but > hope someone might be able to help me out on this. Probably better t

Re: Xindice related query..

2003-03-25 Thread Josema Alonso
Hello. Try: xindiceadmin ac -c /db -n Artist Anyway, I usually use some of the GUI tools available for Xindice. Take a look at http://xml.apache.org/xindice/related.html Btw, the wiki how-to was accepted as a official how-to some weeks ago, and I polished it a bit before submitting it. See http:

Re: Xindice related query..

2003-03-25 Thread Andrew Savory
Hi, On Tue, 25 Mar 2003, Gautam Ganguly wrote: >I don't know wether this query is suitable for this site or not..but > hope someone might be able to help me out on this. Probably better to ask on the xindice mailing list (see the xindice web site for details). > Going by the setup document

Xindice related query..

2003-03-25 Thread Gautam Ganguly
hi all, I don't know wether this query is suitable for this site or not..but hope someone might be able to help me out on this. I just now installed Xindice1.0 binary release version.As per the instruction for xindice docs,i started up the database and i can see the 'db' instance also. When i

Re: Can I do this?

2003-03-25 Thread joaocesar
It's really working :) Thanks ! :) I just have one problem, if I search for two terms it goes as term1+term2 and it produces no results, as well if i type them under quotes, like "term1 term2" :| Can I parse the querystring on the fly ? Thanks - Original Message - From: <[EMAIL PROTECTE

RE: Source using Component via ECM

2003-03-25 Thread Scott Warren
For Cocoon 2.0.4 there is a file called users.role which is in the cocoon.jar You need to create your own and specify it's path using the root element of the cocoon.xconf file for example my file has this element The user-roles attribute specifies my custom role which is loaded in addition t

Re: Can I do this?

2003-03-25 Thread joaocesar
Oops... forget it I've changed the wrong cocoon.xconf (I'm working on the network, but have changed local file :| ), it's now error free:) Thanks - Original Message - From: "Reinhard Pötz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 25, 2003 10:56 PM Subject: RE: Can

RE: Can I do this?

2003-03-25 Thread Reinhard Pötz
Which cocoon version do you use? If you use 2.04 it seems to me that input modules are not supported by the compiled sitemap. But I'm not sure because I've been using Cocoon 2.1dev for month (interpreted sitemap and input modules work). But be warned - Cocoon 2.1 is still alpha!!! But I think thi

Re: Can I do this?

2003-03-25 Thread joaocesar
Thanks :) I've added them into cocoon.xconf, but know i'm having this: message Error while creating node 'generate' at file:/C:/Program Files/Apache Group/Tomcat 4.1/webapps/cocoon/pubmed/sitemap.xmap:45:147 description org.apache.avalon.framework.configuration.ConfigurationException: Error whil

RE: Can I do this?

2003-03-25 Thread Reinhard Pötz
Checkout input modules - they should be available in 2.04. They grant you easy access to the request parameters. http://blablabla?term={request:query}/> Regards, Reinhard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 10:54 PM To: [EM

Re: Can I do this?

2003-03-25 Thread Tony Collen
On Tue, 25 Mar 2003 [EMAIL PROTECTED] wrote: > I'm new at cocoon, but it seems to me a little blurry where the right place > to do something... And I don't know for example, what can I do with an > action, so I was experimenting some "techniques" to have my objective done, > but what I'm looking f

Re: Cocoon-2.1-dev build fails

2003-03-25 Thread neil
Re: http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=104862608911688&w=2 I like the way the build tries to let you include just what you want, but there are a few little problems with it. Yesterday I checked out the CVS HEAD and now using jdk-1.4.1, windows2000/cygwin ... 1. I tried excluding b

Re: Can I do this?

2003-03-25 Thread joaocesar
I'm new at cocoon, but it seems to me a little blurry where the right place to do something... And I don't know for example, what can I do with an action, so I was experimenting some "techniques" to have my objective done, but what I'm looking for, is: I've made a form to search for a term. When a

Re: Can I do this?

2003-03-25 Thread Marc Portier
you might want to look into the RequestParameterAction http://xml.apache.org/cocoon/apidocs/org/apache/cocoon/matching/RequestParameterMatcher.html http://cvs.apache.org/viewcvs.cgi/cocoon-2.0/src/java/org/apache/cocoon/matching/RequestParameterMatcher.java?rev=1.1&content-type=text/vnd.viewcvs-ma

Re: Can I do this?

2003-03-25 Thread Ryan Hoegg
Have you considered doing this in an XSP or an Action? -- Ryan Hoegg ISIS Networks http://www.isisnetworks.net [EMAIL PROTECTED] wrote: Can I (?) do anything like this: http://blablabla?term={1} /> I've found that if I do (...) patte

Can I do this?

2003-03-25 Thread joaocesar
Can I (?) do anything like this:       http://blablabla?term={1}/>          I've found that if I do (...) pattern="*.search"> (...)  it works, and i can do for example "search phrase".search in the address bar and it matches with the generate prototype.. but i want to use that

Re: How to serialize a XML file to disk?

2003-03-25 Thread joaocesar
thanks :) I'm trying to use sourcewrite with XSP here is the source: ( i'm getting to variable termo the query parameter from form, then I'll merge the term with a search URL, fetch the XML data and put it into the source:fragment down there) http://apache.org/xsp";> String termo = request.g

Re: Eclipse, Tomcat and Sysdeo Plugin

2003-03-25 Thread Helmut Tammen
Thank you Hussayn, I compiled my sources, got no compiler errors and mostly everything inside cocoon worked fine. But when I started the portal application which I wanted to debug I´ve got the error that org.appache.cocoon.webapps.authentication.components.AuthenticationManager could not be loa

Re: Cocoon-2.1-dev build fails

2003-03-25 Thread Alex Romayev
Just a thought: 1. mail.jar has a different name, like mail-timestamp.jar -- then change jars.xml file to the right name. 2. mail.jar is not needed, remove it from jars.xml 3. mail.jar is somewhere else, put it into the lib directory. --- Bobby Mitchell <[EMAIL PROTECTED]> wrote: > I'm trying to b

Cocoon-2.1-dev build fails

2003-03-25 Thread Bobby Mitchell
I'm trying to build Cocoon-2.1-dev from cvs today, 3/24/03 on RedHat 8.0, Tomcat-4.1.21. The build fails with this error: root/java/cocoon-2.1/tools/src/check-jars.xsl:89:36: Warning! File lib/optional/mail.jar is declared in lib/jars.xml, but doesn't appear in the lib/ directory. mail.jar is

Re: Eclipse, Tomcat and Sysdeo Plugin

2003-03-25 Thread Leszek Gawron
On wto, mar 25, 2003 at 06:51:25 +0100, Hussayn Dabbous wrote: > ok, here is what i did (briefly): > > 1.) Set up an eclipse java-project named "cocoon" > 2.) Import all cocoon-2.0.4 sources into the > cocoon-project (i did this during project creation). > 3.) Setup project environment to comp

Re: ServletException in JSPReader.generate()

2003-03-25 Thread Bobby Mitchell
I found my problem in the ownership in the /var/tomcat4 directory. The catalina.out log file showed java.io.FileNotFoundException: /var/tomcat4/files-495187227 (Permission denied). I changed all files & directories in /var/tomcat4 to tomcat4:tomcat4 and it works now. The file permissions/owners

Logging in Cocoon Source

2003-03-25 Thread Peter Klotz
Hi, If I want to log messages in a custom source the only way I could specify a category would be on the SourceFactory, which I did. Then in the getSource() I check whether the source produced is LogEnabled and if so pass on the Logger from the SourceFactory to the Source. In cocoon.xconf the so

Re: Eclipse, Tomcat and Sysdeo Plugin

2003-03-25 Thread Hussayn Dabbous
ok, here is what i did (briefly): 1.) Set up an eclipse java-project named "cocoon" 2.) Import all cocoon-2.0.4 sources into the cocoon-project (i did this during project creation). 3.) Setup project environment to compile cocoon from within eclipse. You need to add all necessary libs

Re: Source using Component via ECM

2003-03-25 Thread Charles Yates
Hi Peter, I think you need to provide more information, including the version of cocoon, the relevant part of cocoon.xconf, portions of you Source code, and any log error messages. Charles Peter Klotz wrote: Hi, I have a custom source that gets the component manager from the SourceFactory

Re: database forms

2003-03-25 Thread Stefan Klein
Hi Thorsten, Lorenzo 1. reply to Thorsten: >>In your example you've only got textboxes. With listboxes ( in HTML) >>it gets a bit trickier, since you'll have to get the possible values from a >>different table first. Have you got an idea for that, too? >>Maybing using XSP-ESQL? >nested esql like

ServletException in JSPReader.generate()

2003-03-25 Thread Bobby Mitchell
Hi, I'm using RedHat 8.0, Cocoon-2.0.4 from cvs 3/25/03, Tomcat 4.1.21, Sun j2sdk1.4.1_02. I tried to access "cocoon/samples/jsp/welcome.htm" and get errors. At first the error is "file not found," but I saw in the logs where the path for error2html.xsl in the file "cocoon/samples/sitema

java classes in XSP

2003-03-25 Thread Maxime.Gheysen
Hi, I want to call the funtion "subsitute" from class java.lang.Object -org.apache.oro.text.regex.Util how must I declare the class? I wrote org.apache.oro.text.regex.Util but I get the error Class org.apache.cocoon.www.workflowmanager.documents.Util not found thanks

Re: Eclipse, Tomcat and Sysdeo Plugin

2003-03-25 Thread ePost
Hi Hussayn,   I´m just coming back to the debug problem in eclipse (learning a lot of new stuff at the moment). I´ve set the startup option for tomcat as you adviced (but via command line not via JAVA_OPTS). In eclipse I start the remote debug session which successfully connects to port 8000. Bu

Re: Why can't a Action be Contextualizable??

2003-03-25 Thread Geoff Howard
Try both your questions on dev. Geoff At 10:24 AM 3/25/2003, you wrote: Hi, I wanted to make my custom action Contextualizable in order to get the base directory of the action. But it looks like this is never called or I get errors when trying to create the component. Why? I inherit from Configu

Re: Orcale-XML-Parser in Coccon2

2003-03-25 Thread Marc Portier
Uwe Gerger wrote: it is the standard xml-parser in our company; so we have to use it instead of xerces! That's the only reason! uh! must feel great though :-p maybe jdk 1.4 is also a standard in whoch case you have a serious conflict :-) in coocon.xconf I found some parameter options for the XM

Source using Component via ECM

2003-03-25 Thread Peter Klotz
Hi, I have a custom source that gets the component manager from the SourceFactory. So good so fine, but obviously when the source looks up its backend component it does not find it, although it is configured in cocoon.xconf as . How is this suposed to work? Am I missing something? Thanks, Peter

Why can't a Action be Contextualizable??

2003-03-25 Thread Peter Klotz
Hi, I wanted to make my custom action Contextualizable in order to get the base directory of the action. But it looks like this is never called or I get errors when trying to create the component. Why? I inherit from ConfigurableComposerAction to be configurable and Composable as well. Principall

RE: [SUMMARY] : Encoding problems

2003-03-25 Thread Lionel Crine
THis error means that the eclaration of the sitemap is UTF-8 and you insert ISO character in it maybe in comment) .At 15:44 25/03/2003 +0100, you wrote: hello, any one ever have this problem with the Webserviceproxy mode ? : org.apache.cocoon.ProcessingException : Failed to execute pipeline :

Re: [SUMMARY] : Encoding problems

2003-03-25 Thread Lionel Crine
This method works well. But for me it's more complicated. In my case, The URL should go from the xsp (which have the good encoding) through an xsl page in a element as "src" attribute. But at this moment, characters are converted into UTF-8, which I don't want. Does I reach the cocoon limits ?

RE: [SUMMARY] : Encoding problems

2003-03-25 Thread zze-MORY Nicolas FTRD/DMI/REN
hello, any one ever have this problem with the Webserviceproxy mode ? : org.apache.cocoon.ProcessingException : Failed to execute pipeline : java.io.UTFDataFormat Exception : Invalid byte 2 of 3 byte UTF-8 sequence - To unsub

[SUMMARY] : Encoding problems

2003-03-25 Thread Maxime.Gheysen
to have the right caracter-set in sitamap.xmap write this : iso-8859-1 iso-8859-1 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 3:25 PM To: [EMAIL PROTECTED] Subject: RE: Encoding probl

Re: Encoding problems

2003-03-25 Thread Konstantin Piroumian
What about the container-encoding? Btw, I never had problems with encoding in i18n samples, cause I always use UTF-8 everywhere. Use Unicode and you'll have much less problems. In cocoon/samples/i18n/simple.xsp there is an explicit conversion for UTF-8 to container-encoding and it works for all th

RE: Encoding problems

2003-03-25 Thread Maxime.Gheysen
In the doc it's written about setting this in web.xml : form-encoding utf-8 But it doesn't change anything with cocoon 2.0! -Original Message- From: Konstantin Piroumian [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 2:55 PM To: [EMAIL PROTECTED] Subject: Re: Encoding pr

Re: Problem in converting umlaut characters..

2003-03-25 Thread Alex Romayev
Hi Jaya, Have you looked in Wiki (Cocoon documentation site), if not, try http://wiki.cocoondev.org/Search.jsp?query=encoding. Let me know if this doesn't help. Cheers, -Alex --- jaya <[EMAIL PROTECTED]> wrote: > Hello, > > I am using Cocoon latest version. When I am > generating a text file f

Re: Encoding problems

2003-03-25 Thread Konstantin Piroumian
You can set container-encoding and form-encoding initialization parameters in web.xml . Take a look at the web.xml from Cocoon distribution, there's a comment about it. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 25, 2003 16:36 Subject: RE: E

Re: Orcale-XML-Parser in Coccon2

2003-03-25 Thread Uwe Gerger
Geoff, it would be very nice if you can give me some hints, like how to integrate the parser in cocoon etc. ! Thanks in advance Uwe [EMAIL PROTECTED] schrieb: > > I have some experience with it, but not yet within cocoon but would > be interetested enough to lend a hand. Not s

RE: Encoding problems

2003-03-25 Thread Maxime.Gheysen
Is there no other way to keep my french caracter set from page to page (because I have to many pages and some request are xsp-request) Tanks -Original Message- From: Yury Mikhienko [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 2:20 PM To: [EMAIL PROTECTED] Subject: Re: Encoding

Re: Encoding problems

2003-03-25 Thread Yury Mikhienko
On Tue, 25 Mar 2003 14:12:59 +0100 <[EMAIL PROTECTED]> wrote: > Hi, > I have xsp pages, and all my parameters with accents (И, Х, Т,...) changes into > things like "ц╘",... > I tried diferent encoding into my pages (like encoding="ISO-8859-1"?>), but nothing seems to work! > how can I keep the

Encoding problems

2003-03-25 Thread Maxime.Gheysen
Hi, I have xsp pages, and all my parameters with accents (é, è, ô,...) changes into things like "é",... I tried diferent encoding into my pages (like ), but nothing seems to work! how can I keep the accents? Thanks - To unsubs

Re: Orcale-XML-Parser in Coccon2

2003-03-25 Thread Uwe Gerger
it is the standard xml-parser in our company; so we have to use it instead of xerces! That's the only reason! in coocon.xconf I found some parameter options for the XML-parser, namely sax-parser-factory and document-builder-factory. Have I have to specify them? In the original state they are comme

Re: [SUMMARY] XSLT does not maintain 'format' tags in XML??

2003-03-25 Thread Joerg Heinicke
Oh, thanks Ugo, a small but possibly painful mistake ... Joerg Ugo Cei wrote: [EMAIL PROTECTED] wrote: The solution: change to I don't think this is a good solution. If your input is first line second line the first instruction will produce first line second line but the sec

Re: XMLForm: how to display a text

2003-03-25 Thread Konstantin Piroumian
You can use whatever markup you want along with XMLForms, just use another (default) namespace and then handle it in your formatting stylesheet. You can mix several namespaces and use several trasnformers to handle them, e.g.: XMLFormTransformer -> i18nTransformer -> XSLTTransoformer. Konstantin

RE: XMLForm: how to display a text

2003-03-25 Thread Sylvain.Thevoz
OK, thanks. And about HTML link? If I want to insert a HTML link (href) in my view? Is there something that already exists? Regards Sylvain -Message d'origine- De: Stefan Klein [mailto:[EMAIL PROTECTED] Date: mardi, 25. mars 2003 12:19 À: [EMAIL PROTECTED] Objet: Re: XMLForm: how to dis

Re: [SUMMARY] XSLT does not maintain 'format' tags in XML??

2003-03-25 Thread Ugo Cei
[EMAIL PROTECTED] wrote: The solution: change to I don't think this is a good solution. If your input is first line second line the first instruction will produce first line second line but the second will produce first line second line In order to produce: first line second line

RE: Orcale-XML-Parser in Coccon2

2003-03-25 Thread Geoff Howard
I have some experience with it, but not yet within cocoon but would be interetested enough to lend a hand. Not sure the below will get what you were looking for - if not, write back and cc me directly. Geoff > -Original Message- > From: Marc Portier [mailto:[EMAIL PROTECTED] > Sent: T

encoding problem and xsp

2003-03-25 Thread Lionel Crine
Hello, I'm having trouble with my xsp page and ISO-8859-1 encoding. I use cocoon-2.0.4. I have an xsp which get the request object of a form and create again a link for an xsl page which redirect all to frame. All generators, transfomers and serializer have to parameter. the sitemap :

Re: XMLForm: how to display a text

2003-03-25 Thread Stefan Klein
No, what Richard says is just to include your own tag in the form, for example my text o my text, just call it how you like. The XMLFormTransformer will ignore the element and just pass it through. You can then catch it in your XSL (for example in xmlform2html.xsl, if you're using that one) and tr

Re: Orcale-XML-Parser in Coccon2

2003-03-25 Thread Marc Portier
Uwe, have no experience with it, however if it is fully JAXP compliant it _should_ be as easy as putting the jar in the classpath up front of (better yet: and removing) the xerces impl jar. for more detail and explanation: check the elm in your WEB-INF/cocoon.xconf (loads of comments there ta

Re: Problem in converting umlaut characters..

2003-03-25 Thread Marc Portier
jaya wrote: Hello, I am using Cocoon latest version. When I am generating a text file from text or html file? on-line or off-line? XML document using XSL, I got the following problem in Cocoon. "Müller" is shown as "Müller" where do you see this come up? ('in cocoon' is a bit vague) your

Orcale-XML-Parser in Coccon2

2003-03-25 Thread Uwe Gerger
Hello, I would like to use the Oracle - XML-Parser (version xdk-9_2_0_1_0) in Cocoon 2. Has anybody some experience in doing this!? What I have to do? Thanks in advance Uwe -- Uwe Gerger_/_/_/ _/_/ _/_/ BMW AG, TG-53 IT-Technologie _