You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by RobertO <ro...@gmail.com> on 2012/07/20 18:49:34 UTC

No language could be found for: js

I'm trying to use javascript in my routes but keep getting the "No language
could be found for: js" error in my unit tests when I load the camelcontext
via spring.  I've found other references to this error on the mailing list
but have so far been unable to resolve this.

Camel v2.9.2

I've added these dependencies to my pom:

            <dependency>
                <groupId>org.apache.camel</groupId>
                <artifactId>camel-script</artifactId>
                <version>${camel.version}</version>
            </dependency>

            <dependency>
                <groupId>org.apache.camel</groupId>
                <artifactId>camel-script-javascript</artifactId>
                <version>${camel.version}</version>
            </dependency>

Can someone give me instructions on how to fix this?

Thank you.




--
View this message in context: http://camel.465427.n5.nabble.com/No-language-could-be-found-for-js-tp5716299.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: No language could be found for: js

Posted by Claus Ibsen <cl...@gmail.com>.
On Sat, Jul 21, 2012 at 5:13 PM, Rob Ogando <ro...@gmail.com> wrote:
> Hi,
> I'm using Max OSX 10.6.8
> JDK 1.6.0_33
> with Karaf.
>

Karaf is a general purpose container, and you may need to
configure/tweak it to work with some of the Camel components.
Hence why SMX team do that for Apache ServiceMix to ensure it works
well with CXF, Camel and AMQ all together.

In the Karaf distribution there is a etc/jre.properties.cxf file, you
may need to replace that file with the jre.properties. And then delete
the data dir, and restart the Karaf.

We have a notice about this in the bottom of the Camel release notes.

>
>
> On Saturday, July 21, 2012 at 2:58 AM, Claus Ibsen wrote:
>
>> Hi
>>
>> What JDK, OS are you using?
>> And what container do you use, tomcat, jetty, jboss, karaf, servicemix etc?
>> Or in other words a bit more about your runtime environment.
>>
>>
>>
>> On Fri, Jul 20, 2012 at 6:49 PM, RobertO <rogando@gmail.com (mailto:rogando@gmail.com)> wrote:
>> > I'm trying to use javascript in my routes but keep getting the "No language
>> > could be found for: js" error in my unit tests when I load the camelcontext
>> > via spring. I've found other references to this error on the mailing list
>> > but have so far been unable to resolve this.
>> >
>> > Camel v2.9.2
>> >
>> > I've added these dependencies to my pom:
>> >
>> > <dependency>
>> > <groupId>org.apache.camel</groupId>
>> > <artifactId>camel-script</artifactId>
>> > <version>${camel.version}</version>
>> > </dependency>
>> >
>> > <dependency>
>> > <groupId>org.apache.camel</groupId>
>> > <artifactId>camel-script-javascript</artifactId>
>> > <version>${camel.version}</version>
>> > </dependency>
>> >
>> > Can someone give me instructions on how to fix this?
>> >
>> > Thank you.
>> >
>> >
>> >
>> >
>> > --
>> > View this message in context: http://camel.465427.n5.nabble.com/No-language-could-be-found-for-js-tp5716299.html
>> > Sent from the Camel - Users mailing list archive at Nabble.com (http://Nabble.com).
>> >
>>
>>
>>
>>
>> --
>> Claus Ibsen
>> -----------------
>> FuseSource
>> Email: cibsen@fusesource.com (mailto:cibsen@fusesource.com)
>> Web: http://fusesource.com
>> Twitter: davsclaus, fusenews
>> Blog: http://davsclaus.com
>> Author of Camel in Action: http://www.manning.com/ibsen
>>
>>
>
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Re: No language could be found for: js

Posted by Rob Ogando <ro...@gmail.com>.
Hi,
I'm using Max OSX 10.6.8
JDK 1.6.0_33
with Karaf. 



On Saturday, July 21, 2012 at 2:58 AM, Claus Ibsen wrote:

> Hi
> 
> What JDK, OS are you using?
> And what container do you use, tomcat, jetty, jboss, karaf, servicemix etc?
> Or in other words a bit more about your runtime environment.
> 
> 
> 
> On Fri, Jul 20, 2012 at 6:49 PM, RobertO <rogando@gmail.com (mailto:rogando@gmail.com)> wrote:
> > I'm trying to use javascript in my routes but keep getting the "No language
> > could be found for: js" error in my unit tests when I load the camelcontext
> > via spring. I've found other references to this error on the mailing list
> > but have so far been unable to resolve this.
> > 
> > Camel v2.9.2
> > 
> > I've added these dependencies to my pom:
> > 
> > <dependency>
> > <groupId>org.apache.camel</groupId>
> > <artifactId>camel-script</artifactId>
> > <version>${camel.version}</version>
> > </dependency>
> > 
> > <dependency>
> > <groupId>org.apache.camel</groupId>
> > <artifactId>camel-script-javascript</artifactId>
> > <version>${camel.version}</version>
> > </dependency>
> > 
> > Can someone give me instructions on how to fix this?
> > 
> > Thank you.
> > 
> > 
> > 
> > 
> > --
> > View this message in context: http://camel.465427.n5.nabble.com/No-language-could-be-found-for-js-tp5716299.html
> > Sent from the Camel - Users mailing list archive at Nabble.com (http://Nabble.com).
> > 
> 
> 
> 
> 
> -- 
> Claus Ibsen
> -----------------
> FuseSource
> Email: cibsen@fusesource.com (mailto:cibsen@fusesource.com)
> Web: http://fusesource.com
> Twitter: davsclaus, fusenews
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen
> 
> 



Re: No language could be found for: js

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

What JDK, OS are you using?
And what container do you use, tomcat, jetty, jboss, karaf, servicemix etc?
Or in other words a bit more about your runtime environment.



On Fri, Jul 20, 2012 at 6:49 PM, RobertO <ro...@gmail.com> wrote:
> I'm trying to use javascript in my routes but keep getting the "No language
> could be found for: js" error in my unit tests when I load the camelcontext
> via spring.  I've found other references to this error on the mailing list
> but have so far been unable to resolve this.
>
> Camel v2.9.2
>
> I've added these dependencies to my pom:
>
>             <dependency>
>                 <groupId>org.apache.camel</groupId>
>                 <artifactId>camel-script</artifactId>
>                 <version>${camel.version}</version>
>             </dependency>
>
>             <dependency>
>                 <groupId>org.apache.camel</groupId>
>                 <artifactId>camel-script-javascript</artifactId>
>                 <version>${camel.version}</version>
>             </dependency>
>
> Can someone give me instructions on how to fix this?
>
> Thank you.
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/No-language-could-be-found-for-js-tp5716299.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen