You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Berman, Andrew" <ab...@ifinance.com> on 2001/05/11 18:27:24 UTC

[C2] Installation successful on Tomcat + JBoss on Win32

I have successfully installed Cocoon 2 on JBoss with Embedded Tomcat on Win
32.

1. Build cocoon into a war
2. Put war in the JBoss deploy directory
3. Put Xerces jar in the jboss/lib directory
4. Remove crimson.jar and jaxp.jar from jboss/lib directory
5. Remove jaxp.jar from tomcat/lib directory
6. Rename parser.jar to zzparser.jar in tomcat/lib directory
7. Edit the run script in JBoss bin directory
   a. Add a classpath environment to the run script to include the xerces
parser in the jboss/lib    	directory.  I also added it to the
JBOSS_CLASSPATH in the very beginning.
   b. Comment out the following lines:
	set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;../lib/crimson.jar
	set JAXP=-
Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBui
lderFactoryImpl
	set JAXP=%JAXP% -
Djavax.xml.parsers.SAXParserFactory=org.apache.crimson.jaxp.SAXParserFactory
Impl
8. Run the run script
9. Go to http://localhost:8080/cocoon
10. You should see the Cocoon 2 welcome page.  Let me know if you have
problems

Andrew Berman
iFinance.com
Senior Web Developer