You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Barma <ba...@naturesoft.net> on 2001/04/24 13:50:18 UTC

Installing Cocoon Problem

First I checked FAQ sections. Relevant information is not there.

I am getting following error

Publishing Engine could not be initialized.
java.lang.RuntimeException: Exception when creating " org.apache.cocoon.processor.xsp.XSPProcessor" : 
java.lang.NoSuchMethodError: See http://xml.apache.org/cocoon/faqs.html#faq-normalize
	at org.apache.cocoon.framework.Manager.create(Manager.java:124)
	at org.apache.cocoon.framework.Router.init(Router.java, Compiled Code)
	at org.apache.cocoon.framework.Manager.create(Manager.java:109)
	at org.apache.cocoon.Engine.<init>(Engine.java:179)
	at org.apache.cocoon.Engine.getInstance(Engine.java:232)
 etc..
Warning: this page has been dynamically generated. 
Version - Cocoon-1.8.2
            - Tomcat 3.2.1
Same I have installed in Linux, It is working perfectly.  But when I am installing in windows NT, it prompts with above error.
In my class path on jdk is put, not any other jar files.  The standard procedure I have followed.
1. all *.jar files are copied to tomcat-home/lib directories from cocoon-home/lib & cocoon/bin directories.
2. tomcat-home/conf/server.xml is added with <context path="/cocoon" docbase="webapps/cocoon"
                                   debug=0 reloadable="true"> </context>
3. copy web.xml to tomact-home/webapps/cocoon/WEB-INF from cocoon-home/src/WEB-INF
4. in thi web.xml change /conf/cocoon.properties to /WEB-INF/cocoon.properties
Can you find where I have gone wrong.

Thanks in anticipation of early reply

SN Barma
barma_sn@naturesoft.net



     


XML works, XSP does not ---> help a newbie, pretty please?

Posted by "K.P.Majoor" <kp...@7bulls.com>.
"K.P.Majoor" wrote:

> Hi cocooners
>
> Slowly but nevertheless not that surely :-) I'm getting closer to the
> point of developing XSP.
> Right now I get an error like this :
>
>                                          Error found handling the
> request.
>
>       java.lang.ClassCastException:
> _usr._java._jakarta._jakarta_tomcat._webapps._cocoon._samples._xsp._page
>
>               at
> org.apache.cocoon.processor.xsp.language.java.XSPJavaProcessor.load(XSPJavaProcessor.java:168)
>
>               at
> org.apache.cocoon.processor.xsp.XSPProcessor.loadPage(XSPProcessor.java:542)
>
> The actual error is longer, I'll paste it below. I am using cocoon 1.8.2
> with tomcat 4.0b.
> I checked the repository directory and the files in there exits and
> don't have length zero.
> I saw this question in the archives asked before, but nobody answered it
> (July 2000) maybe some people have an idea? I am so unbelievable stuck
> in this one... many thanks in advance for the efforts...
>
> kp
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>


---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


XML works, XSP does not ---> help a newbie, pretty please?

Posted by "K.P.Majoor" <kp...@7bulls.com>.
Hi cocooners

Slowly but nevertheless not that surely :-) I'm getting closer to the
point of developing XSP.
Right now I get an error like this :

                                         Error found handling the
request.

      java.lang.ClassCastException:
_usr._java._jakarta._jakarta_tomcat._webapps._cocoon._samples._xsp._page

              at
org.apache.cocoon.processor.xsp.language.java.XSPJavaProcessor.load(XSPJavaProcessor.java:168)

              at
org.apache.cocoon.processor.xsp.XSPProcessor.loadPage(XSPProcessor.java:542)

The actual error is longer, I'll paste it below. I am using cocoon 1.8.2
with tomcat 4.0b.
I checked the repository directory and the files in there exits and
don't have length zero.
I saw this question in the archives asked before, but nobody answered it
(July 2000) maybe some people have an idea? I am so unbelievable stuck
in this one... many thanks in advance for the efforts...

kp




---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>