[ 
https://issues.apache.org/jira/browse/CAMEL-8546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14380254#comment-14380254
 ] 

Bart Horré commented on CAMEL-8546:
-----------------------------------

I installed the camel-script-javascript feature but could not find a 
LanguageResolver registered with language=js in the services list.


> No LanguageResolver found for language=js
> -----------------------------------------
>
>                 Key: CAMEL-8546
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8546
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-script
>    Affects Versions: 2.14.1
>            Reporter: Bart Horré
>             Fix For: 2.16.0
>
>
> {noformat}Unable to start blueprint container for bundle test.xml due to 
> unresolved dependencies 
> [(&(language=js)(objectClass=org.apache.camel.spi.LanguageResolver))]
> java.util.concurrent.TimeoutException
>         at 
> org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run(BlueprintContainerImpl.java:293)[10:org.apache.aries.blueprint:0.3.2]
>         at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_17]
>         at 
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.7.0_17]
>         at java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.7.0_17]
>         at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[:1.7.0_17]
>         at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[:1.7.0_17]
>         at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_17]
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_17]
>         at java.lang.Thread.run(Thread.java:722)[:1.7.0_17] {noformat}
> This happens when we try to use script with blueprint because blueprint tries 
> to resolve the LanguageResolver with filter language=js. However camel.osgi 
> registered a default LanguageResolver under resolver=default which causes 
> blueprint to wait for ever.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to