Camunda cockpit elasticsearch plugin exception org.elasticsearch.discovery.MasterNotDiscoveredException

534 views
Skip to first unread message

said.h...@orange.com

unread,
Feb 19, 2015, 11:35:14 AM2/19/15
to camunda-...@googlegroups.com

Hello,

 

I am trying to integrate camunda elasticsearch cockpit plugin in camunda 7.2 version.

My server is tomcat 7

I want use this search tool in my cockpit

 

I followed the steps described in the user github guide https://github.com/camunda/camunda-bpm-elasticsearch/blob/master/docs/userguide.md

 

When restarting tomcat server, I get this exception for two cases :

 

1/ In the first case, I don’t add the file elasticsearch.yml and I get this exception :

 

lib/elasticsearch-1.3.1.jar]

2015-02-19 11:53:37,545 [main] WARN  org.elasticsearch.discovery- [rocking-camunda-bpm-history] waited for 30s and no initial state was set by the discovery

[Loaded org.elasticsearch.http.netty.NettyHttpServerTransport$MyChannelPipelineFactory from file:/appli/myAppli/2/server/lib/elasticsearch-1.3.1.jar]

[Loaded org.elasticsearch.http.netty.HttpRequestHandler from file:/appli/myAppli/2/server/lib/elasticsearch-1.3.1.jar]

[Loaded org.elasticsearch.http.netty.NettyHttpChannel from file:/appli/myAppli/2/server/lib/elasticsearch-1.3.1.jar]

[Loaded org.elasticsearch.http.netty.NettyHttpRequest from file:/appli/myAppli/2/server/lib/elasticsearch-1.3.1.jar]

[Loaded org.elasticsearch.http.netty.NettyHttpServerTransport$1 from file:/appli/myAppli/2/server/lib/elasticsearch-1.3.1.jar]

[Loaded sun.reflect.GeneratedMethodAccessor25 from __JVM_DefineClass__]

2015-02-19 11:53:37,582 [main] INFO  org.elasticsearch.http- [rocking-camunda-bpm-history] bound_address {inet[/0.0.0.0:9200]}, publish_address {inet[/172.21.5.212:9200]}

[Loaded org.elasticsearch.watcher.ResourceWatcherService$ResourceMonitor from file:/appli/myAppli/2/server/lib/elasticsearch-1.3.1.jar]

2015-02-19 11:53:37,583 [main] INFO  org.elasticsearch.node- [rocking-camunda-bpm-history] started

.....

……

Feb 19, 2015 11:54:07 AM org.camunda.bpm.engine.impl.jobexecutor.JobExecutor shutdown

INFO: Shutting down the JobExecutor[org.camunda.bpm.engine.impl.jobexecutor.RuntimeContainerJobExecutor].

Feb 19, 2015 11:54:07 AM org.camunda.bpm.engine.impl.jobexecutor.SequentialJobAcquisitionRunnable run

INFO: JobExecutor[org.camunda.bpm.engine.impl.jobexecutor.RuntimeContainerJobExecutor] stopped job acquisition

[Loaded java.lang.Throwable$WrappedPrintWriter from /usr/local/jdk1.7.0_45/jre/lib/rt.jar]

Feb 19, 2015 11:54:07 AM org.apache.catalina.startup.Catalina start

SEVERE: The required Server component failed to start so Tomcat is unable to start.

org.apache.catalina.LifecycleException: Failed to start component [StandardServer[17116]]

        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

        at org.apache.catalina.startup.Catalina.start(Catalina.java:691)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)

        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:456)

