[
https://issues.apache.org/jira/browse/UIMA-1140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12634960#action_12634960
]
Jerry Cwiklik commented on UIMA-1140:
-------------------------------------
Marshall, the latest fix resolved the problem, but I have another one.
Constructors for collocated Controllers are not being called by Spring during
Spring container deployment. It took me awhile to realize that the most likely
cause is the fact that Spring uses lazy initialization for beans. Changes made
in dd2spring removed depenendencies which triggered Spring to initialize
collocated controllers. The way to fix this is to add a new bean property for
collocated controller beans ( both Primitive and Aggregate) called
lazy-init="false". An example:
<bean id="primitive_ctlr_SPCM_1.2.1"
class="org.apache.uima.aae.controller.PrimitiveAnalysisEngineController_impl"
init-method="initialize" lazy-init="false">
...
Again this should be done only for collocated Controllers. If I am right this
will force instantiation of the beans.
> Embedded broker should be eliminated
> ------------------------------------
>
> Key: UIMA-1140
> URL: https://issues.apache.org/jira/browse/UIMA-1140
> Project: UIMA
> Issue Type: Improvement
> Components: Async Scaleout
> Reporter: Eddie Epstein
> Assignee: Marshall Schor
> Attachments: uimaj-as-activemq-UIMA-1140-patch.txt,
> uimaj-as-core-UIMA-1140-patch.txt, uimaj-as-jms-UIMA-1140-patch.txt
>
>
> When an async aggregate is deployed, the request/reply queues for colocated
> delegates use an embedded broker. After UIMA-1130 is complete, all reply
> queues for remote delegates will be located on the same external broker
> hosting the delegate's request queue. At that point the function of the
> colocated broker can be replace with simple Java queues.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.