Switchyard applications fail to deploy due to 'Unable to find BeanManager' ERRORs in Fuse 6.2.1

Solution Verified - Updated -

Issue

We are using Fuse 6.2.1 on EAP, and face the following issue after deploying Switchyard applications packaged as EAR artifacts, using the JBoss CLI:

14:49:36.644 ERROR java.lang.IllegalStateException: Unable to find BeanManager. Please ensure that you configured the CDI implementation of your choice properly. org.jboss.stdio.AbstractLoggingWriter.write(AbstractLoggingWriter.java:71)
14:49:36.645 ERROR  at org.apache.deltaspike.core.api.provider.BeanManagerProvider.getBeanManager(BeanManagerProvider.java:247) org.jboss.stdio.AbstractLoggingWriter.write(AbstractLoggingWriter.java:71)
14:49:36.645 ERROR  at org.apache.deltaspike.core.api.provider.BeanProvider.getBeanManager(BeanProvider.java:510) org.jboss.stdio.AbstractLoggingWriter.write(AbstractLoggingWriter.java:71)
14:49:36.646 ERROR  at org.apache.deltaspike.core.api.provider.BeanProvider.getContextualReference(BeanProvider.java:119) org.jboss.stdio.AbstractLoggingWriter.write(AbstractLoggingWriter.java:71)
14:49:36.646 ERROR  at org.apache.camel.cdi.CdiInjector.newInstance(CdiInjector.java:44) org.jboss.stdio.AbstractLoggingWriter.write(AbstractLoggingWriter.java:71)
14:49:36.647 ERROR  at org.apache.camel.impl.converter.CachingInjector.createInstance(CachingInjector.java:44) org.jboss.stdio.AbstractLoggingWriter.write(AbstractLoggingWriter.java:71)
14:49:36.648 ERROR  at org.apache.camel.impl.converter.CachingInjector.newInstance(CachingInjector.java:38) org.jboss.stdio.AbstractLoggingWriter.write(AbstractLoggingWriter.java:71)
14:49:36.648 ERROR  at org.apache.camel.impl.converter.InstanceMethodTypeConverter.convertTo(InstanceMethodTypeConverter.java:67) org.jboss.stdio.AbstractLoggingWriter.write(AbstractLoggingWriter.java:71)
14:49:36.648 ERROR  at org.apache.camel.impl.converter.BaseTypeConverterRegistry.doConvertTo(BaseTypeConverterRegistry.java:285) org.jboss.stdio.AbstractLoggingWriter.write(AbstractLoggingWriter.java:71)
14:49:36.649 ERROR  at org.apache.camel.impl.converter.BaseTypeConverterRegistry.convertTo(BaseTypeConverterRegistry.java:112) org.jboss.stdio.AbstractLoggingWriter.write(AbstractLoggingWriter.java:71)
14:49:36.649 ERROR  at org.apache.camel.impl.MessageSupport.getBody(MessageSupport.java:72) org.jboss.stdio.AbstractLoggingWriter.write(AbstractLoggingWriter.java:71)
14:49:36.649 ERROR  at org.switchyard.bus.camel.CamelMessage.getBody(CamelMessage.java:98) org.jboss.stdio.AbstractLoggingWriter.write(AbstractLoggingWriter.java:71)

The startup and deployment of the artifacts do not fail. When calling the deployed services the exception occurs.

We deploy by CLI by default. The problem does not show up when deploying by copying the binaries to the deployment folder.

Environment

  • Red Hat JBoss Fuse Service Works
    • 6.2.1

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