new Cocoon2 powered website!
Hello Cocoon users, I would like to introduce novice website powered by Cocoon2. http://www.lgt.lt/geoin It is an official Geoindicators website. Good luck, Valdo --- mailto:[EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Http 404.
I have followed the installation instrcutions to the word. However this is what I get in the tomcat window: 001-12-17 10:29:25 - ContextManager: Adding context Ctx( /examples ) 2001-12-17 10:29:25 - ContextManager: Adding context Ctx( /admin ) Starting tomcat. Check logs/tomcat.log for error messages 2001-12-17 10:29:25 - ContextManager: Adding context Ctx( /cocoon ) 2001-12-17 10:29:25 - ContextManager: Adding context Ctx( ) 2001-12-17 10:29:25 - ContextManager: Adding context Ctx( /test ) cannot load servlet name: Cocoon2 2001-12-17 10:29:26 - PoolTcpConnector: Starting HttpConnectionHandler on 8080 2001-12-17 10:29:26 - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8007 2001-12-17 10:29:57 - Ctx( /cocoon ): 404 R( /cocoon + / + null) null Please Help. TIA. Vishakha Kulkarni Pace Software 5, Clare Street, Dublin Tel: 6628170 attachment: winmail.dat - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problems generating PDF files using request parameters
Hi, Am having a problem getting the request parameters (submitted from a form) into a PDF document. The code I am using is as follows. In the site map ( the one used for the demos ) I have added the following code !-- generates the form -- map:match pattern=subpage map:generate src=clives/docs/subpage.xml/ map:transform src=clives/stylesheets/simple-page2html.xsl/ map:serialize/ /map:match !-- generates the PDF document -- map:match pattern=endpage map:generate type=serverpages src=clives/docs/endpage.xml/ map:transform src=clives/stylesheets/simple-page2fo.xsl map:parameter name=use-request-parameters value=true/ /map:transform map:serialize type=fo2pdf/ /map:match When the PDF document is generated the parameter values are missing, the style sheets are copies on ones used in the sample pages supplied. The contents of endpage.xml are as follows. xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:xsp-formval=http://apache.org/xsp/form-validator/2.0; xmlns:xsp-request=http://apache.org/xsp/request/2.0; page xsp:logic String msg = request.getParameter(paraText); /xsp:logic paraxsp:exprmsg/xsp:expr/para titleTHIS is the end my friend/title paraxsp-request:get-parameter name=paraText default=bugger//para paraxsp-request:get-parameter name=inputText default=fred //para /page /xsp:page The parameter names are correct! , when I change the style sheet to simple-page2html and remove the type from the serialize tag, it generates the page fine in html with all the parameters in place. Any ideas? is this a bug, or am I missing something when trying to convert to pdf. It appears to be stripping of the request parameters. FYI I am using Cocoon 2 running in tomcat 3.2.2 on a windows 2000 platform. Cheers Clive Software Developer The Accident Group 55 King Street, Manchester, M2 4LQ Tel0161 778 6199 www.accidentgroup.com - Confidentiality Notice: This message is intended only for the addressee and may contain information that is confidential or privileged. Unauthorised use is strictly prohibited and may be unlawful. If you are not the addressee, you should not read, copy, disclose or otherwise use this message, except for the purpose of delivery to the addressee. Any opinions or advice contained in this message are subject to The Accident Group standard terms and conditions. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
selectors problem
Hello everybody.I have a problem and I think you may know about it.I want to use only a url eg. mysite.com/sportto display some info to several browser, mainly html and wml.But the wap simulator of Ericsson and Nokia do not present the wml,but the always take the data as html or unknown format.take a look at my sitemap.xmap: =20ANY IDEAS? regards Andreas.!-- ** UNIQUE NAME FOR ALL BROWSERS = -- map:match pattern=3D"sport" map:generate src="3D"ntua/sport.xml"/
=20 map:select map:when test=3D"explorer" map:transform src="3D"ntua/main.xsl"/
/map:when =20 map:when test=3D"wap" map:transform src="3D"ntua/wml.xsl"/
/map:when =20 map:otherwise map:transform src="3D"ntua/wml.xsl"/
/map:otherwise =20 /map:select map:serialize/ /map:match!--* /END UNIQUE NAME FOR ALL BROWSERS = --ALSO THE SELECTORS DATA map:selectors default="browser" map:selector name="browser" src="org.apache.cocoon.selection.BrowserSelector" !-- # NOTE: The appearance indicates the search order. This is very important since # some words may be found in more than one browser description. (MSIE is # presented as "Mozilla/4.0 (Compatible; MSIE 4.01; ...") -- browser name="explorer" useragent="MSIE"/ browser name="pocketexplorer" useragent="MSPIE"/ browser name="handweb" useragent="HandHTTP"/ browser name="avantgo" useragent="AvantGo"/ browser name="imode" useragent="DoCoMo"/ browser name="opera" useragent="Opera"/ browser name="lynx" useragent="Lynx"/ browser name="java" useragent="Java"/ browser name="wap" useragent="Nokia"/ browser name="wap" useragent="Ericsson"/ browser name="wap" useragent="UP"/ browser name="wap" useragent="Wapalizer"/ browser name="mozilla5" useragent="Mozilla/5"/ browser name="mozilla5" useragent="Netscape6/"/ browser name="netscape" useragent="Mozilla"/ /map:selector map:selector name="parameter" src="org.apache.cocoon.selection.ParameterSelector"/ /map:selectors
RE: starting Xvfb for Cocoon
There is another solution to the XVFB problem which we are implementing: You can use http: //www.eteks.com/pja/en which is a replacement for the Java Graphics package. It is 100% Pure Java and doesn't use any native graphics resource of the system on which the Java Virtual Machine runs. Therefore you wont need to worry about seting up XVFB and messing with Display settings. HTH, Aaron -Original Message- From: David Armstrong [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 15, 2001 1:28 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: starting Xvfb for Cocoon Hi Cindy, May I suggest the following to try: From a shell prompt, do a which Xvfb This should report the full path to the Xvfb program. Then, change the Xvfb :1 to the full path (e.g. /usr/sbin/Xvfb :1 ... - I don't know what the proper path is as I don't have it installed myself). You may also have to do the same change in the killproc (not really sure). The reason for this is that your command shell will normally find this program thanks to the PATH environment variable - but not all path elements are present in the PATH variable when the init.d scripts are being run, hence at boot time your script can't find Xvfb. Also, the line export DISPLAY=:1 is really redundant in this startup script - the important place to have this is before firing up Tomcat/Cocoon. I hope this helps, David On Tue, 2001-12-11 at 17:43, Cindy Ballreich wrote: I suppose that this is really a Xvfb or even a Linux question, but since it directly relates to Cocoon I hope you'll allow me to ask it here. I've tried linux.redhat.misc with no success. I have a very basic RedHat 7.0 web server (Apache 1.3.20) and I want to run Cocoon 2.0 with Tomcat 3.3. Apparently, I also need to run Xvfb in order for Cocoon to work properly. I would very much like to start Xvfb at boot time along with all of the other web services. I've written an init.d script to do this. This script works very well from the command line, but for some reason it won't work at boot time. Perhaps Xvfb requires a service that isn't running when it tries to start? I was wondering if anyone might be doing this successfully and if they'd mind sharing their init.d script. I'd also appreciate being pointed to any documentation that might explain what I'm doing wrong. My current script was accepted by chkconfig and all of the rc.d links are present. It works great from the command line and *appears* to work at boot time (I get the starting message and the result is OK), but once the system finishes booting and I log on there is no instance of Xvfb running. Any advice would be greatly appreciated. Here is the script that I'm currently using... -- beginning of script --- #!/bin/sh # # Startup script for Xvfb # # chkconfig: 2345 79 21 # description: Xvfb - virtual frame buffer # processname: Xvfb # # Source function library. . /etc/rc.d/init.d/functions ## See how we were called. case $1 in start) echo -n Starting Xvfb services: Xvfb :1 -screen 0 800x600x8 export DISPLAY=:1 echo touch /var/lock/subsys/Xvfb ;; stop) echo -n Stopping Xvfb services: killproc Xvfb echo rm -f /var/lock/subsys/Xvfb ;; status) status Xvfb ;; restart|reload) $0 stop $0 start ;; *) echo Usage: xvfb {start|stop|status|restart}[EMAIL PROTECTED] exit 1 esac exit 0 -- end of script --- This script is similar to the one in this usenet posting (beware wordwrap)... http://groups.google.com/groups?q=+%22starting+Xvfb%22hl=enlr=lang_enrnum =2selm=m266r04r65.fsf%40gododdin.internal.jasmine.org.uk - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: starting Xvfb for Cocoon
As has been mentioned before (maybe this should go in the FAQ?) you will most likely be violating the GPL if you go this route. The PJA toolkit is released under the GPL and integrating it for use with Cocoon is questionable as GNU does not consider the Apache license to be compatible with the GPL. -Original Message- From: SANSONE, AARON M [Non-Pharmacia/1000] [mailto:[EMAIL PROTECTED]] Sent: Monday, December 17, 2001 7:27 AM To: '[EMAIL PROTECTED]' Subject: RE: starting Xvfb for Cocoon There is another solution to the XVFB problem which we are implementing: You can use http: //www.eteks.com/pja/en which is a replacement for the Java Graphics package. It is 100% Pure Java and doesn't use any native graphics resource of the system on which the Java Virtual Machine runs. Therefore you wont need to worry about seting up XVFB and messing with Display settings. HTH, Aaron -Original Message- From: David Armstrong [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 15, 2001 1:28 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: starting Xvfb for Cocoon Hi Cindy, May I suggest the following to try: From a shell prompt, do a which Xvfb This should report the full path to the Xvfb program. Then, change the Xvfb :1 to the full path (e.g. /usr/sbin/Xvfb :1 ... - I don't know what the proper path is as I don't have it installed myself). You may also have to do the same change in the killproc (not really sure). The reason for this is that your command shell will normally find this program thanks to the PATH environment variable - but not all path elements are present in the PATH variable when the init.d scripts are being run, hence at boot time your script can't find Xvfb. Also, the line export DISPLAY=:1 is really redundant in this startup script - the important place to have this is before firing up Tomcat/Cocoon. I hope this helps, David On Tue, 2001-12-11 at 17:43, Cindy Ballreich wrote: I suppose that this is really a Xvfb or even a Linux question, but since it directly relates to Cocoon I hope you'll allow me to ask it here. I've tried linux.redhat.misc with no success. I have a very basic RedHat 7.0 web server (Apache 1.3.20) and I want to run Cocoon 2.0 with Tomcat 3.3. Apparently, I also need to run Xvfb in order for Cocoon to work properly. I would very much like to start Xvfb at boot time along with all of the other web services. I've written an init.d script to do this. This script works very well from the command line, but for some reason it won't work at boot time. Perhaps Xvfb requires a service that isn't running when it tries to start? I was wondering if anyone might be doing this successfully and if they'd mind sharing their init.d script. I'd also appreciate being pointed to any documentation that might explain what I'm doing wrong. My current script was accepted by chkconfig and all of the rc.d links are present. It works great from the command line and *appears* to work at boot time (I get the starting message and the result is OK), but once the system finishes booting and I log on there is no instance of Xvfb running. Any advice would be greatly appreciated. Here is the script that I'm currently using... -- beginning of script --- #!/bin/sh # # Startup script for Xvfb # # chkconfig: 2345 79 21 # description: Xvfb - virtual frame buffer # processname: Xvfb # # Source function library. . /etc/rc.d/init.d/functions ## See how we were called. case $1 in start) echo -n Starting Xvfb services: Xvfb :1 -screen 0 800x600x8 export DISPLAY=:1 echo touch /var/lock/subsys/Xvfb ;; stop) echo -n Stopping Xvfb services: killproc Xvfb echo rm -f /var/lock/subsys/Xvfb ;; status) status Xvfb ;; restart|reload) $0 stop $0 start ;; *) echo Usage: xvfb {start|stop|status|restart}[EMAIL PROTECTED] exit 1 esac exit 0 -- end of script --- This script is similar to the one in this usenet posting (beware wordwrap)... http://groups.google.com/groups?q=+%22starting+Xvfb%22hl=enlr=lang_enrn um =2selm=m266r04r65.fsf%40gododdin.internal.jasmine.org.uk - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting.
[C2] Newbie: Adding doctype to xhtml output?
Hi, I was wondering what the correct way add a doctype to xhtml output is? Right now my xsl looks like this: ?xml version=1.0 encoding=UTF-8? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns=http://www.w3.org/TR/xhtml1/strict; xsl:output method=xml standalone=yes doctype-public=-//W3C//DTD XHTML 1.0 Strict//EN doctype-system=DTD/xhtml1-strict.dtd / xsl:template match=/ xsl:text disable-output-escaping=yes!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN DTD/xhtml1-strict.dtd /xsl:text html ... which results in output: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN DTD/xhtml1-strict.dtd html xmlns=http://www.w3.org/TR/xhtml1/strict; ... Is this the correct way to do this? The xsl:text disable-output-escaping=yes!DOCTYPE html PUBLIC -//W3C... part seems like a hack to me. Why doesn't simply specifying the doctype-public and doctype-system attributes in the xsl:output element result in the doctype being added? I haven't made any changes to my sitemap file. Is there something I should do there that would be more appropriate? Thanks! Ian . - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: starting Xvfb for Cocoon
SANSONE, AARON M [Non-Pharmacia/1000] wrote: I question that this is a GPL violation since this solution is not integrated into Cocoon, but a Java AWT replacement that is specified at runtime. As long as they are not anything other than aggregated, there should be no problem. Apache may have a problem with distributing GPL'd software, though. I don't know. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: [C2] Newbie: Adding doctype to xhtml output?
Try adding the elements doctype-public, doctype-system in your sitemap to the HTML-Serializer like the following: map:serializer name=html mime-type=text/html src=org.apache.cocoon.serialization.HTMLSerializer doctype-public-//W3C//DTD HTML 4.01//EN/doctype-public doctype-systemhttp://www.w3.org/TR/html4/strict.dtd/doctype-system encodingUTF-8/encoding /map:serializer Stefan -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 17. Dezember 2001 18:06 An: [EMAIL PROTECTED] Betreff: [C2] Newbie: Adding doctype to xhtml output? Hi, I was wondering what the correct way add a doctype to xhtml output is? Right now my xsl looks like this: ?xml version=1.0 encoding=UTF-8? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns=http://www.w3.org/TR/xhtml1/strict; xsl:output method=xml standalone=yes doctype-public=-//W3C//DTD XHTML 1.0 Strict//EN doctype-system=DTD/xhtml1-strict.dtd / xsl:template match=/ xsl:text disable-output-escaping=yes!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN DTD/xhtml1-strict.dtd /xsl:text html ... which results in output: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN DTD/xhtml1-strict.dtd html xmlns=http://www.w3.org/TR/xhtml1/strict; ... Is this the correct way to do this? The xsl:text disable-output-escaping=yes!DOCTYPE html PUBLIC -//W3C... part seems like a hack to me. Why doesn't simply specifying the doctype-public and doctype-system attributes in the xsl:output element result in the doctype being added? I haven't made any changes to my sitemap file. Is there something I should do there that would be more appropriate? Thanks! Ian . - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [c1] java.lang.NoClassDefFoundError with custom class?
Sorry for the delay ... I do have loose classes in WEB-INF/classes. That's the problem. I've got a simple Globals object I created - still in the same place as it was when it was working under Tomcat3.x (webapps/myapp/WEB-INF/classes/com/mycomp/globals/Globals.class). - Brent - Original Message - From: David Rosenstrauch [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 14, 2001 12:39 PM Subject: Re: [c1] java.lang.NoClassDefFoundError with custom class? Loose classes go in WEB-INF/classes. Jar files go in WEB-INF/lib. If your code is in a jar file then you put it in the wrong place. DR At 12:29 PM 12/14/01 -0500, you wrote: I'm running Cocoon 1.8.2 and I've just upgraded from Tomcat3.x to Tomcat4.0.1. According to Tomcat's documentation, anything in WEB-INF/classes is available (so I dont have to put it in my classpath). I've got my own com.blah.globals package in WEB-INF/classes/com/blah/globals. When I try and import this in my cocoon logicsheet I get a NoClassDefFoundError: java.lang.NoClassDefFoundError: com/rrp/globals/Globals at _home._reedy._docs._production._pcteachit_com._temp.init(_temp.java:33) at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:237) If anyone has any ideas on this I would really appreciate it. I tried adding it to my classpath and restarting everything and I still get the same error. Thanks! - Brent - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to xhtml?
Hello, sorry for the inconvenience, but i don't anyother place to ask this I want to make xhtml pages width cocoon2 ¿It's posible?¿How do i do that? Thanks - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: new Cocoon2 powered website!
This site is very very slow. - Original Message - From: Valdas Rapsevicius [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 17, 2001 5:04 AM Subject: new Cocoon2 powered website! Hello Cocoon users, I would like to introduce novice website powered by Cocoon2. http://www.lgt.lt/geoin It is an official Geoindicators website. Good luck, Valdo --- mailto:[EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to xhtml?
Pedro: Please read http://xml.apache.org/cocoon/ctwig/index.html for the best beginner introduction to Cocoon. On the left side of the page in the gray navigation bar are the different sections of this document. Please read all of them. Cocoon does not care what the output of the style sheet is. It could be WML, XHTML, HTML, or even plain text. It is up to you to decide what to do. HTH, -B -Original Message- From: Pedro [mailto:[EMAIL PROTECTED]] Sent: Monday, December 17, 2001 11:42 AM To: [EMAIL PROTECTED] Subject: How to xhtml? Hello, sorry for the inconvenience, but i don't anyother place to ask this I want to make xhtml pages width cocoon2 ¿It's posible?¿How do i do that? Thanks - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Error compiling sitemap
Hi, a classic classpath issue, I guess Gerhard If patience is a virtue, and ignorance is bliss, you can have a pretty good life if you're stupid and willing to wait. -Original Message- From: Zilvinas Marozas [mailto:[EMAIL PROTECTED]] Sent: Monday, December 17, 2001 8:49 PM To: [EMAIL PROTECTED] Subject: Error compiling sitemap I am getting a internal server error when trying to access localhost:8080/cocoon. Here it is info that I found in cocoon logs. ERROR (2001-12-17) 14:41.25:181 [cocoon ] (/cocoon/) Thread-14/Handler: Error compiling sitemap javax.xml.transform.TransformerFactoryConfigurationError: java.lang.ClassNotFoundException: org.apache.xalan.processor.TransformerFactoryImpl at javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:1 21) at org.apache.cocoon.components.language.markup.LogicsheetCodeGenerator.getTran sformerFactory(LogicsheetCodeGenerator.java:81) at org.apache.cocoon.components.language.markup.LogicsheetCodeGenerator.initial ize(LogicsheetCodeGenerator.java:59) at org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.generate Code(AbstractMarkupLanguage.java:270) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat eResource(ProgramGeneratorImpl.java:309) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR esource(ProgramGeneratorImpl.java:271) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr ogramGeneratorImpl.java:188) at org.apache.cocoon.sitemap.Handler.run(Handler.java:208) at java.lang.Thread.run(Thread.java:484) Zilvinas - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: new Cocoon2 powered website!
But the ping show, it's not Cocoon ;-) Even cvs.apache.org is faster www.lgt.lt gerhard@cobra:~ ping www.lgt.lt PING geolw.lgt.lt (193.219.89.200): 56 data bytes 64 bytes from 193.219.89.200: icmp_seq=0 ttl=106 time=918.244 ms 64 bytes from 193.219.89.200: icmp_seq=1 ttl=106 time=1007.272 ms 64 bytes from 193.219.89.200: icmp_seq=2 ttl=106 time=953.054 ms 64 bytes from 193.219.89.200: icmp_seq=3 ttl=106 time=930.528 ms 64 bytes from 193.219.89.200: icmp_seq=4 ttl=106 time=986.530 ms 64 bytes from 193.219.89.200: icmp_seq=5 ttl=106 time=878.792 ms 64 bytes from 193.219.89.200: icmp_seq=6 ttl=106 time=956.989 ms 64 bytes from 193.219.89.200: icmp_seq=7 ttl=106 time=893.702 ms 64 bytes from 193.219.89.200: icmp_seq=8 ttl=106 time=734.588 ms 64 bytes from 193.219.89.200: icmp_seq=9 ttl=106 time=980.164 ms --- geolw.lgt.lt ping statistics --- 11 packets transmitted, 10 packets received, 9% packet loss round-trip min/avg/max = 734.588/923.986/1007.272 ms /www.lgt.lt cvs.apache.org gerhard@cobra:~ ping cvs.apache.org PING cvs.apache.org (64.125.133.21): 56 data bytes 64 bytes from 64.125.133.21: icmp_seq=0 ttl=45 time=227.258 ms 64 bytes from 64.125.133.21: icmp_seq=1 ttl=46 time=243.502 ms 64 bytes from 64.125.133.21: icmp_seq=2 ttl=46 time=234.002 ms 64 bytes from 64.125.133.21: icmp_seq=3 ttl=46 time=232.474 ms 64 bytes from 64.125.133.21: icmp_seq=4 ttl=46 time=231.402 ms 64 bytes from 64.125.133.21: icmp_seq=5 ttl=46 time=240.442 ms 64 bytes from 64.125.133.21: icmp_seq=6 ttl=46 time=232.368 ms 64 bytes from 64.125.133.21: icmp_seq=7 ttl=45 time=222.987 ms /cvs.apache.org Gerhard You can't fall off the floor -Original Message- From: Gritsenko at home [mailto:[EMAIL PROTECTED]] Sent: Monday, December 17, 2001 1:29 PM To: [EMAIL PROTECTED] Subject: Re: new Cocoon2 powered website! This site is very very slow. - Original Message - From: Valdas Rapsevicius [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 17, 2001 5:04 AM Subject: new Cocoon2 powered website! Hello Cocoon users, I would like to introduce novice website powered by Cocoon2. http://www.lgt.lt/geoin It is an official Geoindicators website. Good luck, Valdo --- mailto:[EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Error compiling sitemap
My classpath is following D:\tomcat\binset classpath CLASSPATH=D:\tomcat\classes;D:\tomcat\lib\ant.jar;D:\tomcat\lib\jasper.jar;D :\to mcat\lib\parser.jar;D:\tomcat\lib\servlet.jar;D:\tomcat\lib\webserver.jar;D: \jdk1.3.1_01\lib\tools.jar What is wrong with it ? I replaced original Tomcat parser.jar file with xerces-1.4.4.jar as it was written in installation instructions. Zilvinas - Original Message - From: Gerhard Froehlich [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 17, 2001 2:54 PM Subject: RE: Error compiling sitemap Hi, a classic classpath issue, I guess Gerhard If patience is a virtue, and ignorance is bliss, you can have a pretty good life if you're stupid and willing to wait. -Original Message- From: Zilvinas Marozas [mailto:[EMAIL PROTECTED]] Sent: Monday, December 17, 2001 8:49 PM To: [EMAIL PROTECTED] Subject: Error compiling sitemap I am getting a internal server error when trying to access localhost:8080/cocoon. Here it is info that I found in cocoon logs. ERROR (2001-12-17) 14:41.25:181 [cocoon ] (/cocoon/) Thread-14/Handler: Error compiling sitemap javax.xml.transform.TransformerFactoryConfigurationError: java.lang.ClassNotFoundException: org.apache.xalan.processor.TransformerFactoryImpl at javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java: 1 21) at org.apache.cocoon.components.language.markup.LogicsheetCodeGenerator.getTra n sformerFactory(LogicsheetCodeGenerator.java:81) at org.apache.cocoon.components.language.markup.LogicsheetCodeGenerator.initia l ize(LogicsheetCodeGenerator.java:59) at org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.generat e Code(AbstractMarkupLanguage.java:270) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.genera t eResource(ProgramGeneratorImpl.java:309) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.create R esource(ProgramGeneratorImpl.java:271) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(P r ogramGeneratorImpl.java:188) at org.apache.cocoon.sitemap.Handler.run(Handler.java:208) at java.lang.Thread.run(Thread.java:484) Zilvinas - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Error executing the example esql.xml on cocoon1.8.2
I have installed: Red Hat 7.2 Postgresql 7.1.3. JDK1.3 JDBC: /usr/local/jdbc7.1-1.2.jar Cocoon1.8.2 Tomcat3.2.3 Now when I try to access my pages I get the following error message : When executing the example esql.xml of the cocoon 1.8.2 that is in /samples/sql/. Cocoon 1.8.2 Error found handling the request. java.lang.RuntimeException: Error loading driver: org.postgresql.Driver at _usr._local._jakarta._build._tomcat._webapps._cocoon._samples._sql._esql.populateDocument(_esql.java:141) at org.apache.cocoon.processor.xsp.XSPPage.getDocument(XSPPage.java:97) at org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:527) at org.apache.cocoon.Engine.handle(Engine.java:384) at org.apache.cocoon.Cocoon.service(Cocoon.java:183) at javax.servlet.http.HttpServlet.service(HttpServlet.java:865) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405) at org.apache.tomcat.core.Handler.service(Handler.java:287) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501) at java.lang.Thread.run(Thread.java:484) --- Warning: this page has been dynamically generated. --- What he/she would have to make to make work this example? To add or to modify something in tomcat.properties or cocoon.properties or pg_hba.conf? From already thank you for their help. Iván Andrade M. Punta Arenas. Chile. _ Con MSN Hotmail súmese al servicio de correo electrónico más grande del mundo. http://www.hotmail.com/ES - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Help - Applying Cocoon2 for equipment remote monitoring
Would anyone recommend using Cocoon to transfer and render data from server-side connections to stand-alone applications automatically running equipment for monitoring and administration purposes? Does the framework have functionality to connect with a local port on the server and keep the connection open for multiple transfers and rendering? Similar to pooling for database connections, but instead pooling the socket connection for mulitple requests for current data in memory from another server-side application. Some data I can put into a database and use esql in xsp but there is a need to check on data inside the running application which is aquiring data from external hardware devices. The purpose of looking at the data inside the running application instead of just the database is to determine if the application is processing data correctly and observe intermediate data (Intermediate data is data either too large or there is no reason to store in a database). We are looking for a remote solution because the equipment is running inside a environmental clean room. We have done it with stand-alone-client/server sockets but are now wanting to use a browser interface published from a Cocoon-like framework. Roger - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
HELP PLEASE: Error executing the example esql.xml on cocoon1.8.2
I have installed: Red Hat 7.2 Postgresql 7.1.3. JDK1.3 JDBC: /usr/local/jdbc7.1-1.2.jar Cocoon1.8.2 Tomcat3.2.3 Now when I try to access my pages I get the following error message : When executing the example esql.xml of the cocoon 1.8.2 that is in /samples/sql/. Cocoon 1.8.2 Error found handling the request. java.lang.RuntimeException: Error loading driver: org.postgresql.Driver at _usr._local._jakarta._build._tomcat._webapps._cocoon._samples._sql._esql.populateDocument(_esql.java:141) at org.apache.cocoon.processor.xsp.XSPPage.getDocument(XSPPage.java:97) at org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:527) at org.apache.cocoon.Engine.handle(Engine.java:384) at org.apache.cocoon.Cocoon.service(Cocoon.java:183) at javax.servlet.http.HttpServlet.service(HttpServlet.java:865) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405) at org.apache.tomcat.core.Handler.service(Handler.java:287) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501) at java.lang.Thread.run(Thread.java:484) --- Warning: this page has been dynamically generated. --- What he/she would have to make to make work this example? To add or to modify something in tomcat.properties or cocoon.properties or pg_hba.conf? From already thank you for their help. Iván Andrade M. Punta Arenas. Chile. _ Hable con sus amigos en línea, pruebe MSN Messenger: http://messenger.msn.es - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Error executing the example esql.xml on cocoon1.8.2
Ivan, have you downloaded the postgres jdbc driver: http://jdbc.postgresql.org/download.html I use cocoon2, so I'm not sure how you include it in the classpath. Just locate the section of your configuration file that loads all the jars and place the jdbc7.1-1.2.jar in the same location and include it in the configuration file... Stan Ivan Manuel Andrade Muñoz wrote: I have installed: Red Hat 7.2 Postgresql 7.1.3. JDK1.3 JDBC: /usr/local/jdbc7.1-1.2.jar Cocoon1.8.2 Tomcat3.2.3 Now when I try to access my pages I get the following error message : When executing the example esql.xml of the cocoon 1.8.2 that is in /samples/sql/. Cocoon 1.8.2 Error found handling the request. java.lang.RuntimeException: Error loading driver: org.postgresql.Driver at _usr._local._jakarta._build._tomcat._webapps._cocoon._samples._sql._esql.populateDocument(_esql.java:141) at org.apache.cocoon.processor.xsp.XSPPage.getDocument(XSPPage.java:97) at org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:527) at org.apache.cocoon.Engine.handle(Engine.java:384) at org.apache.cocoon.Cocoon.service(Cocoon.java:183) at javax.servlet.http.HttpServlet.service(HttpServlet.java:865) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405) at org.apache.tomcat.core.Handler.service(Handler.java:287) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501) at java.lang.Thread.run(Thread.java:484) --- Warning: this page has been dynamically generated. --- What he/she would have to make to make work this example? To add or to modify something in tomcat.properties or cocoon.properties or pg_hba.conf? From already thank you for their help. Iván Andrade M. Punta Arenas. Chile. _ Con MSN Hotmail súmese al servicio de correo electrónico más grande del mundo. http://www.hotmail.com/ES - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Cocoon and Slide
I would like to use Slide with Cocoon, but can't seem to find any documentation on the subject. Does anybody have experience with this? How can I edit the Cocoon XML files on-line? When will indexing and searching be implemented? Thanks, Bert - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [c1] java.lang.NoClassDefFoundError with custom class?
From xdocs/todo.xml: action context=code bugid=11 Add standard WEB-INF/classes and WEB-INF/lib to XSP classpath. /action So I don't think it's possible with Cocoon 1. It looks like XSP pages have their own classloader (org.apache.cocoon.processor.xsp.language.java.XSPClassLoader), and perhaps that's not delegating like it should. Btw, Tomcat 4 (and 3.3) ignores your system classpath, so setting it on the command-line won't work. I think there's a magic property either in Tomcat or Cocoon that lets you bypass this. Um. Not sure what the solution is :/ --Jeff On Fri, Dec 14, 2001 at 12:29:59PM -0500, Brent L Johnson wrote: I'm running Cocoon 1.8.2 and I've just upgraded from Tomcat3.x to Tomcat4.0.1. According to Tomcat's documentation, anything in WEB-INF/classes is available (so I dont have to put it in my classpath). I've got my own com.blah.globals package in WEB-INF/classes/com/blah/globals. When I try and import this in my cocoon logicsheet I get a NoClassDefFoundError: java.lang.NoClassDefFoundError: com/rrp/globals/Globals at _home._reedy._docs._production._pcteachit_com._temp.init(_temp.java:33) at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:237) If anyone has any ideas on this I would really appreciate it. I tried adding it to my classpath and restarting everything and I still get the same error. Thanks! - Brent - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: new Cocoon2 powered website!
Unusably slow. -Original Message- From: Gritsenko at home [mailto:[EMAIL PROTECTED]] Sent: Monday, December 17, 2001 4:29 AM To: [EMAIL PROTECTED] Subject: Re: new Cocoon2 powered website! This site is very very slow. - Original Message - From: Valdas Rapsevicius [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 17, 2001 5:04 AM Subject: new Cocoon2 powered website! Hello Cocoon users, I would like to introduce novice website powered by Cocoon2. http://www.lgt.lt/geoin It is an official Geoindicators website. Good luck, Valdo --- mailto:[EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
help needed regarding cocoon2
Hi , I started using cocoon2 just today. While starting the tomcat server iam facing a problem which is list below. Please have a look at it and let me know the solution. Context log: path="/XmlServlet" Adding context path="/XmlServlet" docBase="webapps/XmlServlet"Context log: path="" Adding context path="" docBase="webapps/ROOT"Context log: path="/test" Adding context path="/test" docBase="webapps/test"Starting tomcat. Check logs/tomcat.log for error messagesXmlMapper: Can't find method setDescription in Wrapper(Cocoon2 null) CLASS classorg.apache.tomcat.core.ServletWrapperLoading catalog: C:\Ides\Jbuilder4new\tomcat\webapps\cocoon/resources/entities/catalogServer.run/init: java.sql.SQLException: File input/output error: C:\Ides\Jbuilder4new\tomcat\webapps\cocoon\WEB-INF\db\cocoondb.backupjava.sql.SQLException: File input/output error: C:\Ides\Jbuilder4new\tomcat\webapps\cocoon\WEB-INF\db\cocoondb.backup at org.hsqldb.Trace.getError(Trace.java:180) at org.hsqldb.Trace.getError(Trace.java:144) at org.hsqldb.Trace.error(Trace.java:205) at org.hsqldb.Log.restoreBackup(Log.java:731) at org.hsqldb.Log.open(Log.java:212) at org.hsqldb.Database.init(Database.java:96) at org.hsqldb.Server.run(Server.java:137) at org.hsqldb.Server.main(Server.java:78) at org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:101) at java.lang.Thread.run(Thread.java:484) thanks in advance Reddy
Possible Bug ? Using cmp in directory name causes error in sitemap
To Cocoon-Users, See below: map:pipeline map:match pattern=mysubsite/** map:mount uri-prefix=mysubsite src=mysubsite/cmp/ check-reload=yes/ /map:match /map:pipeline When using cmp as a folder name I get the error message detailed at the end of this email. When I change this folder name to, say, fred, it works fine. Is cmp a reserved word in LDAP ??!?!??! Jason Uithol Data Technologist DatacodeX Pty Ltd [EMAIL PROTECTED] http://www.datacodex.com - THE ERROR MESSAGE - Cocoon 2 - Internal server error type internal-server-error message Error in sitemap configuration : org.apache.cocoon.transformation.LDAPTransformer description org.apache.avalon.framework.configuration.ConfigurationException: Error in sitemap configuration : org.apache.cocoon.transformation.LDAPTransformer sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet request-uri /cocoon/ejbgen/asdasdad exception org.apache.avalon.framework.configuration.ConfigurationException: Error in sitemap configuration : org.apache.cocoon.transformation.LDAPTransformer path-info ejbgen/asdasdad stacktrace org.apache.avalon.framework.configuration.ConfigurationException: Error in sitemap configuration : org.apache.cocoon.transformation.LDAPTransformer at org.apache.cocoon.www.ejbgenerator.cmp.sitemap_xmap.configure(sitemap_xmap.j ava:188) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(Un known Source) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize( Unknown Source) at org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerat or(GeneratorSelector.java:135) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.addComp iledComponent(ProgramGeneratorImpl.java:345) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat eResource(ProgramGeneratorImpl.java:323) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR esource(ProgramGeneratorImpl.java:271) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr ogramGeneratorImpl.java:188) at org.apache.cocoon.sitemap.Handler.run(Handler.java:208) at java.lang.Thread.run(Thread.java:484) original exception Original exception : java.lang.ClassNotFoundException: org.apache.cocoon.transformation.LDAPTransformer at org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.j ava:524) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at org.apache.cocoon.util.ClassUtils.loadClass(ClassUtils.java:46) at org.apache.cocoon.sitemap.AbstractSitemap.load_component(AbstractSitemap.jav a:219) at org.apache.cocoon.www.ejbgenerator.cmp.sitemap_xmap$Configurer.configTransfo rmers(sitemap_xmap.java:549) at org.apache.cocoon.www.ejbgenerator.cmp.sitemap_xmap.configure(sitemap_xmap.j ava:167) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(Un known Source) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize( Unknown Source) at org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerat or(GeneratorSelector.java:135) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.addComp iledComponent(ProgramGeneratorImpl.java:345) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat eResource(ProgramGeneratorImpl.java:323) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR esource(ProgramGeneratorImpl.java:271) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr ogramGeneratorImpl.java:188) at org.apache.cocoon.sitemap.Handler.run(Handler.java:208) at java.lang.Thread.run(Thread.java:484) - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: help needed regarding cocoon2
This is a problem with not shutting down Cocoon properly. Make sure that you use the 'shutdown.bat' or 'shutdown.sh' script to stop Tomcat, which will in turn shut down Cocoon properly. -B -Original Message-From: Lingareddy Anuga [mailto:[EMAIL PROTECTED]]Sent: Monday, December 17, 2001 10:36 PMTo: [EMAIL PROTECTED]Subject: help needed regarding cocoon2 Hi , I started using cocoon2 just today. While starting the tomcat server iam facing a problem which is list below. Please have a look at it and let me know the solution. Context log: path="/XmlServlet" Adding context path="/XmlServlet" docBase="webapps/XmlServlet"Context log: path="" Adding context path="" docBase="webapps/ROOT"Context log: path="/test" Adding context path="/test" docBase="webapps/test"Starting tomcat. Check logs/tomcat.log for error messagesXmlMapper: Can't find method setDescription in Wrapper(Cocoon2 null) CLASS classorg.apache.tomcat.core.ServletWrapperLoading catalog: C:\Ides\Jbuilder4new\tomcat\webapps\cocoon/resources/entities/catalogServer.run/init: java.sql.SQLException: File input/output error: C:\Ides\Jbuilder4new\tomcat\webapps\cocoon\WEB-INF\db\cocoondb.backupjava.sql.SQLException: File input/output error: C:\Ides\Jbuilder4new\tomcat\webapps\cocoon\WEB-INF\db\cocoondb.backup at org.hsqldb.Trace.getError(Trace.java:180) at org.hsqldb.Trace.getError(Trace.java:144) at org.hsqldb.Trace.error(Trace.java:205) at org.hsqldb.Log.restoreBackup(Log.java:731) at org.hsqldb.Log.open(Log.java:212) at org.hsqldb.Database.init(Database.java:96) at org.hsqldb.Server.run(Server.java:137) at org.hsqldb.Server.main(Server.java:78) at org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:101) at java.lang.Thread.run(Thread.java:484) thanks in advance Reddy
RE: help needed regarding cocoon2
stop your tomcat, delete this files C:\Ides\Jbuilder4new\tomcat\webapps\cocoon\WEB-INF\db\cocoondb.backup and restart Bernard -Original Message- From: Lingareddy Anuga [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 18, 2001 4:36 To: [EMAIL PROTECTED] Subject: help needed regarding cocoon2 Hi , I started using cocoon2 just today. While starting the tomcat server iam facing a problem which is list below. Please have a look at it and let me know the solution. Context log: path=/XmlServlet Adding context path=/XmlServlet docBase=webapps/XmlServlet Context log: path= Adding context path= docBase=webapps/ROOT Context log: path=/test Adding context path=/test docBase=webapps/test Starting tomcat. Check logs/tomcat.log for error messages XmlMapper: Can't find method setDescription in Wrapper(Cocoon2 null) CLASS class org.apache.tomcat.core.ServletWrapper Loading catalog: C:\Ides\Jbuilder4new\tomcat\webapps\cocoon/resources/entities/catalog Server.run/init: java.sql.SQLException: File input/output error: C:\Ides\Jbuilde r4new\tomcat\webapps\cocoon\WEB-INF\db\cocoondb.backup java.sql.SQLException: File input/output error: C:\Ides\Jbuilder4new\tomcat\webapps\cocoon\WEB-INF\db\cocoondb.backup at org.hsqldb.Trace.getError(Trace.java:180) at org.hsqldb.Trace.getError(Trace.java:144) at org.hsqldb.Trace.error(Trace.java:205) at org.hsqldb.Log.restoreBackup(Log.java:731) at org.hsqldb.Log.open(Log.java:212) at org.hsqldb.Database.init(Database.java:96) at org.hsqldb.Server.run(Server.java:137) at org.hsqldb.Server.main(Server.java:78) at org.apache.cocoon.components.hsqldb.ServerImpl.run(ServerImpl.java:101) at java.lang.Thread.run(Thread.java:484) thanks in advance Reddy - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]