2016-06-11 26 views
0

Ich bin neewbie mit Mule ESB. Ich versuche, einen Python-Skript-Block in meinem mule-Projekt zu verwenden, aber wenn ich das Projekt, das ich die folgenden Fehler recive laufen:Script-Engine Jython wurde nicht in Mule ESB 3.7.0 Anwendung gefunden

console: Failed to install '': java.nio.charset.UnsupportedCharsetException: cp0. 
ERROR 2016-06-11 22:10:32,827 [main] org.mule.module.launcher.application.DefaultMuleApplication: null 
org.mule.api.lifecycle.InitialisationException: Scripting engine 'jython' not found. Available engines are: [[email protected], [email protected], [email protected], [email protected], [email protected]90, [email protected], [email protected], co[email protected]277b8fa4] 
    at org.mule.module.scripting.component.Scriptable.initialise(Scriptable.java:103) ~[mule-module-scripting-3.7.0.jar:3.7.0] 
    at org.mule.api.lifecycle.LifecycleUtils.initialiseIfNeeded(LifecycleUtils.java:39) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.module.scripting.transformer.ScriptTransformer.initialise(ScriptTransformer.java:30) ~[mule-module-scripting-3.7.0.jar:3.7.0] 
    at org.mule.endpoint.DefaultInboundEndpoint.createMessageProcessorChain(DefaultInboundEndpoint.java:172) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.endpoint.AbstractEndpoint.getMessageProcessorChain(AbstractEndpoint.java:521) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.endpoint.DefaultInboundEndpoint.start(DefaultInboundEndpoint.java:100) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.construct.AbstractFlowConstruct.startIfStartable(AbstractFlowConstruct.java:325) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.construct.AbstractPipeline.doStart(AbstractPipeline.java:353) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.construct.Flow.doStart(Flow.java:90) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:136) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:132) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:138) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.construct.FlowConstructLifecycleManager.fireStartPhase(FlowConstructLifecycleManager.java:92) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.construct.AbstractFlowConstruct.start(AbstractFlowConstruct.java:131) ~[mule-core-3.7.0.jar:3.7.0] 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_66] 
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66] 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66] 
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_66] 
    at org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.RegistryLifecycleCallback.doApplyLifecycle(RegistryLifecycleCallback.java:91) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.RegistryLifecycleCallback.onTransition(RegistryLifecycleCallback.java:67) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:140) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:111) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.registry.AbstractRegistryBroker.fireLifecycle(AbstractRegistryBroker.java:88) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:141) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:294) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:134) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.artifact.ArtifactWrapper$4.execute(ArtifactWrapper.java:98) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.artifact.ArtifactWrapper.executeWithinArtifactClassLoader(ArtifactWrapper.java:129) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.artifact.ArtifactWrapper.start(ArtifactWrapper.java:93) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:26) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.DefaultArchiveDeployer.guardedDeploy(DefaultArchiveDeployer.java:310) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.DefaultArchiveDeployer.deployArtifact(DefaultArchiveDeployer.java:330) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.DefaultArchiveDeployer.deployPackagedArtifact(DefaultArchiveDeployer.java:155) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.DefaultArchiveDeployer.deployPackagedArtifact(DefaultArchiveDeployer.java:256) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.DefaultArchiveDeployer.deployPackagedArtifact(DefaultArchiveDeployer.java:78) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.DeploymentDirectoryWatcher.deployPackedApps(DeploymentDirectoryWatcher.java:275) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:150) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.MuleDeploymentService.start(MuleDeploymentService.java:100) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.MuleContainer.start(MuleContainer.java:170) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:15) ~[tooling-support-3.7.0.jar:?] 
