Error "No property 'stateless' found" when starting up Fuse ESB
Environment
- Fuse ESB 3.3.1.13-fuse
Issue
ERROR - Service - Async error occurred: java.lang.NullPointerException
...
ERROR - AutoDeploymentService - Failed to update Service Assembly: <MyNamedSA><SPAN>
...
<loc-message>Could not deploy xbean service unit</loc-message>
</msg-loc-info>
</task-status-msg>
<exception-info>
<nesting-level>1</nesting-level>
<msg-loc-info>
<loc-token/>
<loc-message>org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'org.apache.servicemix.jms.endpoints.JmsProviderEndpoint' defined in file [C:\fuseesb33114\data\smx\service-assemblies\MyNamedSA\version_3\sus\servicemix-jms\my-parser-jms-producer-front-su\xbean.xml]: Initialization of bean failed; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'stateless' of bean class [org.apache.servicemix.jms.endpoints.JmsProviderEndpoint]: No property 'stateless' found</loc-message>
Error creating bean with name 'org.apache.servicemix.jms.endpoints.JmsProviderEndpoint' defined in file [C:\fuseesb33114\data\smx\service-assemblies\MyNamedSA\version_3\sus\servicemix-jms\my-parser-jms-producer-front-su\xbean.xml]: Initialization of bean failed; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'stateless' of bean class [org.apache.servicemix.jms.endpoints.JmsProviderEndpoint]: No property 'stateless' found</loc-message>
Caused by: org.springframework.beans.InvalidPropertyException: Invalid property 'stateless' of bean class [org.apache.servicemix.jms.endpoints.JmsProviderEndpoint]: No property 'stateless' found
Resolution
Remove the stateless property from the jms:provider xbean.xml
Root Cause
In Fuse ESB 3.3.1.13-fuse release, the unused "stateless" boolean property in JmsProviderEndpoint was removed. As a result, jms:provider endpoints with the "stateless" property specified break when upgrading to release 3.3.1.13-fuse from an older minor release.
NOTE: the stateless property will remain removed in subsequent 3.x (>3.3.1.13-fuse) and 4.x releases.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
