Revising Documentation (not as off-topic as one might think)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey folks, I know there's a whole mailing list dedicated to the documentation, but I've tried posting there in the past, and it doesn't seem very productive, as it winds up being a sea of Wiki update notifications... This is *important*, tho. :) I was wondering if someone could direct me to the right person to contact for this matter... or, if indeed that "right person" might be following this list. I have found an error in the documentation regarding the behavior of the Source Writing Transformer: the docs state that the Source Writing Transformer does NOT honor prefixes and namespaces, when in fact it (now?) does! I've taken it upon myself to classify this issue as *important* because this error is provides information that is exactly *opposite* to the actual behavior. Based on the information printed on the docs, I spent a couple hours and concocted a hack to overcome this documentented shortcoming, only to realize that it wasn't necessary at all. I'm confident that a revision could save a number of people some valuable time in the future :) jL John Lianoglou | Vice President | ARACHNEdesign http://www.arachnedesign.net -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (Darwin) iD8DBQFAW+V22mjmCyerauURAkM0AKDHMCedDYMkbqPpIbZ5aKEY0s/yFgCfRI0x SIGztvbuEpaUj3dRZq7Oyrw= =Hzh6 -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: webdav and slide samples
On Fri, 19 Mar 2004, Tim Larson wrote: > I am having trouble getting the webdav samples to work with the embedded > slide repository. I uncommented the two slide config sections in > web.xml, but after that I seem to be lost. Can anybody offer help or > point me a the appropriate documentation? I am using a very recent CVS > version of Cocoon, and can update as needed. I assume you compiled the slide block. You will also need to make sure that the directories that slide writes to have the proper permissions. There's been recent work on the cocoon slide block so things might be a bit unstable. -- JP - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
webdav and slide samples
I am having trouble getting the webdav samples to work with the embedded slide repository. I uncommented the two slide config sections in web.xml, but after that I seem to be lost. Can anybody offer help or point me a the appropriate documentation? I am using a very recent CVS version of Cocoon, and can update as needed. Thanks, --Tim Larson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
VelocityGenerator and cocoon protocol
I tried specifying src="" when calling the VelocityGenerator and got a ResourceNotFound error from a Velocity class. I had thought that Cocoon was adding its resolver handling to velocity. Does this not work? Ralph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Calendar Generator
I'd like to generate an XML calendar for navigation of my blog. Is there a Calendar generator for Cocoon? -- Alan / [EMAIL PROTECTED] / http://engrm.com/ available for contract --> http://engrm.com/the-pitch.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Unable to convert RTREEFRAG to nodeset
> > > > Though I don't see why this should not work. Me neither. It's working now, and I can't figure out why! I'm not able to break it again to figure out what I did wrong. Anyway, thanks so much for your help! I always appreciate what you guys (and gals?) are doing. I hope to be able to contribute more some day rather than being a burden. Regards, Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Retrieve exception message in error handling
Have a look at the notifying generator, sample usage in the bottom of the root Cocoon sitemap. Askild - Martini Roberto wrote: > Then in the sitemap I'm able to catch that exception but I > can't retrieve the message in it: I would like to chreate a > page containing the error message, but I'm only able to send > a generic error page becase I don't know how to reach the > exception message. > Is there a way to do this? > Thanks in advance > > Roberto Martini > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ibm j2sdk and fop is not working
Problem is of course that it does not have jai installed =) but is it possible to install to ibm j2sdk? atlest the package thinked so.. - Joose 19.3.2004 kello 16:06, Joose Vettenranta kirjoitti: java vm changed to ibm 1.4.1 and FOP stopped working: ideas? - Joose java.lang.NoClassDefFoundError: com/sun/media/jai/codec/FileCacheSeekableStream at org.apache.fop.image.JAIImage.loadImage(JAIImage.java:95) at org.apache.fop.image.AbstractFopImage.getBitmaps(AbstractFopImage.java: 281) at org.apache.fop.pdf.PDFXObject.output(PDFXObject.java:233) at org.apache.fop.pdf.PDFDocument.output(PDFDocument.java:1296) at org.apache.fop.render.pdf.PDFRenderer.render(PDFRenderer.java:888) at org.apache.fop.apps.StreamRenderer.queuePage(StreamRenderer.java:302) at org.apache.fop.layout.AreaTree.addPage(AreaTree.java:108) at org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java: 415) at org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java: 338) at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:223) at org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java(C ompiled Code)) at org.apache.xml.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.ja va(Compiled Code)) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult. java:705) -- "Always remember that you are unique, just like everyone else!" * http://iki.fi/joose/ * [EMAIL PROTECTED] * +358 44 561 0270 * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- "Always remember that you are unique, just like everyone else!" * http://iki.fi/joose/ * [EMAIL PROTECTED] * +358 44 561 0270 * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Coplets and new cocoon forms
Are you sure you still apply the right transformer ? * portal-coplet (or/and portal-html-eventlink) Surjan Singh wrote: Hello, Has anyone experienced any problems when moving over from the old Woody way of doing things to the new Coocon Forms? I have a coplet that used Woody. This means that it created a ' However, I now get: ' This clearly will not work, as Cocoon needs to have the action transformed into a the first format. Any ideas? Thanks, Surj - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jean-Christophe Kermagoret [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
ibm j2sdk and fop is not working
java vm changed to ibm 1.4.1 and FOP stopped working: ideas? - Joose java.lang.NoClassDefFoundError: com/sun/media/jai/codec/FileCacheSeekableStream at org.apache.fop.image.JAIImage.loadImage(JAIImage.java:95) at org.apache.fop.image.AbstractFopImage.getBitmaps(AbstractFopImage.java: 281) at org.apache.fop.pdf.PDFXObject.output(PDFXObject.java:233) at org.apache.fop.pdf.PDFDocument.output(PDFDocument.java:1296) at org.apache.fop.render.pdf.PDFRenderer.render(PDFRenderer.java:888) at org.apache.fop.apps.StreamRenderer.queuePage(StreamRenderer.java:302) at org.apache.fop.layout.AreaTree.addPage(AreaTree.java:108) at org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java: 415) at org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:338) at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:223) at org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java(Co mpiled Code)) at org.apache.xml.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.jav a(Compiled Code)) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.j ava:705) -- "Always remember that you are unique, just like everyone else!" * http://iki.fi/joose/ * [EMAIL PROTECTED] * +358 44 561 0270 * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Retrieve exception message in error handling
Hi everybody I've made a transformer to process the result of a call to a servlet (axis). The transformer parses the message and, if the service response contains an error with his relative message (ex. "user already exists!"), it throws an exception. Then in the sitemap I'm able to catch that exception but I can't retrieve the message in it: I would like to chreate a page containing the error message, but I'm only able to send a generic error page becase I don't know how to reach the exception message. Is there a way to do this? Thanks in advance Roberto Martini - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cocoon stalls/freezes - big problem
Hi, I also had this kind of problem. My fault was opening database connections and not closing them properly, so after a while the connection pool was full. The next time a page wanted to access the database, it stalled because it was waiting for a free connection from the pool - so I thought it was cocoon that stalled and had to restart the container. In general, most times when cocoon stalls (and cpu usage does not go up to 100% so you're sure you're not in an infinite loop) its because of some pool shortage. The database connection pool with 10 max. connections (default) is the first thing to check. These kind of errors are hard to find since it's the desired behaviour for a *working* application :-) So here's how I found the error, hope it might help: I created an additional sitemap entry with a really *simple* XSP page: sitemap entry: test.xsp: http://apache.org/xsp";> If cocoon had stalled it would not have rendered this page, but it rendered o.k. So I tried adding elements from XSP namespaces I used (session, esql) and noticed that when I tried to execute an sql query, the page did not render anymore. That got me on the right track to finally eliminate the error. If you create a simple additional sitemap entry like that, does cocoon serve it or does it really "stall" ? Joose Vettenranta wrote: Hi, I've had problems with freezing/stalling from time to time in very oddly places and times. Sometimes it's fop which hangs but sometimes it's just some sub sitemap like today. Restarting tomcat helps. Same stalling happened with tomcat 4.1.21 and cocoon 2.0.3... If I have to access XSP-files so those are compiled many times, something might stall/freeze/jam after that. I would like to know why it freezes (is the problem tomcat or cocoon?). Most likely no one is not able to say for sure, but I would like to know some tips or instructions how to track that problem, like when it stalls, then what? And how to fix this annoying problem? Setup: Base system: Redhat 9 Apache 2.0.something acting as proxy. (this is not a problem, because direct access to tomcat is not working when something is stalled) Tomcat 4.1.29 Cocoon 2.1.3 Java SDK = 1.4.2_02 Log file is sometimes registering calls but sometimes not. It just stalls somewhere. Memory is not short. tomcat is run using following command line: /usr/java/j2sdk1.4.2_02/bin/java-server-Xmx1536m-Xincgc- Djava.awt.headless=true-Djava.endorsed.dirs=/var/tomcat4.1.29/common/ endorsed-classpath/usr/java/j2sdk1.4.2_02/lib/tools.jar:/var/ tomcat4.1.29/bin/bootstrap.jar-Dcatalina.base=/var/tomcat4.1.29- Dcatalina.home=/var/tomcat4.1.29-Djava.io.tmpdir=/var/tomcat4.1.29/ temporg.apache.catalina.startup.Bootstrapstart according to log files, there is lot's of free memery. tomcat-config: unpackWARs="true" autoDeploy="true"> directory="logs" prefix="localhost_log." suffix=".txt" timestamp="true"/> in sitemap.xmap (top-level) I have: false false false xalan cocoon.xconf has this memory configuration: in logkit.xconf I have setup so debug level is DEBUG - Joose -- "Always remember that you are unique, just like everyone else!" * http://iki.fi/joose/ * [EMAIL PROTECTED] * +358 44 561 0270 * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cocoon stalls/freezes - big problem
Forgot to say that cpu is Xeon and has hyper threading enabled. - Joose 19.3.2004 kello 14:32, Joose Vettenranta kirjoitti: Hi, I've had problems with freezing/stalling from time to time in very oddly places and times. Sometimes it's fop which hangs but sometimes it's just some sub sitemap like today. Restarting tomcat helps. Same stalling happened with tomcat 4.1.21 and cocoon 2.0.3... If I have to access XSP-files so those are compiled many times, something might stall/freeze/jam after that. I would like to know why it freezes (is the problem tomcat or cocoon?). Most likely no one is not able to say for sure, but I would like to know some tips or instructions how to track that problem, like when it stalls, then what? And how to fix this annoying problem? Setup: Base system: Redhat 9 Apache 2.0.something acting as proxy. (this is not a problem, because direct access to tomcat is not working when something is stalled) Tomcat 4.1.29 Cocoon 2.1.3 Java SDK = 1.4.2_02 Log file is sometimes registering calls but sometimes not. It just stalls somewhere. Memory is not short. tomcat is run using following command line: /usr/java/j2sdk1.4.2_02/bin/java-server-Xmx1536m-Xincgc- Djava.awt.headless=true-Djava.endorsed.dirs=/var/tomcat4.1.29/common/ endorsed-classpath/usr/java/j2sdk1.4.2_02/lib/tools.jar:/var/ tomcat4.1.29/bin/bootstrap.jar-Dcatalina.base=/var/tomcat4.1.29- Dcatalina.home=/var/tomcat4.1.29-Djava.io.tmpdir=/var/tomcat4.1.29/ temporg.apache.catalina.startup.Bootstrapstart according to log files, there is lot's of free memery. tomcat-config: unpackWARs="true" autoDeploy="true"> directory="logs" prefix="localhost_log." suffix=".txt" timestamp="true"/> in sitemap.xmap (top-level) I have: false false false xalan cocoon.xconf has this memory configuration: in logkit.xconf I have setup so debug level is DEBUG - Joose -- "Always remember that you are unique, just like everyone else!" * http://iki.fi/joose/ * [EMAIL PROTECTED] * +358 44 561 0270 * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- "Always remember that you are unique, just like everyone else!" * http://iki.fi/joose/ * [EMAIL PROTECTED] * +358 44 561 0270 * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cocoon stalls/freezes - big problem
Hi, I've had problems with freezing/stalling from time to time in very oddly places and times. Sometimes it's fop which hangs but sometimes it's just some sub sitemap like today. Restarting tomcat helps. Same stalling happened with tomcat 4.1.21 and cocoon 2.0.3... If I have to access XSP-files so those are compiled many times, something might stall/freeze/jam after that. I would like to know why it freezes (is the problem tomcat or cocoon?). Most likely no one is not able to say for sure, but I would like to know some tips or instructions how to track that problem, like when it stalls, then what? And how to fix this annoying problem? Setup: Base system: Redhat 9 Apache 2.0.something acting as proxy. (this is not a problem, because direct access to tomcat is not working when something is stalled) Tomcat 4.1.29 Cocoon 2.1.3 Java SDK = 1.4.2_02 Log file is sometimes registering calls but sometimes not. It just stalls somewhere. Memory is not short. tomcat is run using following command line: /usr/java/j2sdk1.4.2_02/bin/java-server-Xmx1536m-Xincgc- Djava.awt.headless=true-Djava.endorsed.dirs=/var/tomcat4.1.29/common/ endorsed-classpath/usr/java/j2sdk1.4.2_02/lib/tools.jar:/var/ tomcat4.1.29/bin/bootstrap.jar-Dcatalina.base=/var/tomcat4.1.29- Dcatalina.home=/var/tomcat4.1.29-Djava.io.tmpdir=/var/tomcat4.1.29/ temporg.apache.catalina.startup.Bootstrapstart according to log files, there is lot's of free memery. tomcat-config: unpackWARs="true" autoDeploy="true"> directory="logs" prefix="localhost_log." suffix=".txt" timestamp="true"/> in sitemap.xmap (top-level) I have: false false false xalan cocoon.xconf has this memory configuration: in logkit.xconf I have setup so debug level is DEBUG - Joose -- "Always remember that you are unique, just like everyone else!" * http://iki.fi/joose/ * [EMAIL PROTECTED] * +358 44 561 0270 * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: performance with transformation on BIG xml files
The STX stuff might be more helpful to you, or possibly a custom SAX transformer. I'll definitely dig in this direction. BTW, if you're only using XSLT and only generating your stuff one time (the bible doesn't change anymore, does it?), you might as well use Ant. This would allow you to run the split operation just once to generate a bunch of files, and then process each of those files individually. The Bible itself may not change but there are occasional typos and corrections to be done. Indeed I can split the Bible into pieces and present the individual books but as I developed a little Cocoon-based framework for HTML presentation which is centered around a TEI book, that would mean the user not having all the Bible. That is of course not a tragedy, but I think there must/should be a way to rapidly generate presentations of small pieces of big works. It seems that breaking works into reasonable-sized pieces can only be a temporary solution. I'll let you know how this works out, thank you all for your help! Adrian. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: performance with transformation on BIG xml files
On Fri, 2004-03-19 at 12:44, [EMAIL PROTECTED] wrote: > The streaming feature of Xalan won't save you any memory. The only > > >difference is that the transformation will start while the DOM (DTM) is > >still being built, but in the end it still builds the complete DTM > >(AFAIU). > > > > > So what XSLT processor would you recommend? none in particular. In the general case, an XSLT needs random access to the source document, so there's not much to do about it. The STX stuff might be more helpful to you, or possibly a custom SAX transformer. BTW, if you're only using XSLT and only generating your stuff one time (the bible doesn't change anymore, does it?), you might as well use Ant. This would allow you to run the split operation just once to generate a bunch of files, and then process each of those files individually. -- Bruno Dumon http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center [EMAIL PROTECTED] [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: performance with transformation on BIG xml files
The streaming feature of Xalan won't save you any memory. The only difference is that the transformation will start while the DOM (DTM) is still being built, but in the end it still builds the complete DTM (AFAIU). So what XSLT processor would you recommend? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: performance with transformation on BIG xml files
On Fri, 2004-03-19 at 07:53, Bertrand Delacretaz wrote: > Le Jeudi, 18 mars 2004, à 22:31 Europe/Zurich, J.Pietschmann a écrit : > > > Bertrand Delacretaz wrote: > >> Also, some XSLT constructs will force the XSLT processor to load the > >> whole thing in memory instead of streaming it. > > > > I was under the impression that both XSLTC and Saxon always load > > the whole XML, and that Xalan'S streaming processing was disabled > > in the default Cocoon setup and has to be explicitely enabled, so > > it is likely to load everything into memory as well. > > You're probably right, I didn't check whether streaming actually takes > place in the default Cocoon setup. So the first step would be to enable > and check it, for example by processing a large XML file with a simple > transform and watching memory consumption (or processor debugging > messages if they say something meaningful). The streaming feature of Xalan won't save you any memory. The only difference is that the transformation will start while the DOM (DTM) is still being built, but in the end it still builds the complete DTM (AFAIU). -- Bruno Dumon http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center [EMAIL PROTECTED] [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Handling redirects with file generator?
On 21.02.2004 01:47, Joel McConaughy wrote: I am trying to harvest some data from a website that returns an initial redirect. Using the file generator, I get the following error: org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.io.IOException which I'm guessing is caused by the redirect not being handled within the generator. If I use the url returned from the redirect, it works fine. My question, is there an easy and/or graceful to handle a redirect using existing components. I haven't dived into building my own generator yet which is the only other way I can think of to solve this. Thanks much. Did you have a look on the proxy generators in the proxy block? At least the HttpProxyGenerator uses HttpClient lib that allows to follow redirects, don't know how it is implemented in this generator. Joerg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: I18n sample - question about sitemap
On 20.02.2004 16:24, [EMAIL PROTECTED] wrote: Hello, I'm looking at the i18n sample shipped with the cocoon 2.1.3 build. I would like to know the meaning of cocoon:/menu/{../0} value="{../0}" value="{../../locale} {request:contextPath} in the followingsitemap snippet: How are the things in brackets resolved ? It's a resource, so from somewhere it has been called. ../ refers to that calling pipeline, 0 to the uri that matched. request:contextPath is the call to an input module. Joerg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Unable to convert RTREEFRAG to nodeset
On 19.03.2004 06:38, David Leangen wrote: Hi! I'm trying to convert a result tree fragment to a nodeset in Cocoon 2.1.3, but with no success. Just to make sure that I didn't mess anything up with my Cocoon configuration, I even tried a fresh build, but I get the same problem. In the meantime I'd recommend to use EXSLT: http://www.exslt.org/exsl/functions/node-set/index.html. It's supported by Xalan. Though I don't see why this should not work. Joerg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Unable to convert RTREEFRAG to nodeset
David Leangen wrote: Hi! I'm trying to convert a result tree fragment to a nodeset in Cocoon 2.1.3, but with no success. Just to make sure that I didn't mess anything up with my Cocoon configuration, I even tried a fresh build, but I get the same problem. The closest thing I found to help me solve my problem was the thread: http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=100517834709158&w=2 Specifically: I assume that you are using Xalan when using Cocoon. Then you can use the extension-function nodeset(): http://xml.apache.org/xalan-j/extensionslib.html#nodeset. Other processors like MSXML or Saxon have similar functions. Joerg I have tried this approach: xmlns:xsl = "http://www.w3.org/1999/XSL/Transform"; xmlns:xalan= "http://xml.apache.org/xalan"; exclude-result-prefixes="xalan" ... But get this error: org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.lang.RuntimeException: Can not convert #RTREEFRAG to a NodeList! I have also tried this: xmlns:xsl = "http://www.w3.org/1999/XSL/Transform"; xmlns:nodeset="org.apache.xalan.xslt.extensions.Nodeset" exclude-result-prefixes="nodeset" ... But get this error: org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.lang.RuntimeException: java.lang.NoSuchMethodException: For extension function, could not find method org.apache.xml.dtm.ref.DTMNodeIterator.nodeset([ExpressionContext,] ). Any ideas? this is no Cocoon specific problem but the way how XSLT works. See http://www.biglist.com/lists/xsl-list/archives/200101/msg01379.html and http://xml.apache.org/xalan-j/extensionslib.html#nodeset -- Reinhard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [beginner] Installing Cocoon on Debian.
Thanks for all reponses ! All is OK (^^) ! Laurent (less and less beginner, I hope) - Original Message - From: "Zamek" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 18, 2004 2:51 PM Subject: Re: [beginner] Installing Cocoon on Debian. > Hello, > > Try to install a newer tomcat to your machine. Maybe 4.1.x or 4.2.x. > > I am using it Debian unstable with 2.4.23 kernel, and java: > java version "1.4.0_03" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_03-b04) > Java HotSpot(TM) Client VM (build 1.4.0_03-b04, mixed mode) > from sun. > > tomcat is: 4.1.18. > > On Thursday 18 March 2004 14.50, Johannes Textor wrote: > > Then I suppose it has nothing to do with the endorsed-libs problem. In > > those cases > > you normally get other exceptions like ClassCastException or > > NoSuchMethodException. > > > > Now I remember I also had this error message once with the the cocoon > > 2.04 binary > > distribution. I then built my own .war file from the 2.1.4 source > > distribution which > > worked fine. Maybe you should try that if you're stuck. > > > > Laurent BERTHELOT wrote: > > >Hello > > > > > >I have the same problem with ParanoidCocoonServlet, the same error. > > >And when I define paranoid-classpath or extra-classpath in my web.xml > > >configuration file, files of my cocoon directory are just list by > > > tomcat. > > > > > >Regards, > > > > > >Laurent > > > > > -- > bye, > Zoltan Zidarics programmer > PTE University Pecs, Hungary > icq: 43288694 > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: You cannot select a Component : i need help
Patrick, There's an open bug on Bugzilla for this issue -- sorry, don't have the bug ID handy. To work around the problem without restarting Tomcat, simply add a space or a newline to your sitemap and save. John Montier Patrick wrote: hi, since a new installation of cocoon on a new server (i neveer had this error before), after one or two hours, i get the message "You cannot select a Component from a disposed ComponentSelector" and i have to restart tomcat. cocoon 2.1 env tomcat 4.01 JDK 1.3.1 i saw many users in the same case with no answer could it be the postgres jdbc pool connexion ? i changed the database to the newest release or the sitemap ? Any idea ? Thanks for your help Patrick -- - Jentro Technologies GmbH John L. Webber, Software Development - Rosenheimer Str. 145e 81671 München Tel. +49 89 189 169 80 mailto:[EMAIL PROTECTED] Fax +49 89 189 169 99 http://www.jentro.com - NOTICE: The information contained in this e-mail is confidential or may otherwise be legally privileged. It is intended for the named recipient only. If you have received it in error, please notify us immediately by reply or by calling the telephone number above and delete this message and all its attachments without any use or further distribution of its contents. Please note that any unauthorised review, copying, disclosing or otherwise making use of the information is strictly prohibited. Thank you. - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New to Cocoon - best practice for setting up sandbox?
David Swearingen wrote: What I don't understand: where can I set up a clean, virgin sitemap file and folder for my testing, without having to edit the huge sitemap file currently under the cocoon folder, but at the same time without disabling any of the current files? I just want a separate area to work in but I don't know how to set this up without modifying the current sitemap(s). Cocoon will automatically mount any sitemap found in a subdir of build/webapp, so just make a directory there and put a subsitemap in it. Finally, when I go into production on a separate server, I would like to simply have my application and nothing else, no samples, no docs. What's the general approach to this? Can you point me to a good document that describes these steps? Tweak local.build.properties and/or local.blocks.properties. See the comments in there. Ugo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JXForms and XPath, what's wrong?
Stephan Coboos wrote: in my Flowscript I set a bean under the name "picture". Within a JXTemplate I want to read the filename of the picture. This version works fine: ${picture.fileName} But this doesn't work: #{picture/fileName} or #{$picture/fileName} Do you have a public getter defined for "fileName"? Ugo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how do you set up your version control?
Dan wrote: How are people setting up version control (CVS, SVN) for their projects? Do you just keep your content (sitemap, config files, stylesheets, etc) under version control or do you keep the entire app, including the cocoon jars there too? Our CVS modules are usually self-contained and have no dependencies on other modules. We routinely build Cocoon with just the needed blocks and store all jars, web.xml and cocoon.xconf under src/webapp/WEB-INF together with our application files. We build with an Ant target that copies src/webapp to build/webapp and compiles src/java to build/webapp/WEB-INF/classes. This in the simplest case, but some variations might be introduced for special cases. Ugo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]