Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

General e-Business discussion FAQ

Tomcat and Cocoon

Deploying Cocoon 2.0.4 on Tomcat 5.5.9 by breidle3
Posted: 30 Jun 05

1) install tomcat5.5.9-compat package (only if JDK 1.4.x
   is used)
2) copy cocoon.war in $tomcat_home/webapps for deploying
3) start Tomcat to unpack cocoon.war (-> ZipException is    
   thrown during startup process)
4) stop Tomcat
5) replace $tomcat_home\webapps\cocoon\WEB-INF\lib\batik-all-1.5b2.jar with
   batik-all-1.5.jar (see Bugzilla bug id 26392)
6) start Tomcat: in case of getting a java.lang.BindException: Change the port
   number for HSQLDB (default 9002) in
   $tomcat_home\webapps\cocoon\WEB-INF\cocoon.xconf (take care: there are
several occurrences of this port number in the cocoon.xconf file !) and restart Tomcat

Using JDK 1.5.0_03, this works fine.

Using JDK 1.4.2, you have to do the following additional step:

7) Create $TOMCAT_HOME\common\endorsed  
   Unpack cocoon.war and copy xercesXXX.jar, xalan-XXX.jar,
   and the xml-apis.jar from the
   $cocoon_home\WEB-INF\lib\ to the new directory created above.
   Otherwise, an Exception: The output format must
   have a '{http://xml.apache.org/xalan}content-handler'
is thrown when clicking on some links
   on the cocoon start page and subsequent pages

Back to General e-Business discussion FAQ Index
Back to General e-Business discussion Forum

My Archive

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close