You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Alex Amies <AA...@access360.com> on 2000/08/06 22:39:09 UTC

Weblogic and xsp - Class Cast Exception

I am getting a class cast exception with Weblogic when
I run the xsp examples.  I have followed the instructions
on setting up Cocoon for Weblogic, including setting

Dweblogic.system.disableWeblogicClassPath=true

in the startWeblogic.sh script.  This flag is required
to compile the pages.  However, when I try to run the
pages I get the class cast exception.  If I go back
and remove the flag, then I can now run my compiled
xsp pages, although I cannot compile new ones.  So I
am stuck with being able to compile the pages with
one startup script but needing a separate script to 
run the pages.

This seems like a Weblogic fault but I hope that someone
on this group may have an answer.  Please let me know 
how to get around it.  If there was a facility to set the
xsp compile command flags (as in gnu jsp 1.0) that would be 
really helpful.  Then the xsp compile classpath could be 
set independent of the servlet / app server classpath.

Thanks

Alex Amies