Re: Trying to Install Cocoon on a Windows PC
Thanks, Luca. Pointing JAVA_HOME to my 1.5.0_22 download directory resulted in a successful build. Now onto my next step. -- Holger Kreek Academic Data and Systems Registrar's Office University of Regina 1911 - 2011 Excellence in Education 306-585-4058 On Friday, April 15, 2011 at 3:59 PM, in message ioaf1h$9lg$1...@dough.gmane.org, Luca Morandini lmorand...@ieee.org wrote: On 04/15/2011 11:48 PM, Holger Kreek wrote: Luca: I may have an old JDK. Our university has an Oracle-based ERP system that evolved and I see a tools.jar in an Oracle\9I\jdk\lib directory which may be a left over. According to the Java Control Panel, I also have a reference to a Java runtime version 1.6.0_24 in \Program Files\Java\jres6\bin but it has no tools.jar file. I also have an empty C:\Program Files\Java\jre1.5.0_04 which may be a result of installing the 1.6 version. Because the scripts are looking for a tools.jar file, do I need to re-install the 1.5 version or can I get a tools.jar for the 1.6 version of Java? Tools.jar is included in the JDK, not in the JRE (these are two different download options); hence, my advice is to install the JDK (not JRE) 1.5 and change JAVA_HOME accordingly. Regards, Luca Morandini http://www.lucamorandini.it - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Trying to Install Cocoon on a Windows PC
I am trying to install Cocoon on my PC. I downloaded cocoon-2.1.11-src.zip to a Microsoft Windows XP machine, Professional version 2002, with Service Pack 3. I set the JAVA_HOME variable so that the script could find tools.jar and ran the build.bat command. I get C:\...\cocoon-2.1.11-src\cocoon-2.1.11\tools\targets\compile-build.xml:51: Compile failed; see the compiler error output for details. ... C:\...\cocoon-2.1.11-src\cocoon-2.1.11\src\java\org\apache\cocoon\components\modules\input\XPathXMLFileModule.java:196: valueOf(java.lang.String) in java.lang.Boolean cannot be applied to (boolean) this.cacheSource = Boolean.valueOf(cacheAll); ^ C:\...\cocoon-2.1.11-src\cocoon-2.1.11\src\java\org\apache\cocoon\components\modules\input\XPathXMLFileModule.java:203: valueOf(java.lang.String) in java.lang.Boolean cannot be applied to (boolean) this.reloadSource = Boolean.valueOf(this.reloadAll); ^ 2 errors = How do I fix these problems? -- Holger Kreek Academic Data and Systems Registrar's Office University of Regina 1911 - 2011 Excellence in Education 306-585-4058 - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: Trying to Install Cocoon on a Windows PC
On 04/15/2011 07:43 PM, Holger Kreek wrote: I set the JAVA_HOME variable so that the script could find tools.jar and ran the build.bat command. I get C:\...\cocoon-2.1.11-src\cocoon-2.1.11\tools\targets\compile-build.xml:51: Compile failed; see the compiler error output for details. ... C:\...\cocoon-2.1.11-src\cocoon-2.1.11\src\java\org\apache\cocoon\components\modules\input\XPathXMLFileModule.java:196: valueOf(java.lang.String) in java.lang.Boolean cannot be applied to (boolean) this.cacheSource = Boolean.valueOf(cacheAll); I guess you have an old JDK (1.3.1 perhaps ?). How do I fix these problems? Try switching JDK to 1.5. Regards, Luca Morandini http://www.lucamorandini.it - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: Trying to Install Cocoon on a Windows PC
On 04/15/2011 07:43 PM, Holger Kreek wrote: I set the JAVA_HOME variable so that the script could find tools.jar and ran the build.bat command. I get C:\...\cocoon-2.1.11-src\cocoon-2.1.11\tools\targets\compile-build.xml:51: Compile failed; see the compiler error output for details. ... C:\...\cocoon-2.1.11-src\cocoon-2.1.11\src\java\org\apache\cocoon\components\modules\input\XPathXMLFileModule.java:196: valueOf(java.lang.String) in java.lang.Boolean cannot be applied to (boolean) this.cacheSource = Boolean.valueOf(cacheAll); I guess you have an old JDK (1.3.1 perhaps ?). How do I fix these problems? Try switching JDK to 1.5. Regards, Luca Morandini http://www.lucamorandini.it - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: Trying to Install Cocoon on a Windows PC
On 04/15/2011 07:43 PM, Holger Kreek wrote: I set the JAVA_HOME variable so that the script could find tools.jar and ran the build.bat command. I get C:\...\cocoon-2.1.11-src\cocoon-2.1.11\tools\targets\compile-build.xml:51: Compile failed; see the compiler error output for details. ... C:\...\cocoon-2.1.11-src\cocoon-2.1.11\src\java\org\apache\cocoon\components\modules\input\XPathXMLFileModule.java:196: valueOf(java.lang.String) in java.lang.Boolean cannot be applied to (boolean) this.cacheSource = Boolean.valueOf(cacheAll); I guess you have an old JDK (1.3.1 perhaps ?). How do I fix these problems? Try switching JDK to 1.5. Regards, Luca Morandini http://www.lucamorandini.it - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: Trying to Install Cocoon on a Windows PC
On 04/15/2011 07:43 PM, Holger Kreek wrote: I set the JAVA_HOME variable so that the script could find tools.jar and ran the build.bat command. I get C:\...\cocoon-2.1.11-src\cocoon-2.1.11\tools\targets\compile-build.xml:51: Compile failed; see the compiler error output for details. ... C:\...\cocoon-2.1.11-src\cocoon-2.1.11\src\java\org\apache\cocoon\components\modules\input\XPathXMLFileModule.java:196: valueOf(java.lang.String) in java.lang.Boolean cannot be applied to (boolean) this.cacheSource = Boolean.valueOf(cacheAll); I guess you have an old JDK (1.3.1 perhaps ?). How do I fix these problems? Try switching JDK to 1.5. Regards, Luca Morandini http://www.lucamorandini.it - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: Trying to Install Cocoon on a Windows PC
Luca: I may have an old JDK. Our university has an Oracle-based ERP system that evolved and I see a tools.jar in an Oracle\9I\jdk\lib directory which may be a left over. According to the Java Control Panel, I also have a reference to a Java runtime version 1.6.0_24 in \Program Files\Java\jres6\bin but it has no tools.jar file. I also have an empty C:\Program Files\Java\jre1.5.0_04 which may be a result of installing the 1.6 version. Because the scripts are looking for a tools.jar file, do I need to re-install the 1.5 version or can I get a tools.jar for the 1.6 version of Java? -- Holger Kreek Academic Data and Systems Registrar's Office University of Regina 1911 - 2011 Excellence in Education 306-585-4058 On Friday, April 15, 2011 at 1:10 PM, in message 4da8981c.6000...@ieee.org, Luca Morandini lmorand...@ieee.org wrote: On 04/15/2011 07:43 PM, Holger Kreek wrote: I set the JAVA_HOME variable so that the script could find tools.jar and ran the build.bat command. I get C:\...\cocoon-2.1.11-src\cocoon-2.1.11\tools\targets\compile-build.xml:51: Compile failed; see the compiler error output for details. ... C:\...\cocoon-2.1.11-src\cocoon-2.1.11\src\java\org\apache\cocoon\components\mod ules\input\XPathXMLFileModule.java:196: valueOf(java.lang.String) in java.lang.Boolean cannot be applied to (boolean) this.cacheSource = Boolean.valueOf(cacheAll); I guess you have an old JDK (1.3.1 perhaps ?). How do I fix these problems? Try switching JDK to 1.5. Regards, Luca Morandini http://www.lucamorandini.it - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: Trying to Install Cocoon on a Windows PC
On 04/15/2011 11:48 PM, Holger Kreek wrote: Luca: I may have an old JDK. Our university has an Oracle-based ERP system that evolved and I see a tools.jar in an Oracle\9I\jdk\lib directory which may be a left over. According to the Java Control Panel, I also have a reference to a Java runtime version 1.6.0_24 in \Program Files\Java\jres6\bin but it has no tools.jar file. I also have an empty C:\Program Files\Java\jre1.5.0_04 which may be a result of installing the 1.6 version. Because the scripts are looking for a tools.jar file, do I need to re-install the 1.5 version or can I get a tools.jar for the 1.6 version of Java? Tools.jar is included in the JDK, not in the JRE (these are two different download options); hence, my advice is to install the JDK (not JRE) 1.5 and change JAVA_HOME accordingly. Regards, Luca Morandini http://www.lucamorandini.it - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: Attempting to Install Cocoon-2.2
[EMAIL PROTECTED] wrote: FILE: mvn.bat == Fix Bad command or filename REM if %HOME% == (set HOME=%HOMEDRIVE%%HOMEPATH%) SET HOME=C:\apache\maven-2.0.8 == Fix Invalid switch REM exit /B %ERROR_CODE% I haven't used Windows much (fortunately) but I have the feeling this script was written for NT's cmd.exe instead of 98's command.com. In any case it seems to be an installation and configuration issue. As you pointed out, Maven is pure Java and should work fine once properly installed. I am teaching HTML, CSS, and XSL (=Cocoon) to people using Win98 PCs. If Maven2 will not run on Win98, neither will Cocoon-2.2. I'll use Cocoon-2.1 for the class. I'm sure I've seen people mention on this mailing list that Maven is by no means necessary to compile, install, or use Cocoon 2.2. It's merely a convenience. Tobia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Attempting to Install Cocoon-2.2
mvn --version Maven version: 2.0.8 Java version: 1.6.0_03 OS name: windows 98 version: 4.10 arch: x86 Family: win9x I see you're using Windows 98. From the maven download/installation instructions page: Operating System ... No minimum requirement. On Windows, Windows NT and above or Cygwin is required for the startup scripts. Tested on Windows XP, Fedora Core and Mac OS X. It sounds to me like the mvn.bat startup script is not supported on Win98, unless you use Cygwin. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Attempting to Install Cocoon-2.2
Jason Johnston pisze: mvn --version Maven version: 2.0.8 Java version: 1.6.0_03 OS name: windows 98 version: 4.10 arch: x86 Family: win9x I see you're using Windows 98. From the maven download/installation instructions page: Operating System ... No minimum requirement. On Windows, Windows NT and above or Cygwin is required for the startup scripts. Tested on Windows XP, Fedora Core and Mac OS X. It sounds to me like the mvn.bat startup script is not supported on Win98, unless you use Cygwin. Good catch Jason. Certainly, it's more Maven-specific issue than Cocoon-issue so it's probably better to ask on Maven user's mailing list. However, I guess when they say Win98 is not supported it simply means Maven will break here on there and it's better to use other OS. -- Grzegorz Kossakowski Committer and PMC Member of Apache Cocoon http://reflectingonthevicissitudes.wordpress.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Attempting to Install Cocoon-2.2
[EMAIL PROTECTED] pisze: I am teaching HTML, CSS, and XSL (=Cocoon) to people using Win98 PCs. If Maven2 will not run on Win98, neither will Cocoon-2.2. I'll use Cocoon-2.1 for the class. Teaching Cocoon 2.2 is a much better idea since it's far more lightweight and has nice plugin for RAD development which is probably a big advantage for people learning (and making mistakes). It's maybe a good idea to get back on making working under Win98. I have no idea about Maven internals but since it's purely Java-based project it should work. I cannot help you with Maven hacking because I simply do not have access to Win98... I'll start a new thread about attempting to run Cocoon-2.2 on Win2003 for a different project. I know Cocoon-2.2 is still just a release candidate, but a release cacndidate should at least install and run. Since Win2003 is NT-based system Maven should work on it out of the box (I believe). -- Grzegorz Kossakowski Committer and PMC Member of Apache Cocoon http://reflectingonthevicissitudes.wordpress.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Attempting to Install Cocoon-2.2
First, this is just my opinion. Although I have Windows XP and use it all the time, I despise using it for anything other than windows specific applications. I use VMWare on Windows so I can develop in Ubuntu on my Windows laptops. I have had too many weird things happen in Windows to use it anymore for development or testing work. I used cygwin for quite a while and it helps about 95% of the time, but the other 5% sucks. Now having gotten that off my chest I will say that we will support Windows XP because we can run and test there. Second, as this link, http://www.microsoft.com/windows/support/endofsupport.mspx, points out,Windows 98 hasn't been supported by MS for over a year and a half. You can hardly expect open source developers to test or support that system, especially since you'd be hard pressed to find a commercial company any more that does. We can only test on the hardware and operating systems we have. Ralph Grzegorz Kossakowski wrote: [EMAIL PROTECTED] pisze: I am teaching HTML, CSS, and XSL (=Cocoon) to people using Win98 PCs. If Maven2 will not run on Win98, neither will Cocoon-2.2. I'll use Cocoon-2.1 for the class. Teaching Cocoon 2.2 is a much better idea since it's far more lightweight and has nice plugin for RAD development which is probably a big advantage for people learning (and making mistakes). It's maybe a good idea to get back on making working under Win98. I have no idea about Maven internals but since it's purely Java-based project it should work. I cannot help you with Maven hacking because I simply do not have access to Win98... I'll start a new thread about attempting to run Cocoon-2.2 on Win2003 for a different project. I know Cocoon-2.2 is still just a release candidate, but a release cacndidate should at least install and run. Since Win2003 is NT-based system Maven should work on it out of the box (I believe). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Attempting to Install Cocoon-2.2
On 2/4/08, Ralph Goers [EMAIL PROTECTED] wrote: First, this is just my opinion. Although I have Windows XP and use it all the time, I despise using it for anything other than windows specific applications. I use VMWare on Windows so I can develop in Ubuntu on my Windows laptops. I have had too many weird things happen in Windows to use it anymore for development or testing work. I used cygwin for quite a while and it helps about 95% of the time, but the other 5% sucks. Now having gotten that off my chest I will say that we will support Windows XP because we can run and test there. Second, as this link, http://www.microsoft.com/windows/support/endofsupport.mspx, points out,Windows 98 hasn't been supported by MS for over a year and a half. You can hardly expect open source developers to test or support that system, especially since you'd be hard pressed to find a commercial company any more that does. We can only test on the hardware and operating systems we have. Ralph [Hoping to prevent a discussion about OSes] My opinion is people should use a real OS (Linux or BSD.) If stuck using Microsoft, use Windows 2003 R2 or Windows 98 SE. Windows 2003 licenses are only available in blocks of five so buy in bulk -- $80 each at 20 licenses. Professionally, I work mostly with the largest companies. They still insist on Windows (usually 2000 or XP) for the desktop (and Word and PowerPoint, which are even more painful.) I have not been successful in efforts to convert friends and family away from Windows. XP was an abortion -- still requiring monthly patches after 7 years. Vista is another abortion -- every user complains. I refused to allow XP or Vista on PCs that I support. Microsoft EOL'd Windows 98 because Windows 98 was still a major competitor to XP. Windows 98 is limited to 512 MB (actually ~700 MB). A Windows 98 PC with a 512 MB RAM and a 2-3 Ghz CPU is very fast. When these PCs need replacement, I will either force migration to a real OS, use Windows 2003 with at least 2 GB RAM, or maybe Apple. I am not worrying about the next generation yet because nobody using Windows 98 has any complaints. (I am waiting until someone notices that no iTunes client is available for Windows 98.) I am teaching several of these Windows 98 users about Web development. Cocoon is my preferred platform. We can use Cocoon-2.1, but I hoped Cocoon-2.2 would work. I am very grateful for the assistance provided by this ML. I am not expecting open source developers to support Windows 98; I can work around or fix any issues. I was surprised that Eclipse 3 added the XP bug -- transparent text is invisible on Windows 98, seems to add no value to Eclipse, and is difficult to disable. Cocoon and Maven are Java and should have no issues with Windows 98, yet Maven 2 refuses to work. I have proven (to myself) that the issue is Maven 2 rather than Cocoon. I am diving into the Maven source and hope to fix it. That conversation will be on the Maven MLs. Thank you, solprovider - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Attempting to Install Cocoon-2.2
[EMAIL PROTECTED] pisze: I want to try Cocoon-2.2. The only install instructions I found are at: http://cocoon.apache.org/2.2/1159_1_1.html Installed Maven; works after some fixing the batch files The install line from Creating a block in the above page errors (with -e): [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Invalid task 'org.apache.cocoon': you must specify a valid lifecycle phas e, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginV ersion:goal [INFO] [INFO] Trace org.apache.maven.BuildFailureException: Invalid task 'org.apache.cocoon': you must specify a valid lifecycle phase, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1515) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:386) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:138) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) mvn --version Maven version: 2.0.8 Java version: 1.6.0_03 OS name: windows 98 version: 4.10 arch: x86 Family: win9x Do the instructions work for other people? Did I miss something? I believe it's a typo in the command you ran. Could you paste it or try this one: mvn archetype:create -DarchetypeGroupId=org.apache.cocoon -DarchetypeArtifactId=cocoon-22-archetype-block -DarchetypeVersion=1.0.0-RC2 -DgroupId=com.mycompany -DartifactId=myBlock1 (everything without line breaks!) -- Grzegorz Kossakowski Committer and PMC Member of Apache Cocoon http://reflectingonthevicissitudes.wordpress.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Attempting to Install Cocoon-2.2
On Sat, Feb 2, 2008 at 4:18 AM, Grzegorz Kossakowski [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] pisze: I want to try Cocoon-2.2. The only install instructions I found are at: http://cocoon.apache.org/2.2/1159_1_1.html Installed Maven; works after some fixing the batch files The install line from Creating a block in the above page errors (with -e): [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Invalid task 'org.apache.cocoon': you must specify a valid lifecycle phas e, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginV ersion:goal [INFO] [INFO] Trace org.apache.maven.BuildFailureException: Invalid task 'org.apache.cocoon': you must specify a valid lifecycle phase, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1515) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:386) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:138) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) mvn --version Maven version: 2.0.8 Java version: 1.6.0_03 OS name: windows 98 version: 4.10 arch: x86 Family: win9x Do the instructions work for other people? Did I miss something? I believe it's a typo in the command you ran. Could you paste it or try this one: mvn archetype:create -DarchetypeGroupId=org.apache.cocoon -DarchetypeArtifactId=cocoon-22-archetype-block -DarchetypeVersion=1.0.0-RC2 -DgroupId=com.mycompany -DartifactId=myBlock1 (everything without line breaks!) Grzegorz Kossakowski Three sources(two from web page and your post) - same results. Should I assume Maven is broken? solprovider - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Attempting to Install Cocoon-2.2
[EMAIL PROTECTED] pisze: Three sources(two from web page and your post) - same results. Should I assume Maven is broken? Yep, your installation of Maven must be broken. You mentioned that you needed to fix some batch files which is something new to me. I successfully installed Maven on both Windows and Linux _without_ any additional hacking. I guess your modifications to batch files broke Maven. Can you explain in detail what you modifications you applied? -- Grzegorz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Attempting to Install Cocoon-2.2
On 2/2/08, Grzegorz Kossakowski [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] pisze: Three sources(two from web page and your post) - same results. Should I assume Maven is broken? Yep, your installation of Maven must be broken. You mentioned that you needed to fix some batch files which is something new to me. I successfully installed Maven on both Windows and Linux _without_ any additional hacking. I guess your modifications to batch files broke Maven. Can you explain in detail what you modifications you applied? Grzegorz FILE: mvn.bat == Fix Bad command or filename REM if %HOME% == (set HOME=%HOMEDRIVE%%HOMEPATH%) SET HOME=C:\apache\maven-2.0.8 == Fix Exception in thread main java.lang.NoClassDefFoundError: org/codehaus/classworlds/Launcher :runm2 SET CLASSWORLDS_JAR=C:\apache\maven-2.0.8\boot\classworlds-1.1.jar == Fix Invalid switch REM exit /B %ERROR_CODE% These modifications just hardcoded some paths and could not have broken anything. I repeated the process on a second PC with the same results. Other paths may need to be hardcoded. solprovider - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Attempting to Install Cocoon-2.2
I want to try Cocoon-2.2. The only install instructions I found are at: http://cocoon.apache.org/2.2/1159_1_1.html Installed Maven; works after some fixing the batch files The install line from Creating a block in the above page errors (with -e): [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Invalid task 'org.apache.cocoon': you must specify a valid lifecycle phas e, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginV ersion:goal [INFO] [INFO] Trace org.apache.maven.BuildFailureException: Invalid task 'org.apache.cocoon': you must specify a valid lifecycle phase, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1515) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:386) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:138) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) mvn --version Maven version: 2.0.8 Java version: 1.6.0_03 OS name: windows 98 version: 4.10 arch: x86 Family: win9x Do the instructions work for other people? Did I miss something? solprovider - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: install cocoon
At 21:30 +0100 9/5/07, Fergus McMenemie wrote: Best users, I have three question: Does anybody know a 'good' tutorial about Cocoon forms besides the one on cocoon apache website?. P.s. Any tutorial is of course welcome :) Have you completely mined the examples that come with cocoon? It is slightly out of date, but I found the following very useful:- http://localhost:8080/cocoon/samples/blocks/tour/intro/docs/index.html Regards -- === Fergus McMenemie Email:[EMAIL PROTECTED] Techmore Ltd Phone:(UK) 07721 376021 Unix/Mac/Intranets Analyst Programmer === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
install cocoon
Best users, I have three question: Does anybody know a 'good' tutorial about Cocoon forms besides the one on cocoon apache website?. P.s. Any tutorial is of course welcome :) Can anybody give me advise on building a clean cocoon build. Without unnecessary features like the samples etc. When i try to run cocoon where i only activated the line exclude.webapp.samples=true in local.build.properties when building it, i am getting the following error: Message: Could not find component (key [org.apache.cocoon.portal.impl.PageLabelManager])Description: org.apache.avalon.framework.configuration.ConfigurationException: Could not load class org.apache.cocoon.portal.event.aspect.impl.PageLabelEventAspect for component named apos;page-labelapos; at jndi:/localhost/cocoon/WEB-INF/cocoon.xconf:1979:120Sender: org.apache.cocoon.servlet.CocoonServletSource: Cocoon Servletcauseorg.apache.avalon.framework.component.ComponentException: Could not find component (key [org.apache.cocoon.portal.impl.PageLabelManager]) Does anybody know why this happens? Thanks in advances, Amon _ Get the new Windows Live Messenger! http://get.live.com/messenger/overview
Install Cocoon 2.1.9 under Jetty
Hello, I'm trying to install Cocoon under Jetty. I want to replace Tomcat by Jetty if possible and therefor I don't want to use Cocoon's embedded Jetty server. The latest stable release of Jetty is version 5.1.10 and there's a beta-release of Jetty6, version 6.0.0beta14. The manual of Jetty6 says I should be able to deploy a .war file by copying the .war file to the webapps dir and start Jetty. Jetty does unpack and run Cocoon. I can see the welcome page of Cocoon if I point my browser to http://localhost:8180/cocoon/ and I can run the samples, but Cocoon is unpacked in directory /tmp/Jetty__cocoon. In version 5.1.10 of Jetty, if I copy the cocoon.war file in the webapps dir and start Jetty, the .war-file is unpacked in Jetty's work/Jetty__8180__cocoon directory, but pointing my browser to http://localhost:8180/cocoon/ (I changed the port to 8180 in file etc/jetty.xml) now results in http error 404 '/cocoon/ Not Found'. I guess I have to make changes to the etc/jetty.xml file. Has anyone here managed to get Cocoon 2.1.9 running under Jetty 5.1 or Jetty6 beta. Unpacking Cocoon 2.1.9 under Jetty 5.1.10 results in three warnings like these: 20:14:17.807 INFO [main] org.mortbay.jetty.servlet.WebApplicationContext.resolveWebApp(WebApplicationContext.java:248) 13 Extract jar:file:/home/jetty/jetty-5.1.10/webapps/javadoc.war!/ to /home/jetty/jetty-5.1.10/work/Jetty__8180__javadoc/webapp 20:14:18.446 INFO [main] org.mortbay.util.Container.start(Container.java:74) 15 Started [EMAIL PROTECTED] 20:14:18.448 INFO [main] org.mortbay.util.Container.start(Container.java:74) 11 Started WebApplicationContext[/javadoc,/javadoc] 20:14:18.459 INFO [main] org.mortbay.http.SocketListener.start(SocketListener.java:204) 11 Started SocketListener on 0.0.0.0:8180 20:14:18.460 WARN!! [main] org.mortbay.jetty.Server.main(Server.java:465) 08 EXCEPTION org.mortbay.util.MultiException[org.apache.xerces.impl.dv.DVFactoryException: DTD factory class org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from DTDDVFactory.] at org.mortbay.http.HttpServer.doStart(HttpServer.java:686) at org.mortbay.util.Container.start(Container.java:72) at org.mortbay.jetty.Server.main(Server.java:460) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [...] Unpacking Cocoon 2.1.9 under Jetty 6.0.0beta14 results in these warnings: :INFO: Extract jar:file:/home/jetty/jetty-6.0.0beta14/webapps/cocoon.war!/ to /tmp/Jetty__cocoon/webapp :WARN: EXCEPTION java.io.FileNotFoundException: http://java.sun.com/j2ee/dtds/web-jsptaglib_1_1.dtd at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1147) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source) at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source) [...] INFO [main] (DirectSchedulerFactory.java:333) - Quartz scheduler version: 1.5.1 INFO [main] (QuartzScheduler.java:400) - Scheduler Cocoon_$_Fri_May_05_20:02:14_CEST_2006 started. WARN! *** JMS block is installed but jms client library not found. *** - For the jms block to work you must install and start a JMS server and place the client jar in WEB-INF/lib. - The default server, OpenJMS is configured in cocoon.xconf but is not bundled with Cocoon. :WARN: failed Xindice :WARN: failed [EMAIL PROTECTED]/cocoon,file:/tmp/Jetty__cocoon/webapp/} :INFO: Started SocketConnector @ 0.0.0.0:8181 :INFO: Started SelectChannelConnector @ 0.0.0.0:8180 :WARN: failed [EMAIL PROTECTED] :WARN: EXCEPTION org.apache.xindice.util.ConfigurationException: Failed to load configuration. at org.apache.xindice.server.XindiceServlet.loadConfiguration(XindiceServlet.java:258) at org.apache.xindice.server.XindiceServlet.init(XindiceServlet.java:103) at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:377) at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:234) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:37) at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:563) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:974) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:341) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:368) at org.mortbay.component.AbstractLifeCycle.start
RE: How to install Cocoon 2.1.6 on Tomcat 4.1.30
Good suggestions. Thanks. I'm also trying to find out from the vendor bundling Tomcat what customizations they might have done. --Judy Slein -Original Message- From: Antonio Gallardo [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 09, 2005 3:30 PM To: users@cocoon.apache.org Subject: RE: How to install Cocoon 2.1.6 on Tomcat 4.1.30 I will suggest to try to install first on a clean tomcat installation. Then you can move to the other one. BTW, are you copy the endorsed libs to tomcat endorsed? shutdown tomcat, Check inside cocoon_home/lib/endorsed and copy all of them to tomcat. After that, restart tomcat. Another tip, please be sure that tomcat is really down after doing the shutdown. Somtimes happens that you have more than 1 tomcat instance running. Best Regards, Antonio Gallardo On Mie, 9 de Marzo de 2005, 13:46, Slein, Judith A dijo: I'm working from a zip of Cocoon on XP. The tomcat I am trying to install under came bundled with another software package, so I don't have any details about what download was used for it. --Judy Slein -Original Message- From: Antonio Gallardo [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 09, 2005 1:58 PM To: users@cocoon.apache.org Subject: Re: How to install Cocoon 2.1.6 on Tomcat 4.1.30 Hi: What distribution you downloaded? tar.gz or zip? under wich OS are you deploying and building cocoon? Is posible this is an encoding problem. Best Regards, Antonio Gallardo. On Mie, 9 de Marzo de 2005, 12:02, Slein, Judith A dijo: I've been trying to install cocoon 2.1.6 as a webapp on tomcat 4.1.30, just building and copying the cocoon webapp directory to tomcat's webapps, with the following result: 2005-03-09 11:53:16 ContextConfig[/cocoon] Parse error in default web.xml org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log at org.apache.commons.digester.Digester.createSAXException(Digester.java: 27 84) at org.apache.commons.digester.Digester.createSAXException(Digester.java: 28 10) at org.apache.commons.digester.Digester.endElement(Digester.java:1066) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement( U nk nown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent D is patcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un k no wn Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1569) at org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig. ja va:549) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639 ) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi g .j ava:243) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl e Su pport.java:166) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3 5 87 ) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase. ja va:821) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807 ) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep l oy er.java:307) at org.apache.catalina.core.StandardHost.install(StandardHost.java:788) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j a va :559) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java: 35 8) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl e Su pport.java:166) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196) at org.apache.catalina.core.StandardHost.start(StandardHost.java:754) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363
RE: How to install Cocoon 2.1.6 on Tomcat 4.1.30
Yes, I was also wondering about the significance of default. All of the webapps (including cocoon) have upper-case WEB-INF, so I don't think that's the problem -- all the rest load successfully. --Judy -Original Message- From: Marc Salvetti [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 09, 2005 8:39 PM To: users@cocoon.apache.org Subject: Re: How to install Cocoon 2.1.6 on Tomcat 4.1.30 Hello from what i see in the error message, it says default web.xml i think that maybe it means tomcat doesn't find the cocoon/web-inf/web.xml maybe because of lower case with the web-inf folder ? cheers Marc Slein, Judith A a écrit : Antonio, Thanks for your suggestion. It is true that the cocoon web.xml file was UTF-8, while the tomcat web.xml file was ISO-8859-1, but when I saved them both as ISO-8859-1 I still got the same error. (I also tried both as UTF-8, which didn't make a difference either.) --Judy Slein -Original Message- From: Antonio Gallardo [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 09, 2005 1:58 PM To: users@cocoon.apache.org Subject: Re: How to install Cocoon 2.1.6 on Tomcat 4.1.30 Hi: What distribution you downloaded? tar.gz or zip? under wich OS are you deploying and building cocoon? Is posible this is an encoding problem. Best Regards, Antonio Gallardo. On Mie, 9 de Marzo de 2005, 12:02, Slein, Judith A dijo: I've been trying to install cocoon 2.1.6 as a webapp on tomcat 4.1.30, just building and copying the cocoon webapp directory to tomcat's webapps, with the following result: 2005-03-09 11:53:16 ContextConfig[/cocoon] Parse error in default web.xml org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log at org.apache.commons.digester.Digester.createSAXException(Digester.java: 27 84) at org.apache.commons.digester.Digester.createSAXException(Digester.java: 28 10) at org.apache.commons.digester.Digester.endElement(Digester.java:1066) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(U nk nown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentD is patcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unk no wn Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1569) at org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig. ja va:549) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig .j ava:243) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycle Su pport.java:166) at org.apache.catalina.core.StandardContext.start(StandardContext.java:35 87 ) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase. ja va:821) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDepl oy er.java:307) at org.apache.catalina.core.StandardHost.install(StandardHost.java:788) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.ja va :559) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java: 35 8) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycle Su pport.java:166) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196) at org.apache.catalina.core.StandardHost.start(StandardHost.java:754) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363) at org.apache.catalina.core.StandardService.start(StandardService.java:497 ) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190
How to install Cocoon 2.1.6 on Tomcat 4.1.30
I've been trying to install cocoon 2.1.6 as a webapp on tomcat 4.1.30, just building and copying the cocoon webapp directory to tomcat's webapps, with the following result: 2005-03-09 11:53:16 ContextConfig[/cocoon] Parse error in default web.xml org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log at org.apache.commons.digester.Digester.createSAXException(Digester.java:27 84) at org.apache.commons.digester.Digester.createSAXException(Digester.java:28 10) at org.apache.commons.digester.Digester.endElement(Digester.java:1066) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unk nown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis patcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno wn Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1569) at org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig.ja va:549) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.j ava:243) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu pport.java:166) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3587 ) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja va:821) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeploy er.java:307) at org.apache.catalina.core.StandardHost.install(StandardHost.java:788) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java :559) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:35 8) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu pport.java:166) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196) at org.apache.catalina.core.StandardHost.start(StandardHost.java:754) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363) at org.apache.catalina.core.StandardService.start(StandardService.java:497) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190) at org.apache.catalina.startup.Catalina.start(Catalina.java:513) at org.apache.catalina.startup.Catalina.execute(Catalina.java:401) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:209) 2005-03-09 11:53:16 ContextConfig[/cocoon]: Occurred at line 275 column 40 2005-03-09 11:53:16 ContextConfig[/cocoon]: Marking this application unavailable due to previous error(s) XML Spy says that the cocoon web-inf/web.xml is valid, as is tomcat's conf/web.xml. Other webapps are loading correctly, so I guess the complaint must be about cocoon/web-inf/wb.xml, but the line reported is in a comment, and if I remove some comments to see what happens to the line number where the error is reported, there is no change. On the other hand, adding a 1-line comment to tomcat/conf/web.xml shifts the reported location of the error 31 lines earlier. I also tried copying cocoon's xerces jars into tomcat/common/lib and into tomcat/common/endorsed. These experiments made no difference. Can anyone help
Re: How to install Cocoon 2.1.6 on Tomcat 4.1.30
Hi: What distribution you downloaded? tar.gz or zip? under wich OS are you deploying and building cocoon? Is posible this is an encoding problem. Best Regards, Antonio Gallardo. On Mie, 9 de Marzo de 2005, 12:02, Slein, Judith A dijo: I've been trying to install cocoon 2.1.6 as a webapp on tomcat 4.1.30, just building and copying the cocoon webapp directory to tomcat's webapps, with the following result: 2005-03-09 11:53:16 ContextConfig[/cocoon] Parse error in default web.xml org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log at org.apache.commons.digester.Digester.createSAXException(Digester.java:27 84) at org.apache.commons.digester.Digester.createSAXException(Digester.java:28 10) at org.apache.commons.digester.Digester.endElement(Digester.java:1066) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unk nown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis patcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno wn Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1569) at org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig.ja va:549) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.j ava:243) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu pport.java:166) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3587 ) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja va:821) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeploy er.java:307) at org.apache.catalina.core.StandardHost.install(StandardHost.java:788) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java :559) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:35 8) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu pport.java:166) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196) at org.apache.catalina.core.StandardHost.start(StandardHost.java:754) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363) at org.apache.catalina.core.StandardService.start(StandardService.java:497) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190) at org.apache.catalina.startup.Catalina.start(Catalina.java:513) at org.apache.catalina.startup.Catalina.execute(Catalina.java:401) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:209) 2005-03-09 11:53:16 ContextConfig[/cocoon]: Occurred at line 275 column 40 2005-03-09 11:53:16 ContextConfig[/cocoon]: Marking this application unavailable due to previous error(s) XML Spy says that the cocoon web-inf/web.xml is valid, as is tomcat's conf/web.xml. Other webapps are loading correctly, so I guess the complaint must be about cocoon/web-inf/wb.xml, but the line reported is in a comment, and if I remove some comments to see what happens to the line number where the error is reported, there is no change
RE: How to install Cocoon 2.1.6 on Tomcat 4.1.30
I'm working from a zip of Cocoon on XP. The tomcat I am trying to install under came bundled with another software package, so I don't have any details about what download was used for it. --Judy Slein -Original Message- From: Antonio Gallardo [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 09, 2005 1:58 PM To: users@cocoon.apache.org Subject: Re: How to install Cocoon 2.1.6 on Tomcat 4.1.30 Hi: What distribution you downloaded? tar.gz or zip? under wich OS are you deploying and building cocoon? Is posible this is an encoding problem. Best Regards, Antonio Gallardo. On Mie, 9 de Marzo de 2005, 12:02, Slein, Judith A dijo: I've been trying to install cocoon 2.1.6 as a webapp on tomcat 4.1.30, just building and copying the cocoon webapp directory to tomcat's webapps, with the following result: 2005-03-09 11:53:16 ContextConfig[/cocoon] Parse error in default web.xml org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log at org.apache.commons.digester.Digester.createSAXException(Digester.java: 27 84) at org.apache.commons.digester.Digester.createSAXException(Digester.java: 28 10) at org.apache.commons.digester.Digester.endElement(Digester.java:1066) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(U nk nown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentD is patcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unk no wn Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1569) at org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig. ja va:549) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig .j ava:243) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycle Su pport.java:166) at org.apache.catalina.core.StandardContext.start(StandardContext.java:35 87 ) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase. ja va:821) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDepl oy er.java:307) at org.apache.catalina.core.StandardHost.install(StandardHost.java:788) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.ja va :559) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java: 35 8) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycle Su pport.java:166) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196) at org.apache.catalina.core.StandardHost.start(StandardHost.java:754) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363) at org.apache.catalina.core.StandardService.start(StandardService.java:497) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190) at org.apache.catalina.startup.Catalina.start(Catalina.java:513) at org.apache.catalina.startup.Catalina.execute(Catalina.java:401) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j av a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess or Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:209) 2005-03-09 11:53:16 ContextConfig[/cocoon]: Occurred at line 275 column 40 2005-03-09 11:53:16
RE: How to install Cocoon 2.1.6 on Tomcat 4.1.30
Antonio, Thanks for your suggestion. It is true that the cocoon web.xml file was UTF-8, while the tomcat web.xml file was ISO-8859-1, but when I saved them both as ISO-8859-1 I still got the same error. (I also tried both as UTF-8, which didn't make a difference either.) --Judy Slein -Original Message- From: Antonio Gallardo [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 09, 2005 1:58 PM To: users@cocoon.apache.org Subject: Re: How to install Cocoon 2.1.6 on Tomcat 4.1.30 Hi: What distribution you downloaded? tar.gz or zip? under wich OS are you deploying and building cocoon? Is posible this is an encoding problem. Best Regards, Antonio Gallardo. On Mie, 9 de Marzo de 2005, 12:02, Slein, Judith A dijo: I've been trying to install cocoon 2.1.6 as a webapp on tomcat 4.1.30, just building and copying the cocoon webapp directory to tomcat's webapps, with the following result: 2005-03-09 11:53:16 ContextConfig[/cocoon] Parse error in default web.xml org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log at org.apache.commons.digester.Digester.createSAXException(Digester.java: 27 84) at org.apache.commons.digester.Digester.createSAXException(Digester.java: 28 10) at org.apache.commons.digester.Digester.endElement(Digester.java:1066) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(U nk nown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentD is patcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unk no wn Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1569) at org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig. ja va:549) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig .j ava:243) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycle Su pport.java:166) at org.apache.catalina.core.StandardContext.start(StandardContext.java:35 87 ) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase. ja va:821) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDepl oy er.java:307) at org.apache.catalina.core.StandardHost.install(StandardHost.java:788) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.ja va :559) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java: 35 8) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycle Su pport.java:166) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196) at org.apache.catalina.core.StandardHost.start(StandardHost.java:754) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363) at org.apache.catalina.core.StandardService.start(StandardService.java:497) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190) at org.apache.catalina.startup.Catalina.start(Catalina.java:513) at org.apache.catalina.startup.Catalina.execute(Catalina.java:401) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j av a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess or Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:209) 2005-03-09 11
RE: How to install Cocoon 2.1.6 on Tomcat 4.1.30
I will suggest to try to install first on a clean tomcat installation. Then you can move to the other one. BTW, are you copy the endorsed libs to tomcat endorsed? shutdown tomcat, Check inside cocoon_home/lib/endorsed and copy all of them to tomcat. After that, restart tomcat. Another tip, please be sure that tomcat is really down after doing the shutdown. Somtimes happens that you have more than 1 tomcat instance running. Best Regards, Antonio Gallardo On Mie, 9 de Marzo de 2005, 13:46, Slein, Judith A dijo: I'm working from a zip of Cocoon on XP. The tomcat I am trying to install under came bundled with another software package, so I don't have any details about what download was used for it. --Judy Slein -Original Message- From: Antonio Gallardo [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 09, 2005 1:58 PM To: users@cocoon.apache.org Subject: Re: How to install Cocoon 2.1.6 on Tomcat 4.1.30 Hi: What distribution you downloaded? tar.gz or zip? under wich OS are you deploying and building cocoon? Is posible this is an encoding problem. Best Regards, Antonio Gallardo. On Mie, 9 de Marzo de 2005, 12:02, Slein, Judith A dijo: I've been trying to install cocoon 2.1.6 as a webapp on tomcat 4.1.30, just building and copying the cocoon webapp directory to tomcat's webapps, with the following result: 2005-03-09 11:53:16 ContextConfig[/cocoon] Parse error in default web.xml org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log at org.apache.commons.digester.Digester.createSAXException(Digester.java: 27 84) at org.apache.commons.digester.Digester.createSAXException(Digester.java: 28 10) at org.apache.commons.digester.Digester.endElement(Digester.java:1066) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(U nk nown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentD is patcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unk no wn Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1569) at org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig. ja va:549) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig .j ava:243) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycle Su pport.java:166) at org.apache.catalina.core.StandardContext.start(StandardContext.java:35 87 ) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase. ja va:821) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDepl oy er.java:307) at org.apache.catalina.core.StandardHost.install(StandardHost.java:788) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.ja va :559) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java: 35 8) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycle Su pport.java:166) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196) at org.apache.catalina.core.StandardHost.start(StandardHost.java:754) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363) at org.apache.catalina.core.StandardService.start(StandardService.java:497) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190) at org.apache.catalina.startup.Catalina.start(Catalina.java:513) at org.apache.catalina.startup.Catalina.execute(Catalina.java:401) at org.apache.catalina.startup.Catalina.process(Catalina.java:180
Re: How to install Cocoon 2.1.6 on Tomcat 4.1.30
Hello from what i see in the error message, it says default web.xml i think that maybe it means tomcat doesn't find the cocoon/web-inf/web.xml maybe because of lower case with the web-inf folder ? cheers Marc Slein, Judith A a écrit : Antonio, Thanks for your suggestion. It is true that the cocoon web.xml file was UTF-8, while the tomcat web.xml file was ISO-8859-1, but when I saved them both as ISO-8859-1 I still got the same error. (I also tried both as UTF-8, which didn't make a difference either.) --Judy Slein -Original Message- From: Antonio Gallardo [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 09, 2005 1:58 PM To: users@cocoon.apache.org Subject: Re: How to install Cocoon 2.1.6 on Tomcat 4.1.30 Hi: What distribution you downloaded? tar.gz or zip? under wich OS are you deploying and building cocoon? Is posible this is an encoding problem. Best Regards, Antonio Gallardo. On Mie, 9 de Marzo de 2005, 12:02, Slein, Judith A dijo: I've been trying to install cocoon 2.1.6 as a webapp on tomcat 4.1.30, just building and copying the cocoon webapp directory to tomcat's webapps, with the following result: 2005-03-09 11:53:16 ContextConfig[/cocoon] Parse error in default web.xml org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log at org.apache.commons.digester.Digester.createSAXException(Digester.java: 27 84) at org.apache.commons.digester.Digester.createSAXException(Digester.java: 28 10) at org.apache.commons.digester.Digester.endElement(Digester.java:1066) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(U nk nown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentD is patcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unk no wn Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1569) at org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig. ja va:549) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig .j ava:243) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycle Su pport.java:166) at org.apache.catalina.core.StandardContext.start(StandardContext.java:35 87 ) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase. ja va:821) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDepl oy er.java:307) at org.apache.catalina.core.StandardHost.install(StandardHost.java:788) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.ja va :559) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java: 35 8) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycle Su pport.java:166) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196) at org.apache.catalina.core.StandardHost.start(StandardHost.java:754) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363) at org.apache.catalina.core.StandardService.start(StandardService.java:497) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190) at org.apache.catalina.startup.Catalina.start(Catalina.java:513) at org.apache.catalina.startup.Catalina.execute(Catalina.java:401) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j av a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess or Impl.java:25
Re: Error attempting to install cocoon - Scheduler with name Cocoon already exists
hi philip if you don't need the cron- and the scratchpad-block you can exclude them from the build. well, if you're just starting with cocoon i think you don't need them :-) you can do this by copying blocks.properties to local.blocks.properties, open the latter and uncomment the two lines include.block.cron=false and include.block.scratchpad=false i had the same problem - seems to be a problem in the cron-block of the actual version. the way above works perfect for me, because i don't need the two blocks. greetings stefan Philip Hanna wrote: Hi, I'd be extremely grateful if anyone could help me with a problem i'm having. I'm new to cocoon and have spent 2 days trying to install it so far. My Setup: (problem below) I'm trying to install cocoon on tomcat. I'm doing this purely to create excel, doc and pdf files using XML with POI and FOP. I have just installed (in my c:/) j2sdk1.4.2_04 tomcat-4.1.31 cocoon-2.1.6 and apache-ant-1.6.2 I am using windows2000. I have built and installed cocoon as per the install instruction. The only part I didn't do was using the CVS as I downloaded the files from the website. I have created the environment variables ANT_HOME=c:\ant CATALINA_HOME=c:\tomcat-4.1.31 CATALINA_OPTS=-Djava.awt.headless=true (This was added later while I was trying to get it working as it's suggested somewhere) JAVA_HOME=c:\j2sdk1.4.2_04 my path variable contains C:\j2sdk1.4.2_04\bin;%ANT_HOME%\bin; +others I used build war when building cocoon and after placing the war file in tomcats webapps folder and starting tomcat a cocoon folder is expanded. My Problem: Going to http://localhost:8080/cocoon results in the error below. Below the error shown in Internet Explorer I've pasted the error shown in the tomcat window. If you could tell me what I've done incorrectly to cause this problem you'd make my week. Many Thanks, Phil Error in IE --- Message: Scheduler with name apos;Cocoonapos; already exists. Description: org.apache.avalon.framework.configuration.ConfigurationException: cannot create a quartz scheduler Sender: org.apache.cocoon.servlet.CocoonServlet Source: Cocoon Servlet cause org.quartz.SchedulerException: Scheduler with name apos;Cocoonapos; already exists. request-uri /cocoon full exception chain stacktrace org.apache.avalon.framework.configuration.ConfigurationException: cannot create a quartz scheduler at org.apache.cocoon.components.cron.QuartzJobScheduler.initialize(QuartzJobScheduler.java:324) at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:277) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108) at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:522) at org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:541) at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283) at org.apache.cocoon.Cocoon.initialize(Cocoon.java:280) at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283) at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1382) at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:480) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:888) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:621) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:163) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596
How to install Cocoon 2.1.5 on Tomcat 5.0 or jetty 5.0
Hi all. Does anybody know where to find innstruction how to install Cocoon 2.1.5.1 on Tomcat 5.0 or Jetty 5.0? Thank you in advance.
Rép. : How to install Cocoon 2.1.5 on Tomcat 5.0 or jetty 5.0
Hi, With tomcat 5.0: 1) build cocoon from source; 2) Copy content of ./cocoon-2.1.5.1/build/webapp into your tomcat server application directory (for me /srv/www/tomcat/base/work/Catalina/localhost/cocoon) 3) Use Tomcat administration console (http://localhost:8080/admin/) and create a new context into folder Host. That it Willy [EMAIL PROTECTED] 15/10/04 9:26 Hi all. Does anybody know where to find innstruction how to install Cocoon 2.1.5.1 on Tomcat 5.0 or Jetty 5.0? Thank you in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to install Cocoon 2.1.5 on Tomcat 5.0 or jetty 5.0
Art Spasky (): Hi all. Does anybody know where to find innstruction how to install Cocoon 2.1.5.1 on Tomcat 5.0 or Jetty 5.0? Thank you in advance. Could you please write your messages in plain text? I run Cocoon 2.1.5 with Tomcat 5.0 (win32 and Linux) without any problems. I just deploy the war and it works. What is your problem exactly? Timur - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem install cocoon on Tomcat5.0.X
Hi tomcat is working fine but problem is cocoon doesnot have cocoon.war to copy into tomcat webaps i downloaded cocoon from http://cocoon.apache.org/mirror.cgi/cocoon-2.1.5.1-src.tar.gz what is the problem Yahoo! India Matrimony: Find your life partner online Go to: http://yahoo.shaadi.com/india-matrimony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem install cocoon on Tomcat5.0.X
execute build.sh war rasul m wrote: Hi tomcat is working fine but problem is cocoon doesnot have cocoon.war to copy into tomcat webaps i downloaded cocoon from http://cocoon.apache.org/mirror.cgi/cocoon-2.1.5.1-src.tar.gz what is the problem Yahoo! India Matrimony: Find your life partner online Go to: http://yahoo.shaadi.com/india-matrimony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem install cocoon on Tomcat5.0.X
You have to compile it with ANT. Execute ./build.sh war in linux, or build.bat war in windows. When the compilation finish, the subdirectory build will be created. Enter build and you will find cocoon.war. Hi tomcat is working fine but problem is cocoon doesnot have cocoon.war to copy into tomcat webaps i downloaded cocoon from http://cocoon.apache.org/mirror.cgi/cocoon-2.1.5.1-src.tar.gz what is the problem Yahoo! India Matrimony: Find your life partner online Go to: http://yahoo.shaadi.com/india-matrimony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Este correo ha sido enviado via MarcaMail - http://www.marca.net/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem install cocoon on Tomcat5.0.X
or build.bat war if you are on windoze [EMAIL PROTECTED] 2004/09/20 03:09:12 PM execute build.sh war rasul m wrote: Hi tomcat is working fine but problem is cocoon doesnot have cocoon.war to copy into tomcat webaps i downloaded cocoon from http://cocoon.apache.org/mirror.cgi/cocoon-2.1.5.1-src.tar.gz what is the problem Yahoo! India Matrimony: Find your life partner online Go to: http://yahoo.shaadi.com/india-matrimony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Install Cocoon 2.1.5 in Tomcat 4.1.30?
Does anyone have Cocoon running in Tomcat 4.1.30? The install docs do not cover this version. Can somebody give me a brief overview of the steps? -jm - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Q: install Cocoon 2.0.4-vm14 binary on Tomcat 5.0.19?
I've followed INSTALL file in cocoon-2.0.4-vm14-bin.zip (since it's the most recent downloadable binary from Apache) to isntall it on latest Tomcat 5.0.19. And found following error in stderr. the Install html page only tells how to install on up to Tomcat 4.0.4b. Has any one had luck with this pair? ... Mar 5, 2004 11:50:33 AM org.apache.catalina.core.StandardHostDeployer install INFO: Installing web application at context path /cocoon from URL file:C:/Program Files/Apache Software Foundation/Tomca t 5.0/webapps/cocoon Mar 5, 2004 11:50:33 AM org.apache.catalina.core.StandardContext start SEVERE: Error in dependencyCheck java.util.zip.ZipException: invalid EXT descriptor signature at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:355) at java.util.zip.ZipInputStream.read(ZipInputStream.java:141) at java.util.jar.JarInputStream.read(JarInputStream.java:159) at java.io.BufferedInputStream.read1(BufferedInputStream.java:220) at java.io.BufferedInputStream.read(BufferedInputStream.java:280) at java.util.jar.JarInputStream.getBytes(JarInputStream.java:88) at java.util.jar.JarInputStream.init(JarInputStream.java:65) at java.util.jar.JarInputStream.init(JarInputStream.java:43) at org.apache.catalina.util.ExtensionValidator.getManifest(ExtensionValidator.java:420) at org.apache.catalina.util.ExtensionValidator.validateApplication(ExtensionValidator.java:248) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4133) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:850) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:638) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:320) at org.apache.catalina.core.StandardHost.install(StandardHost.java:875) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:657) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:476) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1008) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:394) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1134) at org.apache.catalina.core.StandardHost.start(StandardHost.java:832) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1126) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:521) at org.apache.catalina.core.StandardService.start(StandardService.java:519) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2345) at org.apache.catalina.startup.Catalina.start(Catalina.java:594) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398) Mar 5, 2004 11:50:33 AM org.apache.catalina.core.StandardContext start SEVERE: Error getConfigured Mar 5, 2004 11:50:33 AM org.apache.catalina.core.StandardContext start SEVERE: Context startup failed due to previous errors Mar 5, 2004 11:50:33 AM org.apache.catalina.core.StandardContext start SEVERE: Exception during cleanup after start failed LifecycleException: Container StandardContext[/cocoon] has not been started at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4400) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4298) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:850) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:638) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:320) at org.apache.catalina.core.StandardHost.install(StandardHost.java:875) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:657) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:476) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1008) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:394) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1134) at org.apache.catalina.core.StandardHost.start(StandardHost.java:832) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1126) at
Re: Q: install Cocoon 2.0.4-vm14 binary on Tomcat 5.0.19?
On 05.03.2004 21:57, [EMAIL PROTECTED] wrote: I've followed INSTALL file in cocoon-2.0.4-vm14-bin.zip (since it's the most recent downloadable binary from Apache) to isntall it on latest Tomcat 5.0.19. And found following error in stderr. the Install html page only tells how to install on up to Tomcat 4.0.4b. Has any one had luck with this pair? Unfortunately we have delivered Cocoon 2.0.4 with a broken batik JAR - that's the error message you get. If you replace it by hand the deployment will work. The error is fixed in 2.0 CVS, just download the batik-all-1.5.jar from http://cvs.apache.org/viewcvs.cgi/cocoon-2.0/lib/optional/. But when doing this I guess you can also grab the 2.1.4 sources and build Cocoon yourself. Don't fear, it's really easy. There is an INSTALL file in the root that describes how to do it. If you use the standard config it's just a build war (for deployment in Tomcat) or a build and a cocoon servlet afterwards for having Jetty running with Cocoon. Joerg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Install cocoon
Your build is succesful.. You should have the war file. These are just javadoc generation errors. You can comment out the javadoc in the build.properties file. exclude.webapp.javadocs=true to #exclude.webapp.javadocs=true See in your attachments: Building jar: /home/anna/cocoon-2.1.3/build/cocoon-2.1.3/cocoon.war BUILD SUCCESSFUL Total time: 4 minutes 33 seconds -Original Message- From: Anna Bikkina [mailto:[EMAIL PROTECTED] Sent: 2004-01-30 11:41 AM To: [EMAIL PROTECTED] Subject: Re:Install cocoon I tried clean war and still have the same problems with ant and jdo packages. It complains cannot find those packages. I tried adding them to different places but still have the same problem. Please find the attached file with part of the build output. Thanks, Anna. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Install cocoon
Thank you for the response. Anna. On Friday 30 January 2004 03:46 pm, JD Daniels wrote: Your build is succesful.. You should have the war file. These are just javadoc generation errors. You can comment out the javadoc in the build.properties file. exclude.webapp.javadocs=true to #exclude.webapp.javadocs=true See in your attachments: Building jar: /home/anna/cocoon-2.1.3/build/cocoon-2.1.3/cocoon.war BUILD SUCCESSFUL Total time: 4 minutes 33 seconds -Original Message- From: Anna Bikkina [mailto:[EMAIL PROTECTED] Sent: 2004-01-30 11:41 AM To: [EMAIL PROTECTED] Subject: Re:Install cocoon I tried clean war and still have the same problems with ant and jdo packages. It complains cannot find those packages. I tried adding them to different places but still have the same problem. Please find the attached file with part of the build output. Thanks, Anna. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Struggling to install Cocoon - help please!
Hi Everyone! I am struggling to get Cocoon running and am stuck. At the end of the install FAQs it suggests contacting this mailing list, I hope this is OK. The problem is when I go to localhost:8080/cocoon I just get Servlet Cocoon2 is currently unavailable with an HTTP 503 error. This is what I have done so far: I am using J2sdk1.4.2_01 and Tomcat 4.1.27 on Windows 2000. I have set the CATALINA_HOME, CATALINA_BASE and JAVA_HOME environment variables. I have created %JAVA_HOME%\jre\lib\endorsed and put the files xerces-XXX.jar, xalan-XXX.jar and from .\lib\core\ inside. I copied cocoon.war into tomcat\webapps and tomcat starts fine. Tomcat has unpacked it into a folder called coccon and in the tomcat manager cocoon demo is listed. I have restarted Tomcat (and the computer!) a number of times and can't think of anything else to try, hence this plea for help. Lastly I can't see any logfiles created by Cocoon. Thanks in advance Ben _ Hotmail - Absolut kostenfrei! Der weltweit größte E-Mail-Anbieter im Netz: http://www.msn.de/hotmail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struggling to install Cocoon - help please!
I have set the CATALINA_HOME, CATALINA_BASE and JAVA_HOME environment variables. I have created and put the files xerces-XXX.jar, xalan-XXX.jar and from .\lib\core\ inside. Ben, I always put the required XML parser files under TOMCAT_HOME/common/endorsed, not under %JAVA_HOME%\jre\lib\endorsed. Moreover, I never needed to set CATALINA_HOME and CATALINA_BASE environment variables. Hope it helps, Flavio Costa - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struggling to install Cocoon - help please!
Ben Roberts wrote: Hi Everyone! I am struggling to get Cocoon running and am stuck. At the end of the install FAQs it suggests contacting this mailing list, I hope this is OK. The problem is when I go to localhost:8080/cocoon I just get Servlet Cocoon2 is currently unavailable with an HTTP 503 error. This is what I have done so far: I am using J2sdk1.4.2_01 and Tomcat 4.1.27 on Windows 2000. I have set the CATALINA_HOME, CATALINA_BASE and JAVA_HOME environment variables. I have created %JAVA_HOME%\jre\lib\endorsed and put the files xerces-XXX.jar, xalan-XXX.jar and from .\lib\core\ inside. The standard endorsed dir you use above is overridden by default by the tomcat startup script. Thus, for tomcat you need to move the xerces and xalan jars to %TOMCAT_HOME\common\endorsed\. Nothing ever needs to be done with the jars from lib\core. Delete them from jre\lib\endorsed. I'm curious - now that you know this can you go back and examine the install docs to see why this was not clear? This is by far the #1 FAQ and we've tried to make it very clear in the install docs. Either you found a doc that was missed, or found a reason it wasn't explained well, or just didn't read carefully (which is fine too. been there, done that.) Any suggestion to avoid this problem in the future would be very appreciated. I copied cocoon.war into tomcat\webapps and tomcat starts fine. Tomcat has unpacked it into a folder called coccon and in the tomcat manager cocoon demo is listed. I have restarted Tomcat (and the computer!) a number of times and can't think of anything else to try, hence this plea for help. Lastly I can't see any logfiles created by Cocoon. When no log files are created by Cocoon it means something went wrong early in its startup and you should go look in the container's logs (tomcat in this case). Geoff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]