Hello,
1) When i am trying to turn validaten off, the following error is printed:
Setup...FATAL_E 2003-03-17 11:23:30.260 [cocoon ] (): Exception caught
org.apache.avalon.framework.configuration.ConfigurationException: Error
trying to load configurations
at org.apache.cocoon.Cocoon.configure(Cocoon.java:365)
at org.apache.cocoon.Cocoon.initialize(Cocoon.java:284)
at org.apache.cocoon.Main.main(Main.java:419)
BUILD FAILED
file:///u/uni1/apache-forrest-0.4-bin/forrest.build.xml:557: Java returned:
1
Total time: 14 seconds
2) This is the output when calling forrest with
forrest -Dforrest.catalog.verbosity=10
UNI1:/u/uni1/test>forrest -Dforrest.catalog.verbosity=10
Apache Forrest. Run 'forrest -projecthelp' to list options
Buildfile: /u/uni1/apache-forrest-0.4-bin/bin/../forrest.build.xml
init-props:
Loading project specific properties from /u/uni1/test/forrest.properties
echo-settings:
examine-proj:
validation-props:
validate-skinconf:
...validated skinconf
load-project-props:
load-forrest-props:
init-skinprops:
Reading filters from /u/uni1/test/build/tmp/skinfilters.properties
init:
bare-context:
____________________________________
Using skin forrest-site
____________________________________
Copying 45 files to /u/uni1/test/build/tmp/context
Replacing: @skinconfig.year@ -> 2002
Replacing: @skinconfig.trail.link1.name@ -> apache
Replacing: @skinconfig.trail.link1.name@ -> apache
Replacing: @skinconfig.trail.link1.href@ -> http://www.apache.org/
Replacing: @skinconfig.trail.link2.name@ -> xml.apache
Replacing: @skinconfig.trail.link2.name@ -> xml.apache
Replacing: @skinconfig.trail.link2.href@ -> http://xml.apache.org/
Replacing: @skinconfig.trail.link3.name@ ->
Replacing: @skinconfig.trail.link3.name@ ->
Replacing: @skinconfig.trail.link3.href@ ->
Replacing: @skinconfig.year@ -> 2002
Replacing: @skinconfig.trail.link1.name@ -> apache
Replacing: @skinconfig.trail.link1.name@ -> apache
Replacing: @skinconfig.trail.link1.href@ -> http://www.apache.org/
Replacing: @skinconfig.trail.link2.name@ -> xml.apache
Replacing: @skinconfig.trail.link2.name@ -> xml.apache
Replacing: @skinconfig.trail.link2.href@ -> http://xml.apache.org/
Replacing: @skinconfig.trail.link3.name@ ->
Replacing: @skinconfig.trail.link3.name@ ->
Replacing: @skinconfig.trail.link3
.href@ ->
Copying 2 files to /u/uni1/test/build/tmp/context/WEB-INF
Replacing: @local-catalog@ ->
/u/uni1/test/src/documentation/resources/schema/catalog
Replacing: @catalog-verbosity@ -> 10
Replacing: @skin@ -> forrest-site
check-contentdir:
ensure-content:
validate-xdocs:
BUILD FAILED
file:///u/uni1/apache-forrest-0.4-bin/forrest.build.xml:774: Could not
validate document
/u/uni1/test/src/documentation/content/xdocs/book-sample.xml
The same validation problem again. I tried to change the encoding of
book-sample.xml to "ebcdic-cp-us" but that didn't change anything.
And the DTD files don't have encoding tags ...
3.) I can avoid this problem NoClassDefFoundError for ant.jar if I do not
convert them to jar. That will be no problem.
4.) I have just tried copying the dtd files in /schema/dtd to the /xdocs
subdir of the template. Then, I got this message from forrest:
validate-xdocs:
/u/uni1/test/src/documentation/content/xdocs/book-cocoon-v10.dtd:1:1: The
markup declarations contained or pointed to by the document type
declaration must be well-formed.
Thanks,
Oliver
__________________________________________________________________
IBM Deutschland Entwicklung GmbH, Schönaicher Str. 220, D-71032 Böblingen
eServer Software Management, D4357, Intern: 7103-06, Tel. 902-2790,
Tel.: ++49-(0)7031-16-4280, Fax.: 07031-16-2790
Internet: OALTH@DE.IBM.COM
|---------+---------------------------->
| | Jeff Turner |
| | <jefft@apache.org|
| | > |
| | |
| | 15.03.2003 03:24 |
| | Please respond to|
| | forrest-dev |
| | |
|---------+---------------------------->
>--------------------------------------------------------------------------------------------------------------|
|
|
| To: forrest-dev@xml.apache.org
|
| cc:
|
| Subject: Re: Forrest on OS/390 Unix System Services
|
|
|
>--------------------------------------------------------------------------------------------------------------|
On Fri, Mar 14, 2003 at 05:42:50PM +0100, Oliver Alth wrote:
> Hello,
>
> am currently working on a project
> in our departement that involves installing the apache forrest tool.
>
> I am currently trying to install forrest on USS for z/OS (OS/390).
I
> encountered several problems having to do with ASCII-EBCDIC
> conversion. I found out that I had to translate shell scripts and
> some other files from ASCII to EBCDIC using the pax tool.I left
Jar,
> Zip, XML Files as they were. Finally, I was able to execute
forrest.
>
> The remaining problem:
> Forrest says
>
> BUILD FAILED:
> file:///u/uni1/apache-forrest-0.4-bin/forrest.build.xml:774:
Could
> not validate document
> /u/uni1/test/src/documentation/content/xdocs/book-sample.xml
Could you try running 'forrest -v' (verbose) and paste the result? That
should print the actual error.
> when calling forrest
> after having called forrest seed.
>
> Perhaps it has something to with the dtds?
Out the box, all the Forrest files should be in ASCII. I think that by
default, the XML processor will assume UTF-8 encoding, so out-the-box
Forrest files should work.
If your XML files and DTDs are using EBCDIC, make sure they all have a
correct XML declaration at the beginning, e.g. <?xml version="1.0"
encoding="ebcdic-cp-us"?>.
--Jeff
> On Linux and Windows, the same procedure works without problems.
>
> Have you got any ideas about this problem?
>
> __________________________________________________________________
> IBM Deutschland Entwicklung GmbH, Schönaicher Str. 220, D-71032 Böblingen
> eServer Software Management, D4357, Intern: 7103-06, Tel. 902-2790,
> Tel.: ++49-(0)7031-16-4280, Fax.: 07031-16-2790
> Internet: OALTH@DE.IBM.COM
|