INFO 2016-06-11 22:10:32,829 [main] org.mule.module.launcher.application.DefaultMuleApplication: 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+ Disposing app 'mypythonapplication'      + 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
INFO 2016-06-11 22:10:32,830 [main] org.mule.lifecycle.AbstractLifecycleManager: Disposing RegistryBroker 
INFO 2016-06-11 22:10:32,832 [main] org.mule.construct.FlowConstructLifecycleManager: Disposing flow: mypythonapplicationFlow 
ERROR 2016-06-11 22:10:32,839 [main] org.mule.construct.Flow: Failed to stop service: mypythonapplicationFlow 
org.mule.api.lifecycle.LifecycleException: Lifecycle Manager 'mypythonapplicationFlow.stage1' phase 'start' does not support phase 'dispose' 
    at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:153) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.construct.FlowConstructLifecycleManager.fireDisposePhase(FlowConstructLifecycleManager.java:144) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.construct.AbstractFlowConstruct.dispose(AbstractFlowConstruct.java:162) ~[mule-core-3.7.0.jar:3.7.0] 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_66] 
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66] 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66] 
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_66] 
    at org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.phases.MuleContextDisposePhase.applyLifecycle(MuleContextDisposePhase.java:102) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.config.spring.SpringRegistryLifecycleManager$SpringContextDisposePhase.applyLifecycle(SpringRegistryLifecycleManager.java:141) ~[mule-module-spring-config-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.RegistryLifecycleCallback.doApplyLifecycle(RegistryLifecycleCallback.java:91) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.RegistryLifecycleCallback.onTransition(RegistryLifecycleCallback.java:67) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:140) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:111) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.registry.AbstractRegistry.dispose(AbstractRegistry.java:68) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.registry.AbstractRegistryBroker$2.onTransition(AbstractRegistryBroker.java:69) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.registry.AbstractRegistryBroker$2.onTransition(AbstractRegistryBroker.java:64) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:140) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.RegistryBrokerLifecycleManager.fireDisposePhase(RegistryBrokerLifecycleManager.java:82) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.registry.AbstractRegistryBroker.dispose(AbstractRegistryBroker.java:63) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:137) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.DefaultMuleContext.dispose(DefaultMuleContext.java:345) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.application.DefaultMuleApplication.doDispose(DefaultMuleApplication.java:405) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.application.DefaultMuleApplication.dispose(DefaultMuleApplication.java:288) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.artifact.ArtifactWrapper$1.execute(ArtifactWrapper.java:39) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.artifact.ArtifactWrapper.executeWithinArtifactClassLoader(ArtifactWrapper.java:129) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.artifact.ArtifactWrapper.dispose(ArtifactWrapper.java:34) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:30) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.DefaultArchiveDeployer.guardedDeploy(DefaultArchiveDeployer.java:310) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.DefaultArchiveDeployer.deployArtifact(DefaultArchiveDeployer.java:330) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.DefaultArchiveDeployer.deployPackagedArtifact(DefaultArchiveDeployer.java:155) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.DefaultArchiveDeployer.deployPackagedArtifact(DefaultArchiveDeployer.java:256) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.DefaultArchiveDeployer.deployPackagedArtifact(DefaultArchiveDeployer.java:78) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.DeploymentDirectoryWatcher.deployPackedApps(DeploymentDirectoryWatcher.java:275) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:150) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.MuleDeploymentService.start(MuleDeploymentService.java:100) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.MuleContainer.start(MuleContainer.java:170) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:15) ~[tooling-support-3.7.0.jar:?] 
Caused by: java.lang.IllegalStateException: Lifecycle Manager 'mypythonapplicationFlow.stage1' phase 'start' does not support phase 'dispose' 
    at org.mule.lifecycle.AbstractLifecycleManager.checkPhase(AbstractLifecycleManager.java:118) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.processor.SedaStageLifecycleManager.fireDisposePhase(SedaStageLifecycleManager.java:117) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.processor.SedaStageInterceptingMessageProcessor.dispose(SedaStageInterceptingMessageProcessor.java:429) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.processor.chain.AbstractMessageProcessorChain.dispose(AbstractMessageProcessorChain.java:136) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.construct.AbstractFlowConstruct.disposeIfDisposable(AbstractFlowConstruct.java:341) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.construct.AbstractPipeline.doDispose(AbstractPipeline.java:463) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.construct.AbstractFlowConstruct$4.onTransition(AbstractFlowConstruct.java:166) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.construct.AbstractFlowConstruct$4.onTransition(AbstractFlowConstruct.java:163) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:138) ~[mule-core-3.7.0.jar:3.7.0] 
    ... 41 more 
