Re: Correction: [SOLUTION] Cocoon with the Tomcat 4.0.3
I did this using the source distribution of cocoon 2.01. I have not yet taken the step of removing the xalan, etc. jars from the cocoon.war. It worked well. I could even access jsp. I was finally able to see xsp. I will note that I got some hangs. In those places, if I hit the stop button and and then resubmitted the url, that worked. The particular place that comes to mind is xsp session management when I clicked on the encoded url link. I am using mozilla 0.9.8. The little mozilla icon kept on spinning but nothing came. I hit stop on the browser, then the link again, and the page loaded fine. I am not sure where this would be logged, otherwise I would send a little error log if it were available. Bud PS cocoon was running under RH 6.2 with jdk 1.3.1_02. The kernel is 2.2.18 with VA Linux smp hacks. - 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: Newbies: New Tutorial about Request Parameters
Being a newbie, I would say the biggest single positive change you could make would be to put a link to an easily searchable mail list archive on the cocoon install page and again as the main link in the mailing lists page. The one that is featured now is a text archive. Vadim Gritsenko pointed me to this much better one. http://marc.theaimsgroup.com/?l=xml-cocoon-users If cocoon were actually stable, a FAQ would be good, but might well be a waste of time at this point. I would continue the efforts to get a bulletproof installation and use all of the irritating newbie questions on the list to help me figure out where people go wrong the most frequently. Fix the instructions to remove those problems. Now that tomcat seems to have stabilised in the libraries it includes (minimal), you won't have the rug pulled out from under you so frequently when they change. The books people keep mentioning are also probably a good idea. Books and much more developed working examples are keeping the struts project moving forward at a nice pace. I sense that cocoon is now about where struts was 6 months to a year ago. All in all, I would say that cocoon has advanced sufficiently since the 1.0 days that I am considering using it as a web platform for the second half of a database course. Bud Andreas Hartmann wrote: *** REPLY SEPARATOR *** On 26.02.2002 at 15:35 Stephen Ng wrote: Andreas, This is great stuff!!! Thank you! Thanks! I'm currently writing a little article about using DocBook, because that was what I started with and it took me quite a lot of time to get it work. Furthermore, a FAQ about installation problems, error messages etc. was planned, but I'm afraid this topic too extensive and changes too fast. Maybe I'll start a FAQ with general questions from the mailing list. Greetings, Andreas Stephen Ng Lumigent -Original Message- *From:* Andreas Hartmann [mailto:[EMAIL PROTECTED]] *Sent:* Friday, February 22, 2002 1:05 PM *To:* [EMAIL PROTECTED] *Subject:* Newbies: New Tutorial about Request Parameters Hi Cocoon users, I created a little tutorial on using request parameters. You can find it at http://www.cocooncenter.de/cc/documents/resources/request-params/index.html . If anyone wants to publish other uses for request parameters - or anything else - just contact me at [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] .. Greetings, Andreas - 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: Newbies: New Tutorial about Request Parameters
Andreas: Andreas Hartmann wrote: Bud, *** REPLY SEPARATOR *** On 27.02.2002 at 12:27 Bud Gibson wrote: Being a newbie, I would say the biggest single positive change you could make would be to put a link to an easily searchable mail list archive on the cocoon install page and again as the main link in the mailing lists page. The one that is featured now is a text archive. Vadim Gritsenko pointed me to this much better one. http://marc.theaimsgroup.com/?l=xml-cocoon-users I don't like this one because I don't like white text on dark background at all. Nevertheless, it's a good archive. BTW - I'm a little bit confused, which install page do you mean? Are you talking about cocooncenter at all? And what about the archive at Real Time? It's searchable too. I was referring to the install page at the cocoon official site. Frankly, that page is a little misleading for the most recent tomcat release. I've looked at cocoon center and really liked the way it was coming. My point is not so much to promote one archive site as to get searchable ones front and center on the site where people who are novices are most likely to go (the official site). If cocoon were actually stable, a FAQ would be good, but might well be a waste of time at this point. Yeah, I want to spend as much time as possible on long-lasting articles. I would continue the efforts to get a bulletproof installation and use all of the irritating newbie questions on the list to help me figure out where people go wrong the most frequently. Fix the instructions to remove those problems. Now that tomcat seems to have stabilised in the libraries it includes (minimal), you won't have the rug pulled out from under you so frequently when they change. That is a good idea, but if I started to provide installation instructions, I have to answer installation questions to stay credible. And, unfortunately, I don't have the time to do that ... what about you? :) No time for answering questions but quite possibly time for updating instructions. If you can get those right, the questions should go way down. Greetings, Andreas - 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]
XSP not working at all with Cocoon 2.01
Hi: I seem to be having a problem with cocoon, and there is currently no FAQ, so here goes. I list my environment first, and then get to specific issues. I am running the following Tomcat 4.02 Sun JDK 1.3.1_02 no externally set classpath variable Redhat 6.2 with kernel 2.2.19 (? unsure about kernel, but that is close) Cocoon 2.01 1 GB RAM 2 700 MHz Pentium III Two issues: 1. To get cocoon to work at all, I seem to need to have the xerces, xml-apis, and batik jars in both the $TOMCAT/lib directory and the cocoon WEB-INF/lib directory. This is a bit contrary to the installation instructions. The problem seems to occur when cocoon is trying to compile the sitemap. It cannot find the classes in those jars unless they are in the $TOMCAT/lib directory. Later, if I try to access the tutorials or doc, it seems to require that at least the batik jar be in the cocoon WEB-INF/lib directory. 2. Now started, cocoon simply seems to stall whenever I try to access an XSP page or use SOAP. The static examples seem to work as do the screencraping examples. The only error message I get in the error log is: ERROR (2002-02-25) 14:13.48:366 [sitemap.generator.velocity] (/cocoon/) HttpProcessor[8980][0]/VelocityGenerator: ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. ERROR (2002-02-25) 14:13.48:448 [sitemap.generator.velocity] (/cocoon/) HttpProcessor[8980][0]/VelocityGenerator: ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. Any help appreciated, Bud - 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: Getting Started with Cocoon 2.0, JBoss 2.4.4, Tomcat 4.0.1 -HELP!!!!
I fixed this very problem today. Contrary to the installation instructions, it seems you need to put the xerces, xml-apis, and batik jars in the $TOMCAT/lib directory (in your case, whatever the server lib directory is). You should also leave these same jars in the unpacked cocoon directory. Otherwise, you will get other problems later. [EMAIL PROTECTED] wrote: Hi, I am trying to get Cocoon to run with JBoss 2.4.4 and Embedded Tomcat 4.0.1 but I get the following error JBOSS_CLASSPATH=d:\JBoss-2.4.4_Tomcat-4.0.1\jboss;d: \bea\jdk130\lib\tools.jar;run.jar;..\lib\xerces-1.4.4.jar jboss.home = D:\JBoss-2.4.4_Tomcat-4.0.1\jboss Using JAAS LoginConfig: file:/D:/JBoss-2.4.4_Tomcat-4.0.1/jboss/conf/catalina/auth.conf JBoss release: JBoss-2.4.4 CVSTag=JBoss_2_4_4 JBoss version: 2.4.4.2001-12-29 02:04:40 PST Using configuration catalina [INFO,root] Started Log4jService, config=file:/D:/JBoss-2.4.4_Tomcat-4.0.1/jboss/conf/catalina/log4j.properties [INFO,Info] Java version: 1.3.0,Sun Microsystems Inc. [INFO,Info] Java VM: Java HotSpot(TM) Server VM 2.0fcs-E,Sun Microsystems Inc. [INFO,Info] System: Windows NT 4.0,x86 [INFO,Shutdown] Shutdown hook added java.lang.NoClassDefFoundError: org/xml/sax/SAXException at java.lang.Class.getConstructors0(Native Method) at java.lang.Class.getConstructors(Class.java:775) at com.sun.management.jmx.Introspector.testCompliance(Introspector.java:95) at com.sun.management.jmx.MetaData.testCompliance(MetaData.java:132) at com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.java:507) at javax.management.loading.MLet.getMBeansFromURL(MLet.java:523) at javax.management.loading.MLet.getMBeansFromURL(MLet.java:369) at org.jboss.Main.init(Main.java:180) at org.jboss.Main$1.run(Main.java:110) at java.security.AccessController.doPrivileged(Native Method) at org.jboss.Main.main(Main.java:106) [ERROR,Default] javax.management.InstanceNotFoundException: DefaultDomain:service=Configuration [ERROR,Default] at com.sun.management.jmx.MBeanServerImpl.getMBean(MBeanServerImpl.java:1678) [ERROR,Default] [ERROR,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1522) [ERROR,Default] [ERROR,Default] at org.jboss.Main.init(Main.java:200) [ERROR,Default] [ERROR,Default] at org.jboss.Main$1.run(Main.java:110) [ERROR,Default] [ERROR,Default] at java.security.AccessController.doPrivileged(Native Method) [ERROR,Default] [ERROR,Default] at org.jboss.Main.main(Main.java:106) [ERROR,Default] [INFO,Default] JBoss-2.4.4 Started in 0m:2s.844 [INFO,Default] Shutting down [INFO,ServiceControl] Stopping 0 MBeans [INFO,ServiceControl] Stopped 0 services [INFO,ServiceControl] Destroying 0 MBeans [INFO,ServiceControl] Destroyed 0 services [INFO,Default] Shutdown complete Has anyone seen this before and have you any idea how to resolve it. I have put the Xerces file in the jboss/lib directory and set the classpath but I am still getting the error Thanks Joanne Corless - 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]