Re: MSSQL Stored procedure ESQL
On 30.Sep.2002 -- 06:07 PM, fcbc wrote: I'm trying to get a result set from stored proc but it ends with error: org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Error getting clob data: null the code snippet: esql:connection esql:poolsqlserver/esql:pool esql:execute-query esql:call {? = call Rp_OperDocs(esql:parameter type=int direction=in xsp:expr37521/xsp:expr /esql:parameter)} /esql:call esql:call-results esql:row-results esql:get-string column=Kind/ /esql:row-results /esql:call-results /esql:execute-query /esql:connection Please see your MS docs whether your call will return a ResultSet or not. The syntax depends on that, see Apache Cocoon docs for details. In addition, return parameters from CallableStatements are never named. They are *only* accessible by number. Chris. Please follow up summarizing your problem and which suggested solution / information worked for you when you consider your problem solved. Add SUMMARY: to the subject line. This will make FAQ generation and searching the list easier. In addition, it makes helping you more fun. Thank you. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Output xsl --- next trap
At 19.48 30/09/2002 +0200, you wrote: Jessica, good, now I can sort it out: 1) The XML produced by the XSP is not particolarly suited to the purpose; a better output is attached as myfile.xml (please, note the embedding of chapter and paragraph elements) 2) The XSLT you wrote is procedural, but should be declarative instead. A complete re-work of your XSLT is attached as myfile.xsl (I took the liberty of adding some HTML formatting to further clarify the document's structure) Thank you so much At the end of the day: advices advice type=wise Get yourself XSLT by Doug Tidwell (O'Reilly) and start studying it: XSLT does matter, you won't regret learning it /advice Ok, I will go and by it and study it ;-) advice type=unabashed self-promoting Get some mentoring by a Cocoon/XSLT consultant who happens to live in Italy... /advice first I have to convince someone (my company) to pay for it :-D (ma l'idea giusta) /advices Best regards, Grazie mille ancora per tutto l'aiuto che ci hai dato ! Jessica - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: FOP In Latest Cocoon Releases
Hi Frank! Sorry I meant xalan-2.2.0, not 2.0.0. I don't know whether it is buggy, for my purposes it works fine - I build only tables. But they could be very different - very small and very large. Since they are being built on the fly, I never know what the table it is, that's the problem. And only with xalan-2.2.0 it works acceptable. I think you will solve your problem too. Best wishes, Viktor -Ursprüngliche Nachricht- Von: Przybilla, Frank [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 30. September 2002 18:00 An: '[EMAIL PROTECTED]' Betreff: AW: FOP In Latest Cocoon Releases Hi Viktor! Ok then there would another alternative for me. But the disadvantage is that you use Xalan 2.0.0. which is told to be little bit buggy. When I'm not able to solve the problem with fop-0_20_2-maintain I will test your solution. P.S: I eliminate the error with serialVersionUID. But now there is the follwing error message when I run fop built from fop-0_20_2-maintain: [ERROR] Error building hyphenation tree for language de java.lang.ClassCastException: cannot assign instance of java.util.Hashtable to field org.apache.fop.layout.hyphenation.HyphenationTree.stoplist of type java.util.HashMap in instance of org.apache.fop.layout.hyphenation.HyphenationTree at java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamC lass .java:1840) at java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1062) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1851) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646 ) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) at org.apache.fop.layout.hyphenation.Hyphenator.getFopHyphenationTree(Unkno wn Source) at org.apache.fop.layout.hyphenation.Hyphenator.getHyphenationTree(Unknown Source) at org.apache.fop.layout.hyphenation.Hyphenator.hyphenate(Unknown Source) at org.apache.fop.layout.LineArea.doHyphenation(Unknown Source) Thank you and best regards Frank -Ursprüngliche Nachricht- Von: Skladovs, Victor [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 30. September 2002 17:00 An: [EMAIL PROTECTED] Betreff: AW: FOP In Latest Cocoon Releases Hi Frank! It seems I've got it going at last ... What I've done: 1)I compiled and built Cocoon2.1-dev from the cvs directory. 2)Then I replaced xalan-2.3.1, xercesImpl-2.0.0 with those supplied with Cocoon-2.0.1: xalan-2.0.0 and xerces1.4.4. And it works! My PDF are good! 3) I replaced FOP too, but it is not necessary, I think. With 0.20.3 it works too. Maybe it helps... Best wishes, Viktor -Ursprüngliche Nachricht- Von: Przybilla, Frank [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 26. September 2002 09:46 An: '[EMAIL PROTECTED]' Betreff: AW: FOP In Latest Cocoon Releases Hi Viktor, I have also made the same experiences with exchanging the version of Xalan and Xerces in cocoon-2.0{1,2,3}. It doesn't work. As J. Pietschmann wrote it is a bug in fop which is fixed in FOP CVS, branch tag fop-0_20_2-maintain. So we should try to replace fop. Regards Frank -Ursprüngliche Nachricht- Von: Skladovs, Victor [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 26. September 2002 09:39 An: [EMAIL PROTECTED] Betreff: AW: FOP In Latest Cocoon Releases Hi Frank! I think all we have to do is to replace xalan and maybe xerces jars in a cocoon distribution. I tried to do this. I replaced xalan-2.3.1 with xalan-2.0.0 in Cocoon.2.0.3. It worked very unstable, I did it all back at the result, but my pdf were fine! The question is how could I replace xalan and xerces in cocoon? What must I take into account so that the cocoon works stable? Regards, Viktor -Ursprüngliche Nachricht- Von: Przybilla, Frank [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 25. September 2002 15:06 An: '[EMAIL PROTECTED]' Betreff: AW: FOP In Latest Cocoon Releases Hello to all cocoon users, I also have big troubles with fop in cocoon-2.01,cocoon-2.02, cocoon-2.03. Everything is working fine with fop-0.20.3 as a standalone application but integrated into cocoon there is sometimes a strange behavior. My problem occurs especially in conjunction with the generation of fop tables and hyphenation of long text in table-cells. The output produced with fop in cocoon is sometimes messing around the characters of a word. What I have tested so far, is that there is a problem with Xalan-2.2.0.jar, Xerces-1.4.4.jar which are used in these cocoon versions. When you run fop with these jars then you are faced to the same problems in fop as a stand alone application. So in fact the problem is not cocoon itself, but the used versions of Xerces and Xalan. Has anybody an idea where this comes from? Is there a way to solve these
Sunrise Actions
Hi Guys, How would i use Actions in Sunrise? How would the handler ( vxsapp-handler-001 ) know if the authentication ( vxsapp-authuser ) failed?? Please see references below main sitemap: handler name=vxsapp-handler-001 xmlns:map=http://apache.org/cocoon/sitemap/1.0; xmlns:sunshine=http://sunshine.sundn.de/sunshine/1.0; redirect-to uri=cocoon://richard_webapps/home.html/ authentication uri=cocoon:raw://sunrise-samples/vxsapp-authuser / /handler sub sitemap: map:match pattern=vxsapp-authuser map:act set=processemployee map:parameter name=descriptor value=context://richard_webapps/descriptor/vxs_employees-dx.xml/ ??? /map:act /map:match map:match pattern=vxsapp-login map:act type=sunRise-login map:parameter name=handler value=vxsapp-handler-001/ map:parameter name=parameter_name value=request:tfUsername/ map:parameter name=parameter_password value=request:tfPassword/ map:redirect-to uri=vxsapp-main.html/ /map:act map:redirect-to uri=home.html/ /map:match Thanks Richard - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Sunrise Actions
To confirm my action should return an xml like these authentication IDUnique ID of the user in the system/ID roleThe user role/role data Any additional optional information can be supplied here. sunRise will store this data in the session context. /data /authentication - Original Message - From: Richard Reyes [EMAIL PROTECTED] To: C2 Users [EMAIL PROTECTED] Sent: Tuesday, October 01, 2002 3:37 PM Subject: Sunrise Actions Hi Guys, How would i use Actions in Sunrise? How would the handler ( vxsapp-handler-001 ) know if the authentication ( vxsapp-authuser ) failed?? Please see references below main sitemap: handler name=vxsapp-handler-001 xmlns:map=http://apache.org/cocoon/sitemap/1.0; xmlns:sunshine=http://sunshine.sundn.de/sunshine/1.0; redirect-to uri=cocoon://richard_webapps/home.html/ authentication uri=cocoon:raw://sunrise-samples/vxsapp-authuser / /handler sub sitemap: map:match pattern=vxsapp-authuser map:act set=processemployee map:parameter name=descriptor value=context://richard_webapps/descriptor/vxs_employees-dx.xml/ ??? /map:act /map:match map:match pattern=vxsapp-login map:act type=sunRise-login map:parameter name=handler value=vxsapp-handler-001/ map:parameter name=parameter_name value=request:tfUsername/ map:parameter name=parameter_password value=request:tfPassword/ map:redirect-to uri=vxsapp-main.html/ /map:act map:redirect-to uri=home.html/ /map:match Thanks Richard - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XInclude generated by XSL
Michael Wechner wrote: Do you use XInclude or CInclude? XInclude. Did you ever try with xi:include xml:base=cocoon: href=included.xml/ ? No, not yet. Although you then need another pipeline to generate included.xml. Although your original version should work principally. Yes, I hoped so :-| -- Johannes Koch . IT Developer Pixelpark AG . http://www.pixelpark.com Rotherstraße 8 . 10245 Berlin . Germany phone: +49 30 5058 - 1288 . fax: - 1355 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: error when using svg2png serializer
I've seen this too. It seems to happen the first time each of my svg's are accessed. Once they are cached (in Cocoon) further accesses don't cause the error. I'm using Tomcat 4.0.4, Cocoon 2.0.4-dev, JDK 1.3 Simeon kyle koss wrote: I keep getting this error from cocoon, whenever I use the svg2png serializer. I checked the archives for this, and found a few people with similar errors, but it seems none of them had a reply. The error only appears in the logs, and does not seem to cause any problems, but it is a little worrisome, as I would like it to not generate any errors at all. Here is the error: ERROR (2002-09-25) 16:46.34:030 [access] (Unknown-URI) Unknown-thread/CocoonServlet: Cocoon servlet threw an Exception while trying to close stream. java.io.IOException: Cannot flush a closed output stream at org.apache.catalina.connector.ResponseStream.flush(ResponseStream.java:241) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1126) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125) at java.lang.Thread.run(Thread.java:536) My environment: Apache Tomcat 4.0.4 Cocoon 2.0.3 Jdk1.4.0_02 Mandrake Linux 8.2 Please help, thanx, Kyle -- Simeon Walker, email: [EMAIL PROTECTED] School of Biological Sciences, phone: +44 (0)1248 383702 University of Wales, Bangor,fax: +44 (0)1248 382569 Gwynedd, LL57 2UW, UK. www: http://biology.bangor.ac.uk/ - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: esql:get-string and java String
Hi, the java code: String formula = xspAttr.addAttribute( , column, column, CDATA, cd_formula ); this.contentHandler.startElement( http://apache.org/cocoon/SQL/v2;, get-string, esql:get-string, xspAttr ); xspAttr.clear(); this.contentHandler.endElement( http://apache.org/cocoon/SQL/v2;, get-string, esql:get-string ); ; If I try to use double () like this: String formula = ((String)esql:get-string column=formula/); I got ')' expected error, the source in this case: String formula = ((String) xspAttr.addAttribute( , column, column, CDATA, cd_formula ); this.contentHandler.startElement( http://apache.org/cocoon/SQL/v2;, get-string, esql:get-string, xspAttr ); xspAttr.clear(); this.contentHandler.endElement( http://apache.org/cocoon/SQL/v2;, get-string, esql:get-string ); ); Regards, Gabor Christian Haul wrote: On 30.Sep.2002 -- 05:12 PM, Gabor Bartha wrote: Hi, I want to use the esql:get-string method to initialize a java String object like this: xsp:logic String formula = esql:get-string column=formula/; /xsp:logic But I got incompatible types exception. If I tried to use casting: xsp:logic String formula = (String)esql:get-string column=formula/; /xsp:logic I got inconvertible types Exception. How can I use that variable as a java String object? I'm puzzled. Could you please post the lines from the resulting java code generated by the XSP? Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Sunrise Actions
Try to avoid the character - in the name of your handler, when you will updgrade to 2.1 it will not work. Antonio Gallardo El Martes, 01 de Octubre de 2002 16:37, Richard Reyes escribió: Hi Guys, How would i use Actions in Sunrise? How would the handler ( vxsapp-handler-001 ) know if the authentication ( vxsapp-authuser ) failed?? Please see references below main sitemap: handler name=vxsapp-handler-001 xmlns:map=http://apache.org/cocoon/sitemap/1.0; xmlns:sunshine=http://sunshine.sundn.de/sunshine/1.0; redirect-to uri=cocoon://richard_webapps/home.html/ authentication uri=cocoon:raw://sunrise-samples/vxsapp-authuser / /handler sub sitemap: map:match pattern=vxsapp-authuser map:act set=processemployee map:parameter name=descriptor value=context://richard_webapps/descriptor/vxs_employees-dx.xml/ ??? /map:act /map:match map:match pattern=vxsapp-login map:act type=sunRise-login map:parameter name=handler value=vxsapp-handler-001/ map:parameter name=parameter_name value=request:tfUsername/ map:parameter name=parameter_password value=request:tfPassword/ map:redirect-to uri=vxsapp-main.html/ /map:act map:redirect-to uri=home.html/ /map:match Thanks Richard - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: esql:get-string and java String
On 01.Oct.2002 -- 11:13 AM, Gabor Bartha wrote: Hi, the java code: String formula = xspAttr.addAttribute( , column, column, CDATA, cd_formula ); this.contentHandler.startElement( http://apache.org/cocoon/SQL/v2;, get-string, esql:get-string, xspAttr ); xspAttr.clear(); this.contentHandler.endElement( http://apache.org/cocoon/SQL/v2;, get-string, esql:get-string ); ; The above code creates SAX events for a esql:get-string column=cd_formula/ tag. Since the namespace is correct, you've most likely used the tag outside its scope (must be inside a esql:row-results or esql:call-results). Chris. Please follow up summarizing your problem and which suggested solution / information worked for you when you consider your problem solved. Add SUMMARY: to the subject line. This will make FAQ generation and searching the list easier. In addition, it makes helping you more fun. Thank you. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Sunrise - Sitemap ????
Hi Guys, I am trying to use Actions as my Authentication for my Sunrise, but I cannot proceed to the protected resource (vxsapp-main.html). The Actions seems to be workin because when I called "vxsapp-authuser" in the browser the browser displays this xml ?xml version="1.0" encoding="UTF-8" ? - authentication xmlns:xsp="http://apache.org/xsp" xmlns:xsp-request="http://apache.org/xsp/request/2.0" ID001/ID roleEmployee/role - data fnameSid/fname lnameVicious/lname /data /authentication Can you guys check my sitemap below specially on map:match pattern="vxsapp-login" part... map:match pattern="vxsapp-*.html" map:match pattern="vxsapp-main.html" map:generate src="xml/home.xml"/ map:transform src="xsl/employee.xsl"/ map:serialize / /map:match /map:match map:match pattern="vxsapp-authuser" map:act type="UserLogin" map:parameter name="descriptor" value="context://richard_webapps/descriptor/vxs_employees-dx.xml"/ map:parameter name="use-request-parameters" value="true" / map:generate type="serverpages" src="xsp/validuser.xsp"/ map:serialize type="xml" / /map:act /map:match map:match pattern="vxsapp-login" map:act type="sunRise-login" map:parameter name="handler" value="vxsapp_handler_001"/ map:parameter name="parameter_name" value="request:tfUsername"/ map:parameter name="parameter_password" value="request:tfPassword"/ map:redirect-to uri="vxsapp-main.html"/ /map:act map:redirect-to uri="home.html"/ /map:match Thanks in Advance... Richard
tool xml/xsl ???
Could someone give an advice for a xml-tool ? Or a xsl wysiwyg (what-you-see-is-what-you-get) design-tool ? - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Loading catalog: /localhost/cocoon/resources/entities/catalog
Hello, There is some problem in loading cocoon catalog when I change system time as 3-4 months old. In normal condition (when system date is current date) on running Catalina, it prints Loading catalog: /localhost/cocoon/resources/entities/catalog one time, but if I change the system date to 3-4 months old, it prints the same line again and again(causes slow performance and sometimes Cocoon does not work). I have seen all log files but couldn't find any error. I am using Cocoon-2.0 with Tomcat4.0.4. Please help me in this regard. Thanks, Niket - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Loading catalog: /localhost/cocoon/resources/entities/catalog
I think its normal, because always the file is newer like the last access. ;) Antonio Gallardo. El Miércoles, 01 de Mayo de 2002 05:19, Niket Anand escribió: Hello, There is some problem in loading cocoon catalog when I change system time as 3-4 months old. In normal condition (when system date is current date) on running Catalina, it prints Loading catalog: /localhost/cocoon/resources/entities/catalog one time, but if I change the system date to 3-4 months old, it prints the same line again and again(causes slow performance and sometimes Cocoon does not work). I have seen all log files but couldn't find any error. I am using Cocoon-2.0 with Tomcat4.0.4. Please help me in this regard. Thanks, Niket - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tool xml/xsl ???
And for those of us living below the "software breadline" :-\ See: http://www.garshol.priv.no/download/xmltools/cat_ix.html [EMAIL PROTECTED] 02/10/2002 04:07:10 xmlspy?- Original Message - From: "Jessica Niewint" [EMAIL PROTECTED]To: [EMAIL PROTECTED]Sent: Tuesday, October 01, 2002 4:04 AMSubject: tool xml/xsl ??? Could someone give an advice for a xml-tool ? Or a xsl wysiwyg (what-you-see-is-what-you-get) design-tool ? - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.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 theFAQ before posting. http://xml.apache.org/cocoon/faq/index.htmlTo unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]
Re: tool xml/xsl ???
apart from xml-spy (or is it the tool of the tools ???) - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tool xml/xsl ???
Thanks ! At 13.24 01/10/2002 +0200, Derek Hohls wrote: And for those of us living below the software breadline :-\ See: http://www.garshol.priv.no/download/xmltools/cat_ix.htmlhttp://www.garshol.priv.no/download/xmltools/cat_ix.html [EMAIL PROTECTED] 02/10/2002 04:07:10 xmlspy? - Original Message - From: Jessica Niewint [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 01, 2002 4:04 AM Subject: tool xml/xsl ??? Could someone give an advice for a xml-tool ? Or a xsl wysiwyg (what-you-see-is-what-you-get) design-tool ? - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.htmlhttp://xml.apache.org/cocoon/faq/index.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/faq/index.htmlhttp://xml.apache.org/cocoon/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tool xml/xsl ???
Jessica Niewint wrote: Could someone give an advice for a xml-tool ? Or a xsl wysiwyg (what-you-see-is-what-you-get) design-tool ? XML is itself WYSIWYG since it does not involve presentation info (with the exception of XHTML, XSL-FO, SVG etc). So, what you need is just a browser and viewers for some vocabularies. Currently, nothing lets you edit XML like a good text editor. Manos - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tool xml/xsl ???
A good editor is for example: http://www.jedit.org/ Also it have some plug-ins: XML tree XSLT Tranformer XPath Tool XML Insert. and more Antonio Gallardo Antonio Gallardo El Martes, 01 de Octubre de 2002 06:09, Emmanuil Batsis (Manos) escribió: Jessica Niewint wrote: Could someone give an advice for a xml-tool ? Or a xsl wysiwyg (what-you-see-is-what-you-get) design-tool ? XML is itself WYSIWYG since it does not involve presentation info (with the exception of XHTML, XSL-FO, SVG etc). So, what you need is just a browser and viewers for some vocabularies. Currently, nothing lets you edit XML like a good text editor. Manos - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Uploading to a network directory
Hi all! I need to let users to upload files. The problem is, that the files have to go to another machine. I was thinking about WebDav, but does it work with Cocoon? The fileserver is running IIS. Thanks, -Tuomo - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
R: tool xml/xsl ???
No one mentioned XML Cooktop. I think it's definitely worth a look (BTW, it's free): http://xmlcooktop.com Cheers, L. -Messaggio originale- Da: Antonio Gallardo Rivera [mailto:[EMAIL PROTECTED]] Inviato: martedì 1 ottobre 2002 14.25 A: [EMAIL PROTECTED] Oggetto: Re: tool xml/xsl ??? A good editor is for example: http://www.jedit.org/ Also it have some plug-ins: XML tree XSLT Tranformer XPath Tool XML Insert. and more Antonio Gallardo Antonio Gallardo El Martes, 01 de Octubre de 2002 06:09, Emmanuil Batsis (Manos) escribió: Jessica Niewint wrote: Could someone give an advice for a xml-tool ? Or a xsl wysiwyg (what-you-see-is-what-you-get) design-tool ? XML is itself WYSIWYG since it does not involve presentation info (with the exception of XHTML, XSL-FO, SVG etc). So, what you need is just a browser and viewers for some vocabularies. Currently, nothing lets you edit XML like a good text editor. Manos - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
2.1 HEAD: Cannot find message associated with key 'responseStream.suspended'
Is the current 2.1 HEAD broken? I've just checked out the cvs head and built with -Dinclude.webapp.libs=yes -Dinclude.scratchpad=yes installwar (as I normally do) and deleted the tomcat work and cocoon dirs. When I try to access localhost:8080/cocoon I get the following error in the log... ERROR (2002-10-01) 13:10.04:292 [access] (Unknown-URI) Unknown-thread/CocoonServlet: Cocoon servlet threw an Exception while trying to close stream. java.io.IOException: Cannot find message associated with key 'responseStream.suspended' at org.apache.catalina.connector.ResponseStream.flush(ResponseStream.java:237) at SNIP I've built and am running with jdk1.4 and tomcat 4.0.3 I'm probably doing something daft, but I've not seen this problem before. Any suggestions most welcome. Cheers Simon --- Simon Price Institute for Learning and Research Technology University of Bristol 8-10 Berkeley Square Bristol BS8 1HH United Kingdom Direct: +44 (0)7071 226 720 Office: +44 (0)117 928 7193 Fax: +44 (0)117 928 7112 [EMAIL PROTECTED] http://www.ilrt.bristol.ac.uk - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to test a parameter in the sitemap ?
Hi all, How would you test an URL parameter (e.g. http://foo.com:8080/myfile.xml?bar=hello) in the sitemap ? How can I retreive 'hello' from the URL ? Sorry for this stupid question, this must be very simple... Gan. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tool xml/xsl ???
I am using xslide - a major mode for Emacs (or XEmacs in my case.) It does all the syntax highlighting you'd ever want, auto-completion, templates, indentation, etc. It also can invoke an XSLT process so you can view the results. Highly customizable, too, if you are into it. http://www.xemacs.org or http://www.emacs.org http://sourceforge.net/projects/xslide/ 2c -- Ilya P.S.: If you've never used emacs, it's a steep learning curve, but well-worth it if you are planning stick to it for a while. Could someone give an advice for a xml-tool ? Or a xsl wysiwyg (what-you-see-is-what-you-get) design-tool ? - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: R: tool xml/xsl ???
Jedit is a Java Editor That means that run on every platform when Java is installed. Then if you are using Cocoon. It must work ;) I am using Red Hat Linux 7.3 for development, then I cannot use xmlxooktop. Antonio Gallardo El Martes, 01 de Octubre de 2002 06:23, Lorenzo De Sio escribió: No one mentioned XML Cooktop. I think it's definitely worth a look (BTW, it's free): http://xmlcooktop.com Cheers, L. -Messaggio originale- Da: Antonio Gallardo Rivera [mailto:[EMAIL PROTECTED]] Inviato: martedì 1 ottobre 2002 14.25 A: [EMAIL PROTECTED] Oggetto: Re: tool xml/xsl ??? A good editor is for example: http://www.jedit.org/ Also it have some plug-ins: XML tree XSLT Tranformer XPath Tool XML Insert. and more Antonio Gallardo Antonio Gallardo El Martes, 01 de Octubre de 2002 06:09, Emmanuil Batsis (Manos) escribió: Jessica Niewint wrote: Could someone give an advice for a xml-tool ? Or a xsl wysiwyg (what-you-see-is-what-you-get) design-tool ? XML is itself WYSIWYG since it does not involve presentation info (with the exception of XHTML, XSL-FO, SVG etc). So, what you need is just a browser and viewers for some vocabularies. Currently, nothing lets you edit XML like a good text editor. Manos - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.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/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cocoon 2.0.3 Tomcat 4.1.10 sub sitemap problem - failed sitemap 'inheritance' - anyone seen this and have any ideas?
Thanks, again -Original Message- From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 19:24 To: [EMAIL PROTECTED] Subject: Re: Cocoon 2.0.3 Tomcat 4.1.10 sub sitemap problem - failed sitemap 'inheritance' - anyone seen this and have any ideas? Christopher Watson wrote: ... These were fixed later on, in 2.0.4-dev. I'd rather use the interpreted sitemap. It seems to improve reload dramatically! Could you tell me what files I would have to update, and how to get them? I looked at http://cvs.apache.org/viewcvs.cgi but don't see a 2.0.4-dev branch ... How would I get 2.0.4-dev ? It's in cocoon_2_0_3_branch Vadim - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: == Database driven website with Cocoon ==
On 30.Sep.2002 -- 01:02 PM, Christian Haul wrote: Another one would be to retrieve the path using one of the DatabaseSelectActions and use the InputModule-substitution in sitemap to read that file. (available in 2.1 (cvs) for interpreted sitemap and 2.0.4 (cvs) for compiled sitemap) InputModule-substitution is not needed because the result will be placed in sitemap parameters anyway. So, this boils down to: Use anyone of the DatabaseSelectActions and use the returned sitemap parameter for your path. So, off my head: map:match pattern=* map:act type=findPath map:generate src={documents.path[0]}/ map:serialize/ /map:act map:redirect-to uri=file-not-found/ /map:match given that everything is setup properly before. Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Logging question
Hi! We're developing an application framework within WAS environment, having choosen Cocoon as our Presentation Framework. Currently our Logging is implemented via a facade for log4j. I've learned that Cocoon's logging is also somehow based on log4j. I'm not sure what role the avalon framework plays here. What I am trying to achieve is unifying our framework's and cocoon's logging. I want to have on single point, where I can configure the logging, and cocoon and our framework should be able to potentially log to the same logfile. Can anybody give me a hint, where the best starting point would be ? Could this be possible, without modifying cocoon source ? thanks, Gernot. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to test a parameter in the sitemap ?
Ganael LAPLANCHE wrote: Hi all, How would you test an URL parameter (e.g. http://foo.com:8080/myfile.xml?bar=hello) in the sitemap ? How can I retreive 'hello' from the URL ? I'm not sure about retreiving 'hello', but you can do this: map:match type=request-parameter pattern=bar map:select type=request-parameter map:parameter name=parameter-name value=bar/ map:when test=hello do something/ /map:when /map:select /map:match Look through all of the matchers and selectors available in the apidocs. -- Robert J. (Bobby) Mitchell Systems Administrator NASA Institute for Advanced Concepts 555A 14th St Atlanta, Ga. 30318 Phone: (404)347-9633 Fax: (404)347-9638 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Logging question
AFAIK, most Cocoon components implement the org.apache.avalon.framework.logger.LogEnable interface. This enables you, principally, to log via log4j or logkit. Support for logkit is better though: the Cocoon servlet tries to configure logkit via logkit.xconf in [webapp]/WEB-INF. Therefore, if you don't want to change Cocoon source you should log with logkit. If you don't want to tie yourself to logkit you can let your classes implement LogEnabled or use the commons-logging package. See also Wiki Entry from Alan Hodgkinson at http://outerthought.net/wiki/Wiki.jsp?page=JavaLogging Judith -Ursprüngliche Nachricht- Von: Gernot Koller [SMTP:[EMAIL PROTECTED]] Gesendet am: Dienstag, 1. Oktober 2002 15:42 An: [EMAIL PROTECTED] Betreff: Logging question Hi! We're developing an application framework within WAS environment, having choosen Cocoon as our Presentation Framework. Currently our Logging is implemented via a facade for log4j. I've learned that Cocoon's logging is also somehow based on log4j. I'm not sure what role the avalon framework plays here. What I am trying to achieve is unifying our framework's and cocoon's logging. I want to have on single point, where I can configure the logging, and cocoon and our framework should be able to potentially log to the same logfile. Can anybody give me a hint, where the best starting point would be ? Could this be possible, without modifying cocoon source ? thanks, Gernot. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: help on rolling my own XSL
Thank you, Giacomo, this was, indeed, missing from my logicsheet. My extraction from the esql logicsheet original was too hasty and incomplete. I'm flying now. Thanks to all for your forebearance, Jerry Giacomo Pati wrote: Do you have a copy-over template in your logicsheet like: xsl:template match=@*|*|text()|processing-instruction() xsl:copy xsl:apply-templates select=@*|*|text()|processing-instruction()/ /xsl:copy /xsl:template Giacomo On Mon, 30 Sep 2002, Jerry Fowler wrote: Gentlefolk: I'm using the off-the-shelf Cocoon 2.0.3. I'm trying to roll my own xsp logicsheet, with an error result that I hope someone will recognize instantly: -- Jerry Fowler Bioinformatics, Xeotron Corporation +1 713.842.2121 x292 8275 El Rio, Suite 130 Houston, Texas 77054 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Repost: error when using svg2png serializer[Please help!!!!]
Yes, I have noticed this also, but the problem is the XML, the SVG is being made from is dynamic, so the png is being remade quite often. -Original Message- From: Simeon Walker [mailto:[EMAIL PROTECTED]] Sent: October 1, 2002 3:33 AM To: [EMAIL PROTECTED] Subject: Re: error when using svg2png serializer I've seen this too. It seems to happen the first time each of my svg's are accessed. Once they are cached (in Cocoon) further accesses don't cause the error. I'm using Tomcat 4.0.4, Cocoon 2.0.4-dev, JDK 1.3 Simeon kyle koss wrote: I keep getting this error from cocoon, whenever I use the svg2png serializer. I checked the archives for this, and found a few people with similar errors, but it seems none of them had a reply. The error only appears in the logs, and does not seem to cause any problems, but it is a little worrisome, as I would like it to not generate any errors at all. Here is the error: ERROR (2002-09-25) 16:46.34:030 [access] (Unknown-URI) Unknown-thread/CocoonServlet: Cocoon servlet threw an Exception while trying to close stream. java.io.IOException: Cannot flush a closed output stream at org.apache.catalina.connector.ResponseStream.flush(ResponseStream.java:2 41) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1126) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 72) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:566) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.ja va:246) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 72) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:234 7) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa lve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 72) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. java:174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 72) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.j ava:1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java: 1125) at java.lang.Thread.run(Thread.java:536) My environment: Apache Tomcat 4.0.4 Cocoon 2.0.3 Jdk1.4.0_02 Mandrake Linux 8.2 Please help, thanx, Kyle -- Simeon Walker, email: [EMAIL PROTECTED] School of Biological Sciences, phone: +44 (0)1248 383702 University of Wales, Bangor,fax: +44 (0)1248 382569 Gwynedd, LL57 2UW, UK. www: http://biology.bangor.ac.uk/ - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Generating pdf
Hi :) I saw Fop was able to generate Pdf from xml/xsl inputs in command line. How can I use fop in the sitemap to do this ? I've got a stylesheet that produces html. Do I have to start from the xml file, or from the html one using another xsl ? I would like not to use an xml-fo or html-fo stylesheet, is it possible ? If someone had examples, would be nice :) Thank you, Gan. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Today's CVS... I get IllegalStateException :-(
I get the error below. I checked out the HEAD module in a new directory, then built as usual with : build -Dinclude.webapp.libs=true -Dinclude.scratchpad.libs=true webapp Some jars are missing in the war : slidesjar (3 jars). So I kept the ones I had from previous build... I also used the new version of .xconf files for my webapp, and the part of sitemap that was not my pipeline, dunno if it really changed. So things must be up to date... I wanted to use a build after September 23 because request-param:... is used instead of param: So I will go back... Thanks for any clue... this happens when I log in using authentication portal, jdk 1.3.1. Babs java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.reset(ResponseFacade.java:243) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1097) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125 ) 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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Uploading to a network directory
Hi Tuomo, Is the other server accessible via a UNC path? If so I have a FileUploadAction that allows the upload of files to a named folder so that *should* work. I am sure it would work over networks maps if not. It works by renaming the file that the inhernet file upload Cocoon function handles (a little cheeky I have to admit ;-) ). I keep intending to contribute it to the project - perhaps this would be a good time assuming others would like it. jez Tuomo Lesonen wrote: Hi all!I need to let users to upload files. The problem is, that the files haveto go to another machine.I was thinking about WebDav, but does it work with Cocoon? The fileserveris running IIS.Thanks,-Tuomo __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Today's CVS... I get IllegalStateException :-(
Barbara: Welcome to the club! Currently members are: Ugo Cei Antonio Gallardo and you ;) we have the same problems with the lastest CVS. :( It happens since last friday and there is no patch to resolve it. Affected are authentication-fw, session-fw and portal-fw. Antonio Gallardo El Martes, 01 de Octubre de 2002 09:52, Barbara Post escribió: I get the error below. I checked out the HEAD module in a new directory, then built as usual with : build -Dinclude.webapp.libs=true -Dinclude.scratchpad.libs=true webapp Some jars are missing in the war : slidesjar (3 jars). So I kept the ones I had from previous build... I also used the new version of .xconf files for my webapp, and the part of sitemap that was not my pipeline, dunno if it really changed. So things must be up to date... I wanted to use a build after September 23 because request-param:... is used instead of param: So I will go back... Thanks for any clue... this happens when I log in using authentication portal, jdk 1.3.1. Babs java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.reset(ResponseFacade.java:243) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1097) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio n FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC h ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j a va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java: 5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j a va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java: 5 66) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java: 2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java: 5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:18 0 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java: 5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve . java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java: 5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:17 0 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java: 5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java: 5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav a :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java: 5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java : 1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:112 5 ) 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/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Sitemap returning blank html page
Hi Ruben, thanks for the help. I have changed the DocumentBuilderFactory and SAXParserFactory in config.xconf (I just replaced the original ??? with the parameters that you provided), but I do have one question about the transformar setting. I tried replacing the original org.apache.cocoon.transformation.TraxTransformer with both org.apache.xalan.processor.TransformerFactoryImpl and org.apache.xalan.xsltc.trax.TransformerFactoryImpl, but encountered erroes ion both case. Given my lack of knowledge in replacing/adding components like transformers, would you mind giving me an example of what I should be doing here? Thanks again, and much appreciated. Paul Hi Paul, try setting this XML Registry: DocumentBuilderFactory: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl SAXParserFactory: org.apache.xerces.jaxp.SAXParserFactoryImpl Transformer Factory: org.apache.xalan.processor.TransformerFactoryImpl and connecting it to your server (it also works using xsltc for the Transformer Factory (org.apache.xalan.xsltc.trax.TransformerFactoryImpl)) At least it worked for me in sp1, Ruben |-+ | | Paul Lee | | | paul.lee@skinnyp| | | igeon.com | | || | | 09/30/2002 09:17 | | | PM | | | Please respond to| | | cocoon-users | | || |-+ -- | | | | To: [EMAIL PROTECTED] | | cc: | | Subject: Sitemap returning blank html page | - -| Hello all, This might be a WebLogic specific problem (and I apologize if this turns out to be the wrong forum) but I just want to see if anyone's seen this before. I (finally) got the cocoon 2 welcome page to show up under WLS6.1sp2 - but that's it. Anything else like /cocoon/status, /cocoon/hello.html returns a blank HTML page (complete with empty html and body tags). I checked all the Cocoon log files and nothing seems to be out of the ordinary. Funny thing is that if I put in a wrong uri (one that is not defined in sitemap.xmap), the normal Resource not found error is properly displayed. Has anyone seen this behavior anywhere? I am running a fresh 2.0.3 Cocoon bin distribution on Solaris 5.8 with JDK1.3.1. Thanks in advance, Paul - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Today's CVS... I get IllegalStateException :-(
Antonio Gallardo Rivera wrote: Barbara: Welcome to the club! Currently members are: Ugo Cei Antonio Gallardo and you ;) we have the same problems with the lastest CVS. :( It happens since last friday and there is no patch to resolve it. Affected are authentication-fw, session-fw and portal-fw. Antonio Gallardo I just rechecked out the CVS, recompiled and now it works! I don't know what was changed but apparently it's ok now. Ugo -- Ugo Cei - http://www.beblogging.com/blog/ - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Today's CVS... I get IllegalStateException :-(
Thanks a lot, now, a request : How can I get a CVS version that works... but includes {request-param...} fix ? OK, just choose the right date when checking out I guess... So which latest version works, to your opinion ? I see, only Thursday's (09/24) one could ! Oh... Will try it tomorrow, time to leave to home here :-) Another question : why do this line cause me troubles when I start Cocoon ? It says it cannot find a component for generate. I keep commenting it in the sitemap. I currently have CVS from 09/13. map:generator name=parentcm src=org.apache.cocoon.samples.parentcm.Generator/ Babs - Original Message - From: Antonio Gallardo Rivera [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 01, 2002 6:14 PM Subject: Re: Today's CVS... I get IllegalStateException :-( Barbara: Welcome to the club! Currently members are: Ugo Cei Antonio Gallardo and you ;) we have the same problems with the lastest CVS. :( It happens since last friday and there is no patch to resolve it. Affected are authentication-fw, session-fw and portal-fw. Antonio Gallardo El Martes, 01 de Octubre de 2002 09:52, Barbara Post escribió: I get the error below. I checked out the HEAD module in a new directory, then built as usual with : build -Dinclude.webapp.libs=true -Dinclude.scratchpad.libs=true webapp Some jars are missing in the war : slidesjar (3 jars). So I kept the ones I had from previous build... I also used the new version of .xconf files for my webapp, and the part of sitemap that was not my pipeline, dunno if it really changed. So things must be up to date... I wanted to use a build after September 23 because request-param:... is used instead of param: So I will go back... Thanks for any clue... this happens when I log in using authentication portal, jdk 1.3.1. Babs java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.reset(ResponseFacade.java:243) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1097) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio n FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC h ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j a va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java: 5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j a va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java: 5 66) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java: 2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java: 5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:18 0 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java: 5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve . java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java: 5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:17 0 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java: 5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java: 5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav a :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java: 5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java : 1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:112 5 ) 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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Resources and sitemap
Hi, I should have checked before... I want to know whether you've used resources (.properties file) and Cocoon... My question is more specifically : can I read .properties files from an Action, or from the sitemap to use by xsl, and if so, how ? Sorry if I sound dull, I am just a bit tired from my work day... Babs - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tool xml/xsl ???
X-Emacs has some great XML editing modes. It's free. -Original Message- From: Jessica Niewint [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 01, 2002 5:04 AM To: [EMAIL PROTECTED] Subject: tool xml/xsl ??? Could someone give an advice for a xml-tool ? Or a xsl wysiwyg (what-you-see-is-what-you-get) design-tool ? - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Today's CVS... I get IllegalStateException :-(
It works again! Thanks, Antonio Gallardo El Martes, 01 de Octubre de 2002 10:43, Ugo Cei escribió: Antonio Gallardo Rivera wrote: Barbara: Welcome to the club! Currently members are: Ugo Cei Antonio Gallardo and you ;) we have the same problems with the lastest CVS. :( It happens since last friday and there is no patch to resolve it. Affected are authentication-fw, session-fw and portal-fw. Antonio Gallardo I just rechecked out the CVS, recompiled and now it works! I don't know what was changed but apparently it's ok now. Ugo - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Repost: error when using svg2png serializer[Please help!!!!]
kyle koss wrote: Yes, I have noticed this also, but the problem is the XML, the SVG is being made from is dynamic, so the png is being remade quite often. It seems the serializer closes the output stream. I'm not sure whether this happens in the Cocoon serializer component or in tha Batik raster processor. Search the serializer source for close(), if there is none, rise a question on batik-user, perhaps someone over there knows. Sifting through the Batik source is only for beings more persistent than me... J.Pietschmann - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
I feel stupid. COCOON + TOMCAT
Hi! I think I'll go mad. About a week ago I was trying to install cocoon on tomcat on windows: I couldn't and I thought it was a windows problem. Some of you were trying to help me. Now after some changes I am working on RH73. I've installed Tomcat 4.1.12 and still can't make cocoon to deploy. I downloaded the cocoon 2.0.3 binary distribution, and put the cocoon.war inside the tomcat_home/webapps folder. I restarted Tomcat and nothing happens. The folder cocoon does not apear inside webapps and of course I'm not seeing the http://localhost:8080/cocoon presentation page. I feel really stupid. What am I doing wrong (again)? Thanks in advance. -- Mauro -- Ing.Mauro Daniel Ardolino Departamento de Desarrollo y Servicios Altersoft Billinghurst 1599 - Piso 9 C1425DTE - Capital Federal Tel/Fax: 4821-3376 / 4822-8759 mailto: [EMAIL PROTECTED] website: http://www.altersoft.com.ar - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: I feel stupid. COCOON + TOMCAT
Hi Mauro, check the tomcat logfiles in $TOMCAT_HOME/logs. There should be hint to what went wrong. -peter Von: Mauro Daniel Ardolino [EMAIL PROTECTED] Hi! I think I'll go mad. About a week ago I was trying to install cocoon on tomcat on windows: I couldn't and I thought it was a windows problem. Some of you were trying to help me. Now after some changes I am working on RH73. I've installed Tomcat 4.1.12 and still can't make cocoon to deploy. I downloaded the cocoon 2.0.3 binary distribution, and put the cocoon.war inside the tomcat_home/webapps folder. I restarted Tomcat and nothing happens. The folder cocoon does not apear inside webapps and of course I'm not seeing the http://localhost:8080/cocoon presentation page. I feel really stupid. What am I doing wrong (again)? Thanks in advance. -- Mauro -- Ing.Mauro Daniel Ardolino Departamento de Desarrollo y Servicios Altersoft Billinghurst 1599 - Piso 9 C1425DTE - Capital Federal Tel/Fax: 4821-3376 / 4822-8759 mailto: [EMAIL PROTECTED] website: http://www.altersoft.com.ar - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: I feel stupid. COCOON + TOMCAT
It's strange. Nothing in $TOMCAT_HOME/logs of today and nothing about cocoon. Any other ideas? Thanks. Mauro On Tue, 1 Oct 2002, Peter Nuetzel . inglobo wrote: Hi Mauro, check the tomcat logfiles in $TOMCAT_HOME/logs. There should be hint to what went wrong. -peter Von: Mauro Daniel Ardolino [EMAIL PROTECTED] Hi! I think I'll go mad. About a week ago I was trying to install cocoon on tomcat on windows: I couldn't and I thought it was a windows problem. Some of you were trying to help me. Now after some changes I am working on RH73. I've installed Tomcat 4.1.12 and still can't make cocoon to deploy. I downloaded the cocoon 2.0.3 binary distribution, and put the cocoon.war inside the tomcat_home/webapps folder. I restarted Tomcat and nothing happens. The folder cocoon does not apear inside webapps and of course I'm not seeing the http://localhost:8080/cocoon presentation page. I feel really stupid. What am I doing wrong (again)? Thanks in advance. -- Mauro -- Ing.Mauro Daniel Ardolino Departamento de Desarrollo y Servicios Altersoft Billinghurst 1599 - Piso 9 C1425DTE - Capital Federal Tel/Fax: 4821-3376 / 4822-8759 mailto: [EMAIL PROTECTED] website: http://www.altersoft.com.ar - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ing.Mauro Daniel Ardolino Departamento de Desarrollo y Servicios Altersoft Billinghurst 1599 - Piso 9 C1425DTE - Capital Federal Tel/Fax: 4821-3376 / 4822-8759 mailto: [EMAIL PROTECTED] website: http://www.altersoft.com.ar - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: I feel stupid. COCOON + TOMCAT
OK, I am using the same plataform like you: Red Hat 7.3 (lastest updates) J2SDK 1.4.1 (from Sun) Tomcat 4.1.12 Cocoon 2.1 (lastest CVS), before I used well 2.0.3 from distribution. 1-The process of install is well documented in: http://xml.apache.org/cocoon/installing/index.html 2-Some tips: a) Check you have configured the variable $JAVA_HOME You can check this just writing on the command prompt: echo $JAVA_HOME b) If you will use Java 1.4: Create %JAVA_HOME%\jre\lib\endorsed directory. Copy xerces-XXX.jar, xalan-XXX.jar, and the xml-apis.jar from the .\lib\core\ to the %JAVA_HOME%\jre\lib\endorsed\ directory. c) If you want to use Cocoon with JDK 1.4, you have to download the source distribution and build it by hand. Please read it the document carefully and feel free to ask back :) Regards, Antonio Gallardo El Martes, 01 de Octubre de 2002 14:21, Mauro Daniel Ardolino escribió: Hi! I think I'll go mad. About a week ago I was trying to install cocoon on tomcat on windows: I couldn't and I thought it was a windows problem. Some of you were trying to help me. Now after some changes I am working on RH73. I've installed Tomcat 4.1.12 and still can't make cocoon to deploy. I downloaded the cocoon 2.0.3 binary distribution, and put the cocoon.war inside the tomcat_home/webapps folder. I restarted Tomcat and nothing happens. The folder cocoon does not apear inside webapps and of course I'm not seeing the http://localhost:8080/cocoon presentation page. I feel really stupid. What am I doing wrong (again)? Thanks in advance. -- Mauro - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: I feel stupid. COCOON + TOMCAT
Thanks a lot. I red some of these documentation. I think the main problem is a linux file permission problem. I've changed some permissions to some files and folders and it seems that the deploy is being done at startup (following the eclipse debug console). Now I have some other problems while trying to browse. If I cannot solve them I'll tell you. -- Mauro On Tue, 1 Oct 2002, Antonio Gallardo Rivera wrote: OK, I am using the same plataform like you: Red Hat 7.3 (lastest updates) J2SDK 1.4.1 (from Sun) Tomcat 4.1.12 Cocoon 2.1 (lastest CVS), before I used well 2.0.3 from distribution. 1-The process of install is well documented in: http://xml.apache.org/cocoon/installing/index.html 2-Some tips: a) Check you have configured the variable $JAVA_HOME You can check this just writing on the command prompt: echo $JAVA_HOME b) If you will use Java 1.4: Create %JAVA_HOME%\jre\lib\endorsed directory. Copy xerces-XXX.jar, xalan-XXX.jar, and the xml-apis.jar from the .\lib\core\ to the %JAVA_HOME%\jre\lib\endorsed\ directory. c) If you want to use Cocoon with JDK 1.4, you have to download the source distribution and build it by hand. Please read it the document carefully and feel free to ask back :) Regards, Antonio Gallardo El Martes, 01 de Octubre de 2002 14:21, Mauro Daniel Ardolino escribió: Hi! I think I'll go mad. About a week ago I was trying to install cocoon on tomcat on windows: I couldn't and I thought it was a windows problem. Some of you were trying to help me. Now after some changes I am working on RH73. I've installed Tomcat 4.1.12 and still can't make cocoon to deploy. I downloaded the cocoon 2.0.3 binary distribution, and put the cocoon.war inside the tomcat_home/webapps folder. I restarted Tomcat and nothing happens. The folder cocoon does not apear inside webapps and of course I'm not seeing the http://localhost:8080/cocoon presentation page. I feel really stupid. What am I doing wrong (again)? Thanks in advance. -- Mauro - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ing.Mauro Daniel Ardolino Departamento de Desarrollo y Servicios Altersoft Billinghurst 1599 - Piso 9 C1425DTE - Capital Federal Tel/Fax: 4821-3376 / 4822-8759 mailto: [EMAIL PROTECTED] website: http://www.altersoft.com.ar - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: I feel stupid. COCOON + TOMCAT
I am using a nearly identical platform (cocoon 2.0.3 on one machine and 2.1-dev on another). Make sure that in your tomcat server.xml file that for the Host element it has the unpackWARs=true attribute. [snip] c) If you want to use Cocoon with JDK 1.4, you have to download the source distribution and build it by hand. [snip] This is not the case. I believe the documentation to be out of date for this but for as long as I have been using cocoon (a few months now) there has been a downloadable binary for the latest release that is compiled for and works with the 1.4 JVM. It is accessible alongside the normal cocoon binaries. -- Jacob L E Blain Christen Entheal LLC - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Help ! Cocoon Newbie!!
I downloaded cocoon from CVS and i got the following error ! while building , any idea wat caused the error ? platform - jdk 1.4, win2k, thanks in advance Neon --- [echo] Compiling block... [javac] Compiling 11 source files to D:\apache\cvs\xml-cocoon2\build\cocoon\ blocks\session-fw\dest [javac] D:\apache\cvs\xml-cocoon2\build\cocoon\blocks\session-fw\src\org\apa che\cocoon\webapps\session\context\SimpleSessionContext.java:157: cannot resolve symbol [javac] symbol : method getDTMHandleFromNode (org.w3c.dom.Document) [javac] location: class org.apache.xpath.XPathContext [javac] this.loadResource = load; [javac]^ [javac] D:\apache\cvs\xml-cocoon2\build\cocoon\blocks\session-fw\src\org\apa che\cocoon\webapps\session\context\SimpleSessionContext.java:158: execute(org.ap ache.xpath.XPathContext,org.w3c.dom.Node,org.apache.xml.utils.PrefixResolver ) in org.apache.xpath.XPath cannot be applied to (org.apache.xpath.XPathContext,int, org.apache.xml.utils.PrefixResolverDefault) [javac] this.saveResource = save; [javac] ^ [javac] D:\apache\cvs\xml-cocoon2\build\cocoon\blocks\session-fw\src\org\apa che\cocoon\webapps\session\context\SimpleSessionContext.java:177: cannot resolve symbol [javac] symbol : method nodelist () [javac] location: class org.apache.xpath.objects.XObject [javac] } [javac] ^ [javac] D:\apache\cvs\xml-cocoon2\build\cocoon\blocks\session-fw\src\org\apa che\cocoon\webapps\session\context\SimpleSessionContext.java:306: cannot resolve symbol [javac] symbol : method nodelist () [javac] location: class org.apache.xpath.objects.XObject [javac] } [javac] ^ [javac] D:\apache\cvs\xml-cocoon2\build\cocoon\blocks\session-fw\src\org\apa che\cocoon\webapps\session\context\SimpleSessionContext.java:357: cannot resolve symbol [javac] symbol : method nodelist () [javac] location: class org.apache.xpath.objects.XObject [javac] /** [javac] ^ [javac] D:\apache\cvs\xml-cocoon2\build\cocoon\blocks\session-fw\src\org\apa che\cocoon\webapps\session\context\SimpleSessionContext.java:477: cannot resolve symbol [javac] symbol : method nodelist () [javac] location: class org.apache.xpath.objects.XObject [javac] } [javac] ^ [javac] 6 errors - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Generating pdf
Hi Ganael, have a look at http://xml.apache.org/fop/index.html and you will see, that you need XSL FO for FOP. Ganael LAPLANCHE wrote: Hi :) I saw Fop was able to generate Pdf from xml/xsl inputs in command line. How can I use fop in the sitemap to do this ? Use the PDF serializer. Have a look at the Hello World examples, one is in PDF. I've got a stylesheet that produces html. Do I have to start from the xml file, or from the html one using another xsl ? I would prefer XML = XSL FO, but I heard from a HTML to XSL FO converter. If you use something like Docbook you don't neede to write the stylesheets, they exist already. But Docbook is really complex, main target of Docbook is technical documentation. (http://www.docbook.org, http://docbook.sourceforge.net/projects/index.html) I would like not to use an xml-fo or html-fo stylesheet, is it possible ? AFAIK no. If someone had examples, would be nice :) Thank you, Gan. Regards, Joerg - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ WebServiceProxy ] Invalid response - no xml
I don't know of a quick appropriate way. Most Cocoon components will not accept invalid XML format. One way is to extend the WebServiceProxyGenerator and modify the code to prepend the xml header. - Original Message - From: Tony Collen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 30, 2002 11:03 PM Subject: [ WebServiceProxy ] Invalid response - no xml Hi all - I'm playing with the WebServiceProxy, and the server I'm contacting does not generate an ?xml version=1.0? tag at the start of their response. Thusly, I get the following error: Cocoon 2 - Internal server error type fatal message Error invoking remote service: org.apache.cocoon.ProcessingException: Invalid response - no xml description org.apache.cocoon.ProcessingException: Error invoking remote service: org.apache.cocoon.ProcessingException: Invalid response - no xml: org.apache.cocoon.ProcessingException: Invalid response - no xml sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet stack-trace org.apache.cocoon.ProcessingException: Error invoking remote service: org.apache.cocoon.ProcessingException: Invalid response - no xml: org.apache.cocoon.ProcessingException: Invalid response - no xml at org.apache.cocoon.generation.WebServiceProxyGenerator.fetch(WebServiceProxyG enerator.java:278) at snip-big-stack-trace/ Is there any way to get this to work, short of writing a servlet or PHP script to hit the remote server for me, and spit out the ?xml version=1.0? tag plus the rest of the data back to Cocoon? I don't have control over the remote server I'm contacting. If anyone really wants to see the 20 pages of stack trace, let me know and I'll post it. Here's my pipeline, BTW: map:pipeline map:match pattern=metar map:generate type=wsproxy src=http://zowie.metnet.navy.mil/cgi-bin/oleg/get-obs?call_id=KMSPamp;do-r etrieve=Retrieve map:parameter name=wsproxy-method value=POST/ /map:generate map:serialize type=xml / /map:match /map:pipeline Regards, Tony Tony Collen -- [EMAIL PROTECTED] College of Liberal Arts University of Minnesota, Minneapolis, West Bank - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ WebServiceProxy ] Invalid response - no xml
On Tue, 1 Oct 2002, Ivelin Ivanov wrote: I don't know of a quick appropriate way. Most Cocoon components will not accept invalid XML format. One way is to extend the WebServiceProxyGenerator and modify the code to prepend the xml header. Ivelin, Of course, just after I sent that message, I find the code for WebServiceProxyGenerator and find the line that looked for the ?xml version=1.0? line :) Thanks for the pointer. I'll probably mod WSPG to work around the problem specific for the server I'm trying to contact. I'll probably get in touch with the server admin, too, and bug them ;) Regards, Tony Collen Tony Collen -- [EMAIL PROTECTED] College of Liberal Arts University of Minnesota, Minneapolis, West Bank - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: I feel stupid. COCOON + TOMCAT
I was thinked about that. Can be your firewall the sorce of all the problems? Check if you have the permission to allow listen in the port 8080 or if another app is there listening. Because, if TOMCAT if totally sillent (logs are empty), that means tomcat is not getting the request. What about first checking, tomcat: http://localhost:8080/ Antonio Gallardo El Martes, 01 de Octubre de 2002 14:21, Mauro Daniel Ardolino escribió: Hi! I think I'll go mad. About a week ago I was trying to install cocoon on tomcat on windows: I couldn't and I thought it was a windows problem. Some of you were trying to help me. Now after some changes I am working on RH73. I've installed Tomcat 4.1.12 and still can't make cocoon to deploy. I downloaded the cocoon 2.0.3 binary distribution, and put the cocoon.war inside the tomcat_home/webapps folder. I restarted Tomcat and nothing happens. The folder cocoon does not apear inside webapps and of course I'm not seeing the http://localhost:8080/cocoon presentation page. I feel really stupid. What am I doing wrong (again)? Thanks in advance. -- Mauro - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Strange behavior in SQLTransforme Cocoon 2.0.3
Luca, since I know you're such a good guy, I fixed your problem... ...seriously now: The Cocoon 2.0.3 version of SQLTransformer lacks the characters method, which in Cocoon 2.0.2 took care of the proper concatenation of queries (something super.characters(), apparently cannot do). Here's my patch (just a slightly modified version of the Cocoon 2.0.2 method): public void characters( char ary[], int start, int length ) throws SAXException { if ( current_state != SQLTransformer.STATE_INSIDE_VALUE_ELEMENT current_state != SQLTransformer.STATE_INSIDE_QUERY_ELEMENT current_state != SQLTransformer.STATE_INSIDE_ESCAPE_STRING ) { super.characters( ary, start, length ); } getLogger().debug( RECEIVED CHARACTERS: + new String( ary, start, length ) ); this.getCurrentQuery().addQueryPart( new String( ary, start, length ) ); } Could someone test it properly and put it in the next Cocoon release ? Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - -Original Message- From: Luca Morandini [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 11:47 PM To: Cocoon-users Subject: Strange behavior in SQLTransforme Cocoon 2.0.3 Folks, when I call an Oracle Stored Procedure with SQLTransformer the DBMS refuses to execute it (lamenting a parsing error) if I don't put the call on one line. Needless to say, it worked fine up to 2.0.2. My configuration: - Windows 2000 Pro SP3 - JDK 1.3.1 - Tomcat 4.0.1 - Cocoon 2.0.3 - Oracle 8.1.7 To sum it up: begin UMan.Logon('ammini', 'ammini', ?, ?, ?, ?, ?); end; works begin UMan.Logon('ammini', 'ammini', ?, ?, ?, ?, ?); end; doesn't... it gives: ERROR (2002-09-30) 23:37.34:339 [sql.transformer.sql] (/cerbero-dev/login-execute.html) Ajp13Processor[8009][4]/SQLTransformer$Query: Caught a SQLException java.sql.SQLException: ORA-06550: riga 1, colonna 27: PLS-00103: ... Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]