You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Harald Kornfeil <Ha...@gmx.at> on 2000/09/04 15:07:20 UTC

[C2] It works now :-)) , but ... (was: [C2] Error Cocoon 2.0a2: not initialized)

Hello C(2)-users and developers!

FYI: I updated my files with new ones from the CVS and now C2 works! :-))
Thanks for the quick answer :-)) !!

yours
Harald

PS: There are two things I noticed:
a) The docs generation with ant does not work :-(

---------------------------------------
[root@zem cocoon-2]# ./build.sh docs

Cocoon Build System
-------------------

Building with classpath
lib/AvalonAware.jar:lib/ant.jar:lib/bsf.jar:lib/bsfengin
es.jar:lib/css.jar:lib/fop_0_14_1-dev.jar:lib/jakarta-regexp-1.1.jar:lib/jst
yle.
jar:lib/rhino.jar:lib/servlet_2_2.jar:lib/stylebook-1.0-b2.jar:lib/svg-20000
806.
jar:lib/xalan_1_2_D01.jar:lib/xerces_1_1_3.jar:/usr/local/jdk1.2.2//lib/tool
s.ja
r:

Starting Ant...
Buildfile: build.xml

init:
------------------- Apache Cocoon 2.0a2 [1999-2000] ----------------

prepare-docs:
  [replace] Replacing ./xdocs/dtd/ --> dtd/
  [replace] Replacing ./xdocs/dtd/ --> dtd/

docs:
     [java] [StyleBook] Overriding targetDirectory="./build/cocoon/docs"
(Old=".
")
     [java] [StyleBook] Project URL: "sbk:/sources/book.xml"
     [java] [BasicEngine] Initializing
     [java] [Loader] Parsing Project file
     [java] [XalanProcessor] Applying XSL sheet
"sbk:/style/stylesheets/book2pro
ject.xsl"
     [java] [XalanProcessor] Applying XSL sheet
"sbk:/style/stylesheets/director
y2project.xsl"
     [java] [XercesParser] String index out of range: 125
     [java] org.apache.stylebook.CreationException: SAXException caught
while pa
rsing
     [java]     at
org.apache.stylebook.parsers.XercesParser.parse(XercesParser.
java:55)

[... snip - deleted ...]

BUILD SUCCESSFUL

Total time: 37 seconds
[root@zem cocoon-2]#
---------------------------------------

b) maybe this is interesting for the developers 
(it does not bother me, since I dont need svg yet)
The SVG-Demos only result in the following Errors:

-http://zem.cornfile.local:8080/cocoon/svg: 
 Error in the Cocoon 2 pipeline >X==<
  error Cannot read directory from file:/home/httpd/webapps/cocoon/svg"
  Details
  from org.apache.cocoon.sitemap.ErrorNotifier
  Description java.io.IOException: Cannot read directory from
file:/home/httpd/webapps/cocoon/svg"

-http://zem.cornfile.local:8080/cocoon/hello.svg
Error in the Cocoon 2 pipeline >X==<
 error Cannot read directory from file:/home/httpd/webapps/cocoon/hello.svg"
 Details
 from org.apache.cocoon.sitemap.ErrorNotifier
 Description java.io.IOException: Cannot read directory from
file:/home/httpd/webapps/cocoon/hello.svg"


RE: [C2] It works now :-)) , but ... (was: [C2] Error Cocoon 2.0a2: not initialized)

Posted by Bernard D'Have <bd...@SpiritSystems.be>.
I have same error with c2 and c1.1.8dev
Bernard

> -----Original Message-----
> From: Harald Kornfeil [mailto:Harald.Kornfeil@gmx.at]
> Sent: Monday, 04 September, 2000 15:07
> To: cocoon-users@xml.apache.org
> Subject: [C2] It works now :-)) , but ... (was: [C2] Error Cocoon 2.0a2:
> not initialized)
> 
> 
> Hello C(2)-users and developers!
> 
> FYI: I updated my files with new ones from the CVS and now C2 works! :-))
> Thanks for the quick answer :-)) !!
> 
> yours
> Harald
> 
> PS: There are two things I noticed:
> a) The docs generation with ant does not work :-(
> 
> ---------------------------------------
> [root@zem cocoon-2]# ./build.sh docs
> 
> Cocoon Build System
> -------------------
> 
> Building with classpath
> lib/AvalonAware.jar:lib/ant.jar:lib/bsf.jar:lib/bsfengin
> es.jar:lib/css.jar:lib/fop_0_14_1-dev.jar:lib/jakarta-regexp-1.1.j
> ar:lib/jst
> yle.
> jar:lib/rhino.jar:lib/servlet_2_2.jar:lib/stylebook-1.0-b2.jar:lib
> /svg-20000
> 806.
> jar:lib/xalan_1_2_D01.jar:lib/xerces_1_1_3.jar:/usr/local/jdk1.2.2
> //lib/tool
> s.ja
> r:
> 
> Starting Ant...
> Buildfile: build.xml
> 
> init:
> ------------------- Apache Cocoon 2.0a2 [1999-2000] ----------------
> 
> prepare-docs:
>   [replace] Replacing ./xdocs/dtd/ --> dtd/
>   [replace] Replacing ./xdocs/dtd/ --> dtd/
> 
> docs:
>      [java] [StyleBook] Overriding targetDirectory="./build/cocoon/docs"
> (Old=".
> ")
>      [java] [StyleBook] Project URL: "sbk:/sources/book.xml"
>      [java] [BasicEngine] Initializing
>      [java] [Loader] Parsing Project file
>      [java] [XalanProcessor] Applying XSL sheet
> "sbk:/style/stylesheets/book2pro
> ject.xsl"
>      [java] [XalanProcessor] Applying XSL sheet
> "sbk:/style/stylesheets/director
> y2project.xsl"
>      [java] [XercesParser] String index out of range: 125
>      [java] org.apache.stylebook.CreationException: SAXException caught
> while pa
> rsing
>      [java]     at
> org.apache.stylebook.parsers.XercesParser.parse(XercesParser.
> java:55)
> 
> [... snip - deleted ...]
> 
> BUILD SUCCESSFUL
> 
> Total time: 37 seconds
> [root@zem cocoon-2]#
> ---------------------------------------
> 
> b) maybe this is interesting for the developers 
> (it does not bother me, since I dont need svg yet)
> The SVG-Demos only result in the following Errors:
> 
> -http://zem.cornfile.local:8080/cocoon/svg: 
>  Error in the Cocoon 2 pipeline >X==<
>   error Cannot read directory from file:/home/httpd/webapps/cocoon/svg"
>   Details
>   from org.apache.cocoon.sitemap.ErrorNotifier
>   Description java.io.IOException: Cannot read directory from
> file:/home/httpd/webapps/cocoon/svg"
> 
> -http://zem.cornfile.local:8080/cocoon/hello.svg
> Error in the Cocoon 2 pipeline >X==<
>  error Cannot read directory from 
file:/home/httpd/webapps/cocoon/hello.svg"
 Details
 from org.apache.cocoon.sitemap.ErrorNotifier
 Description java.io.IOException: Cannot read directory from
file:/home/httpd/webapps/cocoon/hello.svg"


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org