Re: Problem installing cocoon 2.0.4 on Tomcat 4.1.18
I am able to access localhost:8080/cocoon/ from my browser. Does that mean my install is working correctly ? David Crossley [EMAIL PROTECTED] wrote: Gururaja H wrote: I am having problem installing cocoon 2.0.4 on Tomcat 4.1.18 on Windows 2000(on Sun J2SDK 1.3.1_08. I have down loaded the prebuilt library and copied the cocoon.war to %CATALINA%\webapps directory. When I start the Tomcat I get the following message: Please ask such questions on the cocoon-users list. You will getfar better response there (and that is one purpose of that list).This cocoon-dev list is for development issues only.Also please take note of the statement in the documentationhttp://cocoon.apache.org/2.1/who.htmland refrain from contacting people directly. Everyone is too busyto provide support and anyway that detracts from development time.Anyway, your output log looks like normal start-up messages to me.Did you try to access Cocoon at localhost:8080/cocoon/ with yourweb browser?--David Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!
Re: Problem installing cocoon 2.0.4 on Tomcat 4.1.18
On Tuesday, June 24, 2003, at 09:39 AM, Gururaja H wrote: I am able to access localhost:8080/cocoon/ from my browser. Does that mean my install is working correctly ? It's certainly a good indication, but I wouldn't say it was working correctly without testing everything. Go through the examples and see if they all work. -- Austin = Quidquid latine dictum sit, altum sonatur. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem installing cocoon 2.0.4 on Tomcat 4.1.18
At 09:39 AM 6/24/2003, you wrote: I am able to access localhost:8080/cocoon/ from my browser. Does that mean my install is working correctly ? Yes. What made you think you had a problem to begin with? Geoff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem installing cocoon 2.0.4 on Tomcat 4.1.18
Hi, I get the following log when tomcat is started: C:\Program Files\Apache Group\Tomcat 4.1\binstartupUsing CATALINA_BASE: C:\Program Files\Apache Group\Tomcat 4.1Using CATALINA_HOME: C:\Program Files\Apache Group\Tomcat 4.1Using CATALINA_TMPDIR: C:\Program Files\Apache Group\Tomcat 4.1\tempUsing JAVA_HOME: C:\JAVA\JDK1.3.1_08[INFO] Registry - -Loading registry information[INFO] Registry - -Creating new Registry instance[INFO] Registry - -Creating MBeanServer[INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 8080Starting service Tomcat-StandaloneApache Tomcat/4.1.18server.properties not found, using command line or default propertiesOpening database: C:\Program Files\Apache Group\Tomcat 4.1\webapps\cocoon\WEB-INF\db\cocoondbHSQLDB server 1.7.1 is runningUse SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptlyTue Jun 24 19:04:40 IST 2003 Listening for connections ...[INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8080[INFO] ChannelSocket - -JK2: ajp13 listening on 0.0.0.0/0.0.0.0:8009[INFO] JkMain - -Jk running ID=0 time=10/30 config=C:\Program Files\Apache Group\Tomcat 4.1\conf\jk2.properties --- What may be the cause of following ?? Opening database: C:\Program Files\Apache Group\Tomcat 4.1\webapps\cocoon\WEB-INF\db\cocoondbHSQLDB server 1.7.1 is runningUse SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptly Thanks, Geoff Howard [EMAIL PROTECTED] wrote: At 09:39 AM 6/24/2003, you wrote:I am able to access localhost:8080/cocoon/ from my browser.Does that mean my install is working correctly ?Yes. What made you think you had a problem to begin with?Geoff -To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED] Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!
Re: Problem installing cocoon 2.0.4 on Tomcat 4.1.18
What may be the cause of following ?? Opening database: C:\Program Files\Apache Group\Tomcat 4.1\webapps\cocoon\WEB-INF\db\cocoondb HSQLDB server 1.7.1 is running Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptly That is the HSQL database starting up that is integrated into Cocoon. You can switch it off if you want, but there is no reason to do so at first. Upayavira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem installing cocoon 2.0.4 on Tomcat 4.1.18
Thanks for the information. Upayavira [EMAIL PROTECTED] wrote: What may be the cause of following ?? Opening database: C:\Program Files\Apache Group\Tomcat 4.1\webapps\cocoon\WEB-INF\db\cocoondb HSQLDB server 1.7.1 is running Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptlyThat is the HSQL database starting up that is integrated into Cocoon. You can switch it off if you want, but there is no reason to do so at first.Upayavira-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED] Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!
Problem installing cocoon 2.0.4 on Tomcat 4.1.18
Hi, I am having problem installing cocoon 2.0.4 on Tomcat 4.1.18 on Windows 2000(on Sun J2SDK 1.3.1_08. I have down loaded the prebuiltbinaries and copied the cocoon.war to %CATALINA%\webapps directory. When I start the Tomcat I get the following message: C:\Program Files\Apache Group\Tomcat 4.1\binstartupUsing CATALINA_BASE: C:\Program Files\Apache Group\Tomcat 4.1Using CATALINA_HOME: C:\Program Files\Apache Group\Tomcat 4.1Using CATALINA_TMPDIR: C:\Program Files\Apache Group\Tomcat 4.1\tempUsing JAVA_HOME: C:\JAVA\JDK1.3.1_08[INFO] Registry - -Loading registry information[INFO] Registry - -Creating new Registry instance[INFO] Registry - -Creating MBeanServer[INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 8080Starting service Tomcat-StandaloneApache Tomcat/4.1.18server.properties not found, using command line or default propertiesOpening database: C:\Program Files\Apache Group\Tomcat 4.1\webapps\cocoon\WEB-INF\db\cocoondbHSQLDB server 1.7.1 is runningUse SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptlyTue Jun 24 09:23:55 IST 2003 Listening for connections ...[INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8080[INFO] ChannelSocket - -JK2: ajp13 listening on 0.0.0.0/0.0.0.0:8009[INFO] JkMain - -Jk running ID=0 time=30/90 config=C:\Program Files\Apache Group\Tomcat 4.1\conf\jk2.properties --- Please help me to resolve this problem. Thanks, Gururaja Do you Yahoo!?SBC Yahoo! DSL - Now only $29.95 per month! Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!
Re: Desperately need help with installing Cocoon on webLogic 7
Hello Anne I have tried by mistake to install Cocoon 2.0.4 compiled for the jdk1.4 on weblogic 7. I had the same error page you have. With cocoon compiled for the jdk1.3 there is no problem at all. Hope it helps Alex At 20:34 11/06/2003 -0700, you wrote: Dear all, I am really really stuck with trying to get Cocoon 2.0.4 to work on webLogic 7. Does anyone has a step-by-step guide that can help me? I followed the instruction on the installation page, but I am keep getting the following error: type fatal message Cocoon was not initialized. description Cocoon was not initialized. Cannot process request. sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet request-uri Any help will be greatly appreciated. Thanks alot in advance for your help. Thanks, Anne Do you Yahoo!? Free http://us.rd.yahoo.com/mail_us/tag/*http://calendar.yahoo.comonline calendar with sync to Outlook(TM). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Desperately need help with installing Cocoon on webLogic 7
Dear all, I am really really stuck with trying to get Cocoon 2.0.4 to work on webLogic 7. Does anyone has a step-by-step guide that can help me? I followed the instruction on the installation page, but I am keep getting the following error: type fatal message Cocoon was not initialized. description Cocoon was not initialized. Cannot process request. sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet request-uri Any help will be greatly appreciated. Thanks alot in advance for your help. Thanks, Anne Do you Yahoo!? Free online calendar with sync to Outlook(TM).
Installing Cocoon on Solaris Sun One Application Server 7
Title: Installing Cocoon on Solaris Sun One Application Server 7 Howdy All, In relation to a previous post... Sitemap parsing error?... I'm posting about the installation and running of Cocoon 2.04 on a Solaris machine running SunONE application server 7. I have managed to install the application WAR file successfully. It appears as a separate web application. However... I am unable to invoke the servlet context /cocoon successfully. Here are the problems that I'm noticing and some approaches that I've taken (with limited effect). 1. On initial install, the cocoon servlet reports: description org.xml.sax.SAXParseException: Illegal character at end of document, u. 2. This turns out to be a character encoding problem. I've noticed that the default container-encoding was ISO-8859-1. Hence to fix this, I've included the following in the web.xml file: init-param param-namecontainer-encoding/param-name param-valueutf-8/param-value /init-param init-param param-nameform-encoding/param-name param-valueutf-8/param-value /init-param This has removed that exception but I now get the following error: message Language Exception description org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling sitemap_xmap: Line 6271, column 12: '}' expected Line 5221, column 4: 'try' without 'catch' or 'finally' Line 3168, column 25: method error_process_1_500(org.apache.cocoon.sitemap.SitemapRedirector, org.apache.cocoon.environment.Environment, java.util.Map, java.lang.Exception, boolean) not found in class org.apache.cocoon.www.sitemap_xmap Line 3339, column 8: method matchN4005A9(org.apache.cocoon.sitemap.SitemapRedirector, org enormous stack dump It would seem that there is still some problems with the sitemap.xmap file. I've noticed when I've vi the file, it reports that the file is incomplete. Is there something i've missed? Perhaps the wrong distro of cocoon? Perhaps the sitemap.xmap file is encoded improperly for nix systems? Any suggestions welcomed Cheers, Jason
RE: Problem Installing Cocoon on Mac OS X
I have compiled Cocoon 2.1dev from source and have a working Cocoon2.1dev- My system: mac osx 10.2.3 java 1.3.1 tomcat version 4.1.12 cocoon 2.1 dev All I did was paste from xml-cocoon2/lib/endorsed xalan-2.4.1.jar xercesImpl-2.1.0 xml-apis.jar xsltc.jar to $TOMCAT_HOME/common/endorsed Everything is working fine. -Astor -Original Message- From: Chet Rindfuss [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 28, 2002 12:51 PM To: [EMAIL PROTECTED] Subject: Problem Installing Cocoon on Mac OS X I'm trying to install Cocoon on Mac OS X 10.2.3. Java version 1.3.1 TOMCAT version 4.1.18. Apache and TOMCAT appear to be working correctly. I've tried using the binary cocoon.war file for version 2.0.4, but when I try to localhost:8080/cocoon I get the following exception: Failed to generate program code (this may happen if you use Xalan in incremental processing mode). Please check log file and/or console for errors. Checking error.log I found: FATAL_E (2002-12-28) 12:05.22:052 [core.xslt-processor] (/cocoon/) Thread-9/TraxErrorHandler: File jar:file:/Users/chet/jakarta-tomcat-4.1.18/webapps/cocoon/WEB-INF/lib/ cocoon-2.0.4.jar !/org/apache/cocoon/components/language/markup/sitemap/java/ sitemap.xsl; Line 154; Column 32; org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xalan}content-handler' property! ; SystemID: jar:file:/Users/chet/jakarta-tomcat-4.1.18/webapps/cocoon/WEB-INF/lib/ cocoon-2.0.4.jar !/org/apache/cocoon/components/language/markup/sitemap/java/ sitemap.xsl; Line#: 154; Column#: 32 javax.xml.transform.TransformerException: org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xalan}content-handler' property! I searched the e-mail archives and did find references to this problem on JVM 1.4. Tried putting copies of jar files into common/endorsed, but that has not helped. Stopped and restarted Tomcat and Apache, problem still exists. Does anyone have any other ideas on what the problem might be? Thanks for you help. Chet Rindfuss - 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]
Problem Installing Cocoon on Mac OS X
I'm trying to install Cocoon on Mac OS X 10.2.3. Java version 1.3.1 TOMCAT version 4.1.18. Apache and TOMCAT appear to be working correctly. I've tried using the binary cocoon.war file for version 2.0.4, but when I try to localhost:8080/cocoon I get the following exception: Failed to generate program code (this may happen if you use Xalan in incremental processing mode). Please check log file and/or console for errors. Checking error.log I found: FATAL_E (2002-12-28) 12:05.22:052 [core.xslt-processor] (/cocoon/) Thread-9/TraxErrorHandler: File jar:file:/Users/chet/jakarta-tomcat-4.1.18/webapps/cocoon/WEB-INF/lib/ cocoon-2.0.4.jar !/org/apache/cocoon/components/language/markup/sitemap/java/ sitemap.xsl; Line 154; Column 32; org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xalan}content-handler' property! ; SystemID: jar:file:/Users/chet/jakarta-tomcat-4.1.18/webapps/cocoon/WEB-INF/lib/ cocoon-2.0.4.jar !/org/apache/cocoon/components/language/markup/sitemap/java/ sitemap.xsl; Line#: 154; Column#: 32 javax.xml.transform.TransformerException: org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xalan}content-handler' property! I searched the e-mail archives and did find references to this problem on JVM 1.4. Tried putting copies of jar files into common/endorsed, but that has not helped. Stopped and restarted Tomcat and Apache, problem still exists. Does anyone have any other ideas on what the problem might be? Thanks for you help. Chet Rindfuss - 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]
Installing cocoon in Tomcat 4.1.12
Hi All, I'm attempting to install cocoon 1.8 into Tomcat 4.1.12. I've made pretty good progress so far, but have encountered a problem that I haven't been able to get around. Whenever I attempt to access the page http://server:port/cocoon/Cocoon.xml, I receive an error stating that cocoon is unable to load the resource cocoon.properties, and throws a NullPointerException. I've modified tomcat-home/webapps/cocoon/WEB-INF/web.xml to point to ./cocoon.properties in order to get this error. If I use the suggested value of WEB-INF/cocoon.properties, cocoon is still unable to load the resource, but throws a FileNotFoundException. I found a post by Caroline Iux dated 24 Sept 2001 that had the same issue with WebSphere. Her solution, unfortunately, did not work for me. Thanks a lot, Greg Jewell - 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]
IOException when installing Cocoon 2.1
Hello again! I have deleted everything (again) to do a fresh re-install of Java, Tomcat and Cocoon. Now, I have downloaded the latest 1.4.1 from Sun's site, I still use Tomcat 4.0.3 from Debian Woody and Cocoon is 2.1-dev, taken from CVS yesterday. It compiles fine, and Tomcat seems to be running fine, but when I go to /cocoon/ it redirects to /cocoon/documents/index.html and that seems OK, but then nothing loads. This is at http://test.skepsis.no:8180/cocoon/ (the strange port number is set by Debian). When looking in the logs, I find this: ERROR (2002-10-22) 16:04.15:122 [access] (Unknown-URI) Unknown-thread/CocoonServlet: Cocoon servlet threw an Exception while trying to close stream. java.io.IOException: Cannot find message associated with key 'responseStream.suspended' at org.apache.catalina.connector.ResponseStream.flush(ResponseStream.java:237) [...] I have no clues, any takers? Best, Kjetil -- Kjetil Kjernsmo Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Homepage: http://www.kjetil.kjernsmo.net/ - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Error compiling sitemap_xmap / problems Installing cocoon-2.0.3on fresh jwsdp1_0_01 and j2sdk1.4_0_01
Dario Liberman wrote: Hello, I am having problems Installing cocoon-2.0.3 on top of a fresh jwsdp1_0_01 and j2sdk1.4_0_01 installation running on a winNT4.0 SP6a Is it cocoon binary dist or source dist? Are you trying to deploy cocoon.war or unpacked webapp? If it is war file, see recent emails about manifest file: it must have some additional entries in order to deploy Cocoon as a war archive. Try unpacking webapp and deploying it as a directory. Vadim At the page the error shows: Cocoon 2 - Internal server error type fatal message Language Exception description : org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling sitemap_xmap: Line 22, column 49: cannot access class Component; file org\apache\avalon\framework\component\Component.class not found Line 23, column 53: cannot access class Configurable; file ... more description here... I send attached the logs. I tried to solve the problem deleting the following files from the war, but it seems that it has nothing to do with it: xml-apis.jar xercesImpl-2.0.0.jar xalan-2.3.1.jar Since I was afraid it would interfere somehow with the same libs in the jwsdp installation that in fact had the same versions. Any ideas? Thanks a lot, Dario Liberman. jwsdp is the Java Web Services Development Pack from SUN. http://java.sun.com/webservices/downloads/webservicespack.html The Java Web Services Developer Pack v1.0_01 includes the following: Java XML Pack which includes the following: Java API for XML Messaging (JAXM) v1.1_01 Java API for XML Processing (JAXP) v1.2_01 (with XML Schema support) Java API for XML Registries (JAXR) v1.0_02 Java API for XML-based RPC (JAX-RPC) v1.0_01 SOAP with Attachments API for Java (SAAJ) v1.1_02 JavaServer PagesTM Standard Tag Library (JSTL) v1.0.1 Java WSDP Registry Server v1.0_02 Web Application Deployment Tool Ant Build Tool 1.4.1 Apache Tomcat 4.1.2 container - 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]
Error compiling sitemap_xmap / problems Installing cocoon-2.0.3 on fresh jwsdp1_0_01 and j2sdk1.4_0_01
Hello, I am having problems Installing cocoon-2.0.3 on top of a fresh jwsdp1_0_01 and j2sdk1.4_0_01 installation running on a winNT4.0 SP6a At the page the error shows: Cocoon 2 - Internal server error type fatal message Language Exception description : org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling sitemap_xmap: Line 22, column 49: cannot access class Component; file org\apache\avalon\framework\component\Component.class not found Line 23, column 53: cannot access class Configurable; file ... more description here... I send attached the logs. I tried to solve the problem deleting the following files from the war, but it seems that it has nothing to do with it: xml-apis.jar xercesImpl-2.0.0.jar xalan-2.3.1.jar Since I was afraid it would interfere somehow with the same libs in the jwsdp installation that in fact had the same versions. Any ideas? Thanks a lot, Dario Liberman. jwsdp is the Java Web Services Development Pack from SUN. http://java.sun.com/webservices/downloads/webservicespack.html The Java Web Services Developer Pack v1.0_01 includes the following: Java XML Pack which includes the following: Java API for XML Messaging (JAXM) v1.1_01 Java API for XML Processing (JAXP) v1.2_01 (with XML Schema support) Java API for XML Registries (JAXR) v1.0_02 Java API for XML-based RPC (JAX-RPC) v1.0_01 SOAP with Attachments API for Java (SAAJ) v1.1_02 JavaServer PagesTM Standard Tag Library (JSTL) v1.0.1 Java WSDP Registry Server v1.0_02 Web Application Deployment Tool Ant Build Tool 1.4.1 Apache Tomcat 4.1.2 container logs.zip Description: Zip compressed data - 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: Problems installing Cocoon 2.0.3 [xerces to be updated]
Babs Thanks for the suggestion; I have tried what you said (although I could not find a xercesImpl-2.0.0 in the Cocoon lib; only a xerces-1.4.4.jar, which I removed) However, I get exactly the same error as before... Any other options? Thanks Derek [EMAIL PROTECTED] 21/08/2002 04:35:20 try to update xerces to 2.0.2 version. I had this problem too, same environment. (http://xml.apache.org/dist/xerces-j/Xerces-J-bin.2.0.2.zip) from the zip, copy xercesImpl, xmlParserAPI to CATALINA_HOME/common/lib. Remove the version of xerces you have there (xerces.jar). Remove xercesImpl-2.0.0 from cocoon's WEB-INF/lib. Babs - Original Message - From: Derek Hohls [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 21, 2002 4:21 PM Subject: Problems installing Cocoon 2.0.3 According to the installation guide, deploying C2 under Tomcat 4.0.4 is simple ;-) i.e. Copy cocoon.war into tomcat/webapps directory. Start Tomcat: Go to the tomcat/bin directory, and run the startup script. Open the Cocoon welcome page: http://localhost:8080/cocoon/ Congratulations! You should see the Cocoon welcome page. My setup is: Java 1.3.1 Tomcat 4.0.4 (examples are running fine) Cocoon 2.0.3 And when I invoke http://localhost:8080/cocoon/ I get: Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error -- type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception at org.apache.catalina.core.StandardWrapper.loadServlet (StandardWrapper.java:946) etc - 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: Problems installing Cocoon 2.0.3
Thanks todd I am only working with the pre-compiled binary version (Win) and so I am not sure if what you said applies (or if I have misunderstood altogether waht you are suggesting)... [EMAIL PROTECTED] 21/08/2002 04:31:11 Im not sure what is causing YOUR problem, but I found that MY problem was caused because (for some incomprehensible reason) the 2.0.3 release of cocoon was built against an old avalon-excalibur release. The 4.1 avalon-excalibur has moved the LogKitLoggerManager from the /components directory to the /logger directory and the GeneratorSelector barfed when it could not find it. So you can try to find the appropriate .jar to use in your deployment scenario, or recompile cocoon against the new .jar (if in fact this is your problem). HTH -todd -Original Message- From: Derek Hohls [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 21, 2002 10:22 AM To: [EMAIL PROTECTED] Subject: Problems installing Cocoon 2.0.3 According to the installation guide, deploying C2 under Tomcat 4.0.4 is simple ;-) i.e. Copy cocoon.war into tomcat/webapps directory. Start Tomcat: Go to the tomcat/bin directory, and run the startup script. Open the Cocoon welcome page: http://localhost:8080/cocoon/ Congratulations! You should see the Cocoon welcome page. My setup is: Java 1.3.1 Tomcat 4.0.4 (examples are running fine) Cocoon 2.0.3 And when I invoke http://localhost:8080/cocoon/ I get: Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error -- type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception at org.apache.catalina.core.StandardWrapper.loadServlet (StandardWrapper.java:946) etc - 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: Problems installing Cocoon 2.0.3 [xerces to be updated]
ok... so, are you sure you downloaded the right binaries for your JVM ? I don't have more ideas for now... sorry. - Original Message - From: Derek Hohls [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, August 22, 2002 8:35 AM Subject: Re: Problems installing Cocoon 2.0.3 [xerces to be updated] Babs Thanks for the suggestion; I have tried what you said (although I could not find a xercesImpl-2.0.0 in the Cocoon lib; only a xerces-1.4.4.jar, which I removed) However, I get exactly the same error as before... Any other options? Thanks Derek [EMAIL PROTECTED] 21/08/2002 04:35:20 try to update xerces to 2.0.2 version. I had this problem too, same environment. (http://xml.apache.org/dist/xerces-j/Xerces-J-bin.2.0.2.zip) from the zip, copy xercesImpl, xmlParserAPI to CATALINA_HOME/common/lib. Remove the version of xerces you have there (xerces.jar). Remove xercesImpl-2.0.0 from cocoon's WEB-INF/lib. Babs - Original Message - From: Derek Hohls [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 21, 2002 4:21 PM Subject: Problems installing Cocoon 2.0.3 According to the installation guide, deploying C2 under Tomcat 4.0.4 is simple ;-) i.e. Copy cocoon.war into tomcat/webapps directory. Start Tomcat: Go to the tomcat/bin directory, and run the startup script. Open the Cocoon welcome page: http://localhost:8080/cocoon/ Congratulations! You should see the Cocoon welcome page. My setup is: Java 1.3.1 Tomcat 4.0.4 (examples are running fine) Cocoon 2.0.3 And when I invoke http://localhost:8080/cocoon/ I get: Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error -- type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception at org.apache.catalina.core.StandardWrapper.loadServlet (StandardWrapper.java:946) etc - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problems installing Cocoon 2.0.3 [xerces to be updated]
Uh - which binaries would those be? (I *did* download the Windows-usable version of C2, if that's what you mean...) [EMAIL PROTECTED] 22/08/2002 09:32:31 ok... so, are you sure you downloaded the right binaries for your JVM ? I don't have more ideas for now... sorry. - Original Message - From: Derek Hohls [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, August 22, 2002 8:35 AM Subject: Re: Problems installing Cocoon 2.0.3 [xerces to be updated] Babs Thanks for the suggestion; I have tried what you said (although I could not find a xercesImpl-2.0.0 in the Cocoon lib; only a xerces-1.4.4.jar, which I removed) However, I get exactly the same error as before... Any other options? Thanks Derek [EMAIL PROTECTED] 21/08/2002 04:35:20 try to update xerces to 2.0.2 version. I had this problem too, same environment. (http://xml.apache.org/dist/xerces-j/Xerces-J-bin.2.0.2.zip) from the zip, copy xercesImpl, xmlParserAPI to CATALINA_HOME/common/lib. Remove the version of xerces you have there (xerces.jar). Remove xercesImpl-2.0.0 from cocoon's WEB-INF/lib. Babs - Original Message - From: Derek Hohls [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 21, 2002 4:21 PM Subject: Problems installing Cocoon 2.0.3 According to the installation guide, deploying C2 under Tomcat 4.0.4 is simple ;-) i.e. Copy cocoon.war into tomcat/webapps directory. Start Tomcat: Go to the tomcat/bin directory, and run the startup script. Open the Cocoon welcome page: http://localhost:8080/cocoon/ Congratulations! You should see the Cocoon welcome page. My setup is: Java 1.3.1 Tomcat 4.0.4 (examples are running fine) Cocoon 2.0.3 And when I invoke http://localhost:8080/cocoon/ I get: Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error -- type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception at org.apache.catalina.core.StandardWrapper.loadServlet (StandardWrapper.java:946) etc - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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: Problems installing Cocoon 2.0.3 [xerces to be updated]
Derek Hohls wrote: A quick follow-up - I took everything off again - reinstalled TC and Cocoon - this time I found the xercesImpl-2.0.0 file !? and so I followed your procedure again. If its of any additional use - below the javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception error, I get: - Root Cause - java.lang.NoSuchMethodError at org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.init(DefaultConfigurationBuilder.java:97) Any ideas what this means?? Derek, Follow install guide. Java 1.3.1, Tomcat 4.0.4, Cocoon 2.0.3, this *does* work without fiddling with libraries. If it does *not* work - this just means that you don't have clean (freshly installed) Java or Tomcat. Vadim Thanks Derek - 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: Problems installing Cocoon 2.0.3 [xerces to be updated -or NOT?]
Vadim Thanks - well, I do have a freshly installed Tomcat 4.0.4 AND the lastest stable Cocoon binary - OK, I did not reinstall Java (this was not part of the install guide and I was not aware that it was a prerequisite for a C2 installation??) - *thats* why I found it strange that, after following the instructions it did NOT work. (I did not, after all, have any such problems with TC 4.0.1 and C2.0.0...) Do I really have to reinstall Java? Thanks Derek [EMAIL PROTECTED] 22/08/2002 01:58:52 Derek Hohls wrote: A quick follow-up - I took everything off again - reinstalled TC and Cocoon - this time I found the xercesImpl-2.0.0 file !? and so I followed your procedure again. If its of any additional use - below the javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception error, I get: - Root Cause - java.lang.NoSuchMethodError at org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.init(DefaultConfigurationBuilder.java:97) Any ideas what this means?? Derek, Follow install guide. Java 1.3.1, Tomcat 4.0.4, Cocoon 2.0.3, this *does* work without fiddling with libraries. If it does *not* work - this just means that you don't have clean (freshly installed) Java or Tomcat. Vadim Thanks Derek - 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: Problems installing Cocoon 2.0.3 [xerces to be updated - or NOT?]
Derek Hohls wrote: Vadim Thanks - well, I do have a freshly installed Tomcat 4.0.4 AND the lastest stable Cocoon binary - OK, I did not reinstall Java (this was not part of the install guide and I was not aware that it was a prerequisite for a C2 installation??) - *thats* why I found it strange that, after following the instructions it did NOT work. (I did not, after all, have any such problems with TC 4.0.1 and C2.0.0...) Do I really have to reinstall Java? You see, if all three components are not modified in any way, it does work (under Win and Linux). This was tested before doing release. Only exception was FreeBSD and/or OS X platforms (archives have more on this). May be you have something in jre/lib/ext, this could break some things. Vadim Thanks Derek [EMAIL PROTECTED] 22/08/2002 01:58:52 Derek Hohls wrote: A quick follow-up - I took everything off again - reinstalled TC and Cocoon - this time I found the xercesImpl-2.0.0 file !? and so I followed your procedure again. If its of any additional use - below the javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception error, I get: - Root Cause - java.lang.NoSuchMethodError at org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.init(DefaultConfigurationBuilder.java:97) Any ideas what this means?? Derek, Follow install guide. Java 1.3.1, Tomcat 4.0.4, Cocoon 2.0.3, this *does* work without fiddling with libraries. If it does *not* work - this just means that you don't have clean (freshly installed) Java or Tomcat. Vadim Thanks Derek - 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: Problems installing Cocoon 2.0.3 [xerces to be updated -or NOT?]
Vadim Maybe its just the limits of my own knowledge showing up rather badly here - but it worries me that Cocoon is (perhaps like its namesake!) so fragile. On *my* test machine I can control the environment to a large extent... but have less say over the live machine(s) to which the sites will get deployed. Is there no way of tracking down what the root cause (file?) is in a more specific way...? I guess I will be reinstalling *everything* tonight Thanks Derek [EMAIL PROTECTED] 22/08/2002 02:42:04 Derek Hohls wrote: Vadim Thanks - well, I do have a freshly installed Tomcat 4.0.4 AND the lastest stable Cocoon binary - OK, I did not reinstall Java (this was not part of the install guide and I was not aware that it was a prerequisite for a C2 installation??) - *thats* why I found it strange that, after following the instructions it did NOT work. (I did not, after all, have any such problems with TC 4.0.1 and C2.0.0...) Do I really have to reinstall Java? You see, if all three components are not modified in any way, it does work (under Win and Linux). This was tested before doing release. Only exception was FreeBSD and/or OS X platforms (archives have more on this). May be you have something in jre/lib/ext, this could break some things. Vadim Thanks Derek [EMAIL PROTECTED] 22/08/2002 01:58:52 Derek Hohls wrote: A quick follow-up - I took everything off again - reinstalled TC and Cocoon - this time I found the xercesImpl-2.0.0 file !? and so I followed your procedure again. If its of any additional use - below the javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception error, I get: - Root Cause - java.lang.NoSuchMethodError at org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.init(DefaultConfigurationBuilder.java:97) Any ideas what this means?? Derek, Follow install guide. Java 1.3.1, Tomcat 4.0.4, Cocoon 2.0.3, this *does* work without fiddling with libraries. If it does *not* work - this just means that you don't have clean (freshly installed) Java or Tomcat. Vadim Thanks Derek - 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: Problems installing Cocoon 2.0.3 [xerces to be updated - or NOT?]
Derek Hohls wrote: Vadim Maybe its just the limits of my own knowledge showing up rather badly here - but it worries me that Cocoon is (perhaps like its namesake!) so fragile. On *my* test machine I can control the environment to a large extent... but have less say over the live machine(s) to which the sites will get deployed. If you buy commercial solution, it always comes with Java bundled. Do you want same for Cocoon? ;-) Is there no way of tracking down what the root cause (file?) is in a more specific way...? Go to the source code of: - Root Cause - java.lang.NoSuchMethodError at org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.init(DefaultConfigurationBuilder.java:97) I guess the problem is wrong (non-conforming) parser. Vadim I guess I will be reinstalling *everything* tonight Thanks Derek [EMAIL PROTECTED] 22/08/2002 02:42:04 Derek Hohls wrote: Vadim Thanks - well, I do have a freshly installed Tomcat 4.0.4 AND the lastest stable Cocoon binary - OK, I did not reinstall Java (this was not part of the install guide and I was not aware that it was a prerequisite for a C2 installation??) - *thats* why I found it strange that, after following the instructions it did NOT work. (I did not, after all, have any such problems with TC 4.0.1 and C2.0.0...) Do I really have to reinstall Java? You see, if all three components are not modified in any way, it does work (under Win and Linux). This was tested before doing release. Only exception was FreeBSD and/or OS X platforms (archives have more on this). May be you have something in jre/lib/ext, this could break some things. Vadim Thanks Derek [EMAIL PROTECTED] 22/08/2002 01:58:52 Derek Hohls wrote: A quick follow-up - I took everything off again - reinstalled TC and Cocoon - this time I found the xercesImpl-2.0.0 file !? and so I followed your procedure again. If its of any additional use - below the javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception error, I get: - Root Cause - java.lang.NoSuchMethodError at org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.init(DefaultConfigurationBuilder.java:97) Any ideas what this means?? Derek, Follow install guide. Java 1.3.1, Tomcat 4.0.4, Cocoon 2.0.3, this *does* work without fiddling with libraries. If it does *not* work - this just means that you don't have clean (freshly installed) Java or Tomcat. Vadim Thanks Derek - 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: Problems installing Cocoon 2.0.3 [xerces to be updated- or NOT?]
OK - I will look - which should be the correct (conforming?) parser...? [EMAIL PROTECTED] 22/08/2002 03:18:58 Derek Hohls wrote: Vadim Maybe its just the limits of my own knowledge showing up rather badly here - but it worries me that Cocoon is (perhaps like its namesake!) so fragile. On *my* test machine I can control the environment to a large extent... but have less say over the live machine(s) to which the sites will get deployed. If you buy commercial solution, it always comes with Java bundled. Do you want same for Cocoon? ;-) Is there no way of tracking down what the root cause (file?) is in a more specific way...? Go to the source code of: - Root Cause - java.lang.NoSuchMethodError at org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.init(DefaultConfigurationBuilder.java:97) I guess the problem is wrong (non-conforming) parser. Vadim I guess I will be reinstalling *everything* tonight Thanks Derek [EMAIL PROTECTED] 22/08/2002 02:42:04 Derek Hohls wrote: Vadim Thanks - well, I do have a freshly installed Tomcat 4.0.4 AND the lastest stable Cocoon binary - OK, I did not reinstall Java (this was not part of the install guide and I was not aware that it was a prerequisite for a C2 installation??) - *thats* why I found it strange that, after following the instructions it did NOT work. (I did not, after all, have any such problems with TC 4.0.1 and C2.0.0...) Do I really have to reinstall Java? You see, if all three components are not modified in any way, it does work (under Win and Linux). This was tested before doing release. Only exception was FreeBSD and/or OS X platforms (archives have more on this). May be you have something in jre/lib/ext, this could break some things. Vadim Thanks Derek [EMAIL PROTECTED] 22/08/2002 01:58:52 Derek Hohls wrote: A quick follow-up - I took everything off again - reinstalled TC and Cocoon - this time I found the xercesImpl-2.0.0 file !? and so I followed your procedure again. If its of any additional use - below the javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception error, I get: - Root Cause - java.lang.NoSuchMethodError at org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.init(DefaultConfigurationBuilder.java:97) Any ideas what this means?? Derek, Follow install guide. Java 1.3.1, Tomcat 4.0.4, Cocoon 2.0.3, this *does* work without fiddling with libraries. If it does *not* work - this just means that you don't have clean (freshly installed) Java or Tomcat. Vadim Thanks Derek - 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: Problems installing Cocoon 2.0.3 [xerces to be updated - or NOT?]
Derek Hohls wrote: OK - I will look - which should be the correct (conforming?) parser...? The one bundled with Cocoon, of course :) Vadim [EMAIL PROTECTED] 22/08/2002 03:18:58 Derek Hohls wrote: Vadim Maybe its just the limits of my own knowledge showing up rather badly here - but it worries me that Cocoon is (perhaps like its namesake!) so fragile. On *my* test machine I can control the environment to a large extent... but have less say over the live machine(s) to which the sites will get deployed. If you buy commercial solution, it always comes with Java bundled. Do you want same for Cocoon? ;-) Is there no way of tracking down what the root cause (file?) is in a more specific way...? Go to the source code of: - Root Cause - java.lang.NoSuchMethodError at org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.init(DefaultConfigurationBuilder.java:97) I guess the problem is wrong (non-conforming) parser. Vadim ... - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problems installing Cocoon 2.0.3
On Wednesday 21 August 2002 16:35, Barbara Post wrote: try to update xerces to 2.0.2 version. I had this problem too, same environment. H, I'm seeing the same error message right now. I'm trying to install CocoBlog, so I pulled a copy of Cocoon2.1 from CVS last night. Yeah, I guess I'm too adventurous, but I really need this. However, I'm on a Debian system, and I got xerces from testing, which is 2.0.2. Remove xercesImpl-2.0.0 from cocoon's WEB-INF/lib. OTOH, I never had that... Should I really? However, I guess it could be a different problem: Somewhat further down the error page I'm seeing the following: root cause java.security.AccessControlException: access denied (java.util.PropertyPermission javax.xml.parsers.SAXParserFactory read) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:272) at java.security.AccessController.checkPermission(AccessController.java:399) at java.lang.SecurityManager.checkPermission(SecurityManager.java:545) at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1278) at java.lang.System.getProperty(System.java:560) at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:229) [snip] So, it seems to be some permission problem. Therefore, I created a tomcat-group, and made the tomcat4-user that runs the server a member of that group, and added the write permissions for the group to /var/lib/tomcat4/webapps which is where I keep the .war, but that didn't help. One concern: While I was compiling, using J2SDK1.3, it warned me that the build was for 1.2. Is this something I shouldn't ignore? Help is greatly appreciated. Best, Kjetil -- Kjetil Kjernsmo Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Homepage: http://www.kjetil.kjernsmo.net/ - 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: Problems installing Cocoon 2.0.3 [xerces to be updated - or NOT?]
Unfortunately, that version contains a bug when serializing SAX events. See Xerces2-J Bug#6165. Is Cocoon going to update its version of xerces? This is causing me much grief. -Amy The one bundled with Cocoon, of course :) Vadim - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problems installing Cocoon 2.0.3
According to the installation guide, deploying C2 under Tomcat 4.0.4 is simple ;-) i.e. Copy cocoon.war into tomcat/webapps directory. Start Tomcat: Go to the tomcat/bin directory, and run the startup script. Open the Cocoon welcome page: http://localhost:8080/cocoon/ Congratulations! You should see the Cocoon welcome page. My setup is: Java 1.3.1 Tomcat 4.0.4 (examples are running fine) Cocoon 2.0.3 And when I invoke http://localhost:8080/cocoon/ I get: Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error -- type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception at org.apache.catalina.core.StandardWrapper.loadServlet (StandardWrapper.java:946) etc - 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: Problems installing Cocoon 2.0.3
Im not sure what is causing YOUR problem, but I found that MY problem was caused because (for some incomprehensible reason) the 2.0.3 release of cocoon was built against an old avalon-excalibur release. The 4.1 avalon-excalibur has moved the LogKitLoggerManager from the /components directory to the /logger directory and the GeneratorSelector barfed when it could not find it. So you can try to find the appropriate .jar to use in your deployment scenario, or recompile cocoon against the new .jar (if in fact this is your problem). HTH -todd -Original Message- From: Derek Hohls [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 21, 2002 10:22 AM To: [EMAIL PROTECTED] Subject: Problems installing Cocoon 2.0.3 According to the installation guide, deploying C2 under Tomcat 4.0.4 is simple ;-) i.e. Copy cocoon.war into tomcat/webapps directory. Start Tomcat: Go to the tomcat/bin directory, and run the startup script. Open the Cocoon welcome page: http://localhost:8080/cocoon/ Congratulations! You should see the Cocoon welcome page. My setup is: Java 1.3.1 Tomcat 4.0.4 (examples are running fine) Cocoon 2.0.3 And when I invoke http://localhost:8080/cocoon/ I get: Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error -- type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception at org.apache.catalina.core.StandardWrapper.loadServlet (StandardWrapper.java:946) etc - 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: Problems installing Cocoon 2.0.3 [xerces to be updated]
try to update xerces to 2.0.2 version. I had this problem too, same environment. (http://xml.apache.org/dist/xerces-j/Xerces-J-bin.2.0.2.zip) from the zip, copy xercesImpl, xmlParserAPI to CATALINA_HOME/common/lib. Remove the version of xerces you have there (xerces.jar). Remove xercesImpl-2.0.0 from cocoon's WEB-INF/lib. Babs - Original Message - From: Derek Hohls [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 21, 2002 4:21 PM Subject: Problems installing Cocoon 2.0.3 According to the installation guide, deploying C2 under Tomcat 4.0.4 is simple ;-) i.e. Copy cocoon.war into tomcat/webapps directory. Start Tomcat: Go to the tomcat/bin directory, and run the startup script. Open the Cocoon welcome page: http://localhost:8080/cocoon/ Congratulations! You should see the Cocoon welcome page. My setup is: Java 1.3.1 Tomcat 4.0.4 (examples are running fine) Cocoon 2.0.3 And when I invoke http://localhost:8080/cocoon/ I get: Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error -- type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception at org.apache.catalina.core.StandardWrapper.loadServlet (StandardWrapper.java:946) etc - 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]
Installing Cocoon 2 on JBoss 3.0.0. with Tomcat 4.0.3
Hello! I was wondering if anyone could help me with the above problem. I have checked all of the available documentation (that I know of) and can't find the installation instructions for the version of JBoss that I am using. I tried to do the install using the instructions for the previous version ( Installing on JBoss 2.4.4 with Tomcat 4.0.1 ). The directory structure is somewhat different, and the run.bat file on my system does not match the description of the file in the instructions. When enter 'http://localhost:8080/cocoon/ I get the following error: Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to process this request I've gone over the installation several times, but can't figure out what's causing this problem. Any help would be greatly appreciated! Thanks!!! Sheila - 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]
Problem in Installing Cocoon in IBM Websphere
Hi, I have installed Cocoon 2.0 in the IBM Websphere 4.0.3 and my JSP Generator doesnt work.If someone knows please help me,,, Kavitha. Sell you car, by placing a classified ad on Yahoo India Autos . It's Free!!
AW: Error installing Cocoon 2.0.3
Hello, and thanks for all your effort getting 2.0.3 going. I downloaded it and attempted to build and install it today, and unfortunately was not able to access the default application. I am running linux with JDK 1.4 and Tomcat 4.0.4. I downloaded cocoon-2.0.3.tar.gz , ran ./build.sh clean then ./build.sh -Dinclude.webapp.libs=yes webapp try this: if there isnot any need to use jdk1.4 use j2sdk-1_3_1_03 and set the PATH and CLASSPATH and build cocoon.war again maybe it works I then copied the build/cocoon/cocoon.war to $CATALINA_HOME/webapps and restarted my Tomcat server. Tomcat works fine but when attempting to access the http://MyTomcatServer:8080/cocoon I get an error message. This message is posted on my web site at http://www.hoegg.net/error/cocoon-2.0.3-install-error.html I appreciate any insight! There didn't seem to be anything in the archives. Ryan Hoegg ISIS Networks - 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: AW: Error installing Cocoon 2.0.3
Thanks for the quick response, but unfortunately I have several classes I have written for other purposes that use features in 1.4 that I hope to hook into Cocoon. So I would very much like to use Cocoon with the JDK 1.4. Ryan Hoegg ISIS Networks Gerald Michalitz wrote: Hello, and thanks for all your effort getting 2.0.3 going. I downloaded it and attempted to build and install it today, and unfortunately was not able to access the default application. I am running linux with JDK 1.4 and Tomcat 4.0.4. I downloaded cocoon-2.0.3.tar.gz , ran ./build.sh clean then ./build.sh -Dinclude.webapp.libs=yes webapp try this: if there isnot any need to use jdk1.4 use j2sdk-1_3_1_03 and set the PATH and CLASSPATH and build cocoon.war again maybe it works I then copied the build/cocoon/cocoon.war to $CATALINA_HOME/webapps and restarted my Tomcat server. Tomcat works fine but when attempting to access the http://MyTomcatServer:8080/cocoon I get an error message. This message is posted on my web site at http://www.hoegg.net/error/cocoon-2.0.3-install-error.html I appreciate any insight! There didn't seem to be anything in the archives. Ryan Hoegg ISIS Networks - 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: Error installing Cocoon 2.0.3
From: Ryan Hoegg [mailto:[EMAIL PROTECTED]] Hello, and thanks for all your effort getting 2.0.3 going. I downloaded it and attempted to build and install it today, and unfortunately was not able to access the default application. I am running linux with JDK 1.4 and Tomcat 4.0.4. I downloaded cocoon-2.0.3.tar.gz , ran ./build.sh clean then ./build.sh -Dinclude.webapp.libs=yes webapp I then copied the build/cocoon/cocoon.war to $CATALINA_HOME/webapps and restarted my Tomcat server. You forgot to remove tomcat's work directory. If does not help, see log files. There is no much info on the error page. Vadim Tomcat works fine but when attempting to access the http://MyTomcatServer:8080/cocoon I get an error message. This message is posted on my web site at http://www.hoegg.net/error/cocoon-2.0.3-install-error.html I appreciate any insight! There didn't seem to be anything in the archives. Ryan Hoegg ISIS Networks - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Error installing Cocoon 2.0.3
Thanks, I guess I have more to learn about how Tomcat works. That was the problem Ryan Hoegg ISIS Networks Vadim Gritsenko wrote: From: Ryan Hoegg [mailto:[EMAIL PROTECTED]] Hello, and thanks for all your effort getting 2.0.3 going. I downloaded it and attempted to build and install it today, and unfortunately was not able to access the default application. I am running linux with JDK 1.4 and Tomcat 4.0.4. I downloaded cocoon-2.0.3.tar.gz , ran ./build.sh clean then ./build.sh -Dinclude.webapp.libs=yes webapp I then copied the build/cocoon/cocoon.war to $CATALINA_HOME/webapps and restarted my Tomcat server. You forgot to remove tomcat's work directory. If does not help, see log files. There is no much info on the error page. Vadim Tomcat works fine but when attempting to access the http://MyTomcatServer:8080/cocoon I get an error message. This message is posted on my web site at http://www.hoegg.net/error/cocoon-2.0.3-install-error.html I appreciate any insight! There didn't seem to be anything in the archives. Ryan Hoegg ISIS Networks - 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]
Error installing Cocoon 2.0.3
Hello, and thanks for all your effort getting 2.0.3 going. I downloaded it and attempted to build and install it today, and unfortunately was not able to access the default application. I am running linux with JDK 1.4 and Tomcat 4.0.4. I downloaded cocoon-2.0.3.tar.gz , ran ./build.sh clean then ./build.sh -Dinclude.webapp.libs=yes webapp I then copied the build/cocoon/cocoon.war to $CATALINA_HOME/webapps and restarted my Tomcat server. Tomcat works fine but when attempting to access the http://MyTomcatServer:8080/cocoon I get an error message. This message is posted on my web site at http://www.hoegg.net/error/cocoon-2.0.3-install-error.html I appreciate any insight! There didn't seem to be anything in the archives. Ryan Hoegg ISIS Networks - 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: Problems installing Cocoon 2.1-dev: NoSuchMethodError - SOLVED
Hi everbody, yesterday evening I spent some time reubuilding the whole Avalon framework. Because the access to my FreeBSD box is fairly slow I did it on a Linux box, but because of Write Once, Run Anywhere this shouldn't be a difference, no? ;-) However, after uploading the updated JARs to my FreeBSD machine everything is working perfectly! I have no explanation for this phenomenon, but I would be very interested in learning what the hell was going on here? Jürgen -Original Message- From: Albertsen, Juergen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 19, 2002 2:09 PM To: '[EMAIL PROTECTED]' Subject: RE: Problems installing Cocoon 2.1-dev: NoSuchMethodError That's interesting. I could not believe that this is a FreeBSD related issue. Very strange. I also thought of using a different version of Excalibur but did not get around building it. I will contact Stuart, but if somebody comes up with a solution in the meantime I would appreciate to be informed. -Original Message- From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 19, 2002 2:17 PM To: [EMAIL PROTECTED] Subject: RE: Problems installing Cocoon 2.1-dev: NoSuchMethodError From: Albertsen, Juergen [mailto:[EMAIL PROTECTED]] Hi, I'm running Cocoon under Resin 2.1.1. Under Windows 2000 everything works perfectly, but under FreeBSD I get the follwoing stack trace when starting up Cocoon: java.lang.NoSuchMethodError: org.apache.avalon.excalibur.component.ComponentHandler: method initialize()V not found Stuart reported today problem with similar description (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9701). Why don't you two team up (as owners of FreeBSD systems) to solve this? PS Stuart's report suggests that switching to older version of exclaibur or Avalon jar may solve the problem Vadim at org.apache.avalon.excalibur.component.ExcaliburComponentManage r.initiali ze(E xcaliburComponentManager.java:152) at org.apache.cocoon.Cocoon.initialize(Cocoon.java:269) at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonSer vlet.java: 1237 ) at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:435) at com.caucho.server.http.Application.createServlet(Application.j ava:2868) at com.caucho.server.http.Application.loadServlet(Application.java:2827) at com.caucho.server.http.QServletConfig.loadServlet(QServletConf ig.java:42 8) at com.caucho.server.http.Application.getFilterChainServlet(Appli cation.jav a:25 86) at com.caucho.server.http.Application.buildFilterChain(Applicatio n.java:254 2) at com.caucho.server.http.Invocation.service(Invocation.java:309) at com.caucho.server.http.CacheInvocation.service(CacheInvocation .java:135) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:218) at com.caucho.server.http.HttpRequest.handleConnection(HttpReques t.java:160 ) at com.caucho.server.TcpConnection.run(TcpConnection.java:137) at java.lang.Thread.run(Thread.java:484) I checked my classpath to ensure that there are no conflicting versions of Avalon Excalibur. I attached the core.log, but when looking at it I cannot see anything unusual. In the end I kind of doubt that it is a Windows/UNIX problem and I rather believe that I screwed something up on my FreeSDB box. Any idea? Thanks in advance, Jürgen - 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: Problems installing Cocoon 2.1-dev: NoSuchMethodError - SOLVE D
Jürgen, Congratulations on building Avalon! Your experience seems to confirm that Avalon is the heart of the matter. One test I carried out when I was having problems was to unpack the avalon JAR files and put the classes directly into the WEB- INF/classes directory on the off-chance that the problem was something to do with how the JAR was put together. This didn't help. So it looks like it is something in the compilation of the classes. How about unpacking your working Avalon JAR files and doing the same with the 'faulty' ones and doing a directory diff on the two directory hierarchies to see what's changed? Stuart. On Friday, June 21, 2002, at 07:19 am, Albertsen, Juergen wrote: Hi everbody, yesterday evening I spent some time reubuilding the whole Avalon framework. Because the access to my FreeBSD box is fairly slow I did it on a Linux box, but because of Write Once, Run Anywhere this shouldn't be a difference, no? ;-) However, after uploading the updated JARs to my FreeBSD machine everything is working perfectly! I have no explanation for this phenomenon, but I would be very interested in learning what the hell was going on here? Jürgen -Original Message- From: Albertsen, Juergen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 19, 2002 2:09 PM To: '[EMAIL PROTECTED]' Subject: RE: Problems installing Cocoon 2.1-dev: NoSuchMethodError That's interesting. I could not believe that this is a FreeBSD related issue. Very strange. I also thought of using a different version of Excalibur but did not get around building it. I will contact Stuart, but if somebody comes up with a solution in the meantime I would appreciate to be informed. -Original Message- From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 19, 2002 2:17 PM To: [EMAIL PROTECTED] Subject: RE: Problems installing Cocoon 2.1-dev: NoSuchMethodError From: Albertsen, Juergen [mailto:[EMAIL PROTECTED]] Hi, I'm running Cocoon under Resin 2.1.1. Under Windows 2000 everything works perfectly, but under FreeBSD I get the follwoing stack trace when starting up Cocoon: java.lang.NoSuchMethodError: org.apache.avalon.excalibur.component.ComponentHandler: method initialize()V not found Stuart reported today problem with similar description (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9701). Why don't you two team up (as owners of FreeBSD systems) to solve this? PS Stuart's report suggests that switching to older version of exclaibur or Avalon jar may solve the problem Vadim at org.apache.avalon.excalibur.component.ExcaliburComponentManage r.initiali ze(E xcaliburComponentManager.java:152) at org.apache.cocoon.Cocoon.initialize(Cocoon.java:269) at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonSer vlet.java: 1237 ) at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:435) at com.caucho.server.http.Application.createServlet(Application.j ava:2868) at com.caucho.server.http.Application.loadServlet(Application.java:2827) at com.caucho.server.http.QServletConfig.loadServlet(QServletConf ig.java:42 8) at com.caucho.server.http.Application.getFilterChainServlet(Appli cation.jav a:25 86) at com.caucho.server.http.Application.buildFilterChain(Applicatio n.java:254 2) at com.caucho.server.http.Invocation.service(Invocation.java:309) at com.caucho.server.http.CacheInvocation.service(CacheInvocation .java:135) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:218) at com.caucho.server.http.HttpRequest.handleConnection(HttpReques t.java:160 ) at com.caucho.server.TcpConnection.run(TcpConnection.java:137) at java.lang.Thread.run(Thread.java:484) I checked my classpath to ensure that there are no conflicting versions of Avalon Excalibur. I attached the core.log, but when looking at it I cannot see anything unusual. In the end I kind of doubt that it is a Windows/UNIX problem and I rather believe that I screwed something up on my FreeSDB box. Any idea? Thanks in advance, Jürgen - 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
RE: Problems installing Cocoon 2.1-dev: NoSuchMethodError - SOLVE D
Stuart, doing a diff is a very good idea but I'm afraid the result might not lead us to the reason for all this hassle because I used the latest CVS version and a diff would also reveal normal code changes. When time permits I wil have a closer look at at all this, but the weather might be too good over the weekend ;-) Jürgen -Original Message- From: Stuart Roebuck [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 10:10 AM To: [EMAIL PROTECTED] Subject: Re: Problems installing Cocoon 2.1-dev: NoSuchMethodError - SOLVE D Jürgen, Congratulations on building Avalon! Your experience seems to confirm that Avalon is the heart of the matter. One test I carried out when I was having problems was to unpack the avalon JAR files and put the classes directly into the WEB- INF/classes directory on the off-chance that the problem was something to do with how the JAR was put together. This didn't help. So it looks like it is something in the compilation of the classes. How about unpacking your working Avalon JAR files and doing the same with the 'faulty' ones and doing a directory diff on the two directory hierarchies to see what's changed? Stuart. - 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]
Error Installing Cocoon latest war using in Weblogic 6.1 sp2
Hi All, I have deployed latest cocoon application on bea WebLogic6.1 SP2. In order to deploy this, I have done the following: 1.The cocoon Libraries consists of '.' in the names. Eliminated them. 2.Removed all Manifest.mf files from WEB-INF/lib jars. 3.Changed cocoon.xconf file for using XSLTProcessorImpl. xslt-processor class=org.apache.cocoon.components.xslt.XSLTProcessorImpl parameter name=use-store value=true/ !--parameter name=incremental-processing value=true/-- parameter name=transformer-factory value=org.apache.xalan.processor.TransformerFactoryImpl/ /xslt-processor The first cocoon welcome page is displayed properly. Now, the problem I am facing is, bea is not loading sub sitemaps. I am getting the following error on the browser : type fatal message Lookup of transformer for role 'xslt' failed. description org.apache.cocoon.ProcessingException: Lookup of transformer for role 'xslt' failed.: org.apache.avalon.framework.component.ComponentException: UnnamedSelector: ComponentSelector could not find the component for hint: xslt sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet stack-trace org.apache.cocoon.ProcessingException: Lookup of transformer for role 'xslt' failed.: org.apache.avalon.framework.component.ComponentException: UnnamedSelector: ComponentSelector could not find the component for hint: xslt at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.addTransfor mer(AbstractProcessingPipeline.java:279) at org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline.addTran sformer(CachingProcessingPipeline.java:172) at org.apache.cocoon.components.treeprocessor.sitemap.TransformNode.invoke(Tran sformNode.java:99) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:83) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok e(PreparableMatchNode.java:157) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:107) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel ineNode.java:158) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:107) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe linesNode.java:152) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess or.java:327) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess or.java:309) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNod e.java:132) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:83) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok e(PreparableMatchNode.java:157) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:107) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel ineNode.java:158) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:107) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe linesNode.java:152) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess or.java:327) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess or.java:309) at org.apache.cocoon.Cocoon.process(Cocoon.java:588) I am getting the following error on the sitemap.log file : java.lang.ClassCastException: org.apache.cocoon.components.xslt.XSLTProcessorImpl at org.apache.cocoon.transformation.TraxTransformer.configure(TraxTransformer.j ava:254) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(De faultComponentFactory.java:185) at org.apache.avalon.excalibur.pool.ResourceLimitingPool.newPoolable(ResourceLi mitingPool.java:629) at org.apache.avalon.excalibur.pool.ResourceLimitingPool.get(ResourceLimitingPo ol.java:359) at org.apache.avalon.excalibur.component.PoolableComponentHandler.doGet(Poolabl eComponentHandler.java:186) at org.apache.avalon.excalibur.component.ComponentHandler.get(ComponentHandler. java:139) at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(Exca liburComponentSelector.java:277) at org.apache.cocoon.components.ExtendedComponentSelector.select(ExtendedCompon entSelector.java:299) at org.apache.cocoon.components.ExtendedComponentSelector.select(ExtendedCompon entSelector.java:303) at
RE: Urgent: Error Installing Cocoon latest war using in Weblogic 6.1 sp2
From: Konstantin Piroumian [mailto:[EMAIL PROTECTED]] From: Vadim Gritsenko [EMAIL PROTECTED] ... First you have to fix/force BEA to fix weblogic itself. It blindly replaces these properties with links to BEA's versions of parser and XSLT engine in (IIRC) T3SrvrImpl. I was able to deploy Cocoon in WL 7.0 using BEA's version of Xerces and Xalan. Can't say about the future, though. It's also possible to create custom XML registry and assign it to an application, IIRC. FWIW... It could be possible to remove these lines if you make some configuration in the proprietary WEB-INF/weblogic.xml file. I think, that it's also possible to override system settings using -Dparam=value in the server startup script. I will check this too. No, it was hardcoded (see above), so you can not replace it this way. And (I have wl700b) it is still here: System.setProperty(org.xml.sax.driver, weblogic.apache.xerces.parsers.SAXParser); System.setProperty(javax.xml.parsers.SAXParserFactory, weblogic.xml.jaxp.RegistrySAXParserFactory); System.setProperty(javax.xml.parsers.DocumentBuilderFactory, weblogic.xml.jaxp.RegistryDocumentBuilderFactory); System.setProperty(javax.xml.transform.TransformerFactory, weblogic.xml.jaxp.RegistrySAXTransformerFactory); System.setProperty(javax.xml.soap.MessageFactory, weblogic.webservice.core.soap.MessageFactoryImpl); System.setProperty(javax.xml.rpc.ServiceFactory, weblogic.webservice.core.rpc.ServiceFactoryImpl); Only way to override this without coding is to use proprietary config files. Vadim Anyway, WL 7.0 claims that it's Java 1.3 compliant platform and from the first look it seems that it's implements specifications better than 6.x versions. Konstantin Vadim -- Konstantin - 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: Urgent: Error Installing Cocoon latest war using in Weblogic 6.1 sp2
From: Vadim Gritsenko [EMAIL PROTECTED] From: Chitharanjan Das [mailto:[EMAIL PROTECTED]] Thanks Vadim, Did remove all the manifest files 1. Got the following error org/apache/cocoon/servlet/CocoonServlet - No class found error Now you have to rename all jars from the form XXX.YYY.jar to XXX-YYY.jar. Basically, WebLogic can't handle jar files with more than one dot in the name. NOTE: THIS IS ONLY FOR WEBLOGIC6.1 SP2 AND HIGHER, AND NOT FOR 6.1 SP1 AND LOWER. I can confirm that this is true also for WebLogic 7.0. I've been able to deploy Cocoon as a directory (didn't try WAR yet) only by renaming jar names without any other file moving/coping or changing the start script. Win 2000 Cocoon CVS HEAD WebLogic 7.0 2. I then added the jar cocoon-2.1-dev.jar to the class path explicitly in the startweblogic.cmd file. The above error dispappeared. However Please don't do this. See above. Vadim got the error java.lang.NoClassDefFoundError: org/apache/log/format/Formatter at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:486) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111) at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:297) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:237) 3. I then added the jar file logkit-xxx to the classpath and the above error disappeared. However java.lang.NoClassDefFoundError: org/apache/avalon/framework/context/Context Why is this happening? Can anyone explain this. Is there a logical way of determining which jar files need to be explicitly set in classpath and which jar files can be left in the WEB-INF/lib directory Note: The number of files in the WEB-INF of cocoon does not match the _tmp_*/WEB-INF/lib directory created by Weblogic 6.1 Thanks in advance, Chiths -Original Message- From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 08, 2002 1:42 PM To: [EMAIL PROTECTED] Subject: RE: Urgent: Error Installing Cocoon latest war using in Weblogic 6.1 sp2 WebLogic 6.1 sp1 has fewer bugs in it. java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1525) Remove META-INF/manifest.mf from all jar files in the webapp. Vadim -- Resistance is futile. -Original Message- From: Chitharanjan Das [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 08, 2002 4:18 PM To: [EMAIL PROTECTED] Subject: Urgent: Error Installing Cocoon latest war using in Weblogic 6.1 sp2 Hello. I followed the instructions as depicted in the cocoon website: I built cocoon (latest from CVS ) 1. Copied cocoon\build\cocoon\webapp into config\mydomain\applications\ directory Renamed the webApp directory as cocoon. i.e. After rename config\mydomain\applications\cocoon 2. copied xerces-xxx.jar and xmlapis.jar to weblogic/lib directory 3. Modified startweblogic.cmd and added the above 2 jar files into the classpath 4. Added the following snippet in config.xml Application Deployed=true Name=Cocoon Path=./config/mydomain/applications WebAppComponent Name=cocoon Targets=myserver URI=cocoon/ /Application 5. restarted weblogic During startup I get an exception, the log file states the following java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1525) at ... - 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: Urgent: Error Installing Cocoon latest war using in Weblogic 6.1 sp2
From: Konstantin Piroumian [mailto:[EMAIL PROTECTED]] From: Konstantin Piroumian [EMAIL PROTECTED] ... I can confirm that this is true also for WebLogic 7.0. I've been able to deploy Cocoon as a directory (didn't try WAR yet) only by renaming jar names without any other file moving/coping or changing the start script. Sorry, it was a little lie, I had to comment out some lines (marked as FIXME by Vadim) from CocoonServlet.java and Cocoon.java files. In that lines system properties were set for JAXP and that prevented WL to startup. Vadim, isn't it better to remove those lines and use standart way of specifying JAXP properties (jaxp.properties or so)? First you have to fix/force BEA to fix weblogic itself. It blindly replaces these properties with links to BEA's versions of parser and XSLT engine in (IIRC) T3SrvrImpl. FWIW... It could be possible to remove these lines if you make some configuration in the proprietary WEB-INF/weblogic.xml file. Vadim -- Konstantin ... - 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: Installing cocoon
Conrad, Thanks by your attention !!! I would like a lot of if you returned your steps to install the 4.0.3 + cocoon 2.0.2 + j2sdk 1.4. So, like you have more experience with this softwares, I would like to know if this is a better option to convert files xml to pdf !?!?! Do you have some examples about this ?!?! Thanks, one more time !! Robert Conrad F. D'Cruz wrote: Bobrs, Yes I struggled with that one too. You will have to download the cocoon-2.0.2-src.zip and that's where you will find the missing pieces. I did have trouble with J2DK1.4 ... so I backtracked to jdk1.3 + tomcat 4.0.1 + cocoon 2.0.1 and everything worked okay. I am planning on revisiting the 4.0.3 + cocoon 2.0.2 + j2sdk 1.4 install sometime next week and I will document the steps (and/or frustrations and email them to you.) Hope that helps. Conrad - 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: Installing cocoon
Robert, I would not classify myself as a C2 expert by any long shot. I have been bloodying my nose on Cocoon for about 5 months. Every day is a new experience ... every step is a new experience. If I succeed in the install I will send you the steps. If I fail ... you will hear about that too!! By the time I get done mastering Cocoon 2.0 maybe I will become a philosopher :) Conrad Bobrs wrote: Conrad, Thanks by your attention !!! I would like a lot of if you returned your steps to install the 4.0.3 + cocoon 2.0.2 + j2sdk 1.4. So, like you have more experience with this softwares, I would like to know if this is a better option to convert files xml to pdf !?!?! Do you have some examples about this ?!?! Thanks, one more time !! Robert Conrad F. D'Cruz wrote: Bobrs, Yes I struggled with that one too. You will have to download the cocoon-2.0.2-src.zip and that's where you will find the missing pieces. I did have trouble with J2DK1.4 ... so I backtracked to jdk1.3 + tomcat 4.0.1 + cocoon 2.0.1 and everything worked okay. I am planning on revisiting the 4.0.3 + cocoon 2.0.2 + j2sdk 1.4 install sometime next week and I will document the steps (and/or frustrations and email them to you.) Hope that helps. Conrad - 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: Installing cocoon
Have you all read the installation instructions? Getting it to work in 4.0.3 is a pain. Either be happy with 4.0.1 or go to 4.0.4b2 both of which are easy. I'd consider tomcat 4.0.2/3 duds overall anyhow. I've not had time to really look into what exactly is wrong with them, but things tend not to work in them that work elsewhere. Be advised that jdk 1.4 breaks database code. You'll have to create special compiles of avalon components to get that puppy to fly. Sun feels this only effects database vendors -Andy On Sun, 2002-05-05 at 09:36, Conrad F. D'Cruz wrote: Robert, I would not classify myself as a C2 expert by any long shot. I have been bloodying my nose on Cocoon for about 5 months. Every day is a new experience ... every step is a new experience. If I succeed in the install I will send you the steps. If I fail ... you will hear about that too!! By the time I get done mastering Cocoon 2.0 maybe I will become a philosopher :) Conrad Bobrs wrote: Conrad, Thanks by your attention !!! I would like a lot of if you returned your steps to install the 4.0.3 + cocoon 2.0.2 + j2sdk 1.4. So, like you have more experience with this softwares, I would like to know if this is a better option to convert files xml to pdf !?!?! Do you have some examples about this ?!?! Thanks, one more time !! Robert Conrad F. D'Cruz wrote: Bobrs, Yes I struggled with that one too. You will have to download the cocoon-2.0.2-src.zip and that's where you will find the missing pieces. I did have trouble with J2DK1.4 ... so I backtracked to jdk1.3 + tomcat 4.0.1 + cocoon 2.0.1 and everything worked okay. I am planning on revisiting the 4.0.3 + cocoon 2.0.2 + j2sdk 1.4 install sometime next week and I will document the steps (and/or frustrations and email them to you.) Hope that helps. Conrad - 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] -- http://www.superlinksoftware.com - software solutions for business http://jakarta.apache.org/poi - Excel/Word/OLE 2 Compound Document in Java http://krysalis.sourceforge.net/centipede - the best build/project structure a guy/gal could have! - Make Ant simple on complex Projects! The avalanche has already started. It is too late for the pebbles to vote. -Ambassador Kosh - 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]
Installing cocoon
Hello All. I was trying install the cocoon on Tomcat 4.03 for win32.. But, I dont understand the installation guide on the Cocoon's site.. I get this file: cocoon-2.0.2-bin.zip.. But, in the tutorial, i have this step: Java 1.4 configuration Cocoon requires more recent versions of the Xerces and Xalan libraries than those shipped with j2se 1.4. To override bundled libraries, follow these steps: Create %JAVA_HOME%\jre\lib\endorsed directory. Copy xerces-XXX.jar, xalan-XXX.jar, and the xml-apis.jar from the .\lib\core\ to the %JAVA_HOME%\jre\lib\endorsed\ directory. = So, I would like to know, where stay this directory .\lib\core\ ??? In coccon directory when I decompress the cocoon-2.0.2-bin.zip file ?!?! I dont found anything !!! Well, I have: - Tomcat 4.0.3 - j2sdk 1.4.0 - cocoon-2.0.2-bin.zip - I have to get other file to install cocoon in win32 !??! Sorry my ask's. But I dont know more what I have to do !!! If someone have any tutorial to installation in win32.. Thanks ALL !!! - 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: Installing cocoon
Bobrs, Yes I struggled with that one too. You will have to download the cocoon-2.0.2-src.zip and that's where you will find the missing pieces. I did have trouble with J2DK1.4 ... so I backtracked to jdk1.3 + tomcat 4.0.1 + cocoon 2.0.1 and everything worked okay. I am planning on revisiting the 4.0.3 + cocoon 2.0.2 + j2sdk 1.4 install sometime next week and I will document the steps (and/or frustrations and email them to you.) Hope that helps. Conrad Bobrs wrote: Hello All. I was trying install the cocoon on Tomcat 4.03 for win32.. But, I dont understand the installation guide on the Cocoon's site.. I get this file: cocoon-2.0.2-bin.zip.. But, in the tutorial, i have this step: Java 1.4 configuration Cocoon requires more recent versions of the Xerces and Xalan libraries than those shipped with j2se 1.4. To override bundled libraries, follow these steps: Create %JAVA_HOME%\jre\lib\endorsed directory. Copy xerces-XXX.jar, xalan-XXX.jar, and the xml-apis.jar from the .\lib\core\ to the %JAVA_HOME%\jre\lib\endorsed\ directory. = So, I would like to know, where stay this directory .\lib\core\ ??? In coccon directory when I decompress the cocoon-2.0.2-bin.zip file ?!?! I dont found anything !!! Well, I have: - Tomcat 4.0.3 - j2sdk 1.4.0 - cocoon-2.0.2-bin.zip - I have to get other file to install cocoon in win32 !??! Sorry my ask's. But I dont know more what I have to do !!! If someone have any tutorial to installation in win32.. Thanks ALL !!! - 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]
Problem installing cocoon on debian
I have this error in the log file java.lang.NoClassDefFoundError: javax/xml/transform/TransformerConfigurationException at org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.createLogicsheet(AbstractMarkupLanguage.java:169) at org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.configure(AbstractMarkupLanguage.java:117) at org.apache.avalon.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:107) at org.apache.avalon.component.DefaultComponentHandler.get(DefaultComponentHandler.java:191) at org.apache.avalon.component.DefaultComponentSelector.select(DefaultComponentSelector.java:176) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:166) at org.apache.cocoon.sitemap.Handler.run(Handler.java:190) at java.lang.Thread.run(Thread.java:484) The log file also shows I have the following classes in my classpath: lasspath = /var/lib/tomcat/webapps/cocoon2/WEB-INF/classes :/var/lib/tomcat/webapps/cocoon2/WEB-INF/lib/Tidy.jar:/var/lib/tomcat/webapps/cocoon2/WEB-INF/lib/avalonapi.jar :/var/lib/tomcat/webapps/cocoon2/WEB-INF/lib/batik-all.jar :/usr/share/java/bsf.jar:/usr/share/java/cocoon2.jar :/var/lib/tomcat/webapps/cocoon2/WEB-INF/lib/fop-0.17.0.jar:/usr/share/java/fop-0.20.3rc.jar :/var/lib/tomcat/webapps/cocoon2/WEB-INF/lib/hsqldb.jar:/var/lib/tomcat/webapps/cocoon2/WEB-INF/lib/jakarta-regexp-1.2.jar :/var/lib/tomcat/webapps/cocoon2/WEB-INF/lib/jstyle.jar:/var/lib/tomcat/webapps/cocoon2/WEB-INF/lib/junit.jar :/var/lib/tomcat/webapps/cocoon2/WEB-INF/lib/logkit.jar :/var/lib/tomcat/webapps/cocoon2/WEB-INF/lib/maybeupload.jar:/var/lib/tomcat/webapps/cocoon2/WEB-INF/lib/rhino.jar :/var/lib/tomcat/webapps/cocoon2/WEB-INF/lib/velocity-1.0.1-rc1.jar:/usr/share/java/xalan-2.3.1.jar :/var/lib/tomcat/webapps/cocoon2/WEB-INF/lib/xt.jar:/usr/share/java/repository:/usr/lib/j2sdk1.3/lib/dt.jar :/usr/lib/j2sdk1.3/lib:tools.jar:/usr/share/tomcat/lib/tomcat.jar:/usr/share/java/xerces.jar:/usr/share/java/fop.jar: Is there any jar files that I am missing, or anything else I need to do to get stop this error? Thanks for any info etc, Daryl Moulder - When everything is not as square as it may seem. - 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: Problem installing cocoon on debian
Try to add to classpath xerces.jar and xml-apis.jar Regards Jerzy Kut - Original Message - From: Daryl Moulder [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 22, 2002 2:10 PM Subject: Problem installing cocoon on debian I have this error in the log file java.lang.NoClassDefFoundError: javax/xml/transform/TransformerConfigurationException at org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.createLo gicsheet(AbstractMarkupLanguage.java:169) at org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.configur e(AbstractMarkupLanguage.java:117) at org.apache.avalon.component.DefaultComponentFactory.newInstance(DefaultCompo nentFactory.java:107) at org.apache.avalon.component.DefaultComponentHandler.get(DefaultComponentHand ler.java:191) at org.apache.avalon.component.DefaultComponentSelector.select(DefaultComponent Selector.java:176) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr ogramGeneratorImpl.java:166) at org.apache.cocoon.sitemap.Handler.run(Handler.java:190) at java.lang.Thread.run(Thread.java:484) The log file also shows I have the following classes in my classpath: lasspath = /var/lib/tomcat/webapps/cocoon2/WEB-INF/classes :/var/lib/tomcat/webapps/cocoon2/WEB-INF/lib/Tidy.jar:/var/lib/tomcat/webapp s/cocoon2/WEB-INF/lib/avalonapi.jar :/var/lib/tomcat/webapps/cocoon2/WEB-INF/lib/batik-all.jar :/usr/share/java/bsf.jar:/usr/share/java/cocoon2.jar :/var/lib/tomcat/webapps/cocoon2/WEB-INF/lib/fop-0.17.0.jar:/usr/share/java/ fop-0.20.3rc.jar :/var/lib/tomcat/webapps/cocoon2/WEB-INF/lib/hsqldb.jar:/var/lib/tomcat/weba pps/cocoon2/WEB-INF/lib/jakarta-regexp-1.2.jar :/var/lib/tomcat/webapps/cocoon2/WEB-INF/lib/jstyle.jar:/var/lib/tomcat/weba pps/cocoon2/WEB-INF/lib/junit.jar :/var/lib/tomcat/webapps/cocoon2/WEB-INF/lib/logkit.jar :/var/lib/tomcat/webapps/cocoon2/WEB-INF/lib/maybeupload.jar:/var/lib/tomcat /webapps/cocoon2/WEB-INF/lib/rhino.jar :/var/lib/tomcat/webapps/cocoon2/WEB-INF/lib/velocity-1.0.1-rc1.jar:/usr/sha re/java/xalan-2.3.1.jar :/var/lib/tomcat/webapps/cocoon2/WEB-INF/lib/xt.jar:/usr/share/java/reposito ry:/usr/lib/j2sdk1.3/lib/dt.jar :/usr/lib/j2sdk1.3/lib:tools.jar:/usr/share/tomcat/lib/tomcat.jar:/usr/share /java/xerces.jar:/usr/share/java/fop.jar: Is there any jar files that I am missing, or anything else I need to do to get stop this error? Thanks for any info etc, Daryl Moulder - When everything is not as square as it may seem. - 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: Installing Cocoon on Mac OSX with Tomcat
At 12.01 08/04/2002 +0200, you wrote: At 09.39 05/04/2002 -0500, you wrote: ALL NEWBIES READ THIS: Use Tomcat 4.0.1! Last week I've successfully installed Cocoon 2.0.2 with Tomcat 4.0.3 on Mac OS X 10.1.3 Sorry, last week I've installed successfully cocoon 2.0.1 with tomcat 4.0.3 on Mac OS X, not cocoon 2.0.2 I'll try to install it this morning excuse me for my error... thank's Ciao Marina To prevent this error: org.apache.cocoon.ProcessingException: Error compiling sitemap: java.lang.NoClassDefFoundError: org/w3c/dom/svg/SVGPaint at org.apache.cocoon.sitemap.Handler.run(Handler.java:295) [] copy the batik-libs-1.1.1.jar and xml-apis.jar file to the common/lib directory http://localhost:8080/cocoon works even if you are not connect to internet (if you don't use MS Internet Explorer) Ciao Marina Vadim From: Randy Smith [mailto:[EMAIL PROTECTED]] Hi gang, newbie alert I'm trying to install Cocoon v2.0.2 with Tomcat v4.0.3 on Mac OSX v10.1.3 and I'm having some problems. I'm sure the main problem is that I'm new at all this but I had to start somewhere so I've simply leapt in. I have Tomcat installed and working and I was told by someone on the [EMAIL PROTECTED] list that all I had to do was put the cocoon.war file in the tomcat/webapps directory, restart tomcat and that was it. Seemed too easy and naturally it didn't work for me. I was wondering if I still had to follow some of the other install steps listed at http://xml.apache.org/cocoon/installing/index.html? Such as replacing the xalan-XXX.jar, xercesImpl-XXX.jar and xml-apis.jar files in the Tomcat installed files with the ones from the Cocoon package and also editing the cocoon/src/webapp/WEB-INF/web.xml file? The Cocoon package I started with was cocoon-2.0.2-bin.tar.gz Also I'm wondering, with the cocoon.war file in place, exactly where should the Cocoon directory should go? Or does the cocoon.war file cover it all? I've installed Tomcat in ... /usr/local/jakarta-tomcat-4.0.3 /usr/local/jakarta-tomcat-4.0.3/webapps/cocoon.war Maybe I should put the cocoon directory in ... /usr/local/jakarta-tomcat-4.0.3/cocoon/ One last question just to confirm my rookie status ... do I need the JDK and ANT installed for any of this? If so, what versions do I need with OSX? I'm probably putting the horse before the carriage but I was hoping I could get XML transforming without having to do all the clean builds etc. and get up to speed with everything else as I go along. I should probably asking for the name of a good book to get me going. I hope Matthew and Carsten are dedicating several chapters to installing Cocoon! /newbie alert Many thanks in advance, Randy - 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] --- L'unico modo per accelerare windows 9.x/2K/XP e' a 9,8 m/s^2 ;-) Utente Linux registrato: #218195 (http://counter.li.org) - 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] --- L'unico modo per accelerare windows 9.x/2K/XP e' a 9,8 m/s^2 ;-) Utente Linux registrato: #218195 (http://counter.li.org) - 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: Installing Cocoon on Mac OSX with Tomcat
At 09.39 05/04/2002 -0500, you wrote: ALL NEWBIES READ THIS: Use Tomcat 4.0.1! Last week I've successfully installed Cocoon 2.0.2 with Tomcat 4.0.3 on Mac OS X 10.1.3 To prevent this error: org.apache.cocoon.ProcessingException: Error compiling sitemap: java.lang.NoClassDefFoundError: org/w3c/dom/svg/SVGPaint at org.apache.cocoon.sitemap.Handler.run(Handler.java:295) [] copy the batik-libs-1.1.1.jar and xml-apis.jar file to the common/lib directory http://localhost:8080/cocoon works even if you are not connect to internet (if you don't use MS Internet Explorer) Ciao Marina Vadim From: Randy Smith [mailto:[EMAIL PROTECTED]] Hi gang, newbie alert I'm trying to install Cocoon v2.0.2 with Tomcat v4.0.3 on Mac OSX v10.1.3 and I'm having some problems. I'm sure the main problem is that I'm new at all this but I had to start somewhere so I've simply leapt in. I have Tomcat installed and working and I was told by someone on the [EMAIL PROTECTED] list that all I had to do was put the cocoon.war file in the tomcat/webapps directory, restart tomcat and that was it. Seemed too easy and naturally it didn't work for me. I was wondering if I still had to follow some of the other install steps listed at http://xml.apache.org/cocoon/installing/index.html? Such as replacing the xalan-XXX.jar, xercesImpl-XXX.jar and xml-apis.jar files in the Tomcat installed files with the ones from the Cocoon package and also editing the cocoon/src/webapp/WEB-INF/web.xml file? The Cocoon package I started with was cocoon-2.0.2-bin.tar.gz Also I'm wondering, with the cocoon.war file in place, exactly where should the Cocoon directory should go? Or does the cocoon.war file cover it all? I've installed Tomcat in ... /usr/local/jakarta-tomcat-4.0.3 /usr/local/jakarta-tomcat-4.0.3/webapps/cocoon.war Maybe I should put the cocoon directory in ... /usr/local/jakarta-tomcat-4.0.3/cocoon/ One last question just to confirm my rookie status ... do I need the JDK and ANT installed for any of this? If so, what versions do I need with OSX? I'm probably putting the horse before the carriage but I was hoping I could get XML transforming without having to do all the clean builds etc. and get up to speed with everything else as I go along. I should probably asking for the name of a good book to get me going. I hope Matthew and Carsten are dedicating several chapters to installing Cocoon! /newbie alert Many thanks in advance, Randy - 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] --- L'unico modo per accelerare windows 9.x/2K/XP e' a 9,8 m/s^2 ;-) Utente Linux registrato: #218195 (http://counter.li.org) - 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]
problems installing cocoon 2.0.1 on websphere 3.5.4
hi list, i know, this is a very common question. i don't work too much with websphere, but i have successfully deployed cocoon2.1-dev on websphere 3.5.4 a while ago. now i have to deploy cocoon 2.0.1 and i get the following exception in the access.log file: org.apache.avalon.framework.configuration.ConfigurationException: Could not load parser org.apache.cocoon.components.parser.XercesParser i followed Jack Hirasawa's explanations about installing cocoon on websphere 3.5 (which worked before...). could anyone help me, please? thank you, moritz. - 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: Installing Cocoon on Mac OSX with Tomcat
On Fri, 5 Apr 2002, Randy Smith wrote: Hi gang, I'm trying to install Cocoon v2.0.2 with Tomcat v4.0.3 on Mac OSX v10.1.3 and I'm having some problems. I'm sure the main problem is that I'm new at all this but I had to start somewhere so I leapt in. I have Tomcat installed and working and I was told by someone on the [EMAIL PROTECTED] list that all I had to do was put the cocoon.war file in the tomcat/webapps directory, restart tomcat and that was it. Seemed too easy and it naturally it didn't work for me. I was wondering if I still had to follow some of the steps listed at http://xml.apache.org/cocoon/installing/index.html? Such as replacing the xalan-XXX.jar, xercesImpl-XXX.jar and xml-apis.jar files in the Tomcat installed files with the ones from the Cocoon package and also editing the cocoon/src/webapp/WEB-INF/web.xml file? Actually, Randy, you can safely ignore a good chunk of that:) The documentation was written with Tomcat 3.2 in mind. Tomcat 4+ doesn't have the same problems, so you don't have to use the same fixes. These days I can usually just take the cocoon.war file from cocoon-xxx-bin.tar.gz, plop it into the webapps directory, and start Tomcat. (However there do seem to be issues with Tomcat 4.0.3, so I can't say about that.) The Cocoon package I started with was cocoon-2.0.2-bin.tar.gz Also I'm wondering exactly where the Cocoon directory should go or does the cocoon.war file cover it all. I've installed Tomcat in ... /usr/local/jakarta-tomcat-4.0.3 /usr/local/jakarta-tomcat-4.0.3/webapps/cocoon.war Yep, that's the place for cocoon:) Maybe I should put the cocoon directory in ... /usr/local/jakarta-tomcat-4.0.3/cocoon/ Nope, cocoon's a webapp, so it gets placed in the webapps directory. As you can probably tell I'm new to Unix and its environment and I was hoping I could get XML transforming without having to do all the clean builds etc. Many thanks in advance, Randy The only time you'll need to deal with the sourcecode is if (a) you're using something that isn't working in 2.0.2 and you need to go to CVS or (b) if you're using something that isn't compiled into the .WAR and you want to throw it in there. For example, there's a MailAction class that is only compiled if javax.mail is in the classpath.. to use that, I had to recompile the WAR. I wish you the best of luck with C2! Liam Morley - 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: Installing Cocoon on Mac OSX with Tomcat
Hi Moritz, First of all, I meant no disrespect to you after you kindly responded to this thread on the [EMAIL PROTECTED] and have now caught me in a cross posting to this list. After reading the suggestion that all I had to do was re-locate the cocoon.war file and that was it. Then discovered the cocoon-users list and thought it was more applicable to my questions the the java-dev list. This also hasn't been a good week for me to be learning all this stuff. My wife, 3 kids (2, 6 8) and myself were hit hard with the flu bug this week. Nothing worse then being sick when your kids are sick. Anyway, enough of the soap opera ... comments interspersed below ... on 4/5/02 9:37 AM, Moritz Petersen at [EMAIL PROTECTED] wrote: hi randy, I have Tomcat installed and working and I was told by someone on the [EMAIL PROTECTED] list that all I had to do was put the cocoon.war file in the tomcat/webapps directory, restart tomcat and that was it. Seemed too easy and naturally it didn't work for me. I was wondering if could you please tell us exactly what the error was, that you've got? There was no error message per se, there was simply no XML parsing happening. The only chunk of the XML file to be displayed in the browser window was ... type=text/html. So cocoon is not loaded and no transformations happend. I still had to follow some of the other install steps listed at http://xml.apache.org/cocoon/installing/index.html? Such as replacing the xalan-XXX.jar, xercesImpl-XXX.jar and xml-apis.jar files in the Tomcat installed files with the ones from the Cocoon package and also editing the cocoon/src/webapp/WEB-INF/web.xml file? yes, sure, you have to do that. Okay I've done this but there is one file that I can't find. From http://xml.apache.org/cocoon/installing/index.html Copy cocoon/lib/core/batik-libs-XXX.jar to the tomcat/common/lib directory. I began my installation with cocoon-2.0.2-bin.tar.gz and un-packaged it but cannot find this file in the cocoon/lib/core directory, nor can I find it at all. Now I'm wondering if I need to go to http://xml.apache.org/batik/dist/ and look for it there and hope I don't have to build it. /usr/local/jakarta-tomcat-4.0.3 /usr/local/jakarta-tomcat-4.0.3/webapps/cocoon.war that is correct! /usr/local/jakarta-tomcat-4.0.3/cocoon/ not, if you didn't configure the server.xml file in the config directory (don't do that). Where then should I keep my cocoon directory? Or is all I really need cocoon.war, xalan-XXX.jar, xercesImpl-XXX.jar, xml-apis.jar and batik-libs-XXX.jar? One last question just to confirm my rookie status ... do I need the JDK and ANT installed for any of this? If so, what versions do I need with OSX? the jdk is default on osx, you don't need any more than that. you can use ant for development (i would appreciate that), but it is not a must. i don't know about your mac, but if you are not connected to the internet, you might encounter some problems with localhost. try to use the following url, to access the cocoon webapp: http://127.0.0.1:8080/cocoon/ I'm on a cable modem so basically its always there. Anyway that doesn't work yet and I didn't expect it to since I still things to sort out. So I'm off to sort out this batik-libs-XXX.jar file and to install ANT but I'm also considering Vadim's advice ALL NEWBIES READ THIS: Use Tomcat 4.0.1!. The install instructions look a lot easier. Cheers and thanks, Randy PS: Next year I'm getting a flu shot. - 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]
Installing Cocoon on Mac OSX with Tomcat
Hi gang, newbie alert I'm trying to install Cocoon v2.0.2 with Tomcat v4.0.3 on Mac OSX v10.1.3 and I'm having some problems. I'm sure the main problem is that I'm new at all this but I had to start somewhere so I've simply leapt in. I have Tomcat installed and working and I was told by someone on the [EMAIL PROTECTED] list that all I had to do was put the cocoon.war file in the tomcat/webapps directory, restart tomcat and that was it. Seemed too easy and naturally it didn't work for me. I was wondering if I still had to follow some of the other install steps listed at http://xml.apache.org/cocoon/installing/index.html? Such as replacing the xalan-XXX.jar, xercesImpl-XXX.jar and xml-apis.jar files in the Tomcat installed files with the ones from the Cocoon package and also editing the cocoon/src/webapp/WEB-INF/web.xml file? The Cocoon package I started with was cocoon-2.0.2-bin.tar.gz Also I'm wondering, with the cocoon.war file in place, exactly where should the Cocoon directory should go? Or does the cocoon.war file cover it all? I've installed Tomcat in ... /usr/local/jakarta-tomcat-4.0.3 /usr/local/jakarta-tomcat-4.0.3/webapps/cocoon.war Maybe I should put the cocoon directory in ... /usr/local/jakarta-tomcat-4.0.3/cocoon/ One last question just to confirm my rookie status ... do I need the JDK and ANT installed for any of this? If so, what versions do I need with OSX? I'm probably putting the horse before the carriage but I was hoping I could get XML transforming without having to do all the clean builds etc. and get up to speed with everything else as I go along. I should probably asking for the name of a good book to get me going. I hope Matthew and Carsten are dedicating several chapters to installing Cocoon! /newbie alert Many thanks in advance, Randy - 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: Installing Cocoon on Mac OSX with Tomcat
ALL NEWBIES READ THIS: Use Tomcat 4.0.1! Vadim From: Randy Smith [mailto:[EMAIL PROTECTED]] Hi gang, newbie alert I'm trying to install Cocoon v2.0.2 with Tomcat v4.0.3 on Mac OSX v10.1.3 and I'm having some problems. I'm sure the main problem is that I'm new at all this but I had to start somewhere so I've simply leapt in. I have Tomcat installed and working and I was told by someone on the [EMAIL PROTECTED] list that all I had to do was put the cocoon.war file in the tomcat/webapps directory, restart tomcat and that was it. Seemed too easy and naturally it didn't work for me. I was wondering if I still had to follow some of the other install steps listed at http://xml.apache.org/cocoon/installing/index.html? Such as replacing the xalan-XXX.jar, xercesImpl-XXX.jar and xml-apis.jar files in the Tomcat installed files with the ones from the Cocoon package and also editing the cocoon/src/webapp/WEB-INF/web.xml file? The Cocoon package I started with was cocoon-2.0.2-bin.tar.gz Also I'm wondering, with the cocoon.war file in place, exactly where should the Cocoon directory should go? Or does the cocoon.war file cover it all? I've installed Tomcat in ... /usr/local/jakarta-tomcat-4.0.3 /usr/local/jakarta-tomcat-4.0.3/webapps/cocoon.war Maybe I should put the cocoon directory in ... /usr/local/jakarta-tomcat-4.0.3/cocoon/ One last question just to confirm my rookie status ... do I need the JDK and ANT installed for any of this? If so, what versions do I need with OSX? I'm probably putting the horse before the carriage but I was hoping I could get XML transforming without having to do all the clean builds etc. and get up to speed with everything else as I go along. I should probably asking for the name of a good book to get me going. I hope Matthew and Carsten are dedicating several chapters to installing Cocoon! /newbie alert Many thanks in advance, Randy - 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: Installing Cocoon on Mac OSX with Tomcat
At 09.39 05/04/2002 -0500, you wrote: ALL NEWBIES READ THIS: Use Tomcat 4.0.1! Last week I've successfully installed Cocoon 2.0.2 with Tomcat 4.0.3 on Mac OS X 10.1.3 To prevent this error: org.apache.cocoon.ProcessingException: Error compiling sitemap: java.lang.NoClassDefFoundError: org/w3c/dom/svg/SVGPaint at org.apache.cocoon.sitemap.Handler.run(Handler.java:295) [] copy the batik-libs-1.1.1.jar and xml-apis.jar file to the common/lib directory http://localhost:8080/cocoon works even if you are not connect to internet (if you don't use MS Internet Explorer) Ciao Marina Vadim From: Randy Smith [mailto:[EMAIL PROTECTED]] Hi gang, newbie alert I'm trying to install Cocoon v2.0.2 with Tomcat v4.0.3 on Mac OSX v10.1.3 and I'm having some problems. I'm sure the main problem is that I'm new at all this but I had to start somewhere so I've simply leapt in. I have Tomcat installed and working and I was told by someone on the [EMAIL PROTECTED] list that all I had to do was put the cocoon.war file in the tomcat/webapps directory, restart tomcat and that was it. Seemed too easy and naturally it didn't work for me. I was wondering if I still had to follow some of the other install steps listed at http://xml.apache.org/cocoon/installing/index.html? Such as replacing the xalan-XXX.jar, xercesImpl-XXX.jar and xml-apis.jar files in the Tomcat installed files with the ones from the Cocoon package and also editing the cocoon/src/webapp/WEB-INF/web.xml file? The Cocoon package I started with was cocoon-2.0.2-bin.tar.gz Also I'm wondering, with the cocoon.war file in place, exactly where should the Cocoon directory should go? Or does the cocoon.war file cover it all? I've installed Tomcat in ... /usr/local/jakarta-tomcat-4.0.3 /usr/local/jakarta-tomcat-4.0.3/webapps/cocoon.war Maybe I should put the cocoon directory in ... /usr/local/jakarta-tomcat-4.0.3/cocoon/ One last question just to confirm my rookie status ... do I need the JDK and ANT installed for any of this? If so, what versions do I need with OSX? I'm probably putting the horse before the carriage but I was hoping I could get XML transforming without having to do all the clean builds etc. and get up to speed with everything else as I go along. I should probably asking for the name of a good book to get me going. I hope Matthew and Carsten are dedicating several chapters to installing Cocoon! /newbie alert Many thanks in advance, Randy - 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] --- L'unico modo per accelerare windows 9.x/2K/XP e' a 9,8 m/s^2 ;-) Utente Linux registrato: #218195 (http://counter.li.org) - 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: Installing Cocoon on Mac OSX with Tomcat
Here's Apple's way to do it http://developer.apple.com/internet/macosx/tomcat1.html On 04/05/02 5:46, Randy Smith [EMAIL PROTECTED] wrote: Hi gang, newbie alert I'm trying to install Cocoon v2.0.2 with Tomcat v4.0.3 on Mac OSX v10.1.3 and I'm having some problems. I'm sure the main problem is that I'm new at all this but I had to start somewhere so I've simply leapt in. I have Tomcat installed and working and I was told by someone on the [EMAIL PROTECTED] list that all I had to do was put the cocoon.war file in the tomcat/webapps directory, restart tomcat and that was it. Seemed too easy and naturally it didn't work for me. I was wondering if I still had to follow some of the other install steps listed at http://xml.apache.org/cocoon/installing/index.html? Such as replacing the xalan-XXX.jar, xercesImpl-XXX.jar and xml-apis.jar files in the Tomcat installed files with the ones from the Cocoon package and also editing the cocoon/src/webapp/WEB-INF/web.xml file? The Cocoon package I started with was cocoon-2.0.2-bin.tar.gz Also I'm wondering, with the cocoon.war file in place, exactly where should the Cocoon directory should go? Or does the cocoon.war file cover it all? I've installed Tomcat in ... /usr/local/jakarta-tomcat-4.0.3 /usr/local/jakarta-tomcat-4.0.3/webapps/cocoon.war Maybe I should put the cocoon directory in ... /usr/local/jakarta-tomcat-4.0.3/cocoon/ One last question just to confirm my rookie status ... do I need the JDK and ANT installed for any of this? If so, what versions do I need with OSX? I'm probably putting the horse before the carriage but I was hoping I could get XML transforming without having to do all the clean builds etc. and get up to speed with everything else as I go along. I should probably asking for the name of a good book to get me going. I hope Matthew and Carsten are dedicating several chapters to installing Cocoon! /newbie alert Many thanks in advance, Randy - 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] -- Carlos E. Araya ---+ WebCT Administrator/Trainer P | California Virtual Campus - | C/O De Anza College G | 21250 Stevens Creek Blvd ---+ Cupertino, CA 95014 email [EMAIL PROTECTED] web http://www.cvc1.org/ (work) http://www.silverwolf-net.net (personal) phone 408 257 0420 (work) PGP Fingerprint:E629 5DFD 7EAE 4995 E9D7 3D2F 5A9F 0CE7 DFE7 1756 Hey! It compiles! Ship it! - 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: Installing Cocoon on Mac OSX with Tomcat
hi randy, I have Tomcat installed and working and I was told by someone on the [EMAIL PROTECTED] list that all I had to do was put the cocoon.war file in the tomcat/webapps directory, restart tomcat and that was it. Seemed too easy and naturally it didn't work for me. I was wondering if could you please tell us exactly what the error was, that you've got? I still had to follow some of the other install steps listed at http://xml.apache.org/cocoon/installing/index.html? Such as replacing the xalan-XXX.jar, xercesImpl-XXX.jar and xml-apis.jar files in the Tomcat installed files with the ones from the Cocoon package and also editing the cocoon/src/webapp/WEB-INF/web.xml file? yes, sure, you have to do that. /usr/local/jakarta-tomcat-4.0.3 /usr/local/jakarta-tomcat-4.0.3/webapps/cocoon.war that is correct! /usr/local/jakarta-tomcat-4.0.3/cocoon/ not, if you didn't configure the server.xml file in the config directory (don't do that). One last question just to confirm my rookie status ... do I need the JDK and ANT installed for any of this? If so, what versions do I need with OSX? the jdk is default on osx, you don't need any more than that. you can use ant for development (i would appreciate that), but it is not a must. i don't know about your mac, but if you are not connected to the internet, you might encounter some problems with localhost. try to use the following url, to access the cocoon webapp: http://127.0.0.1:8080/cocoon/ hope it helps, moritz. - 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]
Installing Cocoon on Mac OSX with Tomcat
Hi gang, I'm trying to install Cocoon v2.0.2 with Tomcat v4.0.3 on Mac OSX v10.1.3 and I'm having some problems. I'm sure the main problem is that I'm new at all this but I had to start somewhere so I leapt in. I have Tomcat installed and working and I was told by someone on the [EMAIL PROTECTED] list that all I had to do was put the cocoon.war file in the tomcat/webapps directory, restart tomcat and that was it. Seemed too easy and it naturally it didn't work for me. I was wondering if I still had to follow some of the steps listed at http://xml.apache.org/cocoon/installing/index.html? Such as replacing the xalan-XXX.jar, xercesImpl-XXX.jar and xml-apis.jar files in the Tomcat installed files with the ones from the Cocoon package and also editing the cocoon/src/webapp/WEB-INF/web.xml file? The Cocoon package I started with was cocoon-2.0.2-bin.tar.gz Also I'm wondering exactly where the Cocoon directory should go or does the cocoon.war file cover it all. I've installed Tomcat in ... /usr/local/jakarta-tomcat-4.0.3 /usr/local/jakarta-tomcat-4.0.3/webapps/cocoon.war Maybe I should put the cocoon directory in ... /usr/local/jakarta-tomcat-4.0.3/cocoon/ As you can probably tell I'm new to Unix and its environment and I was hoping I could get XML transforming without having to do all the clean builds etc. Many thanks in advance, Randy - 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]
problems installing cocoon 2.0.1
Dear friends, I'm stuck trying to install cocoon 2.0.1. The details are: W2000 professional tomcat 4.0.3 installed and working fine cocoon copied under webapps directory listening to 8080 port .war file copied and automatically decompressed under webapps JAVA_HOME path set ok to jdk1.3 what I get is: type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935) ... anybody can help? Thanks many -- Diego Lluna Berlato Centro de Tecnologías de la Información Instituto Catalán de Tecnología C/Ciutat de Granada, 131 - 08018 Barcelona Tel/ 0034.93.485.85.85 Fax/ 0034.93.485.85.88 http://www.ictnet.es - 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: problems installing cocoon 2.0.1
Hi Diego, I have the same configuration and I didn't copy cocoon under webapps directory, but the cocoon.war file. Then I restarted Tomcat so that the war file can be unpacked. Then you have to copy the batik...jar and xml-apis.jar file to the common/lib directory and restart tomcat again. Maybe that helps. - Volker - -Original Message- From: Diego Lluna [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 26. März 2002 11:12 To: [EMAIL PROTECTED] Subject: problems installing cocoon 2.0.1 Dear friends, I'm stuck trying to install cocoon 2.0.1. The details are: W2000 professional tomcat 4.0.3 installed and working fine cocoon copied under webapps directory listening to 8080 port .war file copied and automatically decompressed under webapps JAVA_HOME path set ok to jdk1.3 what I get is: type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:93 5) ... anybody can help? Thanks many -- Diego Lluna Berlato Centro de Tecnologías de la Información Instituto Catalán de Tecnología C/Ciutat de Granada, 131 - 08018 Barcelona Tel/ 0034.93.485.85.85 Fax/ 0034.93.485.85.88 http://www.ictnet.es - 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] attachment: winmail.dat - 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: problems installing cocoon 2.0.1
Thanks to Carsten who uploaded new website... Now I can say: RTFM: http://xml.apache.org/cocoon/installing/index.html It has all you need to know about tomcat 4.0.3 Vadim -Original Message- From: Diego Lluna [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 26, 2002 5:12 AM To: [EMAIL PROTECTED] Subject: problems installing cocoon 2.0.1 Dear friends, I'm stuck trying to install cocoon 2.0.1. The details are: W2000 professional tomcat 4.0.3 installed and working fine cocoon copied under webapps directory listening to 8080 port .war file copied and automatically decompressed under webapps JAVA_HOME path set ok to jdk1.3 what I get is: type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav a:935) ... anybody can help? Thanks many -- Diego Lluna Berlato Centro de Tecnologías de la Información Instituto Catalán de Tecnología C/Ciutat de Granada, 131 - 08018 Barcelona Tel/ 0034.93.485.85.85 Fax/ 0034.93.485.85.88 http://www.ictnet.es - 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: Installing Cocoon 2.0.1 on a WebLogic 6.1 SP2
Hi Mark ! I had this problem, too. This problem can be solved by 'cleaning' the META_INF/MANIFEST.MF file. There are two empty lines at the end of the file which cause the StringIndexOutOfBoundsException. Delete the lines ! Unfortunately I encountered other Exceptions after solving the above. I appreciate to hear your experience. Greetings from Germany Andreas Kuehne I have been having problems installing Cocoon2 on a Solaris 8 machine running Weblogic 6.1 SP2. I built the src code and created the cocoon.war file and placed it in the application dir. Stoped the server (weblogic) and started it again. Made sure it was deployed and also select the server for deployment. But while deploying it i get this error: please any help would be appreciated... Mar 1, 2002 4:34:01 PM EST Error J2EE Error deploying application cocoon: Could not load cocoon Mar 1, 2002 4:34:57 PM EST Error J2EE Error deploying application cocoon: Could not load cocoon Mar 1, 2002 4:34:57 PM EST Error Management InvocationTargetException setting attribute Deployed on MBean vba:Location=dpris,Name=cocoon,Type=ApplicationConfig to value true. Method: public void weblogic.management.mbeans.custom.Application.setDeployed(boolean) throws weblogic.management.DeploymentException,weblogic.management.UndeploymentException java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1525) at weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper.java:469) ... ... ... ... about 40 more lines. - 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]
Installing Cocoon 2.0.1 on a WebLogic 6.1 SP2
Hi all, I have been having problems installing Cocoon2 on a Solaris 8 machine running Weblogic 6.1 SP2. I built the src code and created the cocoon.war file and placed it in the application dir. Stoped the server (weblogic) and started it again. Made sure it was deployed and also select the server for deployment. But while deploying it i get this error: please any help would be appreciated... Mar 1, 2002 4:34:01 PM EST Error J2EE Error deploying application cocoon: Could not load cocoon Mar 1, 2002 4:34:57 PM EST Error J2EE Error deploying application cocoon: Could not load cocoon Mar 1, 2002 4:34:57 PM EST Error Management InvocationTargetException setting attribute Deployed on MBean vba:Location=dpris,Name=cocoon,Type=ApplicationConfig to value true. Method: public void weblogic.management.mbeans.custom.Application.setDeployed(boolean) throws weblogic.management.DeploymentException,weblogic.management.UndeploymentExceptionjava.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1525) at weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper.java:469) ... ... ... ... about 40 more lines.
RE: Installing Cocoon 2.0.1 on a WebLogic 6.1 SP2
It is because weblogic is having difficulties reading META-INF/manifest.mf of the xt-19991105.jar. You have two possibilities: 1. If you do not use xt - just remove xt*.jar files from everywhere. 2. Unpack xt, edit manifest.mf, pack it again. Vadim -Original Message- From: Mark Smith [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 5:07 PM To: [EMAIL PROTECTED] Subject: Installing Cocoon 2.0.1 on a WebLogic 6.1 SP2 Hi all, I have been having problems installing Cocoon2 on a Solaris 8 machine running Weblogic 6.1 SP2. I built the src code and created the cocoon.war file and placed it in the application dir. Stoped the server (weblogic) and started it again. Made sure it was deployed and also select the server for deployment. But while deploying it i get this error: please any help would be appreciated... Mar 1, 2002 4:34:01 PM EST Error J2EE Error deploying application cocoon: Could not load cocoon Mar 1, 2002 4:34:57 PM EST Error J2EE Error deploying application cocoon: Could not load cocoon Mar 1, 2002 4:34:57 PM EST Error Management InvocationTargetException setting attribute Deployed on MBean vba:Location=dpris,Name=cocoon,Type=ApplicationConfig to value true. Method: public void weblogic.management.mbeans.custom.Application.setDeployed(boolean) throws weblogic.management.DeploymentException,weblogic.management.Undeployment Exception java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1525) at weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper. java:469) ... ... ... ... about 40 more lines. - 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]
Installing Cocoon 2.0.1 on Tomcat-Standalone 4.0.2 with JDK1.3.1_02 and Windows 2K Pro
I have just downloaded a binary distribution of Cocoon 2.0.1 and cannot get it to run. I have am running Windows 2000 professional with Sun's JDK 1.3.1_02 and Jakarta-tomcat-4.0.2 in standalone mode. These all appear to be working correctly. I have copied the cocoon.war file into tomcat's directory and restarted tomcat. This successfully unpacked the .war file and created the cocoon directory. When I try and access cocoon (via http://localhost:8080/cocoon/) I get the following message: Apache Tomcat/4.0.2 - HTTP Status 500 - Internal Server Error type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:93 5) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:653) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:214) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1012) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107 ) at java.lang.Thread.run(Thread.java:484) root cause java.lang.NoClassDefFoundError: javax/xml/transform/URIResolver at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:493) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLo ader.java:1631) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.jav a:926) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1360) at java.lang.ClassLoader.loadClass(ClassLoader.java:292) at java.lang.ClassLoader.loadClass(ClassLoader.java:255) at org.apache.avalon.excalibur.component.ExcaliburComponentManager.configure(Ex caliburComponentManager.java:408) at org.apache.cocoon.Cocoon.configure(Cocoon.java:406) at org.apache.cocoon.Cocoon.initialize(Cocoon.java:267) at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:991) at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:308) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91 6) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:653) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:214) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at
Installing Cocoon 2.0.1 on Websphere App Server 4.0.1AE
Are there any warnings i should know about before designing my app around this framework? Has anyone used it for an exterprise application? _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.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]
Installing Cocoon 2 on Weblogic 6.1
Does anybody know how to sucessfully deploy Cocoon 2 on Weblogic Server 6.1 sp1 as a WAR file? The cocoon.war file contain a JAR file that has a 2-character prefix (XT.JAR). This is causing a prefix string too short exception. Some users have recommended deleting or renaming the XT.JAR file, but this only causes other exceptions. Since the Javadocs for java.io.file explicitly state that a prefix must be at least 3 characters long, does anybody know if Apache has plans to fix this? If anyone has a work-around solution for this problem, please let me know. Your help will be greatly appreciated! -Liz Gallagher - 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: Installing Cocoon 2 on Weblogic 6.1
hi, liz I've been reading your threads on the cocoon-users mail archive regarding the Installation of Cocoon 2 on Weblogic 6.1. First of all, I want to thank you for your help. thank you. You messages helped me work through the process of successfully installing Cocoon 2 in an exploded directory format. However, I was wondering if you've ever tried deploying it as a WAR file? Yes, but beside your problems there were/are some getResourcePath() calls inside of Cocoon2 which makes problems if you do deploy an webapplication as WAR, and not as Directory. Moreover there was some log, cache writing of Cocoon happening into servlet context directory, and not into the servlet temp-dir. Perhaps the latest Cocoon releases has fixed that already, especially the logging writing behaves properly now. As I just wanted to make Cocoon2 run, i didn't bother about that WAR troubles. The cocoon.war file contains a JAR file whose prefix is too short (XT.JAR) and therefore causes an exception. Do you know if there is a way to fix this? XT.JAR contains the XT XML Parser. I assume you use Xerces either from the cocoon.war, or from WLS6.1. So I think you don't need XT.JAR. I wonder somehow that the name of a jar makes problems, that's sounds strange to me. Does renaming XT.JAR to the XTXMLPARSER.JAR would help? Or maybe I don't understand prefix is too short. bye bernhard - 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: Installing Cocoon 2 on Weblogic 6.1
From: Gallagher, Liz [mailto:[EMAIL PROTECTED]] Does anybody know how to sucessfully deploy Cocoon 2 on Weblogic Server 6.1 sp1 as a WAR file? The cocoon.war file contain a JAR file that has a 2-character prefix (XT.JAR). This is causing a prefix string too short exception. Some users have recommended deleting or renaming the XT.JAR file, but this only causes other exceptions. Since the Javadocs for java.io.file explicitly state that a prefix must be at least 3 characters long, does anybody know if Apache has plans to fix this? Do not mix prefix and file name. From http://java.sun.com/products/jdk/1.2/docs/api/java/io/File.html: The prefix concept is used to handle root directories on UNIX platforms, and drive specifiers, root directories and UNC pathnames on Win32 platforms, as follows: o For UNIX platforms, the prefix of an absolute pathname is always /. Relative pathnames have no prefix. The abstract pathname denoting the root directory has the prefix / and an empty name sequence. o For Win32 platforms, the prefix of a pathname that contains a drive specifier consists of the drive letter followed by : and possibly followed by \ if the pathname is absolute. The prefix of a UNC pathname is \\; the hostname and the share name are the first two names in the name sequence. A relative pathname that does not specify a drive has no prefix. Hence, this (file name xt.jar) is not an error and need not to be fixed. Regards, Vadim - 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]
help regarding installing cocoon
i have downloaded cocoon and extracted the tar file for my linux operatiing syste, i am following instructions as per th einstall file it says at a point [unix] ./build.sh -Dinclude.webapp.libs=yes -Dinstall.war=$TOMCAT_HOME/webapps webapp to gicv ethis command to install but there is no build.sh file that i find in the cocoon package? so how do i install it? - 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]
SOLVED?: Connection refused after installing Cocoon + X11 comment s
Hi I ma have solved this problem - certainly I had the same issue: # tomcat4 run started tomcat fine; I waited a while (minutes!) the made a req to http://tc/ Worked fine, tomcat4 demos fine Then a connection to /cocoon/ Instant death! All the tomcat4 processes died - no errors no (useful) logs - just X11 connection closed... This was a virgin RH7.2 install on an SMP i386 machine. I had downloaded suns jdk1.3.1_01 to /usr/java/jdk1.3.1_01 installed the tomcat4 noarch rpm to /var/tomcat4 (nb someone fix the /etc/passwd entry for the tc4 user - the homedir is /var/tomcat not /var/tomcat4 - also need a chown -R tomcat4.tomcat4 /var/tomcat4) The cocoon binary failed (haven't retried) so I did a build.sh from the source. Then I had the problem described above: (search fodder :) cocoon2 died after one request no tomcat4 instances running no error messages I had X working (xhost+ over SSH etc) - but it took a while to realise that this fails after a su to tomcat4 :( After much log reading we tried the 'headless' install using jpa - nb there were few clues that this was it and the fact that X was working kinda red-herring'ed us) This (http://xml.apache.org/cocoon/installing/index.html) suggested jpa from www.eteks.com I installed the .jars to /usr/java/jdk1.3.1_01/fre/lib/ext as Sun suggest - this failed to work with class loading problems. We then explicitly unjarred the pja.jar to a new classes directory that we had to create in /usr/java/jdk1.3.1_01/jre (ie mkdir /usr/java/jdk1.3.1_01/jre/classes) Cocoon then worked :) I hope this helps... Looking forward to some serious work now :) David Greaves Included the old thread for searching: Hi Marcus, thank you for your answer. On Monday 03 December 2001 06:22 pm, you wrote: Hi Tilman, On Mon, Dec 03, 2001 at 06:22:24PM +0100, Tilman Rassy wrote: Catalina.stop: java.net.ConnectException: Connection refused java.net.ConnectException: Connection refused ...snip... hmm. looks like your Tomcat crashed just after startup for some reason. Yes, I think you are right. I tried again and checked whether Tomcat was still running after the attempt to access Cocoon. It was not. The Cocoon version is 2.0, my servlet container is Tomcat 4.0.1, my java is sun's SDK 1.3.1, and I work on a Linux machine (kernel 2.4.4-4GB). Obviously, the cocoon.war file was extracted (I found a cocoon subdirectory in webapps, and a lot of Cocoon-related messages in the Tomcat log files). Without Cocoon, Tomcat works well. I think those messages in the tomcat logs are probably useful for diagnosing what's going on. Without them it's a bit difficult. Can you send them in ? See attachments. (The log files comprise two subsequent Tomcat sessions) Thanks again, - 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]
Connection refused after installing Cocoon
Hi, I just tried to install Cocoon and encountered the following problem: when I attempt to access http://localhost:8080/cocoon, I get an error message saying that the connection to localhost:8080 was refused. When stopping Tomcat (which is my servlet container), I get the message Catalina.stop: java.net.ConnectException: Connection refused java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120) at java.net.Socket.init(Socket.java:273) at java.net.Socket.init(Socket.java:100) at org.apache.catalina.startup.Catalina.stop(Catalina.java:826) at org.apache.catalina.startup.Catalina.execute(Catalina.java:683) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) The Cocoon version is 2.0, my servlet container is Tomcat 4.0.1, my java is sun's SDK 1.3.1, and I work on a Linux machine (kernel 2.4.4-4GB). Obviously, the cocoon.war file was extracted (I found a cocoon subdirectory in webapps, and a lot of Cocoon-related messages in the Tomcat log files). Without Cocoon, Tomcat works well. Can anybody help? Thanks in advance, Tilman - 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: Connection refused after installing Cocoon
Hi Tilman, On Mon, Dec 03, 2001 at 06:22:24PM +0100, Tilman Rassy wrote: Catalina.stop: java.net.ConnectException: Connection refused java.net.ConnectException: Connection refused ...snip... hmm. looks like your Tomcat crashed just after startup for some reason. The Cocoon version is 2.0, my servlet container is Tomcat 4.0.1, my java is sun's SDK 1.3.1, and I work on a Linux machine (kernel 2.4.4-4GB). Obviously, the cocoon.war file was extracted (I found a cocoon subdirectory in webapps, and a lot of Cocoon-related messages in the Tomcat log files). Without Cocoon, Tomcat works well. I think those messages in the tomcat logs are probably useful for diagnosing what's going on. Without them it's a bit difficult. Can you send them in ? Cheers, Marcus -- . ,,$, Marcus Crafter ;$' ':Computer Systems Engineer $: : Managesoft GmbH $ o_)$$$: 82-84 Mainzer Landstrasse ;$,_/\ :' 60327 Frankfurt Germany ' /( \_' Email : [EMAIL PROTECTED] .Business Hours : +49 69 9757 200 : - 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: Connection refused after installing Cocoon
i got the same problem. to have cocoon runing i stop tomcat wait 4second and restart it after what i go on : http://127.0.0.1:8080/cocoon and it works (some time i have to reload the page after some seconds to take the good page) . - Original Message - From: Marcus Crafter [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 03, 2001 6:22 PM Subject: Re: Connection refused after installing Cocoon Hi Tilman, On Mon, Dec 03, 2001 at 06:22:24PM +0100, Tilman Rassy wrote: Catalina.stop: java.net.ConnectException: Connection refused java.net.ConnectException: Connection refused ...snip... hmm. looks like your Tomcat crashed just after startup for some reason. The Cocoon version is 2.0, my servlet container is Tomcat 4.0.1, my java is sun's SDK 1.3.1, and I work on a Linux machine (kernel 2.4.4-4GB). Obviously, the cocoon.war file was extracted (I found a cocoon subdirectory in webapps, and a lot of Cocoon-related messages in the Tomcat log files). Without Cocoon, Tomcat works well. I think those messages in the tomcat logs are probably useful for diagnosing what's going on. Without them it's a bit difficult. Can you send them in ? Cheers, Marcus -- . ,,$, Marcus Crafter ;$' ':Computer Systems Engineer $: : Managesoft GmbH $ o_)$$$: 82-84 Mainzer Landstrasse ;$,_/\ :' 60327 Frankfurt Germany ' /( \_' Email : [EMAIL PROTECTED] .Business Hours : +49 69 9757 200 : - 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: Connection refused after installing Cocoon
Marcus: I'm having the same problem but the logs are clean. It doesn't seem like it's logging anything. Catalina.out, catalina.log and root.log don't have any information relevant to the crash other than the connection refused message. If you still think it's useful, I'll post the logs Carlos -- Carlos E. Araya ---+ WebCT Administrator/Trainer G | California Virtual Campus - | C/O De Anza College P | 21250 Stevens Creek Blvd ---+ Cupertino, CA 95014 email [EMAIL PROTECTED] web http://www.cvc1.org/ (work) http://www.silverwolf-net.net (personal) phone 408 257 0420 (work) PGP Fingerprint:E629 5DFD 7EAE 4995 E9D7 3D2F 5A9F 0CE7 DFE7 1756 Paradoxically, a refusal to 'put a monetary value on life' means that life is often undervalued. -- Artificial Intelligence: A Modern Approach From: Marcus Crafter [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Mon, 3 Dec 2001 18:22:09 +0100 To: [EMAIL PROTECTED] Subject: Re: Connection refused after installing Cocoon Hi Tilman, On Mon, Dec 03, 2001 at 06:22:24PM +0100, Tilman Rassy wrote: Catalina.stop: java.net.ConnectException: Connection refused java.net.ConnectException: Connection refused ...snip... hmm. looks like your Tomcat crashed just after startup for some reason. The Cocoon version is 2.0, my servlet container is Tomcat 4.0.1, my java is sun's SDK 1.3.1, and I work on a Linux machine (kernel 2.4.4-4GB). Obviously, the cocoon.war file was extracted (I found a cocoon subdirectory in webapps, and a lot of Cocoon-related messages in the Tomcat log files). Without Cocoon, Tomcat works well. I think those messages in the tomcat logs are probably useful for diagnosing what's going on. Without them it's a bit difficult. Can you send them in ? Cheers, Marcus -- . ,,$, Marcus Crafter ;$' ':Computer Systems Engineer $: : Managesoft GmbH $ o_)$$$: 82-84 Mainzer Landstrasse ;$,_/\ :' 60327 Frankfurt Germany ' /( \_' Email : [EMAIL PROTECTED] .Business Hours : +49 69 9757 200 : - 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: Connection refused after installing Cocoon
Hi Marcus, thank you for your answer. On Monday 03 December 2001 06:22 pm, you wrote: Hi Tilman, On Mon, Dec 03, 2001 at 06:22:24PM +0100, Tilman Rassy wrote: Catalina.stop: java.net.ConnectException: Connection refused java.net.ConnectException: Connection refused ...snip... hmm. looks like your Tomcat crashed just after startup for some reason. Yes, I think you are right. I tried again and checked whether Tomcat was still running after the attempt to access Cocoon. It was not. The Cocoon version is 2.0, my servlet container is Tomcat 4.0.1, my java is sun's SDK 1.3.1, and I work on a Linux machine (kernel 2.4.4-4GB). Obviously, the cocoon.war file was extracted (I found a cocoon subdirectory in webapps, and a lot of Cocoon-related messages in the Tomcat log files). Without Cocoon, Tomcat works well. I think those messages in the tomcat logs are probably useful for diagnosing what's going on. Without them it's a bit difficult. Can you send them in ? See attachments. (The log files comprise two subsequent Tomcat sessions) Thanks again, Tilman Starting service Tomcat-Standalone Apache Tomcat/4.0.1 Starting service Tomcat-Standalone Apache Tomcat/4.0.1 2001-12-03 18:41:12 HttpConnector Opening server socket on all host IP addresses 2001-12-03 18:47:22 HttpConnector Opening server socket on all host IP addresses 2001-12-03 18:41:12 WebappLoader[/examples]: Deploying class repositories to work directory /homes/mathphys3/rassy/prg/cocoon/jakarta-tomcat-4.0.1/work/localhost/examples 2001-12-03 18:41:12 WebappLoader[/examples]: Reloading checks are enabled for this Context 2001-12-03 18:41:12 StandardManager[/examples]: Seeding random number generator class java.security.SecureRandom 2001-12-03 18:41:12 StandardManager[/examples]: Seeding of random number generator has been completed 2001-12-03 18:41:12 ContextConfig[/examples]: Configured an authenticator for method FORM 2001-12-03 18:41:12 ContextListener: contextInitialized() 2001-12-03 18:41:12 SessionListener: contextInitialized() 2001-12-03 18:41:12 ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@32e13d') 2001-12-03 18:41:12 StandardWrapper[/examples:default]: Loading container servlet default 2001-12-03 18:41:12 default: init 2001-12-03 18:41:12 StandardWrapper[/examples:invoker]: Loading container servlet invoker 2001-12-03 18:41:12 invoker: init 2001-12-03 18:41:13 jsp: init 2001-12-03 18:47:23 WebappLoader[/examples]: Deploying class repositories to work directory /homes/mathphys3/rassy/prg/cocoon/jakarta-tomcat-4.0.1/work/localhost/examples 2001-12-03 18:47:23 WebappLoader[/examples]: Reloading checks are enabled for this Context 2001-12-03 18:47:23 StandardManager[/examples]: Seeding random number generator class java.security.SecureRandom 2001-12-03 18:47:23 StandardManager[/examples]: Seeding of random number generator has been completed 2001-12-03 18:47:23 ContextConfig[/examples]: Configured an authenticator for method FORM 2001-12-03 18:47:23 ContextListener: contextInitialized() 2001-12-03 18:47:23 SessionListener: contextInitialized() 2001-12-03 18:47:23 ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@32e13d') 2001-12-03 18:47:23 StandardWrapper[/examples:default]: Loading container servlet default 2001-12-03 18:47:23 default: init 2001-12-03 18:47:23 StandardWrapper[/examples:invoker]: Loading container servlet invoker 2001-12-03 18:47:23 invoker: init 2001-12-03 18:47:23 jsp: init 2001-12-03 18:41:13 WebappLoader[/manager]: Deploying class repositories to work directory /homes/mathphys3/rassy/prg/cocoon/jakarta-tomcat-4.0.1/work/localhost/manager 2001-12-03 18:41:13 StandardManager[/manager]: Seeding random number generator class java.security.SecureRandom 2001-12-03 18:41:13 StandardManager[/manager]: Seeding of random number generator has been completed 2001-12-03 18:41:13 ContextConfig[/manager]: Configured an authenticator for method BASIC 2001-12-03 18:41:13 StandardWrapper[/manager:default]: Loading container servlet default 2001-12-03 18:41:13 default: init 2001-12-03 18:41:13 StandardWrapper[/manager:invoker]: Loading container servlet invoker 2001-12-03 18:41:13 invoker: init 2001-12-03 18:41:13 jsp: init 2001-12-03 18:41:13 StandardHost[localhost]: Installing web application at context path from URL file:/homes/mathphys3/rassy/prg/cocoon/jakarta-tomcat-4.0.1/webapps/ROOT 2001-12-03 18:41:13 WebappLoader[]: Deploying class repositories to work directory /homes/mathphys3/rassy/prg/cocoon/jakarta-tomcat-4.0.1/work/localhost/_ 2001-12-03 18:41:13 StandardManager[]: Seeding random number generator class java.security.SecureRandom 2001-12-03 18:41:13 StandardManager[]: Seeding of random number generator has been completed 2001-12-03 18:41:14 StandardWrapper[:default]: Loading container servlet default 2001-12-03 18:41:14 default: init 2001-12-03 18:41:14 StandardWrapper[:invoker]:
Re: Connection refused after installing Cocoon
Hi Carlos, Tilman, Can you guys do a: $ bin/catalina.sh run -config conf/server.xml in your Tomcat 4.0.1 directory (or equivalent, ie. run Tomcat in the foreground) and send in the output that's printed to the screen (hopefully it will display an error message of some sort) ? I'm getting: .1]:98bin/catalina.sh run -config conf/server.xml Using CLASSPATH: /home/crafterm/workarea/jakarta-tomcat-4.0.1/bin/bootstrap.jar:/usr/local/jdk/lib/tools.jar Using CATALINA_BASE: /home/crafterm/workarea/jakarta-tomcat-4.0.1 Using CATALINA_HOME: /home/crafterm/workarea/jakarta-tomcat-4.0.1 Using JAVA_HOME: /usr/local/jdk Starting service Tomcat-Standalone Apache Tomcat/4.0.1 Loading catalog: /localhost/cocoon/resources/entities/catalog Server 1.6 is running Press [Ctrl]+[C] to abort With the Cocoon webapp working fine under my Linux system (Debian, Kernel 2.4.6, SUN JDK 1.3.1_01). Thanks, Marcus On Mon, Dec 03, 2001 at 09:59:11AM -0800, Carlos wrote: Marcus: I'm having the same problem but the logs are clean. It doesn't seem like it's logging anything. Catalina.out, catalina.log and root.log don't have any information relevant to the crash other than the connection refused message. If you still think it's useful, I'll post the logs Carlos -- Carlos E. Araya ---+ WebCT Administrator/Trainer G | California Virtual Campus - | C/O De Anza College P | 21250 Stevens Creek Blvd ---+ Cupertino, CA 95014 email [EMAIL PROTECTED] web http://www.cvc1.org/ (work) http://www.silverwolf-net.net (personal) phone 408 257 0420 (work) PGP Fingerprint:E629 5DFD 7EAE 4995 E9D7 3D2F 5A9F 0CE7 DFE7 1756 Paradoxically, a refusal to 'put a monetary value on life' means that life is often undervalued. -- Artificial Intelligence: A Modern Approach From: Marcus Crafter [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Mon, 3 Dec 2001 18:22:09 +0100 To: [EMAIL PROTECTED] Subject: Re: Connection refused after installing Cocoon Hi Tilman, On Mon, Dec 03, 2001 at 06:22:24PM +0100, Tilman Rassy wrote: Catalina.stop: java.net.ConnectException: Connection refused java.net.ConnectException: Connection refused ...snip... hmm. looks like your Tomcat crashed just after startup for some reason. The Cocoon version is 2.0, my servlet container is Tomcat 4.0.1, my java is sun's SDK 1.3.1, and I work on a Linux machine (kernel 2.4.4-4GB). Obviously, the cocoon.war file was extracted (I found a cocoon subdirectory in webapps, and a lot of Cocoon-related messages in the Tomcat log files). Without Cocoon, Tomcat works well. I think those messages in the tomcat logs are probably useful for diagnosing what's going on. Without them it's a bit difficult. Can you send them in ? Cheers, Marcus -- . ,,$, Marcus Crafter ;$' ':Computer Systems Engineer $: : Managesoft GmbH $ o_)$$$: 82-84 Mainzer Landstrasse ;$,_/\ :' 60327 Frankfurt Germany ' /( \_' Email : [EMAIL PROTECTED] .Business Hours : +49 69 9757 200 : - 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] -- . ,,$, Marcus Crafter ;$' ':Computer Systems Engineer $: : Managesoft GmbH $ o_)$$$: 82-84 Mainzer Landstrasse ;$,_/\ :' 60327 Frankfurt Germany ' /( \_' Email : [EMAIL PROTECTED] .Business Hours : +49 69 9757 200 : - 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: Connection refused after installing Cocoon
Marcus: Mine was a misconfiguration and impatience error. I was not waiting long enough after shutting Tomcat to restart it, hence my error Carlos -- Carlos E. Araya ---+ WebCT Administrator/Trainer G | California Virtual Campus - | C/O De Anza College P | 21250 Stevens Creek Blvd ---+ Cupertino, CA 95014 email [EMAIL PROTECTED] web http://www.cvc1.org/ (work) http://www.silverwolf-net.net (personal) phone 408 257 0420 (work) PGP Fingerprint:E629 5DFD 7EAE 4995 E9D7 3D2F 5A9F 0CE7 DFE7 1756 Paradoxically, a refusal to 'put a monetary value on life' means that life is often undervalued. -- Artificial Intelligence: A Modern Approach From: Marcus Crafter [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Mon, 3 Dec 2001 20:20:34 +0100 To: [EMAIL PROTECTED] Subject: Re: Connection refused after installing Cocoon Hi Carlos, Tilman, Can you guys do a: $ bin/catalina.sh run -config conf/server.xml in your Tomcat 4.0.1 directory (or equivalent, ie. run Tomcat in the foreground) and send in the output that's printed to the screen (hopefully it will display an error message of some sort) ? I'm getting: .1]:98bin/catalina.sh run -config conf/server.xml Using CLASSPATH: /home/crafterm/workarea/jakarta-tomcat-4.0.1/bin/bootstrap.jar:/usr/local/jdk/ lib/tools.jar Using CATALINA_BASE: /home/crafterm/workarea/jakarta-tomcat-4.0.1 Using CATALINA_HOME: /home/crafterm/workarea/jakarta-tomcat-4.0.1 Using JAVA_HOME: /usr/local/jdk Starting service Tomcat-Standalone Apache Tomcat/4.0.1 Loading catalog: /localhost/cocoon/resources/entities/catalog Server 1.6 is running Press [Ctrl]+[C] to abort With the Cocoon webapp working fine under my Linux system (Debian, Kernel 2.4.6, SUN JDK 1.3.1_01). Thanks, Marcus On Mon, Dec 03, 2001 at 09:59:11AM -0800, Carlos wrote: Marcus: I'm having the same problem but the logs are clean. It doesn't seem like it's logging anything. Catalina.out, catalina.log and root.log don't have any information relevant to the crash other than the connection refused message. If you still think it's useful, I'll post the logs Carlos -- Carlos E. Araya ---+ WebCT Administrator/Trainer G | California Virtual Campus - | C/O De Anza College P | 21250 Stevens Creek Blvd ---+ Cupertino, CA 95014 email [EMAIL PROTECTED] web http://www.cvc1.org/ (work) http://www.silverwolf-net.net (personal) phone 408 257 0420 (work) PGP Fingerprint:E629 5DFD 7EAE 4995 E9D7 3D2F 5A9F 0CE7 DFE7 1756 Paradoxically, a refusal to 'put a monetary value on life' means that life is often undervalued. -- Artificial Intelligence: A Modern Approach From: Marcus Crafter [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Mon, 3 Dec 2001 18:22:09 +0100 To: [EMAIL PROTECTED] Subject: Re: Connection refused after installing Cocoon Hi Tilman, On Mon, Dec 03, 2001 at 06:22:24PM +0100, Tilman Rassy wrote: Catalina.stop: java.net.ConnectException: Connection refused java.net.ConnectException: Connection refused ...snip... hmm. looks like your Tomcat crashed just after startup for some reason. The Cocoon version is 2.0, my servlet container is Tomcat 4.0.1, my java is sun's SDK 1.3.1, and I work on a Linux machine (kernel 2.4.4-4GB). Obviously, the cocoon.war file was extracted (I found a cocoon subdirectory in webapps, and a lot of Cocoon-related messages in the Tomcat log files). Without Cocoon, Tomcat works well. I think those messages in the tomcat logs are probably useful for diagnosing what's going on. Without them it's a bit difficult. Can you send them in ? Cheers, Marcus -- . ,,$, Marcus Crafter ;$' ':Computer Systems Engineer $: : Managesoft GmbH $ o_)$$$: 82-84 Mainzer Landstrasse ;$,_/\ :' 60327 Frankfurt Germany ' /( \_' Email : [EMAIL PROTECTED] .Business Hours : +49 69 9757 200 : - 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] -- . ,,$, Marcus Crafter ;$' ':Computer Systems Engineer $: : Managesoft GmbH $ o_)$$$: 82-84 Mainzer Landstrasse ;$,_/\ :' 60327 Frankfurt Germany
Installing Cocoon 1.8.2 on Tomcat 3.3
Hi to all, I've a problem running Cocoon 1.8.2 on Tomcat 3.3 This is the error running Cocoon.xml and other xml files: Publishing Engine could not be initialized. java.lang.RuntimeException: Exception when creating org.apache.cocoon.processor.xsp.XSPProcessor : java.lang.NoSuchMethodError: See http://xml.apache.org/cocoon/faqs.html#faq-normalize at org.apache.cocoon.framework.Manager.create(Manager.java, Compiled Code) at org.apache.cocoon.framework.Router.init(Router.java, Compiled Code) at org.apache.cocoon.framework.Manager.create(Manager.java, Compiled Code) at org.apache.cocoon.Engine.init(Engine.java, Compiled Code) at org.apache.cocoon.Engine.getInstance(Engine.java, Compiled Code) at org.apache.cocoon.Cocoon.init(Cocoon.java, Compiled Code) at org.apache.tomcat.facade.ServletHandler.doInit(Unknown Source) at org.apache.tomcat.facade.ServletHandler.init(Unknown Source) at org.apache.tomcat.facade.ServletHandler.service(Unknown Source) at org.apache.tomcat.core.ContextManager.internalService(Unknown Source) at org.apache.tomcat.core.ContextManager.service(Unknown Source) at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown Source) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source) at java.lang.Thread.run(Thread.java, Compiled Code) This is the same error I've found using Tomcat 3.2.1, and I've resolved it by renaming xml.jar and parser.jar to zxml.jar and zparser.jar. But, these files aren't present in the 3.3 release of Tomcat. Any suggestion? Thanks to all - 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]
Installing Cocoon 1.8, in Visual Age 3.5
Title: Installing Cocoon 1.8, in Visual Age 3.5 Hi everybody, For those who are interested, i have successfully installed Cocoon 1.8 in Visual Age 3.5 Development environment. To do that you must: 1) Create an Open Edition of the IBM XML Parser (you must be administrator) 2) Create an Xerces project 3) Import the content of the xerces.jar file into the Xerces project. Some of the elements will be imported into the IBM XML Parser project (org.xml.sax) 4) Version both project 5) Open default.servlet_engine file and add a webapp for Cocoon, like this websphere-webgroup name=cocoon descriptionCocoon/description document-root$approot$/web/samples/document-root classpath$approot$/servlets$psep$$server_root$/servlets/classpath root-uri//root-uri auto-reload enabled=true polling-interval=3000/ shared-contextfalse/shared-context /websphere-webgroup 6) In the hosts/default_hosts directory of the websphere test environment, create a new directory called cocoon, with two subdirectories: web and servlets. 7) In the servlets directory create a file named cocoon.webapp and copy the following in it: ?xml version=1.0? webapp namecocoon/name descriptionCocoon Web App/description error-page/ErrorReporter/error-page servlet nameinvoker/name descriptionAuto-registration servlet/description codecom.ibm.servlet.engine.webapp.InvokerServlet/code servlet-path/servlet/servlet-path autostarttrue/autostart /servlet servlet namecocoon/name descriptionCocoon Servlet/description codeorg.apache.cocoon.Cocoon/code servlet-path/cocoon/servlet-path autostarttrue/autostart init-parameter nameproperties/name valueC:\cocoon-1.8.2\conf\cocoon.properties/value /init-parameter init-parameter nameURIPaths/name valuedefault_host/cocoon/value /init-parameter /servlet servlet namejsp/name descriptionJSP support servlet/description !-- codecom.ibm.ivj.jsp.debugger.pagecompile.IBMPageCompileServlet/code -- codecom.ibm.ivj.jsp.runtime.JspDebugServlet/code init-parameter nameworkingDir/name value$server_root$/temp/default_app/value /init-parameter init-parameter namejspemEnabled/name valuetrue/value /init-parameter init-parameter namescratchdir/name value$server_root$/temp/JSP1_0/cocoon/value /init-parameter init-parameter namekeepgenerated/name valuetrue/value /init-parameter autostarttrue/autostart servlet-path*.jsp/servlet-path /servlet servlet namefile/name descriptionFile serving servlet/description codecom.ibm.servlet.engine.webapp.SimpleFileServlet/code servlet-path//servlet-path init-parameter name/name value/value /init-parameter autostarttrue/autostart /servlet /webapp 8) Launch the Websphere Test Environment and clic on Edit Class Path In the check boxes select the Xerces project. In the Extra class path box, type the following paths: C:\cocoon-1.8.2\lib\bsf.jar; C:\cocoon-1.8.2\lib\bsfengines.jar; C:\cocoon-1.8.2\lib\turbine-pool.jar; C:\cocoon-1.8.2\lib\xalan_1_2_D02.jar; C:\cocoon-1.8.2\lib\fop_0_15_0.jar; C:\cocoon-1.8.2\bin\cocoon.jar 9) In the web directory, copy the content of the cocoon samples directory 10) You can now start the websphere test environment You can get the Cocoon configuration by typing the following url: http://localhost:8080/cocoon/cocoon.xml Or the samples: http://localhost:8080/cocoon/index.xml Cheers Gilles Gilles Ducret Wealth Management Division IT Architect Lloyds TSB Bank Tel: + 41 22 307 31 50 Mob: +41 79 217 21 41 ** This E-mail and any files transmitted with it are confidential and intended for the exclusive use of the addressee(s) only. You should not disclose its contents to any other person. If you are not the intended recipient please notify the sender immediately. **
Error Message Installing Cocoon 1.8.2
Hi Cocoon Users. I need a little help. Im installing Cocoon 1.8.2 with JRun 2.3.3. I have everything set up I THINK, and I get the following error message Cocoon 1.8.2 Publishing Engine could not be initialized. java.lang.RuntimeException: Error creating org.apache.cocoon.transformer.XalanTransformer: make sure the needed classes can be found in the classpath (org/apache/xalan/xpath/xml/XMLParserLiaison) at org.apache.cocoon.framework.Manager.create(Manager.java:122) at org.apache.cocoon.Engine.init(Engine.java:152) at org.apache.cocoon.Engine.getInstance(Engine.java:232) at org.apache.cocoon.Cocoon.init(Cocoon.java:157) at com.livesoftware.jrun.JRunServletLoader.loadServlet(JRunServletLoader.java:8 7) at com.livesoftware.jrun.JRun.getServlet(JRun.java:538) at com.livesoftware.jrun.JRun.getServlet(JRun.java:494) at com.livesoftware.jrun.JRun.runServlet(JRun.java:299) at com.livesoftware.jrun.JRunGeneric.handleConnection(JRunGeneric.java:116) at com.livesoftware.jrun.JRunGeneric.handleProxyConnection(JRunGeneric.java:78) at com.livesoftware.jrun.service.proxy.JRunProxyServiceHandler.handleRequest(JR unProxyServiceHandler.java:102) at com.livesoftware.jrun.service.ThreadConfigHandler.run(ThreadConfigHandler.ja va:96) Warning: this page has been dynamically generated. Copyright (c) 1999-2001 The Apache XML Project http://xml.apache.org. All rights reserved. What I get from this is that Im missing something in my classpath. Can anyone lend a helping hand. Thanks Anthony Diodato Webmaster - IT Prophet 21, Inc. 19 West College Avenue Yardley, PA 19067 1-800-776-7438, ext. 4600 Fax: 215-321-8014 [EMAIL PROTECTED] http://www.p21.com/ Prophet 21 -- Powering the Distribution Industry for the Digital Age For the latest press releases from Prophet 21 -- http://www.p21.com/press/press.html * 2/12/2001 - Trading Partner Connect Offers Enterprise-to-Enterprise (E2E) Commerce * 2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available * 2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim For the latest articles on Prophet 21 http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate. htm http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm Visit our website at http://www.p21.com/visit The information in this e-mail is confidential and may contain legally privileged information. It is intended solely for the person or entity to which it is addressed. Access to this e-mail by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, action taken, or action omitted to be taken in reliance on it, is prohibited and may be unlawful. If you received this e-mail in error, please contact the sender and delete the material from any computer. - 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: Error Message Installing Cocoon 1.8.2
Anthony Diodato wrote: Hi Cocoon Users. I need a little help. Im installing Cocoon 1.8.2 with JRun 2.3.3. I have everything set up I THINK, and I get the following error message Cocoon 1.8.2 Publishing Engine could not be initialized. java.lang.RuntimeException: Error creating org.apache.cocoon.transformer.XalanTransformer: make sure the needed classes can be found in the classpath It looks like Xalan is not in the same ClassPath as Cocoon. - 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: Error Message Installing Cocoon 1.8.2
Im not really sure how JRun handles this. Can anyone offer suggestions?? It is greatly appreciated. Thanks Anthony -Original Message- From: Berin Loritsch [mailto:[EMAIL PROTECTED]] Sent: Friday, September 07, 2001 12:02 PM To: [EMAIL PROTECTED] Subject: Re: Error Message Installing Cocoon 1.8.2 Anthony Diodato wrote: Im not sure if I understand what you mean. Here is the Cocoon stuff that is in my classpath. java.classpath= C:\\cocoon-1.8.2\\lib\\xerces_1_2.jar; C:\\cocoon-1.8.2\\lib\\stylebook-1.0-b2.jar; C:\\cocoon-1.8.2\\lib\\fop_0_15_0.jar; C:\\cocoon-1.8.2\\bin\\cocoon-1.8.2-with-nullpatch.jar; C:\\cocoon-1.8.2\\lib\\xalan_1_2_DO2.jar; C:\\cocoon-1.8.2\\lib\\turbine-pool.jar; I tried to put the cocoon-1.8.2-with-nullpatch.jar file into the C:\\cocoon-1.8.2\\lib\\ directory, and update the classpath accordingly, but I got the same result. That is expected What do you think?? It's hard to say. How does JRun handle root classpaths? You might need someone that is more familiar with JRun. - 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] Visit our website at http://www.p21.com/visit The information in this e-mail is confidential and may contain legally privileged information. It is intended solely for the person or entity to which it is addressed. Access to this e-mail by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, action taken, or action omitted to be taken in reliance on it, is prohibited and may be unlawful. If you received this e-mail in error, please contact the sender and delete the material from any computer. - 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: Error Message Installing Cocoon 1.8.2
Berin, Just an FYI. I fixed the problem. Stupid me. I had the xalan file spelled wrong in the classpath. Thanks for the help. -Original Message- From: Anthony Diodato [mailto:[EMAIL PROTECTED]] Sent: Friday, September 07, 2001 1:05 PM To: '[EMAIL PROTECTED]' Subject: RE: Error Message Installing Cocoon 1.8.2 Im not really sure how JRun handles this. Can anyone offer suggestions?? It is greatly appreciated. Thanks Anthony -Original Message- From: Berin Loritsch [mailto:[EMAIL PROTECTED]] Sent: Friday, September 07, 2001 12:02 PM To: [EMAIL PROTECTED] Subject: Re: Error Message Installing Cocoon 1.8.2 Anthony Diodato wrote: Im not sure if I understand what you mean. Here is the Cocoon stuff that is in my classpath. java.classpath= C:\\cocoon-1.8.2\\lib\\xerces_1_2.jar; C:\\cocoon-1.8.2\\lib\\stylebook-1.0-b2.jar; C:\\cocoon-1.8.2\\lib\\fop_0_15_0.jar; C:\\cocoon-1.8.2\\bin\\cocoon-1.8.2-with-nullpatch.jar; C:\\cocoon-1.8.2\\lib\\xalan_1_2_DO2.jar; C:\\cocoon-1.8.2\\lib\\turbine-pool.jar; I tried to put the cocoon-1.8.2-with-nullpatch.jar file into the C:\\cocoon-1.8.2\\lib\\ directory, and update the classpath accordingly, but I got the same result. That is expected What do you think?? It's hard to say. How does JRun handle root classpaths? You might need someone that is more familiar with JRun. - 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] Visit our website at http://www.p21.com/visit The information in this e-mail is confidential and may contain legally privileged information. It is intended solely for the person or entity to which it is addressed. Access to this e-mail by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, action taken, or action omitted to be taken in reliance on it, is prohibited and may be unlawful. If you received this e-mail in error, please contact the sender and delete the material from any computer. - 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] Visit our website at http://www.p21.com/visit The information in this e-mail is confidential and may contain legally privileged information. It is intended solely for the person or entity to which it is addressed. Access to this e-mail by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, action taken, or action omitted to be taken in reliance on it, is prohibited and may be unlawful. If you received this e-mail in error, please contact the sender and delete the material from any computer. - 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]
Problem Installing Cocoon 1.8.2 with JRun
500 Internal Server Error org.apache.cocoon.Cocoon; java.lang.NullPointerException Any Suggestions??? Anthony Diodato Webmaster - IT Prophet 21, Inc. 19 West College Avenue Yardley, PA 19067 1-800-776-7438, ext. 4600 Fax: 215-321-8014 [EMAIL PROTECTED] http://www.p21.com/ Prophet 21 -- Powering the Distribution Industry for the Digital Age For the latest press releases from Prophet 21 -- http://www.p21.com/press/press.html * 2/12/2001 - Trading Partner Connect Offers Enterprise-to-Enterprise (E2E) Commerce * 2/9/2001 -- Prophet 21 CommerceCenter 8.0 is Now Available * 2/9/2001 -- Prophet 21 Upgrades and Enhances Prophet 21 Acclaim For the latest articles on Prophet 21 http://www.manufacturing.net/magazine/id/archives/2001/ind010.02/techupdate. htm http://www.manufacturing.net/magazine/id/develop/techmain01.1.htm http://www.manufacturing.net/magazine/id/archives/2000/ind1201/news.htm Visit our website at http://www.p21.com/visit The information in this e-mail is confidential and may contain legally privileged information. It is intended solely for the person or entity to which it is addressed. Access to this e-mail by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, action taken, or action omitted to be taken in reliance on it, is prohibited and may be unlawful. If you received this e-mail in error, please contact the sender and delete the material from any computer. - 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]
problems installing Cocoon 2.0b2
Hello list, please help, when i try to build Cocoon i get the following ... Apache Cocoon 2 Build System Warning: JAVA_HOME environment variable is not set. If build fails because sun.* classes could not be found you will need to set the JAVA_HOME environment variable to the installation directory of java. Buildfile: build.xml init: --- Apache Cocoon 2.0b2 [1999-2001] compile: Compiling 265 source files to /usr/local/jakarta/Cocoon2/build/cocoon/classes Total time: 13 seconds and JAVA_HOME is SET!!! JAVA_HOME=/usr/lib/jdk1.3.1/ or is it probably an other problem, because the problem i solved before was reformating the ant file to unix format. -- Best regards, marco 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]
Re: Problem installing cocoon
On Wed, 29 Aug 2001, G Crawshaw wrote: When I attempt to execute the following: ./build.sh -Dinclude.webapp.libs=yes webapp I get this error message ./build.sh: CP=.:/home/oracle734/jdbc/lib/classes111.zip: is not an identifier bin/ant and bin/antRun are in DOS format. You have do correct those files before. The problem is due to the end of lines. Try to use some dos2unix program to correct this. - 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: Problem installing cocoon
On Thu, 30 Aug 2001, G Crawshaw wrote: Thanks for your help - but this still does not seem to work. Could you try to fetch the cocoon2 cvs version, and see if you get the same problems. If this is not the case, try to see the differences between the cvs and tar versions of ant and antRun ... I don't know if the files are differents ... if they *seem* to be the same, and the installation with the cvs versions went well, try to replace the tar version of those two files with the cvs version and see what happens. Hope this will help ... - 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: Problem installing cocoon
Thanks for your help - but this still does not seem to work. I now get the following error message: bash$ ./build.sh -Dinclude.webapp.libs=yes webapp Apache Cocoon 2 Build System ./build.sh: CP=: is not an identifier if I execute each of the commands in the build.sh file separately I get this error message: bash$ $PWD/bin/ant -logger org.apache.tools.ant.NoBannerLogger -emacs $@ /home/public/www/bin/xml-cocoon2/bin/ant: syntax error at line 107: `(' unexpected Thanks, Georgina X-Envelope-To: [EMAIL PROTECTED] Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm list-help: mailto:[EMAIL PROTECTED] list-unsubscribe: mailto:[EMAIL PROTECTED] list-post: mailto:[EMAIL PROTECTED] Delivered-To: mailing list [EMAIL PROTECTED] Date: Thu, 30 Aug 2001 10:19:33 +0200 (CEST) From: Raphaël Goulais [EMAIL PROTECTED] X-X-Sender: [EMAIL PROTECTED] To: cocoon-users [EMAIL PROTECTED], G Crawshaw [EMAIL PROTECTED] Subject: Re: Problem installing cocoon MIME-Version: 1.0 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Wed, 29 Aug 2001, G Crawshaw wrote: When I attempt to execute the following: ./build.sh -Dinclude.webapp.libs=yes webapp I get this error message ./build.sh: CP=.:/home/oracle734/jdbc/lib/classes111.zip: is not an identifier bin/ant and bin/antRun are in DOS format. You have do correct those files before. The problem is due to the end of lines. Try to use some dos2unix program to correct this. - 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]
Problem installing cocoon
Hi, I'm a newcomer to java and cocoon and I'm having a bit of a problem installing cocoon. I get the following message when I try and run the build.sh script and I'm unable to determine why. ./build.sh: CP=/home/oracle734/jdbc/lib/classes111.zip: is not an identifier I've tried unsetting my classpath and also setting it to various other things. All seem to return the same error. I also tried to tweak some things and seen the following message, any ideas? ./build.sh: /home/alapar/Cocoon-2.0b2/bin/ant: No such file or directory but it does exist!! Can anyone help please? Many Thanks, Alan Parry - 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]
Problem installing cocoon
I am having problems installing cocoon - I have tried both downloading the latest official release of cocoon2 and also following the cvs instructions for unix - both end in the same error message when I attempt to install cocoon2. When I attempt to execute the following: ./build.sh -Dinclude.webapp.libs=yes webapp I get this error message ./build.sh: CP=.:/home/oracle734/jdbc/lib/classes111.zip: is not an identifier I have also tried running each of the lines in the build.sh file separately. This results in the following error message: Variable syntax when I attempt to run the command $PWD/bin/ant -logger org.apache.tools.ant.NoBannerLogger -emacs $@ if i run this in bash I get a different error message bash: /home/staff/georgina/unix/bin/ant: No such file or directory Thanks for your help, Georgina - 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]
Problems when installing Cocoon with Tomcat 3.1
Hello. I have downloaded Cocoon and run the build.bat. I have the cocoon.war and cocoon.jar in the right directories, but I can't find any cocoon.properties file (neighter in the bin/ or the build/classes/org/apache/cocoon/ directory). How do I get this file?? I also wonder what I should do with the zip.sig file Is this a zip-file or what? When I try to access cocoon on http://localhost:8080/cocoon I get a Cocoon2 internal server error. Can anyone help me? best regards, Monika K. Dahl [EMAIL PROTECTED] Oslo Norway - 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: Problems when installing Cocoon with Tomcat 3.1
Someone should create a FAQ for this... Did you install JSWDK (http://java.sun.com/products/jsp/archive.html)? Did you set your JAVA_HOME path to your JDK 1.3.1? (ie: c:\jdk1.3.1) Did you set up your CLASSPATH (c:\xerces\xerces.jar;c:\jdk1.3.1\lib\tools.jar)? Are you using Tomcat? (Web server?) Or what server are you using? -Original Message- From: Monika Kubosch Dahl [mailto:[EMAIL PROTECTED]] Sent: August 8, 2001 9:30 AM To: [EMAIL PROTECTED] Subject: Problems when installing Cocoon with Tomcat 3.1 Hello. I have downloaded Cocoon and run the build.bat. I have the cocoon.war and cocoon.jar in the right directories, but I can't find any cocoon.properties file (neighter in the bin/ or the build/classes/org/apache/cocoon/ directory). How do I get this file?? I also wonder what I should do with the zip.sig file Is this a zip-file or what? When I try to access cocoon on http://localhost:8080/cocoon I get a Cocoon2 internal server error. Can anyone help me? best regards, Monika K. Dahl [EMAIL PROTECTED] Oslo Norway - 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: Problems when installing Cocoon with Tomcat 3.1
http://xml.apache.org/cocoon2/install.html should be enough. If not, Tomcat 3.X section should be modified. Vadim -Original Message- From: Hewko, Doug [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 2:13 PM To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED] Subject: RE: Problems when installing Cocoon with Tomcat 3.1 Someone should create a FAQ for this... Did you install JSWDK (http://java.sun.com/products/jsp/archive.html)? Did you set your JAVA_HOME path to your JDK 1.3.1? (ie: c:\jdk1.3.1) Did you set up your CLASSPATH (c:\xerces\xerces.jar;c:\jdk1.3.1\lib\tools.jar)? Are you using Tomcat? (Web server?) Or what server are you using? -Original Message- From: Monika Kubosch Dahl [mailto:[EMAIL PROTECTED]] Sent: August 8, 2001 9:30 AM To: [EMAIL PROTECTED] Subject: Problems when installing Cocoon with Tomcat 3.1 Hello. I have downloaded Cocoon and run the build.bat. I have the cocoon.war and cocoon.jar in the right directories, but I can't find any cocoon.properties file (neighter in the bin/ or the build/classes/org/apache/cocoon/ directory). How do I get this file?? I also wonder what I should do with the zip.sig file Is this a zip-file or what? When I try to access cocoon on http://localhost:8080/cocoon I get a Cocoon2 internal server error. Can anyone help me? best regards, Monika K. Dahl [EMAIL PROTECTED] Oslo Norway - 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] - 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]