cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Duroc" <nicolas.du...@gmail.com>
Subject Re: Jar conflicts
Date Sun, 30 Jul 2006 15:16:04 GMT
Hi,

In cocoon, the rhino*.jar is the same of js.jar but include continuations
management. I tried without the js.jar, but an exception appears, about a
NullPointerException, exception I don't get with the js.jar. Some classes
must be different and interfear between them. I think the solution should be
to try each class, but there is so many, and it would take a long time,
that's why I asked on the mailing list, if anyone had got the same
problem...

Regards,

Nicolas Duroc

----- Original Message ----- 
From: "Antonio Gallardo" <agallardo@agssa.net>
To: <users@cocoon.apache.org>
Sent: Sunday, July 30, 2006 4:41 AM
Subject: Re: Jar conflicts


> Hi Nicolas,
>
> Maybe I am telling you the obvious, but anyway: js.jar is supposed to be
> the same as rhino*jar. The rhino*.jar is already included in cocoon,
> hence you should try running <xalan:script> without including the js.jar.
>
> Best Regards,
>
> Antonio Gallardo.
>
> Nicolas Duroc escribió:
> > Hi,
> >
> > In my webapps cocoon I use binding forms for editing XML files and XSL
> > Transformations. In one of my XSL stylesheet, I use javascript (into
> > <xalan:component><xalan:script
> > lang="javascript">...</xalan:script></xalan:component>), but in order
to
use
> > this XSL, cocoon needs js.jar. So, I put it in the WEB-INF/lib
directory, and
> > the XSL transformations work fine !... but the binding forms (which
worked
> > fine too before I use js.jar) don't work anymore. I get an exception :
> > "java.lang.NoSuchMethodError: org.mozilla.javascript.Context.setDebugger
> > (Lorg/mozilla/javascript/debug/Debugger;Ljava/lang/Object;)V"
> > I tried many of available js.jar, but without "real" success. For few of
them,
> > the binding forms work again but, not the XSL Transformation... I tried
too
> > differents xalan.jar, but result is the same. I can't make work XSL
> > Transformations and binding forms together...
> >
> > If any one has an idea, I'll really appreciate.
> >
> > Thanks in advance,
> >
> > Regards,
> >
> > Nicolas Duroc
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


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


Mime
View raw message