hello, you have to add this line into your bean definition : <property name="scriptEngineName" value="groovy"/>
Best regards, Grégoire A. --- "Maxim Y. Tebenev" <[EMAIL PROTECTED]> a écrit : > > Guys, > > Thank you for your ansers! > > When I have following jars: > > groovy-1.0-jsr-04.jar > livetribe-jsr223-2.0.0.jar > > SMX outputs the following on deployment stage: > > ... > </msg-loc-info> > </task-status-msg> > <exception-info> > > <nesting-level>1</nesting-level> > <msg-loc-info> > <loc-token/> > > <loc-message>Must be configured with > either the 'compiledScript' or 'engine' pro > perty</loc-message> > > <stack-trace><![CDATA[javax.jbi.JBIException: Must > be configured with either > the > 'compiledScript' or 'engine' property > at > org.apache.servicemix.components.script.ScriptComponent.start(ScriptComponent.java:83) > at > org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(ComponentMBeanImpl.java:293) > at > org.apache.servicemix.jbi.framework.ComponentMBeanImpl.start(ComponentMBeanImpl.java:216) > at > org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1122) > at > org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1074) > at > org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1031) > at > org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:979) > at > org.apache.servicemix.lwcontainer.LwContainerEndpoint.activate(LwContainerEndpoint.java:53) > at > org.apache.servicemix.common.ServiceUnit.start(ServiceUnit.java:55) > at > org.apache.servicemix.common.BaseServiceUnitManager.start(BaseServiceUnitManager.java:151) > at > org.apache.servicemix.jbi.framework.ServiceUnitLifeCycle.start(ServiceUnitLifeCycle.java:103) > at > org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.start(ServiceAssemblyLifeCycle.java:130) > at > org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:374) > at > org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:336) > at > org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:645) > at > org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(AutoDeploymentService.java:62) > at > org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:608) > at > java.util.TimerThread.mainLoop(Timer.java:512) > at java.util.TimerThread.run(Timer.java:462) > ]]></stack-trace> > </msg-loc-info> > </exception-info> > </task-result-details> > </component-task-result-details> > </component-task-result> > </jbi-task-result> > </jbi-task> > > at > org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:121) > at > org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:107) > at > org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.start(ServiceAssemblyLifeCycle.java:144) > at > org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:374) > at > org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:336) > ... 5 more > INFO - JDBCAdapterFactory - Database > driver recognized: > [apache_derby_embedded_jdbc_driver] > INFO - LogTask - log4j > system reconfigured > .. > > I've got the same message when replaced > groovy-1.0-jsr-04.jar with > groovy-all-1.0-jsr-04.jar. > What's the right package to put there: > groovy-1.0-jsr-04.jar or > groovy-all-1.0-jsr-04.jar? > > Best regards, Maxim Tebenev. > > > > -- > View this message in context: > http://www.nabble.com/Groovy-script-has-stopped-to-work-tf3123908s12049.html#a8686903 > Sent from the ServiceMix - User mailing list archive > at Nabble.com. > > ___________________________________________________________________________ Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses http://fr.answers.yahoo.com
