You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Bari, Naeem" <na...@Meridinet.com> on 2001/03/19 19:58:31 UTC

newbie: at wits end trying to get XSPs to work

Hi,

Sorry to post this again, but I thought a more descriptive subject line
might help - I really am at my wits end :)

My platform:
Cocoon 1.8.2, installed on
Sybase Enterpise Application Server 3.6.1
java 1.2.2

When I invoke any of the sample XSP files in cocoon, I get a
ClassCastException. A sample stacktrace is attached. The other samples work
ok. Any help will be greatly appreciated!

thanks,
naeem

Sample stacktrace from calling samples/xsp/page.xml:

java.lang.ClassCastException:
_D_._Program_Files._Sybase._Jaguar_CTS_3_5._Repository._WebApplication._Coco
on._samples._xsp._page
        at org.apache.cocoon.Engine.handle(Engine.java:313)
        at org.apache.cocoon.Cocoon.service(Cocoon.java:183)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
        at com.sybase.jaguar.servlet.JagServlet.service(JagServlet.java:164)
        at
com.sybase.jaguar.servlet.JagRequestDispatcher.service(JagRequestDispatcher.
java:743)
        at
com.sybase.jaguar.servlet.ServletEngine.service(ServletEngine.java:524)
        at
com.sybase.jaguar.servlet.ServletServiceImpl.doService(ServletServiceImpl.ja
va:52)
        at
com.sybase.jaguar.servlet._sk_JaguarServlet_ServletService.invoke(_sk_Jaguar
Servlet_ServletService.java:140)

---------------------------------------------------------------------
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>


Re: newbie: at wits end trying to get XSPs to work

Posted by S�rgio Carvalho <sc...@criticalsoftware.com>.
I didn't read the previous thread, but I'd bet its a ClassLoader problem. All of my unexplainable ClassCastException problems were caused by different ClassLoaders being used by the two instances.

On Mon, 19 Mar 2001 12:58:31 -0600
"Bari, Naeem" <na...@Meridinet.com> wrote:

> 
> Hi,
> 
> Sorry to post this again, but I thought a more descriptive subject line
> might help - I really am at my wits end :)
> 
> My platform:
> Cocoon 1.8.2, installed on
> Sybase Enterpise Application Server 3.6.1
> java 1.2.2
> 
> When I invoke any of the sample XSP files in cocoon, I get a
> ClassCastException. A sample stacktrace is attached. The other samples work
> ok. Any help will be greatly appreciated!
> 
> thanks,
> naeem
> 
> Sample stacktrace from calling samples/xsp/page.xml:
> 
> java.lang.ClassCastException:
> _D_._Program_Files._Sybase._Jaguar_CTS_3_5._Repository._WebApplication._Coco
> on._samples._xsp._page
>         at org.apache.cocoon.Engine.handle(Engine.java:313)
>         at org.apache.cocoon.Cocoon.service(Cocoon.java:183)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
>         at com.sybase.jaguar.servlet.JagServlet.service(JagServlet.java:164)
>         at
> com.sybase.jaguar.servlet.JagRequestDispatcher.service(JagRequestDispatcher.
> java:743)
>         at
> com.sybase.jaguar.servlet.ServletEngine.service(ServletEngine.java:524)
>         at
> com.sybase.jaguar.servlet.ServletServiceImpl.doService(ServletServiceImpl.ja
> va:52)
>         at
> com.sybase.jaguar.servlet._sk_JaguarServlet_ServletService.invoke(_sk_Jaguar
> Servlet_ServletService.java:140)
> 
> ---------------------------------------------------------------------
> 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>