Sign In/My Account | View Cart  
advertisement

Article:
 Excel Reports with Apache Cocoon and POI
Subject: New: Tomcat Installation Direction from War file
Date: 2003-02-19 18:47:11
From: Steven Punte

INSTALLATION FROM WAR (Tested so far with Tomcat 4.1.12)


0. Download war file from http://candlelightsoftware.com/downloads/cocoon-reports.war


1. Place cocoon-report in ~jakarta-tomcat-4.1.12/webapps/cocoon-reports.war


2. Start up Tomcat


3. Place browser URL to http://localhost:8080/cocoon-reports
You should now see selection for the two demo report.
This will also un-archive the war file so the additional
configuration and setup steps below can be performed.


4. Create MySql database table: mysql < ~/cocoon-reports/demo.sql on command line.


5. Adjust Cocoon Sitemap file:


5.1 Adjust URL for database if needed: see line 230 of site map file


5.2 Adjust line 237 of sitemap file (i.e. parameter "absolute-path"
to reflect your installation.



Previous Message Previous Message   Next Message Next Message


Titles Only Titles Only Newest First
  • New: Tomcat Installation Direction from War file
    2004-02-24 10:18:38 Sri Karumuri

    Steve,
    I have been using Tomcat/JSPs tech. for a while but relatively new to Cocoon. Si, I decided to try out your example reports for a specific project and got the following error message after step 3(I will paste only the appropriate part of it):


    escription org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling sitemap_xmap: Line 0, column 0: error: java.io.IOException: read error 1 error


    stack-trace


    org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling sitemap_xmap:
    Line 0, column 0:
    error: java.io.IOException: read error
    1 error


    at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:340)
    at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:292)
    at org.apache.cocoon.sitemap.Handler.run(Handler.java:265)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: org.apache.cocoon.components.language.LanguageException: Error compiling sitemap_xmap:
    Line 0, column 0:
    error: java.io.IOException: read error
    1 error


    Sorry if I missed the obvious.
    Sri


Sponsored By: