RE: Cocoon tutorial available at CMSWatch.com and Sphere.com
Thanks for Carsten, Matthew, Lajos and Jeremy for their inspiring and helpful books! Inspiring - now that's a word I hadn't yet heard in connection with the book. Thanks! Matthew -- Open Source Group Cocoon { Consulting, Training, Projects } = Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn Tel:+49-5251-1581-30 [EMAIL PROTECTED] - http://www.s-und-n.de - Cocoon book: http://www.amazon.com/exec/obidos/ASIN/0735712352/needacake-20 Weblogs: http://radio.weblogs.com/0103021/ http://www.oreillynet.com/weblogs/author/1014 = -Original Message- From: John R. Callahan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 24, 2002 5:05 PM To: [EMAIL PROTECTED] Subject: Cocoon tutorial available at CMSWatch.com and Sphere.com FYI... I have written a brief article on Cocoon (with tutorial and downloadable demo). The article is available at: http://www.cmswatch.com/Features/ProductWatch/FeaturedProduct/?feature_id=81 The associated demo is available at: http://www.sphere.com/docs/myapp.zip The demo is meant to be installed as a webapps subdirectory (no, not as a war file) in Tomcat 4.0.6. The myapp.zip file includes everything you need (all jar files, etc.) and could even serve as a minimal Cocoon application for beginners. It is based on 2.1dev and requires JDK1.3. I've tested it with Tomcat 4.0.6 and Resin 2.x. (I've also got PPT slides to accompany the article if anyone wants them :-p) Thanks for Carsten, Matthew, Lajos and Jeremy for their inspiring and helpful books! Enjoy! -- jack John R. Callahan, Ph.D. CTO Sphere Software Corporation (www.sphere.com) - The Intelligence of XML [EMAIL PROTECTED] 410-772-9740 x1116 509-352-1536 (eFax) - 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 tutorial available at CMSWatch.com and Sphere.com
Please let me know if you end up resolving this issue. I'd rather not downgrade back to 4.0.6 to get an example app working. Thanks for your time. On Tue, 24 Dec 2002 20:53:53 -0500 (EST), [EMAIL PROTECTED] wrote: J., I just installed myapp under Tomcat 4.1 and got the same error you did. I'm not enough of a Servlet API expert to know for sure, but it seems to be an API conflict. For now, I recommend using Tomcat 4.0.6 to run the myapp tutorial. -- jack John R. Callahan, Ph.D. CTO Sphere Software Corporation - The Intelligence of XML [EMAIL PROTECTED] 410-772-9740 x1116 509-532-1536 (efax) 410-598-2157 (cell) I took a look at your tutorial, and I'm having trouble getting the example application to work. ( Specifically, I'm getting this error ): javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper .java:962) java.lang.VerifyError: Cannot inherit from final class at java.lang.ClassLoader.defineClass0(Native Method) I highly suspect that it has something to do with the way I tried to integrate it into my existing Tomcat 4.1 environment. ( Unpacked the zip file, named the folder cmswatch, put the folder under the webapps directory. ) -- and that's all, as far as setup. I did notice that the servlet has the same name as the servlet in the original cocoon directory. Will that cause a problem? ( Can you tell how new I am to this? ) Any help you can offer is appreciated. I'd like to at least get past this snag soon. Thanks, J. On Tue, 24 Dec 2002 08:04:49 -0800, John R. Callahan wrote: FYI... I have written a brief article on Cocoon (with tutorial and downloadable demo). The article is available at: http://www.cmswatch.com/Features/ProductWatch/FeaturedProduct/?feat ur e_id=81 The associated demo is available at: http://www.sphere.com/docs/myapp.zip The demo is meant to be installed as a webapps subdirectory (no, not as a war file) in Tomcat 4.0.6. The myapp.zip file includes everything you need (all jar files, etc.) and could even serve as a minimal Cocoon application for beginners. It is based on 2.1dev and requires JDK1.3. I've tested it with Tomcat 4.0.6 and Resin 2.x. (I've also got PPT slides to accompany the article if anyone wants them :-p) Thanks for Carsten, Matthew, Lajos and Jeremy for their inspiring and helpful books! Enjoy! -- jack John R. Callahan, Ph.D. CTO Sphere Software Corporation (www.sphere.com) - The Intelligence of XML [EMAIL PROTECTED] 410-772-9740 x1116 509-352-1536 (eFax) --- -- 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: cocoon-users- [EMAIL PROTECTED] For additional commands, e-mail: cocoon-users- [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: cocoon-users- [EMAIL PROTECTED] For additional commands, e-mail: cocoon-users- [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 tutorial available at CMSWatch.com and Sphere.com
I took a look at your tutorial, and I'm having trouble getting the example application to work. ( Specifically, I'm getting this error ): javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:962) java.lang.VerifyError: Cannot inherit from final class at java.lang.ClassLoader.defineClass0(Native Method) I highly suspect that it has something to do with the way I tried to integrate it into my existing Tomcat 4.1 environment. ( Unpacked the zip file, named the folder cmswatch, put the folder under the webapps directory. ) -- and that's all, as far as setup. I did notice that the servlet has the same name as the servlet in the original cocoon directory. Will that cause a problem? ( Can you tell how new I am to this? ) Any help you can offer is appreciated. I'd like to at least get past this snag soon. Thanks, J. On Tue, 24 Dec 2002 08:04:49 -0800, John R. Callahan wrote: FYI... I have written a brief article on Cocoon (with tutorial and downloadable demo). The article is available at: http://www.cmswatch.com/Features/ProductWatch/FeaturedProduct/?featur e_id=81 The associated demo is available at: http://www.sphere.com/docs/myapp.zip The demo is meant to be installed as a webapps subdirectory (no, not as a war file) in Tomcat 4.0.6. The myapp.zip file includes everything you need (all jar files, etc.) and could even serve as a minimal Cocoon application for beginners. It is based on 2.1dev and requires JDK1.3. I've tested it with Tomcat 4.0.6 and Resin 2.x. (I've also got PPT slides to accompany the article if anyone wants them :-p) Thanks for Carsten, Matthew, Lajos and Jeremy for their inspiring and helpful books! Enjoy! -- jack John R. Callahan, Ph.D. CTO Sphere Software Corporation (www.sphere.com) - The Intelligence of XML [EMAIL PROTECTED] 410-772-9740 x1116 509-352-1536 (eFax) - 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 tutorial available at CMSWatch.com and Sphere.com
J. I haven't tested it with Tomcat 4.1 (only Tomcat 4.0.6 and Resin 2.x). I'll give Tomcat 4.1 a try and report back my findings. Yes, the servlet name is the same as the Cocoon distribution, but I don't think that causes any problems. -- jack John R. Callahan, Ph.D. CTO Sphere Software Corporation - The Intelligence of XML [EMAIL PROTECTED] 410-772-9740 x1116 509-532-1536 (efax) 410-598-2157 (cell) I took a look at your tutorial, and I'm having trouble getting the example application to work. ( Specifically, I'm getting this error ): javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:962) java.lang.VerifyError: Cannot inherit from final class at java.lang.ClassLoader.defineClass0(Native Method) I highly suspect that it has something to do with the way I tried to integrate it into my existing Tomcat 4.1 environment. ( Unpacked the zip file, named the folder cmswatch, put the folder under the webapps directory. ) -- and that's all, as far as setup. I did notice that the servlet has the same name as the servlet in the original cocoon directory. Will that cause a problem? ( Can you tell how new I am to this? ) Any help you can offer is appreciated. I'd like to at least get past this snag soon. Thanks, J. On Tue, 24 Dec 2002 08:04:49 -0800, John R. Callahan wrote: FYI... I have written a brief article on Cocoon (with tutorial and downloadable demo). The article is available at: http://www.cmswatch.com/Features/ProductWatch/FeaturedProduct/?featur e_id=81 The associated demo is available at: http://www.sphere.com/docs/myapp.zip The demo is meant to be installed as a webapps subdirectory (no, not as a war file) in Tomcat 4.0.6. The myapp.zip file includes everything you need (all jar files, etc.) and could even serve as a minimal Cocoon application for beginners. It is based on 2.1dev and requires JDK1.3. I've tested it with Tomcat 4.0.6 and Resin 2.x. (I've also got PPT slides to accompany the article if anyone wants them :-p) Thanks for Carsten, Matthew, Lajos and Jeremy for their inspiring and helpful books! Enjoy! -- jack John R. Callahan, Ph.D. CTO Sphere Software Corporation (www.sphere.com) - The Intelligence of XML [EMAIL PROTECTED] 410-772-9740 x1116 509-352-1536 (eFax) - 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 tutorial available at CMSWatch.com and Sphere.com
J., I just installed myapp under Tomcat 4.1 and got the same error you did. I'm not enough of a Servlet API expert to know for sure, but it seems to be an API conflict. For now, I recommend using Tomcat 4.0.6 to run the myapp tutorial. -- jack John R. Callahan, Ph.D. CTO Sphere Software Corporation - The Intelligence of XML [EMAIL PROTECTED] 410-772-9740 x1116 509-532-1536 (efax) 410-598-2157 (cell) I took a look at your tutorial, and I'm having trouble getting the example application to work. ( Specifically, I'm getting this error ): javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:962) java.lang.VerifyError: Cannot inherit from final class at java.lang.ClassLoader.defineClass0(Native Method) I highly suspect that it has something to do with the way I tried to integrate it into my existing Tomcat 4.1 environment. ( Unpacked the zip file, named the folder cmswatch, put the folder under the webapps directory. ) -- and that's all, as far as setup. I did notice that the servlet has the same name as the servlet in the original cocoon directory. Will that cause a problem? ( Can you tell how new I am to this? ) Any help you can offer is appreciated. I'd like to at least get past this snag soon. Thanks, J. On Tue, 24 Dec 2002 08:04:49 -0800, John R. Callahan wrote: FYI... I have written a brief article on Cocoon (with tutorial and downloadable demo). The article is available at: http://www.cmswatch.com/Features/ProductWatch/FeaturedProduct/?featur e_id=81 The associated demo is available at: http://www.sphere.com/docs/myapp.zip The demo is meant to be installed as a webapps subdirectory (no, not as a war file) in Tomcat 4.0.6. The myapp.zip file includes everything you need (all jar files, etc.) and could even serve as a minimal Cocoon application for beginners. It is based on 2.1dev and requires JDK1.3. I've tested it with Tomcat 4.0.6 and Resin 2.x. (I've also got PPT slides to accompany the article if anyone wants them :-p) Thanks for Carsten, Matthew, Lajos and Jeremy for their inspiring and helpful books! Enjoy! -- jack John R. Callahan, Ph.D. CTO Sphere Software Corporation (www.sphere.com) - The Intelligence of XML [EMAIL PROTECTED] 410-772-9740 x1116 509-352-1536 (eFax) - 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 tutorial available at CMSWatch.com and Sphere.com
While the Turkey is bakingNo need to make this a whole web-app to itself and having its own context. 1) I did this, jar the com.sphere.cocoon.generation.CSVGenerator.class as myapp.jar. 2) put myapp.jar at the existing cocoon/WEB-INF/lib/ directory 3) Use one of the existing submounts, like for example samples off of cocoon/ Make sure samples sitemap.xmap can submount, look for this, as this will make a submount: map:match pattern=*/** map:mount uri-prefix={1} src={1}/ check-reload=yes/ /map:match 4) symlink or copy the myapp/ directory to, and it should look like cocoon/samples/myapp/ 5) leave the myapp sitemap.xmap its working fine as a submount. 6) re-start tomcat 4.1.x since you have added the myapp.jar in step 2. for tomcat to recognize the jar file added. 7) in browser http://localhost:8080/cocoon/samples/myapp/ and whoala it works. at least on mine :) 8) check the Turkey temperature..opps that just for me..happy holidays. aps --- [EMAIL PROTECTED] wrote: J., I just installed myapp under Tomcat 4.1 and got the same error you did. I'm not enough of a Servlet API expert to know for sure, but it seems to be an API conflict. For now, I recommend using Tomcat 4.0.6 to run the myapp tutorial. -- jack John R. Callahan, Ph.D. CTO Sphere Software Corporation - The Intelligence of XML [EMAIL PROTECTED] 410-772-9740 x1116 509-532-1536 (efax) 410-598-2157 (cell) I took a look at your tutorial, and I'm having trouble getting the example application to work. ( Specifically, I'm getting this error ): javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:962) java.lang.VerifyError: Cannot inherit from final class at java.lang.ClassLoader.defineClass0(Native Method) I highly suspect that it has something to do with the way I tried to integrate it into my existing Tomcat 4.1 environment. ( Unpacked the zip file, named the folder cmswatch, put the folder under the webapps directory. ) -- and that's all, as far as setup. I did notice that the servlet has the same name as the servlet in the original cocoon directory. Will that cause a problem? ( Can you tell how new I am to this? ) Any help you can offer is appreciated. I'd like to at least get past this snag soon. Thanks, J. On Tue, 24 Dec 2002 08:04:49 -0800, John R. Callahan wrote: FYI... I have written a brief article on Cocoon (with tutorial and downloadable demo). The article is available at: http://www.cmswatch.com/Features/ProductWatch/FeaturedProduct/?featur e_id=81 The associated demo is available at: http://www.sphere.com/docs/myapp.zip The demo is meant to be installed as a webapps subdirectory (no, not as a war file) in Tomcat 4.0.6. The myapp.zip file includes everything you need (all jar files, etc.) and could even serve as a minimal Cocoon application for beginners. It is based on 2.1dev and requires JDK1.3. I've tested it with Tomcat 4.0.6 and Resin 2.x. (I've also got PPT slides to accompany the article if anyone wants them :-p) Thanks for Carsten, Matthew, Lajos and Jeremy for their inspiring and helpful books! Enjoy! -- jack John R. Callahan, Ph.D. CTO Sphere Software Corporation (www.sphere.com) - The Intelligence of XML [EMAIL PROTECTED] 410-772-9740 x1116 509-352-1536 (eFax) - 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] __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.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]