cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <agalla...@agssa.net>
Subject Re: Flowscript does not working on weblogic 8.1
Date Tue, 21 Dec 2004 13:22:08 GMT
On Mar, 21 de Diciembre de 2004, 7:13, Leonid Chumanov dijo:
> Hi
>
> I use  cocoon 2.2.0-dev (CVS 20041018)  on weblogic 8.1 (wich include
> rhino1.5r4-continuations-20040629T1232.jar)
>
> I have exception when I try to use flowscript
>
> I switch to ParanoidCoconServlet and use user.classpath with lines
>
> lib-dir:context:/WEB-INF/lib
> class-dir:context:/WEB-INF/classes
>
> Also I add in my web.xml
>
>                         <init-param>
>
> <param-name>init-classloader</param-name>
>                                    <param-value>true</param-value>
>                         </init-param>
>                         <init-param>
>
> <param-name>paranoid-classpath</param-name>
>
> <param-value>user.classpath</param-value>
>                         </init-param>
>
> But I have exception when I try to use flowscript yet
>
> java.lang.ClassCastException
>
> at
> org.mozilla.javascript.optimizer.InvokerImpl.createInvoker(InvokerImpl.j
> ava:273) at
> org.mozilla.javascript.FunctionObject.doInvoke(FunctionObject.java:520)
> at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:438)
> at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244) at
> org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(C
> ontinuationInterpreter.java:1134) at
> org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(C
> ontinuationInterpreter.java:190) at
> org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(C
> ontinuationInterpreter.java:138) at
> org.mozilla.javascript.continuations.InterpretedScriptImpl.call(Interpre
> tedScriptImpl.java:137) at
> org.mozilla.javascript.InterpretedScript.exec(InterpretedScript.java:59)
> at
> org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpret
> er.setupContext(FOM_JavaScriptInterpreter.java:586) at
> org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpret
> er.callFunction(FOM_JavaScriptInterpreter.java:665) at
> org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invo
> ke(CallFunctionNode.java:105) at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
> invokeNodes(AbstractParentProcessingNode.java:54) at
> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.i
> nvoke(PreparableMatchNode.java:112) at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
> invokeNodes(AbstractParentProcessingNode.java:76) at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(P
> ipelineNode.java:126) at
> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
> invokeNodes(AbstractParentProcessingNode.java:76) at
> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
> PipelinesNode.java:95) at
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
> (ConcreteTreeProcessor.java:298) at
> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
> (ConcreteTreeProcessor.java:241) at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro
> cessor.java:238) at org.apache.cocoon.Cocoon.process(Cocoon.java:643) at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1123)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
> org.apache.cocoon.servlet.ParanoidCocoonServlet.service(ParanoidCocoonSe
> rvlet.java:264) at
> weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se
> rvletStubImpl.java:996) at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.
> java:419) at
> weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28) at
> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
> 27) at
> com.framedoc.filter.SecurityFilter.doFilter(SecurityFilter.java:82) at
> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
> 27) at
> com.framedoc.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFi
> lter.java:21) at
> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:
> 27) at
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r
> un(WebAppServletContext.java:6458) at
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
> bject.java:321) at
> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118
> ) at
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl
> etContext.java:3661) at
> weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.
> java:2630) at
> weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) at
> weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
>
>
> Can anybody give me some advice?

Sure! ;-)

Add the rhino lib to endorsed dir.

Best Regards,

Antonio Gallardo


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message