[ https://issues.apache.org/activemq/browse/SM-708?page=all ]
Guillaume Nodet updated SM-708:
-------------------------------
Priority: Major (was: Blocker)
Moving to Major as there is a simple workaround
> ServiceUnitAnalyzer does not create parent spring context
> ---------------------------------------------------------
>
> Key: SM-708
> URL: https://issues.apache.org/activemq/browse/SM-708
> Project: ServiceMix
> Issue Type: Improvement
> Components: tooling
> Affects Versions: 3.0
> Environment: Servicemix 3.0
> Reporter: Robert Ottaway
> Attachments: xbean.xml
>
>
> When trying to create a service assembly using the jbi plugin error is
> recieved. In a service unit's xbean file I ry to pass a reference to the
> ComponentContext to a XFire POJO object. According to documentation on the
> site this should work fine. But when the ServiceUnitAnalyzer kicks in during
> the mvn install goal, it finds no parent reference to 'context'
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to generate jbi.xml
> Embedded error: Unable to generate service unit descriptor!
> No bean named 'context' is defined
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira