You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Antonio Gallardo <ag...@agssa.net> on 2006/08/02 06:17:56 UTC

Re: Jar conflicts

Hi Nicolas,

Newer versions of rhino js.jar includes continuations. It is possible to 
use this versions in cocoon 2.1. For cocoon 2.2 we dropped the forked 
rhino version and use the official rhino jar again. Maybe a solution is 
try to use the newer version in cocoon and test if it is supported for 
xalan too.

Best Regards,

Antonio Gallardo.

Nicolas Duroc escribió:
> 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" <ag...@agssa.net>
> To: <us...@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
>   


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