Caused by: org.camunda.bpm.engine.ProcessEngineException: Exception while performing 'deploy BPM platform => Start process engine default': waited for [30s]

        at org.camunda.bpm.container.impl.spi.DeploymentOperation.execute(DeploymentOperation.java:134)

        at org.camunda.bpm.container.impl.jmx.MBeanServiceContainer.executeDeploymentOperation(MBeanServiceContainer.java:148)

        at org.camunda.bpm.container.impl.spi.DeploymentOperation$DeploymentOperationBuilder.execute(DeploymentOperation.java:209)

        at org.camunda.bpm.container.impl.tomcat.TomcatBpmPlatformBootstrap.deployBpmPlatform(TomcatBpmPlatformBootstrap.java:69)

        at org.camunda.bpm.container.impl.tomcat.TomcatBpmPlatformBootstrap.lifecycleEvent(TomcatBpmPlatformBootstrap.java:55)

        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)

        at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)

        at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)

        at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:347)

        at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:725)

        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

        ... 7 more

Caused by: org.elasticsearch.discovery.MasterNotDiscoveredException: waited for [30s]

        at org.elasticsearch.action.support.master.TransportMasterNodeOperationAction$4.onTimeout(TransportMasterNodeOperationAction.java:166)

        at org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(ClusterStateObserver.java:239)

        at org.elasticsearch.cluster.service.InternalClusterService$NotifyTimeout.run(InternalClusterService.java:513)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

        at java.lang.Thread.run(Thread.java:744)

 

[Loaded javax.management.ObjectName$PatternProperty from /usr/local/jdk1.7.0_45/jre/lib/rt.jar]

[Loaded com.sun.jmx.mbeanserver.Repository$ObjectNamePattern from /usr/local/jdk1.7.0_45/jre/lib/rt.jar]

Feb 19, 2015 11:54:07 AM org.camunda.bpm.container.impl.tomcat.TomcatBpmPlatformBootstrap undeployBpmPlatform

INFO: camunda BPM platform stopped.

Feb 19, 2015 11:54:07 AM org.apache.catalina.util.LifecycleBase destroy

WARNING: Calling stop() on failed component [StandardServer[17116]] to trigger clean-up did not complete.

org.apache.catalina.LifecycleException: Failed to stop component [StandardServer[17116]]

        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:236)

        at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:272)

        at org.apache.catalina.startup.Catalina.start(Catalina.java:695)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)

        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:456)

Caused by: org.apache.catalina.LifecycleException: An invalid Lifecycle transition was attempted ([before_stop]) for component [StandardService[Catalina]] in state [INITIALIZED]

        at org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:409)

 

 

 

 

2/ In the second case, I added config file elasticsearch.yml and I get this exception :

 

2015-02-19 15:21:00,994 [elasticsearch[rocking-camunda-bpm-history][generic][T#5]] WARN  org.elasticsearch.discovery.zen.ping.unicast- [rocking-camunda-bpm-history] failed to send ping to [[#zen_unicast_1#][sapzas04][inet[/127.0.0.1:7116]]]

org.elasticsearch.transport.ReceiveTimeoutTransportException: [][inet[/127.0.0.1:7116]][discovery/zen/unicast] request_id [36] timed out after [3759ms]

        at org.elasticsearch.transport.TransportService$TimeoutHandler.run(TransportService.java:370)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

        at java.lang.Thread.run(Thread.java:744)

[Loaded org.elasticsearch.action.support.TransportAction$ThreadedActionListener$2 from file:/appli/myAppli/2/server/lib/elasticsearch-1.3.1.jar]

[Loaded org.elasticsearch.ExceptionsHelper from file:/appli/myAppli/2/server/lib/elasticsearch-1.3.1.jar]

Feb 19, 2015 3:21:02 PM org.camunda.bpm.engine.impl.jobexecutor.JobExecutor shutdown

INFO: Shutting down the JobExecutor[org.camunda.bpm.engine.impl.jobexecutor.RuntimeContainerJobExecutor].

Feb 19, 2015 3:21:02 PM org.camunda.bpm.engine.impl.jobexecutor.SequentialJobAcquisitionRunnable run

INFO: JobExecutor[org.camunda.bpm.engine.impl.jobexecutor.RuntimeContainerJobExecutor] stopped job acquisition

Feb 19, 2015 3:21:02 PM org.apache.catalina.startup.Catalina start

SEVERE: The required Server component failed to start so Tomcat is unable to start.

org.apache.catalina.LifecycleException: Failed to start component [StandardServer[17116]]

        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

        at org.apache.catalina.startup.Catalina.start(Catalina.java:691)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)

        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:456)

