cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <gree...@hotmail.com>
Subject Re: Cocoon + resin
Date Sat, 16 Sep 2000 14:52:08 GMT
"Srinivas Konchada" <ks@mpower.com> wrote:
>Hello
>I am getting a classcast Exception when I try to invoke a XSP page.
>I followed the instructions got from the news group. I had cocoon.jar,
>xerces.jar, xalan.jar before any of the resin jars.

Which version of Resin? Which operating system?

>But I am getting a classcast Exception, here is the actual error message

Thanks - a lot of people forget to provide that!

>
>Error found handling the request.
>java.lang.ClassCastException: _D_._demo_1._site._samples._xsp._clean_page
>	at
>org.apache.cocoon.processor.xsp.language.java.XSPJavaProcessor.load(XSPJavaP
>rocessor.java:181)
>	at
>org.apache.cocoon.processor.xsp.XSPProcessor.loadPage(XSPProcessor.java:471)
>	at
>org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:452)
>	at org.apache.cocoon.Engine.handle(Engine.java:305)
>	at org.apache.cocoon.Cocoon.service(Cocoon.java:167)
>	at javax.servlet.http.HttpServlet.service(HttpServlet.java:83)
>	at 
>com.caucho.server.http.AbstractRequest.service(AbstractRequest.java:452)
>	at com.caucho.server.http.VirtualHost.service(VirtualHost.java:404)
>	at com.caucho.server.http.Request.dispatch(Request.java:211)
>	at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:207)
>	at
>com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:142)
>	at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
>	at java.lang.Thread.run(Thread.java:484)
>

Check in your repository directory that the file specified actually exists 
as a .java and a .class file, and that neither of them are 0 bytes long.


_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


Mime
View raw message