INFO 2016-06-11 22:10:33,063 [main] org.mule.config.spring.MuleArtifactContext: Closing [email protected]: startup date [Sat Jun 11 22:10:22 CEST 2016]; root of context hierarchy 
INFO 2016-06-11 22:10:33,289 [main] org.mule.DefaultMuleContext: 
********************************************************************** 
* Application "mypythonapplication" shut down normally on:   * 
* 11/06/16 22.10              * 
* Up for: 0 days, 0 hours, 0 mins, 3.200 sec       * 
********************************************************************** 
ERROR 2016-06-11 22:10:33,355 [main] org.mule.module.launcher.DefaultArchiveDeployer: 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+ Failed to deploy artifact 'mypythonapplication', see + 
+ below             + 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
org.mule.module.launcher.DeploymentStartException: InitialisationException: Scripting engine 'jython' not found. Available engines are: [[email protected], [email protected], [email protected], [email protected], [email protected]90, [email protected], [email protected], co[email protected]277b8fa4] 
    at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:156) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.artifact.ArtifactWrapper$4.execute(ArtifactWrapper.java:98) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.artifact.ArtifactWrapper.executeWithinArtifactClassLoader(ArtifactWrapper.java:129) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.artifact.ArtifactWrapper.start(ArtifactWrapper.java:93) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:26) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.DefaultArchiveDeployer.guardedDeploy(DefaultArchiveDeployer.java:310) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.DefaultArchiveDeployer.deployArtifact(DefaultArchiveDeployer.java:330) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.DefaultArchiveDeployer.deployPackagedArtifact(DefaultArchiveDeployer.java:155) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.DefaultArchiveDeployer.deployPackagedArtifact(DefaultArchiveDeployer.java:256) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.DefaultArchiveDeployer.deployPackagedArtifact(DefaultArchiveDeployer.java:78) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.DeploymentDirectoryWatcher.deployPackedApps(DeploymentDirectoryWatcher.java:275) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:150) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.MuleDeploymentService.start(MuleDeploymentService.java:100) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.MuleContainer.start(MuleContainer.java:170) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    at org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:15) ~[tooling-support-3.7.0.jar:?] 
Caused by: org.mule.api.lifecycle.LifecycleException: Failed to start inbound endpoint "endpoint.polling.1912630717" 
    at org.mule.endpoint.DefaultInboundEndpoint.start(DefaultInboundEndpoint.java:118) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.construct.AbstractFlowConstruct.startIfStartable(AbstractFlowConstruct.java:325) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.construct.AbstractPipeline.doStart(AbstractPipeline.java:353) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.construct.Flow.doStart(Flow.java:90) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:136) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:132) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:138) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.construct.FlowConstructLifecycleManager.fireStartPhase(FlowConstructLifecycleManager.java:92) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.construct.AbstractFlowConstruct.start(AbstractFlowConstruct.java:131) ~[mule-core-3.7.0.jar:3.7.0] 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_66] 
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66] 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66] 
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_66] 
    at org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.RegistryLifecycleCallback.doApplyLifecycle(RegistryLifecycleCallback.java:91) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.RegistryLifecycleCallback.onTransition(RegistryLifecycleCallback.java:67) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:140) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:111) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.registry.AbstractRegistryBroker.fireLifecycle(AbstractRegistryBroker.java:88) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:141) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:294) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:134) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    ... 14 more 
