camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Exception occurs when deploy a Route Bundle which contains Javascript Language into Karaf
Date Thu, 08 Nov 2012 07:58:01 GMT
On Thu, Nov 8, 2012 at 8:41 AM, liugang <clevers594@gmail.com> wrote:
> Yes, I installed the camel-script feature
> The camel version is 2.10.2, and karaf is 2.2.9
>
> For Groovy and jruby seems ok (because they are using external engine,
> right?)
>
> But for js, I have this problem. I think I have all dependencies.
>

You need to install camel-script-javascript also.


> -----Original Message-----
> From: Claus Ibsen [mailto:claus.ibsen@gmail.com]
> Sent: Thursday, November 08, 2012 3:38 PM
> To: users@camel.apache.org
> Subject: Re: Exception occurs when deploy a Route Bundle which contains
> Javascript Language into Karaf
>
> Hi
>
> Have you installed the camel-script feature beforehand?
> And what version of Karaf and Camel are you using?
>
>
> On Thu, Nov 8, 2012 at 8:34 AM, liugang <clevers594@gmail.com> wrote:
>> Hi All:
>>
>> When I deploy a bundle which includes Javascript Language into Karaf, I
> got
>> an Exception "No Script engine could be created for:js"
>> This may be caused by the classloader problem, it can't find the
>> com.sun.script.javascript.RhinoScriptEngineFactory and
>> com.sun.script.javascript.RhinoScriptEngine.
>>
>> So does anybody have any idea how I can resolve this problem?
>>
>>
>> Thanks very much.
>> GangLiu
>>
>
>
>
> --
> Claus Ibsen
> -----------------
> Red Hat, Inc.
> FuseSource is now part of Red Hat
> Email: cibsen@redhat.com
> Web: http://fusesource.com
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen
>



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message