Hello,
         When i used cocoon 2.0 and tomcat4.0.1 i am getting this error on
server 
        Starting service Tomcat-Standalone
        Apache Tomcat/4.0.1
        ERROR reading java.io.ByteArrayInputStream@d1ff
        At Line 223 /web-app/servlet/

        Starting service Tomcat-Apache
        Apache Tomcat/4.0.1

I have added this in to web.xml
<servlet>
                <servlet-name>Cocoon2</servlet-name>
                <display-name>Cocoon2</display-name>
                <description>The main Cocoon2 servlet</description>
        
<servlet-class>org.apache.cocoon.servlet.ParanoidCocoonServlet</servlet-clas
s>
                <init-param>
                        <param-name>configurations</param-name>
                        <param-value>/conf/cocoon.xconf</param-value>
                </init-param>
                <load-on-startup>1</load-on-startup>
        </servlet>
If i take out this settings server starts up perfectly. Any input on this.

Kiran Kola


>  -----Original Message-----
> From:         Kola, Kiran  
> Sent: Wednesday, January 16, 2002 12:46 PM
> To:   '[EMAIL PROTECTED]'
> Subject:      RE: Cocoon
> 
> Hello,
>          I am using cocoon2.0 and tomcat 4.0.1. What do i need to add to
> the tomcat's web.xml file in order for the configuration to work. I also
> what to know how to test the configuration settings. If am write using
> cocoon 1.8 we have say http://<servername>:8080/cocoon.xml.
> Can any body tell me how to do this using cocoon 2.0.
> 
> 
> Kiran Kola
> 414-8654
> 
>        -----Original Message-----
>       From:   Kola, Kiran  
>       Sent:   Wednesday, January 16, 2002 11:41 AM
>       To:     '[EMAIL PROTECTED]'
>       Subject:        Cocoon
> 
>       Hello,
>               I am using cocoon 2.0 and tomcat 4.0.1. I was able to get
> the http://localhost:8080/cocoon/welcome page to work. I am following
> oreilly step by step instalation process. In that process they are talking
> about cocoon.properties file. Which i don't find in the cocoon.war file.
> According to oreilly they are telling to put cocoon.properties file into
> tomcat's conf directory and then i have to change the web.xml file to add
> the mapping information.
>       To put it simple, were do i find cocoon.properties file in
> cocoon2.0. Do i need this file when i am using tomcat4.0.1 and cocoon2.0.
> 
>       Oreilly also tells that if my configuration is correct, i should be
> able to access  http://localhost:8080/cocoon.xml in my browser.
> 
>       Can you please help me on this.
> 
>       Kiran Kola
> 
 
**************************************************************************
The information transmitted herewith is sensitive information intended only
for use by the individual or entity to which it is addressed. If the reader
of this message is not the intended recipient, you are hereby notified that
any review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.

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

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

Reply via email to