Caused by: org.camunda.bpm.engine.ProcessEngineException: Exception while performing 'deploy BPM platform => Start process engine default': waited for [30s]

        at org.camunda.bpm.container.impl.spi.DeploymentOperation.execute(DeploymentOperation.java:134)

        at org.camunda.bpm.container.impl.jmx.MBeanServiceContainer.executeDeploymentOperation(MBeanServiceContainer.java:148)

        at org.camunda.bpm.container.impl.spi.DeploymentOperation$DeploymentOperationBuilder.execute(DeploymentOperation.java:209)

        at org.camunda.bpm.container.impl.tomcat.TomcatBpmPlatformBootstrap.deployBpmPlatform(TomcatBpmPlatformBootstrap.java:69)

        at org.camunda.bpm.container.impl.tomcat.TomcatBpmPlatformBootstrap.lifecycleEvent(TomcatBpmPlatformBootstrap.java:55)

        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)

        at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)

        at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)

        at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:347)

        at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:725)

        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

        ... 7 more

Caused by: org.elasticsearch.discovery.MasterNotDiscoveredException: waited for [30s]

        at org.elasticsearch.action.support.master.TransportMasterNodeOperationAction$4.onTimeout(TransportMasterNodeOperationAction.java:166)

        at org.elasticsearch.cluster.ClusterStateObserver$ObserverClusterStateListener.onTimeout(ClusterStateObserver.java:239)

        at org.elasticsearch.cluster.service.InternalClusterService$NotifyTimeout.run(InternalClusterService.java:513)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

        at java.lang.Thread.run(Thread.java:744)

 

Thank you for help

Said.

_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.

Sebastian Menski

unread,
Feb 20, 2015, 3:54:22 AM2/20/15
to camunda-...@googlegroups.com, said.h...@orange.com
Hi,

I'm not familiar with this plugin and the maintainer is currently on vacation. But is your elasticsearch master
reachable from your node? Cause your root cause seems to be:
org.elasticsearch.discovery.MasterNotDiscoveredException: waited for [30s]

Cheers,
Sebastian

Christian Lipphardt

unread,
Feb 20, 2015, 4:09:42 AM2/20/15
to camunda-...@googlegroups.com, said.h...@orange.com
Hi Said,

You have to configure the connection to the Elasticsearch host.
I will add the configuration part to the documentation in the next few days.

You could create a local master node for testing purposes by adding following to your process engine configuration in bpm-platform.xml.
An 'elasticsearch.yml' is not needed.

<plugin>
 
<class>org.camunda.bpm.elasticsearch.ElasticSearchHistoryPlugin</class>
 
<properties>
   
<property name="localNode">true</property>
   
<property name="dataNode">true</property>
   
<property name="clientNode">false</property>
 
</properties>
</plugin>

Switching to a standalone elasticsearch installation is mandatory when running in production.

When you want to connect the cockpit plugin to the node, it should be enough to just add the elasticsearcg-cockpit-plugin.jar to the camunda-webapp.war.

Cheers
Christian

said.h...@orange.com

unread,
Feb 27, 2015, 6:24:05 AM2/27/15
to Christian Lipphardt, camunda-...@googlegroups.com

Hi Christian,

 

Thank you. It’s ok for me and i decided switching to a standalone elasticsearch installation in production.

 

Cheers,

Said.

 

De : Christian Lipphardt [mailto:christian...@gmail.com]
Envoyé : vendredi 20 février 2015 10:10
À : camunda-...@googlegroups.com
Cc : HABAREK Said DMGP/DNU
Objet : Re: Camunda cockpit elasticsearch plugin exception org.elasticsearch.discovery.MasterNotDiscoveredException

