On 09.06.2004 12:35, [EMAIL PROTECTED] wrote:
I'm having problems running Cocoon 2.1.5 on Websphere 5.1. The first problem is that I can't build cocoon with my java_home set to point at IBM's jdk. I can get round this by using sun's jdk but I'm not sure if trying to run it using a different jdk than that which it was compiled, is a bad mistake? The built war file successfully deploys to Websphere but upon running many of the samples I get either:
- ResourceNotFound exception : org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: welcome


Or for other samples I get javascript related exceptions such as :
- org.mozilla.javascript.JavaScriptException: java.lang.UnsupportedOperationException: getWidget(id) got deprecated from the API. - Error 500: org.mozilla.javascript.NativeJavaPackage: method <init>(Ljava/lang/String;Ljava/lang/ClassLoader;)V not found

That should be a problem with our patch version of the Mozilla Rhino package. I'm not that familiar with classloader issues but does it work if you use the ParanoidCocoonServlet?


It's one of the first entries in web.xml. Change <servlet-class>org.apache.cocoon.servlet.CocoonServlet</servlet-class> to <servlet-class>org.apache.cocoon.servlet.ParanoidCocoonServlet</servlet-class>

Joerg




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to