forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hare, Michael" <Michael.H...@fnc.fujitsu.com>
Subject RE: Forrest 0.6 Interaction with Tomcat 5.0.27
Date Fri, 03 Sep 2004 21:43:40 GMT
I tried commenting out the DOCTYPE decl in src/documentation/skinconf.xml
and forrest complained immediatly that skinconf.xml was not an valid XML
file.

[snapshot]
Buildfile: C:\Programs\ApacheGroup\forrest-0.6\src\core\forrest.build.xml

init-props:
Loading project specific properties from
C:\ForrestExamples\forrest.properties
Loading user specific properties from C:\Documents and
Settings\mphare\forrest.properties
Loading default properties from
C:\Programs\ApacheGroup\forrest-0.6\src\core\context\default-forrest.propert
ies
forrest.basic.jvmargs:-Dproject.home="C:\ForrestExamples"
-Dforrest.home="C:\Programs\ApacheGroup\forrest-0.6\src\core"

validate-xdocs:
12 file(s) have been successfully validated.
...validated xdocs

validate-skinconf:
/C:/ForrestExamples/src/documentation/skinconf.xml:23:13: Document root
element "skinconfig", must match DOCTYPE root "null".
/C:/ForrestExamples/src/documentation/skinconf.xml:23:13: Document is
invalid: no grammar found.

BUILD FAILED
C:\Programs\ApacheGroup\forrest-0.6\src\core\targets\validate.xml:156:
C:\ForrestExamples\src\documentation\skinconf.xml is not a va
lid XML document.

Total time: 3 seconds
[/snapshot]

There must be more to it than just commenting out a DOCTYPE decl..

- mike

-----Original Message-----
From: David Crossley [mailto:crossley@apache.org]
Sent: Thursday, September 02, 2004 11:06 AM
To: 'user@forrest.apache.org'
Subject: RE: Forrest 0.6 Interaction with Tomcat 5.0.27


Hare, Michael wrote:
> UPDATE:
> 
> I noticed two new version of Tomcat are available.
> I installed 5.0.28, I am using Sun JDK: 1.4.2_05, I copied the endorsed
libs
> from forrest to Tomcat.
> 
> I got the latest from svn (build 37388) and it built fine.
> 
> I seeded a new Forrest 0.6 site, but when I go to generate the site, I get
1
> error and the build fails.
> 
> [snapshot]
> ------------------------------------------------------------------------
> cocoon 2.1.5
> Copyright (c) 1999-2004 Apache Software Foundation. All rights reserved.
> ------------------------------------------------------------------------
> * [1/25]    [25/26]   3.485s 8.6Kb   index.html
> * [2/25]    [1/22]    0.651s 8.6Kb   todo.html
> ^                                    samples/
> * [4/30]    [7/31]    1.261s 22.4Kb  samples/linking.html
> * [6/30]    [2/23]    0.591s 10.6Kb  samples/sdocbook.html
> * [7/31]    [2/24]    0.771s 10.3Kb  samples/openoffice-writer.html
> * [8/32]    [2/23]    0.421s 9.0Kb   samples/ascii-art.html
> * [9/31]    [0/0]     1.753s 3.6Kb   index.pdf
> * [12/29]   [1/28]    0.59s  8.8Kb   samples/index.html
> * [13/28]   [0/0]     0.121s 3.3Kb   samples/index.pdf
> * [14/29]   [2/23]    0.731s 13.0Kb  samples/ihtml-sample.html
> * [15/28]   [0/0]     21.38s 10.9Kb  samples/ihtml-sample.pdf
> * [18/25]   [0/0]     0.16s  3.9Kb   samples/ascii-art.pdf
> * [19/24]   [0/0]     0.03s  1.1Kb   images/project-logo.gif
> * [23/24]   [4/25]    0.571s 7.9Kb   changes.html
> * [24/23]   [0/0]     0.03s  1.1Kb   images/add.jpg
> * [25/22]   [0/0]     0.04s  360b    images/rss.png
> * [26/21]   [0/0]     0.11s  3.2Kb   changes.pdf
> * [27/20]   [0/0]     0.13s  3.6Kb   todo.pdf
> * [28/19]   [0/0]     23.414s 233b    images/project.png
> * [29/22]   [4/29]    0.611s 26.9Kb  samples/document-v13.html
> * [30/22]   [1/10]    0.09s  15.8Kb  samples/document-v13.xml
> X [0]                                     samples/ext:dtd-docs  BROKEN: No
> pipeline matched request: samples/ext:dtd-docs
> * [32/20]   [0/0]     0.02s  696b    images/icon.png
> * [33/19]   [0/0]     20.96s 521b    changes.rss
> * [34/18]   [0/0]     0.441s 12.8Kb  samples/document-v13.pod
> * [35/17]   [0/0]     0.821s 7.4Kb   samples/sdocbook.pdf
> [/snapshot]

We know about that single failure, but don't yet
know what causes it. As the message says, the rest
of the generation is successful.

> I decided to try to build the webapp for Tomcat anyway and I get this
error:
> 
> [snapshot]
> ___________________________________
> Using skin "crust"
> ____________________________________
> Removed 1 dangling directory from C:\ForrestExamples\build\webapp
> Removed 1 dangling file from C:\ForrestExamples\build\webapp
> Created dir: C:\ForrestExamples\build\webapp\WEB-INF\lib
> 
> copy-status:
> Copying 1 file to C:\ForrestExamples\build\webapp
> 
> BUILD FAILED
> C:\Programs\ApacheGroup\forrest-0.6\src\core\forrest.build.xml:237:
> java.net.ConnectException: Connection timed out: connect
> 
> Total time: 27 seconds
> [/snapshot]

This is strange. Is it Issue FOR-255?
 http://issues.cocoondev.org/browse/FOR-255
 
If so, then comment-out the document type declaration on
your skinconf.xml


> I assume the first issue either not a problem or my configuration. If this
> is a problem, then it would seem to be a show stopper.
> If it's my configuration, then can someone help?

Either overlook it, or help to fix it.

> I am running XP, sun jdk 1.4.2_05. I _not_ using Cygwin, I am using the
> Command Prompt to do all builds.
> I have installed Tomcat 5.0.28 (which, btw, runs forrest 0.5.1 without a
> problem)
> My environment: FORREST_HOME=C:\Programs\ApacheGroup\forrest-0.6\src\core
> Which is where I build from svn.
> 
> Next, I will try installing Tomcat 5.5, but since these errors are long
> before we get to Tomcat, I doubt the version of Tomcat makes a difference.

They are not associated with any Tomcat interaction issue.

-- 
David Crossley

Mime
View raw message