Caused by: org.mule.api.lifecycle.InitialisationException: Scripting engine 'jython' not found. Available engines are: [[email protected], [email protected], [email protected], [email protected], [email protected]90, [email protected], [email protected], co[email protected]277b8fa4] 
    at org.mule.module.scripting.component.Scriptable.initialise(Scriptable.java:103) ~[mule-module-scripting-3.7.0.jar:3.7.0] 
    at org.mule.api.lifecycle.LifecycleUtils.initialiseIfNeeded(LifecycleUtils.java:39) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.module.scripting.transformer.ScriptTransformer.initialise(ScriptTransformer.java:30) ~[mule-module-scripting-3.7.0.jar:3.7.0] 
    at org.mule.endpoint.DefaultInboundEndpoint.createMessageProcessorChain(DefaultInboundEndpoint.java:172) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.endpoint.AbstractEndpoint.getMessageProcessorChain(AbstractEndpoint.java:521) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.endpoint.DefaultInboundEndpoint.start(DefaultInboundEndpoint.java:100) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.construct.AbstractFlowConstruct.startIfStartable(AbstractFlowConstruct.java:325) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.construct.AbstractPipeline.doStart(AbstractPipeline.java:353) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.construct.Flow.doStart(Flow.java:90) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:136) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:132) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:138) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.construct.FlowConstructLifecycleManager.fireStartPhase(FlowConstructLifecycleManager.java:92) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.construct.AbstractFlowConstruct.start(AbstractFlowConstruct.java:131) ~[mule-core-3.7.0.jar:3.7.0] 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_66] 
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66] 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_66] 
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_66] 
    at org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.RegistryLifecycleCallback.doApplyLifecycle(RegistryLifecycleCallback.java:91) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.RegistryLifecycleCallback.onTransition(RegistryLifecycleCallback.java:67) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:140) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:111) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.registry.AbstractRegistryBroker.fireLifecycle(AbstractRegistryBroker.java:88) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:141) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:294) ~[mule-core-3.7.0.jar:3.7.0] 
    at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:134) ~[mule-module-launcher-3.7.0.jar:3.7.0] 
    ... 14 more 

Ich habe versucht, jython-2.7.0.jar in C:\Users\MyUser\.p2\pool\plugins\org.mule.tooling.server.3.7.0_5.2.0.201508051354\mule\lib\user

hinzufügen

und in

C:\Users\MyUser\.p2\pool\plugins\org.mule.tooling.server.3.7.0_5.2.0.201508051354\mule\lib\opt 

aber ohne Ergebnis.

Ich habe auch versucht, jython.jar als Bibliothek in Java-Build-Projekt-Abschnitt in den Eigenschaften des Projekts hinzuzufügen.

Ich verwende Windows 10 und jdk 1.8.0_66.

Könnten Sie mir bitte helfen?

Dank

+0

Ich löste Entfernen Eclipse mit Erweiterungen und Installation anypoint Studio mit Mule esb 3.8 – ProcessKiller

Antwort

0

Jython sollte Teil Ihrer Runtime-Server in AnyPoint Studio sein. Suchen Sie im Paket-Explorer und im Mule Server 3.7.0-Bibliothekssymbol (Bücher) danach. Die Enterprise-Laufzeit sollte es haben, aber wenn Sie die Community-Edition verwenden, ist es nicht da.

z. Version 3.7.2 EE enthält jython-standalone-2.7.0, aber es ist möglicherweise nicht so einfach wie das Hinzufügen dieser JAR zur Bibliothek.

Erste Antwort: Community Edition unterstützt nicht Ihre Notwendigkeit.

Zweite Antwort: Versuchen Sie, jython-standalone-2.7.0 zu Ihrer Server-Bibliothek hinzuzufügen (Runtime ESB), nicht die Projektabhängigkeiten.

+0

Hallo David, danke für Ihre Antworten. Wie lautet der Pfad der Serverbibliothek? Ich habe bereits hinzugefügt jython.jar innerhalb C: \ Benutzer \ MyUser \ .P2 \ Pool \ Plugins \ org.mule.tooling.server.3.7.0_5.2.0.201508051354 \ mule \ lib \ user und C: \ Benutzer \ MyUser \ .p2 \ pool \ plugins \ org.mule.tooling.server.3.7.0_5.2.0.201508051354 \ mule \ lib \ opt aber es funktioniert nicht. – ProcessKiller

+0

Für meine Anwendung ist es MULE_RUNTIME in der Datei .classpath. Dies bedeutet, dass es von Anypoint Studio eingerichtet und spezifiziert wurde (Pfad). Versuchen Sie, die JAR direkt im Java-Build-Bereich von Eclipse hinzuzufügen. Lassen Sie die Dinge funktionieren, forschen Sie und bringen Sie sie dahin, wo sie wirklich hingehen sollten. Ich finde es nicht empfehlenswert, die Community Edition durch Anpassung an das Unternehmen anzupassen. Das ist ein fortgeschrittenes Thema in meinem Buch und ich würde nicht glauben, dass Sie viele Informationen online finden werden. Versuchen Sie es direkt hinzuzufügen und lassen Sie uns wissen, ob das funktioniert. –