AW: Generate static HTML with Cocoon
The problem of those web spiders is using of dynamic links (e.g. via JavaScript or Flash). I'm currently developing a little tool on top of Cocoon which generates static content via a mapping xml file. There you can define all of your urls and their dependencies to xml and xsl files. So if you change an xsl file the tool downloads only that urls which could have changed. Aftre that it can upload the newest files. I want to support ftp and WebDAV. But the project just startet yesterday ;) JOERN_HEID -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Bertrand Delacretaz Gesendet: Dienstag, 23. Oktober 2001 08:25 An: [EMAIL PROTECTED] Betreff: Re: Generate static HTML with Cocoon On Tuesday 23 October 2001 08:12, Holger Danske wrote: We want to use Cocoon to generate static HTML. wget (www.gnu.org/software/wget), a command-line utility, is very good at creating static versions of dynamic web sites. -- -- Bertrand Delacrétaz, www.codeconsult.ch -- web technologies consultant - OO, Java, XML, C++ - 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: Catching XMLSerializer O/P
hi Sébastien, Thanks for your reply. What I'm trying to do is - I want to save the result which is getting displayed on the browser in a file. So I'm catching the events in XMLSerializer,when I catch the characters event I get the whole document content inside each element.What I understand is - the TraxTansformer inputs a ResultSet tree of XML doc to XMLSerializer. Here is the sample code of XML,XSL and output file -- XML.xml - ?xml version=1.0 encoding=UTF-8? page titleHello/title content paragraphThis is my first Cocoon2 b02 page! /paragraph /content /page - XSL.xsl - ?xml version=1.0? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xsl:template match=page hellopage xsl:apply-templates/ /hellopage /xsl:template xsl:template match=title title xsl:apply-templates/ /title /xsl:template xsl:template match=paragraph para xsl:apply-templates/ /para /xsl:template /xsl:stylesheet - The saved file should be - xmlFile.xml - ?xml version=1.0 encoding=UTF-8? hellopage titleHello/title paraThis is my first Cocoon2 b02 page! /para /hellopage - The XMLSerializer for this is - - import org.apache.avalon.excalibur.pool.*; import javax.xml.transform.OutputKeys; import javax.xml.transform.sax.*; import javax.xml.transform.stream.StreamResult; import java.io.*; import org.apache.cocoon.serialization.*; import org.xml.sax.*; import org.apache.cocoon.components.store.FilesystemStore; import java.util.Vector; import java.util.StringTokenizer; import org.apache.avalon.framework.logger.Loggable; import javax.xml.transform.sax.SAXResult; import org.apache.cocoon.xml.XMLConsumer; import com.sun.xml.tree.*; public class XMLSerializer1 extends AbstractTextSerializer implements Serializable,Poolable,XMLConsumer{ private TransformerHandler handler; private FileWriter xmlFile; public XMLSerializer1() { } public void setOutputStream(OutputStream out) { try { XmlDocument xmlDoc = new XmlDocument(); super.setOutputStream(out); this.handler = getTransformerFactory ().newTransformerHandler(); format.put(OutputKeys.METHOD,xml); handler.setResult(new StreamResult(out)); handler.getTransformer().setOutputProperties (format); super.setContentHandler(handler); super.setLexicalHandler(handler); this.setContentHandler(handler); this.setLexicalHandler(handler); } catch (Exception e) { System.out.println(Error in XMLSerializer1 : +e); throw new RuntimeException(e.toString()); } } public void characters(char[] ch, int start, int length) throws SAXException { this.contentHandler.characters(ch, start, length); Writing element value in final xmlFile try{ String value = new String(ch); char buffer[] = new char[value.length()]; value.getChars(0,value.length(),buffer,0); xmlFile.write(buffer); }catch(Exception e) { System.out.println(Error : +e); } } public void endDocument() throws SAXException { this.contentHandler.endDocument(); try { xmlFile.close(); }catch(Exception e) { System.out.println(Error : +e); } } public void endElement(String namespaceURI, String localName, String rawName) throws SAXException { /** Writing endElement in final xmlFile**/ try{ String endTag = /+rawName+; char buffer[] = new char[endTag.length()]; endTag.getChars(0,endTag.length(),buffer,0); xmlFile.write(buffer); }catch(Exception e) { System.out.println(Error : +e); } this.contentHandler.endElement(namespaceURI, localName, rawName); } public void startDocument() throws SAXException { this.contentHandler.startDocument(); try { xmlFile = new FileWriter(xmlFile.xml,true); String pi = ?xml version='1.0'
Weblogic 6.1 sp1 and cocoon2
Title: Weblogic 6.1 sp1 and cocoon2 Hi, I'm quite new with cocoon xml framework. I was setup and running cocoon 1.8.2 successfully with weblogic server. I want to move to cocoon 2.0, but get the following error messages. After doing the build and copy cocoon.war file into applications directory, weblogic can't deploy cocoon with below error. If you are familiar with the problem, please help. Thank you very much in advance. Vincent java.lang.IllegalArgumentException: Prefix string too short at java.io.File.createTempFile(File.java:1237) at weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:95) at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServletContext.java:3356) at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java:3327) at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:854) at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:807) at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:421) at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74) at weblogic.j2ee.Application.addComponent(Application.java:160) at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144) at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76) at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:608) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:592) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:352) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190) at $Proxy30.addWebDeployment(Unknown Source) at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:1094) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:315) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:279) at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:233) at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:193) at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:608) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:592) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:352) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190) at $Proxy29.updateDeployments(Unknown Source) at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2734) at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:362) at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:154) at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:608) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:592) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:352) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190) at $Proxy38.start(Unknown Source) at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:480) at weblogic.management.Admin.startApplicationManager(Admin.java:1151) at weblogic.management.Admin.finish(Admin.java:570) at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:506) at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203) at weblogic.Server.main(Server.java:35) Oct 22, 2001 3:08:11 PM PDT Error J2EE Error deploying application cocoon: Could not load cocoon java.lang.reflect.UndeclaredThrowableException: java.lang.IllegalArgumentException: Prefix string too short at
Cocoon Enhydra
Hallo cocoon-users, how can I integrate cocoon2 under the Enhydra-Application-Server? Thanks for help, Dr. Thomas Schrader Charite - Berlin - 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 + Tomcat + Apache
Hi all .. I'm trying to combine cocoon-tomcat with apache in a way that instead of typing http://www.mysite.com:8080/cocoon/something/somethingelse i can simply use http://www.mysite.com/something/somethingelse do you know if there is any document describing how to do this? And to make apache serve the static files (images for example) how do i override the catch-all to alias some directories (like /images) to a static dir and have them served by apache ? Thanks, ciao Simone - 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: Pb installing cocoon2 : javax TransformerException
Have you cleared the Tomcat work directory before running the new version ? Also, you should look at log files in WEB-INF/logs which can give additionnal information. Sylvain. LEUZINGER Claude (DSIT-EX) a écrit : Hello, I try to install the version 2.0rc1a of cocoon 2 with tomcat 3.2.2. and windows NT4.0. I have a javax.xml.transform.Transformer exception when i access the URI 'http://localhost:8080/cocoon/'. (it works well with the previous version of cocoon 2.0b1) Thanks in advance, Claude. javax.xml.transform.TransformerException at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.j ava:1269) at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3070) at java.lang.Thread.run(Thread.java:484) - java.lang.NullPointerException at org.apache.xalan.templates.ElemValueOf.execute(ElemValueOf.java:253) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform erImpl.java:2251) at org.apache.xalan.templates.ElemIf.execute(ElemIf.java:166) at org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.ja va:499) at org.apache.xalan.templates.ElemForEach.execute(ElemForEach.java:228) at org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.ja va:499) at org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.jav a:193) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform erImpl.java:2251) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java: 637) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform erImpl.java:2251) at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Transformer Impl.java:2134) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.j ava:1246) at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3070) at java.lang.Thread.run(Thread.java:484) request-uri /cocoon/ exception org.apache.cocoon.ProcessingException: Exception in Handler: javax.xml.transform.TransformerException path-info stacktrace org.apache.cocoon.ProcessingException: Exception in Handler: javax.xml.transform.TransformerException at org.apache.cocoon.sitemap.Handler.throwEventualException(Handler.java:244) at org.apache.cocoon.sitemap.Handler.regenerate(Handler.java:155) at org.apache.cocoon.sitemap.Manager.getHandler(Manager.java:232) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:109) at org.apache.cocoon.Cocoon.process(Cocoon.java:495) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:534) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 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:79 7) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC onnectionHandler.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) javax.xml.transform.TransformerException at org.apache.xalan.transformer.TransformerImpl.waitTransformThread(Transformer Impl.java:2954) at org.apache.xalan.stree.SourceTreeHandler.endDocument(SourceTreeHandler.java: 469) at org.xml.sax.helpers.XMLFilterImpl.endDocument(XMLFilterImpl.java:518) at org.xml.sax.helpers.XMLFilterImpl.endDocument(XMLFilterImpl.java:518) at org.apache.xerces.parsers.SAXParser.endDocument(SAXParser.java:1230) at org.apache.xerces.validators.common.XMLValidator.callEndDocument(XMLValidato r.java:1079) at org.apache.xerces.framework.XMLDocumentScanner$EndOfInputDispatcher.dispatch (XMLDocumentScanner.java:1555) at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner. java:381) at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1035) at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371) at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371) at org.apache.cocoon.components.language.markup.LogicsheetCodeGenerator.generat eCode(LogicsheetCodeGenerator.java:130) at org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.generate
Re: Cocoon + Tomcat + Apache
Simone Gianni wrote: Hi all .. I'm trying to combine cocoon-tomcat with apache in a way that instead of typing http://www.mysite.com:8080/cocoon/something/somethingelse i can simply use http://www.mysite.com/something/somethingelse do you know if there is any document describing how to do this? And to make apache serve the static files (images for example) how do i override the catch-all to alias some directories (like /images) to a static dir and have them served by apache ? Depends on the version of Cocoon you use, please be more specific. Martijn Bouterse - 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 1.8.2 and IIS
Where can i find Setup Documentations for Cocoon 1.8.2 and IIS??? I have searched for a long time and cant find any. Are there any existing? Thx for an answer Jan - 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]
Generating static files
Hello I have cocoon 2.0rc1a working in a tomcat setup and it works perfectly for generating html pages. My question is then, how do I save a generated page? Or how do I serialize the html output to a file? I'd like this so I could put the never changing html files onto the webserver as plain .html files. /Allan - 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: Cocoon + Tomcat + Apache
Simone, 1) you could use Apache mod-rewrite to get rid of cocoon in the URI (see Cocoon FAQ) 2) you could map, say, every XML file to cocoon (check Tomcat docs) 3) you could use map:read to avoid Cocoon process (and thus slow down) static content (see mailing list archives) Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - -Original Message- From: Simone Gianni [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 10:07 AM To: [EMAIL PROTECTED] Subject: Cocoon + Tomcat + Apache Hi all .. I'm trying to combine cocoon-tomcat with apache in a way that instead of typing http://www.mysite.com:8080/cocoon/something/somethingelse i can simply use http://www.mysite.com/something/somethingelse do you know if there is any document describing how to do this? And to make apache serve the static files (images for example) how do i override the catch-all to alias some directories (like /images) to a static dir and have them served by apache ? Thanks, ciao Simone - 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: Cocoon 1.8.2 and IIS
IIS serves static pages + microsoft's server pages. For Cocoon u need Java servlet engine (ex. Tomcat). So look for info about: IIS Java Servlet engine integration; Java Servlet engine Cocoon integration; Good luck, Valdo --- mailto:[EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 10:22 AM To: [EMAIL PROTECTED] Subject: Cocoon 1.8.2 and IIS Where can i find Setup Documentations for Cocoon 1.8.2 and IIS??? I have searched for a long time and cant find any. Are there any existing? Thx for an answer Jan - 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: Cocoon 1.8.2 and IIS
I have Tomcat running and i now wanted to install cocoon. but i cant find a docu instructing how to proceed with IIS. Is it not theoretically possible to run Cocoon 1.8.2 IIS and Tomcat??? If it is possible, can somebody tell me how to set it up? Grtz Jan - 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: Generate static HTML with Cocoon
We want to use Cocoon to generate static HTML. Cocoon can do offline generation too by running it in CLI mode (org.apache.cocoon.Main). If you check out a fresh CVS the build system uses Cocoon to generate its own documentation: this can be used as a starting point for you. Ciao, -- Gianugo Rabellino - 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]
SV: Cocoon Enhydra
When do you need this info? I'm VERY busy right now, but I have it up and running, and could help you soon. -Oprindelig meddelelse- Fra: Thomas Schrader [mailto:[EMAIL PROTECTED]] Sendt: 23. oktober 2001 00:59 Til: [EMAIL PROTECTED] Emne: Cocoon Enhydra Hallo cocoon-users, how can I integrate cocoon2 under the Enhydra-Application-Server? Thanks for help, Dr. Thomas Schrader Charite - Berlin - 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: Cocoon 1.8.2 and IIS
I have IIS and Tomcat plus Cocoon running separately (different ports). To integrate em I'm using redirect pages in IIS. For more smooth integration u should use isapi filter for tomcat. Sekmes, Valdo --- mailto:[EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 10:38 AM To: [EMAIL PROTECTED] Subject: RE: Cocoon 1.8.2 and IIS I have Tomcat running and i now wanted to install cocoon. but i cant find a docu instructing how to proceed with IIS. Is it not theoretically possible to run Cocoon 1.8.2 IIS and Tomcat??? If it is possible, can somebody tell me how to set it up? Grtz Jan - 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: Java interpreter dies running samples
i had the same touble with tomcat 321. I've just installed 322, and it goes. Try it. best regards, José Blas. - 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: Cocoon 1.8.2 and IIS
Valdo, could you send me a file (maybe you documentanted your installation process) or send me a link so i can properly setup cocoon? For all: I have Tomcat installed and also IIS 5.0. I just need to connect Cocoon 1.8.2 Thx for any help, i have been seraching the net for so long im frustrated! Friendly Grtz Jan - 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: Cocoon 1.8.2 and IIS
if I got You well: You have: 1. Windows NT running well :-)); 2. IIS running well (say, port 80); 3. Tomcat running well (say, port 8080); 4. You are not using isapi redirector; And You can not set up Cocoon 1.8.2 on Tomcat? Am I right? Good luck, Valdo --- mailto:[EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 10:59 AM To: [EMAIL PROTECTED] Subject: RE: Cocoon 1.8.2 and IIS Valdo, could you send me a file (maybe you documentanted your installation process) or send me a link so i can properly setup cocoon? For all: I have Tomcat installed and also IIS 5.0. I just need to connect Cocoon 1.8.2 Thx for any help, i have been seraching the net for so long im frustrated! Friendly Grtz Jan - 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: Weblogic 6.1 sp1 and cocoon2
Title: Weblogic 6.1 sp1 and cocoon2 Remove xt.jar from the webapp. That should fix this error. There will be others, though, for which I have no fix. Post 'em as you find'em, perhaps someone else has a solution! -André -Original Message-From: Le, Vincent [mailto:[EMAIL PROTECTED]]Sent: 23. oktober 2001 00:36To: '[EMAIL PROTECTED]'Subject: Weblogic 6.1 sp1 and cocoon2 Hi, I'm quite new with cocoon xml framework. I was setup and running cocoon 1.8.2 successfully with weblogic server. I want to move to cocoon 2.0, but get the following error messages. After doing the build and copy cocoon.war file into applications directory, weblogic can't deploy cocoon with below error. If you are familiar with the problem, please help. Thank you very much in advance. Vincent java.lang.IllegalArgumentException: Prefix string too short at java.io.File.createTempFile(File.java:1237) at weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:95) at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServletContext.java:3356) at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java:3327) at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:854) at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:807) at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:421) at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74) at weblogic.j2ee.Application.addComponent(Application.java:160) at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144) at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76) at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:608) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:592) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:352) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190) at $Proxy30.addWebDeployment(Unknown Source) at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:1094) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:315) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:279) at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:233) at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:193) at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:608) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:592) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:352) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190) at $Proxy29.updateDeployments(Unknown Source) at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2734) at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:362) at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:154) at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:608) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:592) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:352) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190) at $Proxy38.start(Unknown
Request Parameters in XSP
Hi All, I am a newbie in the world of COCOON. Hope you all Butterflies will be able to help this little larva.. ;-) in flying with wings of XML. ok.. heres my problem.. I want to access the parameters being passed in the request object. I have tried a few examples(from tutorials and documentation of C2). But i am unable to get the parameters being passed in the request object usingXSP request taglib. Am i missing out something? Thanks in advance. cheers Adam
RE: Request Parameters in XSP
include in sitemap map:transform src=""map:parameter name="use-request-parameters" value="true"/map:parameter name="use-browser-capabilities-db" value="true"//map:transform Sekmes,Valdo---mailto:[EMAIL PROTECTED] -Original Message-From: Adam A R [mailto:[EMAIL PROTECTED]]Sent: Tuesday, October 23, 2001 11:30 AMTo: [EMAIL PROTECTED]Subject: Request Parameters in XSP Hi All, I am a newbie in the world of COCOON. Hope you all Butterflies will be able to help this little larva.. ;-) in flying with wings of XML. ok.. heres my problem.. I want to access the parameters being passed in the request object. I have tried a few examples(from tutorials and documentation of C2). But i am unable to get the parameters being passed in the request object usingXSP request taglib. Am i missing out something? Thanks in advance. cheers Adam
DEPRECATED - xslp processor is deprecated. Use trax or xalan instead.
Hi, I checked out a fresh copy of Cocoon2 to build a .war file. I received this message when I tried to compile. Any suggestions? e:\cocoon\xml-cocoon2 .\build.bat -Dinclude.webapp.libs=yes -Dinstall.war=%TOMCAT_HOME%\webapps install Buildfile: build.xml init: [echo] --- Apache Cocoon 2.1-dev [1999-2001] prepare: generate-java-code-check: generate-java-code: [style] DEPRECATED - xslp processor is deprecated. Use trax or xalan instead. [style] java.lang.ClassNotFoundException: org.apache.tools.ant.taskdefs.optional.XalanLiaison [style] at java.net.URLClassLoader$1.run(URLClassLoader.java:200) [style] at java.security.AccessController.doPrivileged(Native Method) [style] at java.net.URLClassLoader.findClass(URLClassLoader.java:188) [style] at java.lang.ClassLoader.loadClass(ClassLoader.java:297) [style] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286) [style] at java.lang.ClassLoader.loadClass(ClassLoader.java:253) [style] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) [style] at java.lang.Class.forName0(Native Method) [style] at java.lang.Class.forName(Class.java:120) [style] at org.apache.tools.ant.taskdefs.XSLTProcess.loadClass(XSLTProcess.java:290) [style] at org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSLTProcess.java: 276) [style] at org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProcess.java:406) [style] at org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:141) [style] at org.apache.tools.ant.Task.perform(Task.java:217) [style] at org.apache.tools.ant.Target.execute(Target.java:184) [style] at org.apache.tools.ant.Target.performTasks(Target.java:202) [style] at org.apache.tools.ant.Project.executeTarget(Project.java:601) [style] at org.apache.tools.ant.Project.executeTargets(Project.java:560) [style] at org.apache.tools.ant.Main.runBuild(Main.java:454) [style] at org.apache.tools.ant.Main.start(Main.java:153) [style] at org.apache.tools.ant.Main.main(Main.java:176) [style] java.lang.ClassNotFoundException: org.apache.tools.ant.taskdefs.optional.XslpLiaison [style] at java.net.URLClassLoader$1.run(URLClassLoader.java:200) [style] at java.security.AccessController.doPrivileged(Native Method) [style] at java.net.URLClassLoader.findClass(URLClassLoader.java:188) [style] at java.lang.ClassLoader.loadClass(ClassLoader.java:297) [style] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286) [style] at java.lang.ClassLoader.loadClass(ClassLoader.java:253) [style] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) [style] at java.lang.Class.forName0(Native Method) [style] at java.lang.Class.forName(Class.java:120) [style] at org.apache.tools.ant.taskdefs.XSLTProcess.loadClass(XSLTProcess.java:290) [style] at org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSLTProcess.java: 272) [style] at org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProcess.java:403) [style] at org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:141) [style] at org.apache.tools.ant.Task.perform(Task.java:217) [style] at org.apache.tools.ant.Target.execute(Target.java:184) [style] at org.apache.tools.ant.Target.performTasks(Target.java:202) [style] at org.apache.tools.ant.Project.executeTarget(Project.java:601) [style] at org.apache.tools.ant.Project.executeTargets(Project.java:560) [style] at org.apache.tools.ant.Main.runBuild(Main.java:454) [style] at org.apache.tools.ant.Main.start(Main.java:153) [style] at org.apache.tools.ant.Main.main(Main.java:176) BUILD FAILED e:\cocoon\xml-cocoon2\build.xml:398: javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.Transform erFactoryImpl not found Total time: 5 seconds e:\cocoon\xml-cocoon2 Thanks, devooght - 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: Weblogic 6.1 sp1 and cocoon2
alternatively, don't use weblogic auto-deployment. Then it doesn't matter that one of your jar files has a name shorter than 3 characters. And you will face a boatload of other problems - post them here and perhaps we have a solution for them. Except if you want to use weblogic's JSP engine for Cocoon JSP generation - we're still trying and it's not looking overly optimistic.. Damian Velle Andrè Andre.Velle@netcTo: '[EMAIL PROTECTED]' [EMAIL PROTECTED] om-gsm.no cc: Subject: RE: Weblogic 6.1 sp1 and cocoon2 23-Oct-2001 05:19 PM Please respond to cocoon-users Sender Info: No Sender Info found in the address Book Remove xt.jar from the webapp. That should fix this error. There will be others, though, for which I have no fix. Post 'em as you find'em, perhaps someone else has a solution! -André -Original Message- From: Le, Vincent [mailto:[EMAIL PROTECTED]] Sent: 23. oktober 2001 00:36 To: '[EMAIL PROTECTED]' Subject: Weblogic 6.1 sp1 and cocoon2 Hi, I'm quite new with cocoon xml framework. I was setup and running cocoon 1.8.2 successfully with weblogic server. I want to move to cocoon 2.0, but get the following error messages. After doing the build and copy cocoon.war file into applications directory, weblogic can't deploy cocoon with below error. If you are familiar with the problem, please help. Thank you very much in advance. Vincent java.lang.IllegalArgumentException: Prefix string too short at java.io.File.createTempFile(File.java:1237) at weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:95) at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServletContext.java:3356) at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java:3327) at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:854) at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:807) at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:421) at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74) at weblogic.j2ee.Application.addComponent(Application.java:160) at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144) at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76) at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:608) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:592) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:352) at
date-format in cocoon 1.8.2
Hi, what must i do to change the format of the date i get with esql:get-date... i am using cocoon1.8.2 cu, christian - 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: Fastest Platform (softwarewise)?
Phil Blake wrote: Hi, We run apache/tomcat/cocoon on 3 server platforms, Linux, AIX and MacOS X. Linux on a dual PIII 550, OSX on a PPC-G4 450 and AIX on a 4x250MHz PPC-G3. Bang for buck, a G4 running OSX wins hands down. However, believe it or not, the dual PIII comes in second (AIX don't come close... too expensive for real consideration and Windows is not a server operating system in practice, only in marketing). That's interesting, I didn't think OSX would come out on top--maybe second though. As to AIX, and this goes for Solaris as well, they are very expensive--so bang for the buck goes down. How about raw performance though? Which comes out on top? The Dual PIII was about 10% more than the G4 (after adding SCSI) and about 70-80% the performance. So for 10% more cost you gain 70-80% more speed. That is a reasonable tradeoff. What kinds of tests did you run? How does each one scale (as you add more clients). How many simultaneous connections can each platform handle before you reach saturation? Although theory has it that a G4 500MHz has about the same performance as a PIII 1.5GHz (ie triple the performance), I've found that it's really more like double the performance, not triple. Careful there. Clockrate != performance. When all things are equal (i.e. chip architecture, design, etc.), then clockrate is effective to determine relative performance increases. However, the G4 and the PIII have very different architectures. This is true of the PIII and the P4, and the P4 and the K7. In that case 1.5GHz in all three processors would have very different performance results. As far as I know, the G4 is not capable of the high clockrates, so it makes up for it with an efficient pipeline. The pentium series was designed for high clockrates. - 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: Fastest Platform (softwarewise)?
On Tue, Oct 23, 2001 at 07:25:07AM +1000, Phil Blake wrote: Hi, We run apache/tomcat/cocoon on 3 server platforms, Linux, AIX and MacOS X. Linux on a dual PIII 550, OSX on a PPC-G4 450 and AIX on a 4x250MHz PPC-G3. Bang for buck, a G4 running OSX wins hands down. However, believe it or not, the dual PIII comes in second (AIX don't come close... too expensive for real consideration and Windows is not a server operating system in practice, only in marketing). The Dual PIII was about 10% more than the G4 (after adding SCSI) and about 70-80% the performance. Although theory has it that a G4 500MHz has about the same performance as a PIII 1.5GHz (ie triple the performance), I've found that it's really more like double the performance, not triple. Like I said I was thinking more in Terms of which JDK (IBM, Blackdown,...) and which Java-Version. I can not move away from Linux. Cheers, Konstantin -- Konstantin Agouros - NetAge Solutions, Dingolfinger Str. 6, 81673 Muenchen Tel.: 089 666584-0, Fax: 089 666584-11, Email: [EMAIL PROTECTED] -- Black holes are, where god divided by zero. - 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: Fastest Platform (softwarewise)?
-Original Message- From: Berin Loritsch [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 23 October 2001 2:17 pm To: [EMAIL PROTECTED] Subject: Re: Fastest Platform (softwarewise)? Phil Blake wrote: Hi, We run apache/tomcat/cocoon on 3 server platforms, Linux, AIX and MacOS X. Linux on a dual PIII 550, OSX on a PPC-G4 450 and AIX on a 4x250MHz PPC-G3. Bang for buck, a G4 running OSX wins hands down. However, believe it or not, the dual PIII comes in second (AIX don't come close... too expensive for real consideration and Windows is not a server operating system in practice, only in marketing). That's interesting, I didn't think OSX would come out on top--maybe second though. As to AIX, and this goes for Solaris as well, they are very expensive--so bang for the buck goes down. How about raw performance though? Which comes out on top? The Dual PIII was about 10% more than the G4 (after adding SCSI) and about 70-80% the performance. So for 10% more cost you gain 70-80% more speed. That is a reasonable tradeoff. What kinds of tests did you run? How does each one scale (as you add more clients). How many simultaneous connections can each platform handle before you reach saturation? I don't think they ment that it was 70-80% *better*. I think that it was 70-80% of the original performance :{ Although theory has it that a G4 500MHz has about the same performance as a PIII 1.5GHz (ie triple the performance), I've found that it's really more like double the performance, not triple. Careful there. Clockrate != performance. When all things are equal (i.e. chip architecture, design, etc.), then clockrate is effective to determine relative performance increases. However, the G4 and the PIII have very different architectures. This is true of the PIII and the P4, and the P4 and the K7. In that case 1.5GHz in all three processors would have very different performance results. As far as I know, the G4 is not capable of the high clockrates, so it makes up for it with an efficient pipeline. The pentium series was designed for high clockrates. - 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] === Information in this email and any attachments are confidential, and may not be copied or used by anyone other than the addressee, nor disclosed to any third party without our permission. There is no intention to create any legally binding contract or other commitment through the use of this email. Experian Limited (registration number 653331). Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF - 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: Fastest Platform (softwarewise)?
Hi Guys check out http://www.volano.com/report/ Regards Mark -Original Message- From: Konstantin Agouros [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 3:23 PM To: [EMAIL PROTECTED] Subject: Re: Fastest Platform (softwarewise)? On Tue, Oct 23, 2001 at 07:25:07AM +1000, Phil Blake wrote: Hi, We run apache/tomcat/cocoon on 3 server platforms, Linux, AIX and MacOS X. Linux on a dual PIII 550, OSX on a PPC-G4 450 and AIX on a 4x250MHz PPC-G3. Bang for buck, a G4 running OSX wins hands down. However, believe it or not, the dual PIII comes in second (AIX don't come close... too expensive for real consideration and Windows is not a server operating system in practice, only in marketing). The Dual PIII was about 10% more than the G4 (after adding SCSI) and about 70-80% the performance. Although theory has it that a G4 500MHz has about the same performance as a PIII 1.5GHz (ie triple the performance), I've found that it's really more like double the performance, not triple. Like I said I was thinking more in Terms of which JDK (IBM, Blackdown,...) and which Java-Version. I can not move away from Linux. Cheers, Konstantin -- Konstantin Agouros - NetAge Solutions, Dingolfinger Str. 6, 81673 Muenchen Tel.: 089 666584-0, Fax: 089 666584-11, Email: [EMAIL PROTECTED] -- Black holes are, where god divided by zero. - 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]
The sitemap handler's sitemap is not available error
Hi everyone, I got this error The sitemap handler's sitemap is not available. I am running jakarta-tomcat-4.0.1, cocoon2, redhat7.1 Could anyone tell me what wrong? What can I do to fix this? Thanks. Hoang - 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: Fastest Platform (softwarewise)?
Konstantin Agouros wrote: Like I said I was thinking more in Terms of which JDK (IBM, Blackdown,...) and which Java-Version. I can not move away from Linux. You may have to make your choice on which is the most stable for your platform. To that end, I recommend the Blackdown JDK. - 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]
[C2] Current ServerPagesAction,actions.xsp and action.xsl status.
Hello. Some time ago I've read letters on cocoon-dev about actions generated by xsp. There are still in Cocoon2.1 action.xsl and ServerPagesAction.java, but I can't find any examples. I'm affraid it was removed from Cocoon, because there was a discussion about it on cocoon-dev. Something about clear solution MVC (and/or) Why does Action extend ThreadSafe ?. What is current status actions generated by xsp. Where can I find any example, action generated by xsp? I'm questionig you because I have to write action, using database (esql) and I don't want to write it in plain java but in xsp. -- Best regards, Krzysztof 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]
Cocoon2 Websphere 3.5.4
Hi list, anyone here have instructions, how to install Cocoon2 sucessfully with IBM Websphere 3.5.4? Regards, Michael - 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]
pb installing cocoon2: javax TransformerException
LEUZINGER Claude (DSIT-EX) a écrit : Hello, I try to install the version 2.0rc1a of cocoon 2 with tomcat 3.2.2. and windows NT4.0. I have a javax.xml.transform.Transformer exception when i access the URI 'http://localhost:8080/cocoon/'. (it works well with the previous version of cocoon 2.0b1) Thanks in advance, Claude. - Have you cleared the Tomcat work directory before running the new version ? Also, you should look at log files in WEB-INF/logs which can give additionnal information. Sylvain. I have cleared the Tomcat work directory before running the new version, but it does'nt works. here is an extract of the log file. (error compiling sitemap) : thanks, Claude. DEBUG (2001-10-23) 16:17.22:114 [cocoon ] (/cocoon/) Thread-17/DefaultComponentFactory: ComponentFactory decommissioning instance of org.apache.cocoon.components.language.markup.sitemap.SitemapMarkupLanguage. ERROR (2001-10-23) 16:17.22:114 [cocoon ] (/cocoon/) Thread-17/Handler: Error compiling sitemap javax.xml.transform.TransformerException at org.apache.xalan.transformer.TransformerImpl.waitTransformThread(Transformer Impl.java:2954) at org.apache.xalan.stree.SourceTreeHandler.endDocument(SourceTreeHandler.java: 469) at org.xml.sax.helpers.XMLFilterImpl.endDocument(XMLFilterImpl.java:518) at org.xml.sax.helpers.XMLFilterImpl.endDocument(XMLFilterImpl.java:518) at org.apache.xerces.parsers.SAXParser.endDocument(SAXParser.java:1230) at org.apache.xerces.validators.common.XMLValidator.callEndDocument(XMLValidato r.java:1080) at org.apache.xerces.framework.XMLDocumentScanner$EndOfInputDispatcher.dispatch (XMLDocumentScanner.java:1499) at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner. java:381) at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081) at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371) at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371) at org.apache.cocoon.components.language.markup.LogicsheetCodeGenerator.generat eCode(LogicsheetCodeGenerator.java:130) at org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.generate Code(AbstractMarkupLanguage.java:291) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat eResource(ProgramGeneratorImpl.java:313) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR esource(ProgramGeneratorImpl.java:275) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr ogramGeneratorImpl.java:192) 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: pb installing cocoon2: javax TransformerException
Strange... it doesn't look like the usual sitemap compilation problems :( Aren't there some other exceptions above this one in the log files (check *all* log files) ? LEUZINGER Claude (DSIT-EX) a écrit : LEUZINGER Claude (DSIT-EX) a écrit : Hello, I try to install the version 2.0rc1a of cocoon 2 with tomcat 3.2.2. and windows NT4.0. I have a javax.xml.transform.Transformer exception when i access the URI 'http://localhost:8080/cocoon/'. (it works well with the previous version of cocoon 2.0b1) Thanks in advance, Claude. - Have you cleared the Tomcat work directory before running the new version ? Also, you should look at log files in WEB-INF/logs which can give additionnal information. Sylvain. I have cleared the Tomcat work directory before running the new version, but it does'nt works. here is an extract of the log file. (error compiling sitemap) : thanks, Claude. DEBUG (2001-10-23) 16:17.22:114 [cocoon ] (/cocoon/) Thread-17/DefaultComponentFactory: ComponentFactory decommissioning instance of org.apache.cocoon.components.language.markup.sitemap.SitemapMarkupLanguage. ERROR (2001-10-23) 16:17.22:114 [cocoon ] (/cocoon/) Thread-17/Handler: Error compiling sitemap javax.xml.transform.TransformerException at org.apache.xalan.transformer.TransformerImpl.waitTransformThread(Transformer Impl.java:2954) at org.apache.xalan.stree.SourceTreeHandler.endDocument(SourceTreeHandler.java: 469) at org.xml.sax.helpers.XMLFilterImpl.endDocument(XMLFilterImpl.java:518) at org.xml.sax.helpers.XMLFilterImpl.endDocument(XMLFilterImpl.java:518) at org.apache.xerces.parsers.SAXParser.endDocument(SAXParser.java:1230) at org.apache.xerces.validators.common.XMLValidator.callEndDocument(XMLValidato r.java:1080) at org.apache.xerces.framework.XMLDocumentScanner$EndOfInputDispatcher.dispatch (XMLDocumentScanner.java:1499) at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner. java:381) at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081) at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371) at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371) at org.apache.cocoon.components.language.markup.LogicsheetCodeGenerator.generat eCode(LogicsheetCodeGenerator.java:130) at org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.generate Code(AbstractMarkupLanguage.java:291) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat eResource(ProgramGeneratorImpl.java:313) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR esource(ProgramGeneratorImpl.java:275) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr ogramGeneratorImpl.java:192) at org.apache.cocoon.sitemap.Handler.run(Handler.java:208) at java.lang.Thread.run(Thread.java:484) -- Sylvain Wallez Anyware Technologies - http://www.anyware-tech.com - 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 1.8.2 and jakarta-tomcat-4.0.1
Hello everyone, Does Cocoon-1.8.2 work with tomcat-4.0.1? I noticed that tomcat-4.0.1 have changed the configuration files. How do I make it to work with cocoon-1.8.2? Thanks. Hoang - 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 deploy my cocoon project ?
Hi, I wrote and test my cocoon project ... right now is on %TOMCAT_HOME%\webapps\cocoon\myproj is it possible to deploy it in a different path ? for example: %TOMCAT_HOME%\webapps\myproj or D:\myproj Eduardo. - 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 deploy my cocoon project ?
Eduardo, there are a number of different solutions to this, please, look into the FAQ and check the mail archives. Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - -Original Message- From: Eduardo Godoy Vega [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 9:40 PM To: Cocoon-Users Subject: How to deploy my cocoon project ? Hi, I wrote and test my cocoon project ... right now is on %TOMCAT_HOME%\webapps\cocoon\myproj is it possible to deploy it in a different path ? for example: %TOMCAT_HOME%\webapps\myproj or D:\myproj Eduardo. - 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]
Outputting raw XML from a Transformer
Folks, I'm writing my first Transformer, and I'd like to insert an XML string, which I receive from another application, into the output stream of the Transformer... but without parsing it, is it possible ? 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/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [C2] Howto ... IF in sitemap ...
I did ... and now I get this error: (sorry, I don't like to ask to much ... but I can't find a good document about it) org.apache.cocoon.ProcessingException: Exception in Handler: org.apache.avalon.framework.component.ComponentException: Could not set up Component for hint: org\apache\cocoon\www\unveil\sitemap_xmap at org.apache.cocoon.sitemap.Handler.throwEventualException(Handler.java:244) at org.apache.cocoon.sitemap.Handler.regenerate(Handler.java:155) If I comment the line map:selectors default=browser map:selector name=parameter factory=org.apache.cocoon.selection.ParameterSelectorFactory/ /map:selectors I get another error message (the old one): (/cocoon/unveil/process-unveil) Thread-13/sitemap_xmap: Sitemap org.apache.avalon.framework.component.ComponentException: UnnamedSelector: ComponentSelector could not find the component for hint: parameter so, I have a problem with map:selector name=parameter factory=org.apache.cocoon.selection.ParameterSelectorFactory/ I search into cocoon.jar ... and the class file is on it! ... so ... What's wrong ??? :-( Thanks! Eduardo. -Original Message- From: Sylvain Wallez [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 4:00 AM To: [EMAIL PROTECTED] Subject: Re: [C2] Howto ... IF in sitemap ... Your map:components block isn't organized correctly : map:selectors--- remove the / map:selector name=parameter ... / /map:selectors --- close the block. A reminder also : the parameter selector test a String. This means the unveil-it action should put a string in the Map it returns. Eduardo Godoy Vega a écrit : [DELETE] - 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]
Where to put libs in Tomcat 4.0.1 (without using .war)
Well, I'm a newbie using Tomcat. With Resin, the deployment of the jars is quite easy - just put it in lib. With Tomcat I tried out common/lib, server/lib and lib. Without success. Here's the exception: type internal-server-error message Language Exception description org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling sitemap_xmap: Line 21, column 7: Class org.apache.avalon.framework.component.Component not found in import. Line 22, column 7: Class org.apache.avalon.framework.configuration.Configurable not found in import. Line 23, column 7: Class org.apache.avalon.framework.configuration.Configuration not found I do not want to use the cocoon.war as I have many projects which requires Cocoon. So I want to share those jars. JOERN_HEID - 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: [C2] Howto ... IF in sitemap ...
I fixed ... but ... everywhere I found this line (including ParameterSelectorFactory.java file) lt;map:selector name=parameter factory=org.apache.cocoon.selection.ParameterSelectorFactory/gt; but ... If I use src insted of factory ... It works! BTW ... which is the diff. between use src and factory?? Eduardo. - 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: Where to put libs in Tomcat 4.0.1 (without using .war)
Jorn: I have the same problem, and you're better off copying the relevant stuff from cocoon's WEB-INF to each web app's WEB-INF. In particular, make sure you include all the libs you need (consult the docs for which ones are optional) and create the logs directory. You also, of course, need the contents of cocoon's web.xml file. And then don't forget sitemap.xmap and cocoon.xconf. I've been doing this for a while, and it seems to work. In fact, I've rolled it into a web app deployment structure so I can reuse the configuration whenever I need it. I suppose it's theortically possible to put all the jars in $TOMCAT_HOME/common/lib and reference them individually via the extra-classpath tag in web.xml, but I've never tried it. Regards, Lajos galatea.com Jörn Heid wrote: Well, I'm a newbie using Tomcat. With Resin, the deployment of the jars is quite easy - just put it in lib. With Tomcat I tried out common/lib, server/lib and lib. Without success. Here's the exception: type internal-server-error message Language Exception description org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling sitemap_xmap: Line 21, column 7: Class org.apache.avalon.framework.component.Component not found in import. Line 22, column 7: Class org.apache.avalon.framework.configuration.Configurable not found in import. Line 23, column 7: Class org.apache.avalon.framework.configuration.Configuration not found I do not want to use the cocoon.war as I have many projects which requires Cocoon. So I want to share those jars. JOERN_HEID - 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: Cocoon2 Websphere 3.5.4
Michael, it would appear that a number of us would appreciate someone kind enough to provide this information. Any WebSphere Gurus out there? Berin? want to take a shot at it? I'd settle for 3.5.2 even. Thanks, Jack From: Michael Zehrer [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Cocoon-Users (E-Mail) [EMAIL PROTECTED] Subject: Cocoon2 Websphere 3.5.4 Date: Tue, 23 Oct 2001 17:09:44 +0200 MIME-Version: 1.0 Received: from [64.125.133.20] by hotmail.com (3.2) with ESMTP id MHotMailBD9ED46700C64004320F407D851411A10; Tue, 23 Oct 2001 08:14:47 -0700 Received: (qmail 57933 invoked by uid 500); 23 Oct 2001 15:10:16 - Received: (qmail 57913 invoked from network); 23 Oct 2001 15:10:16 - From cocoon-users-return-25010-jackhirasawa Tue, 23 Oct 2001 08:15:04 -0700 Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Precedence: bulk list-help: mailto:[EMAIL PROTECTED] list-unsubscribe: mailto:[EMAIL PROTECTED] list-post: mailto:[EMAIL PROTECTED] Delivered-To: mailing list [EMAIL PROTECTED] content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0 Message-ID: [EMAIL PROTECTED] X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Cocoon2 Websphere 3.5.4 Thread-Index: AcFb1L+IRyBx8/ibTBO+RKKdRephQg== X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi list, anyone here have instructions, how to install Cocoon2 sucessfully with IBM Websphere 3.5.4? Regards, Michael - 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] _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp - 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: ISO 8859-1
Try putting that string in between the following: xsl:text disable-output-escaping="yes"ordm;/xsl:text Heath StewartSystems Administrator / DeveloperEsotericRealmhttp://www.esotericrealm.com/~hstewart/ - Original Message - From: Martin Mauri To: [EMAIL PROTECTED] Sent: Tuesday, October 23, 2001 2:20 PM Subject: ISO 8859-1 Hi users, I'm trying to show a field in Cocoon 1.8.2 containing the "º" symbol (ordm;) and it's fetched ok from the database, but when I try to apply the HTTP formatter, it replaces the symbol by ordm; Any idea on how to fix this? thanks in advance. Martin
Re: How to Change Case in XSL
use translate() function and please use appropriate forum for xsl - for example http://www.mulberrytech.com/xsl/ pg Quoting [EMAIL PROTECTED]: xsl:template match=MyTag xsl:value-of select=A/ xsl:apply-templates/ /xsl:template I would like this fragment to convert the text value of A to all uppercase letters. Any ideas on that? Thanks -- Jeff Sexton ODS Health Plans [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]
Really weird problem when using external logicsheet and util built-inlogicsheet
This is the code inside my logicsheet xsl:template match=codes:getCodedValues xsl:variable name=type xsl:value-of select=./type/ /xsl:variable util:include-exprutil:exprgetCodedValues(xsl:copy-of select=$type /)/util:expr/util:include-expr /xsl:template When it correctly intreprets my xsp and logicsheet, the resulting java code looks like this { org.apache.cocoon.components.parser.Parser newParser = null; try { newParser = (org.apache.cocoon.components.parser.Parser) this.manager.lookup( org.apache.cocoon.components.parser.Parser.ROLE); InputSource __is = new InputSource( new StringReader(String.valueOf(getCodedValues(RCD_STS; XSPUtil.include(__is, this.contentHandler, newParser); } catch (Exception e) { getLogger().error(Could not include page, e); } finally { if (newParser != null) this.manager.release((Component) newParser); } } BUT, WHEN I MAKE ANY CHANGES TO MY XSP FILE THE GENERATED JAVA CODE LOOKS LIKE THIS AND I GET THIS ERROR MSG: org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling person_xsp: Line 312, column 38: ')' expected. this.contentHandler.startElement (http://apache.org/xsp/util/2.0;, include-expr, util:include-expr, xspAttr); xspAttr.clear(); this.contentHandler.startElement (http://apache.org/xsp/util/2.0;, expr, util:expr, xspAttr); xspAttr.clear(); this.characters(getCodedValues( RCD_STS )); this.contentHandler.endElement (http://apache.org/xsp/util/2.0;, expr, util:expr); this.contentHandler.endElement (http://apache.org/xsp/util/2.0;, include-expr, util:include-expr); BUT, IF I MAKE SOME FAKE CHANGES TO THE LOGICSHEET AND SAVE IT, THE CORRECT JAVA CODE IS GENERATED AGAIN AND THE PAGE WORKS. so, I wonder if anybody else has experienced this problem. thanks, j - 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]