Hi!

Trying to use the current cvs version of cocoon with tomcat version 4.1.12 I 
experience the following problem
After building and installing cocoon
(./build.bat -Dinclude.webapp.libs=true -Dinclude.scratchpad.libs=true webapp ; 
./build.bat - Dinclude.webapp.libs=true -Dinclude.scratchpad.libs=true -
Dinstall.war="C:/ent/jakarta-tomcat-4.1.12/webapps" installwar)
and starting tomcat server enterint the URl "http://localhost:8080/cocoon/"; correctly 
redirects to
http://localhost:8080/cocoon/documents/index.html but then brings an error page 
containing:

type fatal

message Index: -1, Size: 0

description java.lang.IndexOutOfBoundsException: Index: -1, Size: 0

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

stack-trace

java.lang.IndexOutOfBoundsException: Index: -1, Size: 0
        at java.util.ArrayList.RangeCheck(ArrayList.java:491)
        at java.util.ArrayList.remove(ArrayList.java:375)
        at  
org.apache.cocoon.components.EnvironmentDescription.removeLastSitemapConfiguration(CocoonComponentManager.java:548)
        at  
org.apache.cocoon.components.CocoonComponentManager.leaveEnvironment(CocoonComponentManager.java:156)
        at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:328)
        at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:308)
        at org.apache.cocoon.Cocoon.process(Cocoon.java:596)
        at org.apache.cocoon.servlet.CocoonServlet.service
        [...]

Directly jumping to one of the samples (e.g. http://localhost:8080/cocoon/samples/ or 
http://localhost:8080/ cocoon/samples/portal-fw/sunspotdemofree-
portal) seems to work.

So my guess is I'm just missing the documentation html files ? Looking in the 
$TOMCAT/webApps/cocoon/ documentation directory actually does not contain an
index.html file, is this correct ?

What am I doing wrong ? Any hints, please ?

thanks,

Gernot.



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to