isaa...@gmail.com

unread,
Jun 12, 2015, 3:45:43 PM6/12/15
to camunda-...@googlegroups.com, said.h...@orange.com
Hi Christian -

I'm facing the same connection issue with ElasticSearch when running Camunda 7.3

How can I configure the elasticsearch plugin to connect to a Elastic Search standalone server?

Many thanks

isaac

Daniel Meyer

unread,
Jun 15, 2015, 10:28:34 AM6/15/15
to camunda-...@googlegroups.com, isaa...@gmail.com, isaa...@gmail.com, said.h...@orange.com
Hi Isaac,

I don't think that the elasticsearch plugin has been adjusted to support Camunda 7.3 yet.

Maybe Christian can provide some insight on this?

Regards,
Daniel

isaa...@gmail.com

unread,
Jun 16, 2015, 11:21:37 AM6/16/15
to camunda-...@googlegroups.com, isaa...@gmail.com, said.h...@orange.com

Thanks Daniel

I was able to make it work with 7.3. Here are the steps I took to make it work:

Edit the file camunda-bpm-elasticsearch.json and put the following config:
{
"index": "camundabpm",
"type": "processinstance",
"indexingStrategy": "org.camunda.bpm.elasticsearch.index.ElasticSearchDefaultIndexStrategy",
"esHost": "localhost",
"esPort": "9300",
"esClusterName": "elasticsearch",
"transportClient": true,
"properties":
{ "es.script.disable_dynamic": false }
}
Do a mvn clean install
Next, you have to configure your elasticsearch.yml file, which is responsible for the elasticsearch node. Add the following lines to the file:
script.inline: on
script.indexed: on
script.groovy.sandbox.enabled: true
node.master: true
node.data: true
http.cors.enabled : true
http.cors.allow-origin : "*"
http.cors.allow-methods : OPTIONS, HEAD, GET, POST, PUT, DELETE
http.cors.allow-headers : X-Requested-With,X-Auth-Token,Content-Type, Content-Length

Christian Lipphardt

unread,
Jun 17, 2015, 4:31:45 AM6/17/15
to camunda-...@googlegroups.com, isaa...@gmail.com, said.h...@orange.com, isaa...@gmail.com
Hi Isaacsou,

You can also configure the elasticsearch plugin in the process engine configuration[1].
Just add your required properties to the properties section.

Besides that, the plugin isn't 7.3.0 ready and it has to be improved so you can configure which kind of history events from the engine are indexed and which should be ignored.
It currently only indexes evnets of type HistoricProcessInstanceEventEntity, HistoricActivitiyInstanceEventEntity, HistoricTaskInstanceEventEntity and HistoricVariableUpdateEventEntity. Any other events are ignored.

Cheers,
Christian

isaa...@gmail.com

unread,
Jul 6, 2015, 4:39:24 PM7/6/15
to camunda-...@googlegroups.com, said.h...@orange.com, isaa...@gmail.com
Thank you so much Christian. That was valuable info.

I'm trying to display some of the Camunda events aggregated in Elastic Search into a Kibana dashboard, but I'm facing some issues in generating the reports due to the nested fields structure of the records, which Kibana seems to have difficulties supporting out of the box.

Will update this thread as I make any progress.

Best,
Isaac

Liz

unread,
Aug 26, 2015, 11:25:55 AM8/26/15
to camunda BPM users
Hi Christian,

Sorry to piggyback on this thread (never made a post before, I hope this is appropriate).

I've been trying to use this plugin on Jboss 7.2. However, I found many of the dependencies were broken. After I cleaned them up and stopped receiving file not found errors, I found myself stuck at this:

