Re: Can't get v2.1, m1 or m2 working
I can't get milestone 1 or 2 of v2.1 working. I've copied xalan,xercesImpl and xml-apis to Tomcat's endorsed directory but I still get the following error: java.lang.NoClassDefFoundError: javax/xml/rpc/encoding/SerializationContext have you tried putting the jars in the jre endorsed directory as well ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [SUMMARY] RE: error in XSP -- Tomcat4.1.24 has CATASTROPHICcache system!!!!
i think this is a bug with tomcat (and hence more appropriately taken up with [EMAIL PROTECTED]) as after upgrading my tomcat installation to 4.1.24 i have been noticing similiar recompile issues. -- Jacob L E Blain Christen Entheal LLC 443.255.9975 410.542.7793 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs HEAD bombing out of pipeline
that did the trick, thank you antonio. anna, you and i were having the same problem, if it still isn't fixed i think this could be the solution to your problem as well: make sure updated xerxes and xalan jars are in $JAVA_HOME/lib/jre/endorsed as well as $TOMCAT_HOME/common/endorsed -- jacob - 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]
cvs HEAD bombing out of pipeline
i've been having this problem since yesterday. i do not know how to fix it. i am using the very latest from cvs and am trying to pull up any page in the cocoon distribution. i did make sure i have the updated xerxes and xalan libs in my lib/jre/endorsed directory. textual output copied from browser follows: Cocoon 2 - Internal server error type fatal message Failed to execute pipeline. description org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.apache.cocoon.CascadingIOException: org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xslt}content-handler' property!: org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xslt}content-handler' property! sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet request-uri /apache/cocoon/documents/index.html path-info documents/index.html stack-trace org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.apache.cocoon.CascadingIOException: org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xslt}content-handler' property!: org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xslt}content-handler' property! at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLP ipeline(AbstractProcessingPipeline.java:518) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline .processXMLPipeline(AbstractCachingProcessingPipeline.java:204) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(Abs tractProcessingPipeline.java:483) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(Seri alizeNode.java:149) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:85) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok e(PreparableMatchNode.java:166) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:109) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel ineNode.java:153) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:109) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe linesNode.java:143) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess or.java:326) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess or.java:308) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNod e.java:131) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:85) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok e(PreparableMatchNode.java:166) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:109) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel ineNode.java:153) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:109) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe linesNode.java:143) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess or.java:326) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess or.java:308) at org.apache.cocoon.Cocoon.process(Cocoon.java:596) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1104) 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:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at
Re: [SUMMARY] Tomcat 4.1.12 and IE delays up to 5 mins to response.
enableLookups=false sounds like a classically misconfigured DNS on the box that your tomcat resides. it was trying to log host names but those were timing out causing poor poor response in the server. this isn't a cocoon, tomcat, or even an IE issue it's simply an artifact of a misconfigured network -- jacob - 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: Problem compiling Cocoon
i just recompiled from cvs and am getting the same error. i'm looking into if i can decipher where a config propery seems to be required to get my install running again. seems as if someone made some changes to the java sources but didn't check in the commensurate config changes (cvs update only updated some java sources). - 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: Javascript problems in XSP
hey that's neat! - 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: Javascript problems in XSP
I may be mistaken but I thought the only valid code inside of xsp:logic tags was java: not javascript, not perl, just java. - 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: mod_jk and CocoonII
You need lines like this in your apache httpd.conf (or included therein): JkMount /my ajp13 JkMount /my/* ajp13 These lines tell apache to forward any requests for the mounted URI's to tomcat via the AJP13 protocol which will then get processed by cocoon. - 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: XMLForms and Java
[pre-snip] Now I want to give some flow logic to the application and I think that struts or cocoon are a good way to do it. I red that XMLForms is Struts based. [post-snip] From what I've read XMLForms IS NOT based on Struts. Take a look at the thread: XMLForms vs Struts in the archive for this mailing list (the discussion is ongoing). -- Jacob - 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, sockets and not a web browser.
So what I mean is that I want to use cocoon to make only the transformations. I need to make transformations (using xpath) and I think that cocoon (and XSL) can help me, but the results will not go to a web-browser. They have to go to a class. My program can be a stand alone program with Swing or SWT gui interface, or can be a batch program. So then why are you considering Cocoon? -- 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]
Re: Cocoon, sockets and not a web browser.
So what I mean is that I want to use cocoon to make only the transformations. I need to make transformations (using xpath) and I think that cocoon (and XSL) can help me, but the results will not go to a web-browser. They have to go to a class. My program can be a stand alone program with Swing or SWT gui interface, or can be a batch program. So then why are you considering Cocoon? Why not? Okay, so the apparent obvious answer to my question is only obvious to me. Look at Mauro's requirements: standalone program, gui or batch processs, XLS and XPath. Yes Cocoon does utilize XPath and XSL but these are easily utilized without Cocoon. Given all of this, WHY would you want to go through the non-trivial task (if you think otherwise I suggest you go back and read the various installation problem posts) of setting up a servlet container with Cocoon? Cocoon is superfluous to Mauro's needs and can only get in the way. Thus my somewhat rhetorical question--rhetorical because I thought the answer to be quite obvious. -- 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]
Re: Java Extension doesn't work in cocoon
Your problem screams It's the classpath stupid! to me. It looks as if the xalan and/or xpath libraries you are using at the command line and from within cocoon are out of synch. P.S. No I'm not calling you stupid! -- 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]
Re: svg2jpeg not working properly.
[snip] works. I have not touched the main site map or any of the samples code. Ahh, but has your jdk installation been updated? The headless stuff on the backend works differently between jdk1.3 and 1.4. Just a thought. -- 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]
Re: Problem with Directories Outside of cocoon...
Problem with Directories Outside of cocoon...[snipped all because it wasn't plain text, sorry but I'm a snob in this regard] Here's what I did: 1) copied all of $COCOON_HOME/WEB-INF into the root of my new webapp 2) copied $COCOON_HOME/sitemap.xmap into the root of my new webapp 3) trimmed/updated WEB-INF/web.xml and WEB-INF/cocoon.xconf to be specific to my webapp 4) trimmed all the cocoon and cocoon-samples specific stuff out of the WEB-INF directory tree 5) trimmed/updated the sitemap.xmap to be specific to my webapp This was from memory but I think this is all I had to do. Also, I use the 2.1-dev version from CVS and so I update my development webapps by copying all from $COCOON_HOME/WEB-INF/lib into my webapps' WEB-INF/lib directory and check for major changes in WEB-INF/cocoon.xconf and make changes acoordingly. Enjoy! -- 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]
Re: Problem with Directories Outside of cocoon...
Do you have any idea if I have to keep all of the files in the WEB-INF\lib directory, the WEB-INF/db directory and everything in the WEB-INF/classes directory? Jaimes -Original Message- From: Jacob L E Blain Christen [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 11:55 AM To: [EMAIL PROTECTED] Subject: Re: Problem with Directories Outside of cocoon... Problem with Directories Outside of cocoon...[snipped all because it wasn't plain text, sorry but I'm a snob in this regard] Here's what I did: 1) copied all of $COCOON_HOME/WEB-INF into the root of my new webapp 2) copied $COCOON_HOME/sitemap.xmap into the root of my new webapp 3) trimmed/updated WEB-INF/web.xml and WEB-INF/cocoon.xconf to be specific to my webapp 4) trimmed all the cocoon and cocoon-samples specific stuff out of the WEB-INF directory tree 5) trimmed/updated the sitemap.xmap to be specific to my webapp This was from memory but I think this is all I had to do. Also, I use the 2.1-dev version from CVS and so I update my development webapps by copying all from $COCOON_HOME/WEB-INF/lib into my webapps' WEB-INF/lib directory and check for major changes in WEB-INF/cocoon.xconf and make changes acoordingly. Enjoy! for now i've left WEB-INF/lib untouched (aka copied verbatim) but you should be fine without the hsqldb and deli jars--as far as i know these are only specific to the examples/tutorials stuff that comes bundled with cocoon (there may be others but i've not bothered to identify them). the WEB-INF/db directory is also specific only to the samples stuff bundled with cocoon so i think it safe to delete. if there is anything in WEB-INF/classes i think it also safe to delete as per the above reasoning. -- 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]
Re: Problem with Directories Outside of cocoon...
Do you have any idea if I have to keep all of the files in the WEB-INF\lib directory, the WEB-INF/db directory and everything in the WEB-INF/classes directory? Jaimes -Original Message- From: Jacob L E Blain Christen [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 11:55 AM To: [EMAIL PROTECTED] Subject: Re: Problem with Directories Outside of cocoon... Problem with Directories Outside of cocoon...[snipped all because it wasn't plain text, sorry but I'm a snob in this regard] Here's what I did: 1) copied all of $COCOON_HOME/WEB-INF into the root of my new webapp 2) copied $COCOON_HOME/sitemap.xmap into the root of my new webapp 3) trimmed/updated WEB-INF/web.xml and WEB-INF/cocoon.xconf to be specific to my webapp 4) trimmed all the cocoon and cocoon-samples specific stuff out of the WEB-INF directory tree 5) trimmed/updated the sitemap.xmap to be specific to my webapp This was from memory but I think this is all I had to do. Also, I use the 2.1-dev version from CVS and so I update my development webapps by copying all from $COCOON_HOME/WEB-INF/lib into my webapps' WEB-INF/lib directory and check for major changes in WEB-INF/cocoon.xconf and make changes acoordingly. Enjoy! for now i've left WEB-INF/lib untouched (aka copied verbatim) but you should be fine without the hsqldb and deli jars--as far as i know these are only specific to the examples/tutorials stuff that comes bundled with cocoon (there may be others but i've not bothered to identify them). the WEB-INF/db directory is also specific only to the samples stuff bundled with cocoon so i think it safe to delete. if there is anything in WEB-INF/classes i think it also safe to delete as per the above reasoning. -- 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]
Re: I feel stupid. COCOON + TOMCAT
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. Are you using database connections, too? here is a link to the 2.0.3 JVM 1.3- release tarball: -- http://xml.apache.org/dist/cocoon/cocoon-2.0.3-src.tar.gz and here is a link to the 2.0.3 JVM 1.4+ release tarball: -- http://xml.apache.org/dist/cocoon/cocoon-2.0.3-vm14-bin.tar.gz what's the mystery here? i've ran this (the release compiled for 1.4) from day one with no problems. granted i've only ran just about every sample in the default release and not setup my own db connections yet but i know a few of the samples i hit were connecting to the hypersql database that is bundled with cocoon. so now that i've made a firm statement i will go an verify that i can talk to _my_ database =) -- 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]
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]
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]