Hi, we have the problem as well. Unfortunatly, the request dispatcher way does not work either, even if we try to customise it specifically for Weblogic Request dispatcher (the customisation is needed, as the WL request dispatcher requires WL specific wrapper classes, but due to the great avalon role implementation customisation possibilities in Cocoon, all this is possible). Unfortunatly, WL is still having problem to correctly process the JSP request. We have an open call with BEA regarding that. Will post the solution here (and maybe provide a custom JSPEngine class for WL7) once we have any.
Christoph -----Original Message----- From: Konstantin Piroumian [mailto:[EMAIL PROTECTED]] Sent: 10 February 2003 09:13 To: [EMAIL PROTECTED] Subject: Re: Running cocoon2.0.4 on weblogic7.0 with JSPs From: "Girish Bhakta" <[EMAIL PROTECTED]> > Hi, > i am facing problems with respect to JSPs of Cocoon on > Weblogic 7.0 . I have successfully setup the Cocoon > 2.0.4 on weblogic 7.0 and can see all the samples > running but it gives folloing error when trying to run > the hello jsp page of cocoon sample. > > org.apache.cocoon.ProcessingException: Exception > JspGenerator.generate(): java.lang.ClassCastException: > weblogic.utils.classloaders.ChangeAwareClassLoader This happens because JSP engine in Cocoon uses container specific classes and it should be customized for each server (It is setup for Tomcat by default). Basically, you should specify the servlet that will handle JSP requests in cocoon.xconf. Search for <jsp-engine> in WEB-INF/cocoon.xconf and read comments. You should also try to modify the cocoon.roles (it's in cocoon.jar: org/apache/cocoon/ package) to use another JSP engine class. But there were known problems with WebLogic 6 and higher because of the changes in their Http API implementation. You can try to use the Request dispatcher include version (it's somewhere in src/java/org/apache/cocoon/components/jsp/). -- Konstantin > > I have setup the classpath to have xml-apis,xalan > parsers in the beginning. > Anybody facing the same problem?R there any > alternatives ? > > GB. > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> Any e-mail message from the European Central Bank (ECB) is sent in good faith but shall neither be binding nor construed as constituting a commitment by the ECB except where provided for in a written agreement. This e-mail is intended only for the use of the recipient(s) named above. Any unauthorised disclosure, use or dissemination, either in whole or in part, is prohibited. If you have received this e-mail in error, please notify the sender immediately via e-mail and delete this e-mail from your system. --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>