16:02:27,195 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 50) MSC00001: Failed to start service org.camunda.bpm.platform.process-engine.default: org.jboss.msc.service.StartException in service org.camunda.bpm.platform.process-engine.default: org.elasticsearch.common.util.concurrent.ExecutionError: org.elasticsearch.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: Lgroovy/lang/GroovyClassLoader;
at org.camunda.bpm.container.impl.jboss.service.MscManagedProcessEngineController$1.run(MscManagedProcessEngineController.java:97)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_79]
at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_79]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_79]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_79]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
Caused by: org.elasticsearch.common.util.concurrent.ExecutionError: org.elasticsearch.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: Lgroovy/lang/GroovyClassLoader;
at org.elasticsearch.common.cache.LocalCache$Segment.get(LocalCache.java:2201)
at org.elasticsearch.common.cache.LocalCache.get(LocalCache.java:3937)
at org.elasticsearch.common.cache.LocalCache.getOrLoad(LocalCache.java:3941)
at org.elasticsearch.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824)
at org.elasticsearch.common.inject.internal.FailableCache.get(FailableCache.java:51)
at org.elasticsearch.common.inject.ConstructorInjectorStore.get(ConstructorInjectorStore.java:50)
at org.elasticsearch.common.inject.ConstructorBindingImpl.initialize(ConstructorBindingImpl.java:50)
at org.elasticsearch.common.inject.InjectorImpl.initializeBinding(InjectorImpl.java:372)
at org.elasticsearch.common.inject.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:645)
at org.elasticsearch.common.inject.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:580)
at org.elasticsearch.common.inject.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:159)
at org.elasticsearch.common.inject.InjectorImpl.getBindingOrThrow(InjectorImpl.java:119)
at org.elasticsearch.common.inject.InjectorImpl.getInternalFactory(InjectorImpl.java:651)
at org.elasticsearch.common.inject.FactoryProxy.notify(FactoryProxy.java:44)
at org.elasticsearch.common.inject.BindingProcessor.runCreationListeners(BindingProcessor.java:210)
at org.elasticsearch.common.inject.InjectorBuilder.initializeStatically(InjectorBuilder.java:130)
at org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:102)
at org.elasticsearch.common.inject.Guice.createInjector(Guice.java:93)
at org.elasticsearch.common.inject.Guice.createInjector(Guice.java:70)
at org.elasticsearch.common.inject.ModulesBuilder.createInjector(ModulesBuilder.java:59)
at org.elasticsearch.node.internal.InternalNode.<init>(InternalNode.java:197)
at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:159)
at org.camunda.bpm.elasticsearch.ElasticSearchClient.init(ElasticSearchClient.java:73)
at org.camunda.bpm.elasticsearch.ElasticSearchClient.<init>(ElasticSearchClient.java:42)
at org.camunda.bpm.elasticsearch.ElasticSearchHistoryPlugin.preInit(ElasticSearchHistoryPlugin.java:71)
at org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl.invokePreInit(ProcessEngineConfigurationImpl.java:512)
at org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl.init(ProcessEngineConfigurationImpl.java:462)
at org.camunda.bpm.engine.impl.cfg.JtaProcessEngineConfiguration.init(JtaProcessEngineConfiguration.java:54)
at org.camunda.bpm.container.impl.jboss.config.ManagedJtaProcessEngineConfiguration.init(ManagedJtaProcessEngineConfiguration.java:34)
at org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl.buildProcessEngine(ProcessEngineConfigurationImpl.java:453)
at org.camunda.bpm.container.impl.jboss.service.MscManagedProcessEngineController.startProcessEngine(MscManagedProcessEngineController.java:177)
at org.camunda.bpm.container.impl.jboss.service.MscManagedProcessEngineController$2.run(MscManagedProcessEngineController.java:131)
at org.camunda.bpm.container.impl.jboss.service.MscManagedProcessEngineController$2.run(MscManagedProcessEngineController.java:129)
at org.camunda.bpm.container.impl.jboss.util.Tccl.runWithTccl(Tccl.java:53)
at org.camunda.bpm.container.impl.jboss.util.Tccl.runUnderClassloader(Tccl.java:45)
at org.camunda.bpm.container.impl.jboss.service.MscManagedProcessEngineController.startInternal(MscManagedProcessEngineController.java:129)
at org.camunda.bpm.container.impl.jboss.service.MscManagedProcessEngineController$1.run(MscManagedProcessEngineController.java:90)
... 6 more
Caused by: org.elasticsearch.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: Lgroovy/lang/GroovyClassLoader;
at org.elasticsearch.common.cache.LocalCache$Segment.get(LocalCache.java:2201)
at org.elasticsearch.common.cache.LocalCache.get(LocalCache.java:3937)
at org.elasticsearch.common.cache.LocalCache.getOrLoad(LocalCache.java:3941)
at org.elasticsearch.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824)
at org.elasticsearch.common.inject.internal.FailableCache.get(FailableCache.java:51)
at org.elasticsearch.common.inject.MembersInjectorStore.get(MembersInjectorStore.java:68)
at org.elasticsearch.common.inject.ConstructorInjectorStore.createConstructor(ConstructorInjectorStore.java:67)
at org.elasticsearch.common.inject.ConstructorInjectorStore.access$000(ConstructorInjectorStore.java:29)
at org.elasticsearch.common.inject.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:37)
at org.elasticsearch.common.inject.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:33)
at org.elasticsearch.common.inject.internal.FailableCache$1.load(FailableCache.java:39)
at org.elasticsearch.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527)
at org.elasticsearch.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2319)
at org.elasticsearch.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2282)
at org.elasticsearch.common.cache.LocalCache$Segment.get(LocalCache.java:2197)
... 42 more
Caused by: java.lang.NoClassDefFoundError: Lgroovy/lang/GroovyClassLoader;
at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.7.0_79]
at java.lang.Class.privateGetDeclaredFields(Class.java:2499) [rt.jar:1.7.0_79]
at java.lang.Class.getDeclaredFields(Class.java:1811) [rt.jar:1.7.0_79]
at org.elasticsearch.common.inject.spi.InjectionPoint$Factory$1.getMembers(InjectionPoint.java:378)
at org.elasticsearch.common.inject.spi.InjectionPoint$Factory$1.getMembers(InjectionPoint.java:376)
at org.elasticsearch.common.inject.spi.InjectionPoint.addInjectorsForMembers(InjectionPoint.java:351)
at org.elasticsearch.common.inject.spi.InjectionPoint.addInjectionPoints(InjectionPoint.java:345)
at org.elasticsearch.common.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:287)
at org.elasticsearch.common.inject.MembersInjectorStore.createWithListeners(MembersInjectorStore.java:80)
at org.elasticsearch.common.inject.MembersInjectorStore.access$000(MembersInjectorStore.java:36)
at org.elasticsearch.common.inject.MembersInjectorStore$1.create(MembersInjectorStore.java:45)
at org.elasticsearch.common.inject.MembersInjectorStore$1.create(MembersInjectorStore.java:41)
at org.elasticsearch.common.inject.internal.FailableCache$1.load(FailableCache.java:39)
at org.elasticsearch.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527)
at org.elasticsearch.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2319)
at org.elasticsearch.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2282)
at org.elasticsearch.common.cache.LocalCache$Segment.get(LocalCache.java:2197)
... 56 more
Caused by: java.lang.ClassNotFoundException: groovy.lang.GroovyClassLoader from [Module "org.camunda.bpm.elasticsearch:main" from local module loader @4a05c759 (finder: local module finder @4162ca06 (roots: /home/admin/7.2-jboss/server/jboss-as-7.2.0.Final/modules,/home/admin/7.2-jboss/server/jboss-as-7.2.0.Final/modules/system/layers/base))]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.2.0.CR1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.2.0.CR1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.2.0.CR1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.2.0.CR1]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) [jboss-modules.jar:1.2.0.CR1]
... 73 more

I'm not entirely familiar with Jboss/Tomcat or Maven yet, so I might have done something wrong. Would you happen to have any insight?

Thanks,
Liz

Reply all
Reply to author
Forward
0 new messages