javax.jbi.JBIException: Must be configured with either the 'compiledScript' or 'engine' property

servicemix-dev | Freeman Fang (JIRA) | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. javax.jbi.JBIException

    Must be configured with either the 'compiledScript' or 'engine' property

    at org.apache.servicemix.components.script.ScriptComponent.start()
  2. org.apache.servicemix
    ScriptComponent.start
    1. org.apache.servicemix.components.script.ScriptComponent.start(ScriptComponent.java:83)
    1 frame
  3. ServiceMix Core
    JBIContainer.activateComponent
    1. org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(ComponentMBeanImpl.java:293)
    2. org.apache.servicemix.jbi.framework.ComponentMBeanImpl.start(ComponentMBeanImpl.java:216)
    3. org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1209)
    4. org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1163)
    5. org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1122)
    6. org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1074)
    6 frames
  4. org.apache.servicemix
    BaseServiceUnitManager.init
    1. org.apache.servicemix.lwcontainer.LwContainerEndpoint.activate(LwContainerEndpoint.java:54)
    2. org.apache.servicemix.common.DefaultServiceUnit.init(DefaultServiceUnit.java:54)
    3. org.apache.servicemix.common.BaseServiceUnitManager.init(BaseServiceUnitManager.java:122)
    3 frames
  5. ServiceMix Core
    AutoDeploymentService$1.run
    1. org.apache.servicemix.jbi.framework.ServiceUnitLifeCycle.init(ServiceUnitLifeCycle.java:85)
    2. org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.start(ServiceAssemblyLifeCycle.java:123)
    3. org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:378)
    4. org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:355)
    5. org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:256)
    6. org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:667)
    7. org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62)
    8. org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:631)
    8 frames
  6. Java RT
    TimerThread.run
    1. java.util.TimerThread.mainLoop(Timer.java:512)
    2. java.util.TimerThread.run(Timer.java:462)
    2 frames