NameNotFoundException: Name [module/SimpleAsyncExecutorService] during BRMS startup on Tomcat

Solution Unverified - Updated -

Issue

  • I get NameNotFoundException during startup sequence in BRMS 6.4.0 on Tomcat
21-Apr-2017 11:57:26.524 WARNING [localhost-startStop-1] org.uberfire.commons.async.SimpleAsyncExecutorService.getDefaultInstance Unable to instantiate EJB Asynchronous Bean. Falling back to Executors' CachedThreadPool.
 javax.naming.NameNotFoundException: Name [module/SimpleAsyncExecutorService] is not bound in this Context. Unable to find [module].
    at org.apache.naming.NamingContext.lookup(NamingContext.java:824)
    at org.apache.naming.NamingContext.lookup(NamingContext.java:172)
    at org.apache.naming.SelectorContext.lookup(SelectorContext.java:157)
    at javax.naming.InitialContext.lookup(InitialContext.java:417)
    at javax.naming.InitialContext.doLookup(InitialContext.java:290)
    at org.uberfire.commons.async.SimpleAsyncExecutorService.getDefaultInstance(SimpleAsyncExecutorService.java:75)
    at org.uberfire.ext.metadata.io.IOServiceIndexedImpl.setupWatchService(IOServiceIndexedImpl.java:236)

...

21-Apr-2017 11:57:32.338 WARNING [localhost-startStop-1] org.guvnor.common.services.builder.IncrementalBuilderExecutorManagerFactoryImpl.getExecutorManager Unable to instantiate EJB Asynchronous Bean. Falling back to Executors' CachedThreadPool.
 javax.naming.NameNotFoundException: Name [module/IncrementalBuilderExecutorManager] is not bound in this Context. Unable to find [module].
    at org.apache.naming.NamingContext.lookup(NamingContext.java:824)
    at org.apache.naming.NamingContext.lookup(NamingContext.java:172)
    at org.apache.naming.SelectorContext.lookup(SelectorContext.java:157)
    at javax.naming.InitialContext.lookup(InitialContext.java:417)
    at javax.naming.InitialContext.doLookup(InitialContext.java:290)
    at org.guvnor.common.services.builder.IncrementalBuilderExecutorManagerFactoryImpl.getExecutorManager(IncrementalBuilderExecutorManagerFactoryImpl.java:63)
    at org.guvnor.common.services.builder.IncrementalBuilderExecutorManagerFactoryImpl$Proxy$_$$_WeldClientProxy.getExecutorManager(IncrementalBuilderExecutorManagerFactoryImpl$Proxy$_$$_WeldClientProxy.java)
    at org.guvnor.common.services.builder.ResourceChangeIncrementalBuilder.getExecutor(ResourceChangeIncrementalBuilder.java:98)
    at org.guvnor.common.services.builder.ResourceChangeIncrementalBuilder.configureOnEvent(ResourceChangeIncrementalBuilder.java:72)
    at org.kie.workbench.common.services.backend.builder.ResourceChangeIncrementalBuilder$Proxy$_$$_WeldClientProxy.configureOnEvent(ResourceChangeIncrementalBuilder$Proxy$_$$_WeldClientProxy.java)

Environment

  • Red Hat JBoss BRMS
    • 6.4.0
  • Tomcat

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.