[
https://issues.apache.org/activemq/browse/SM-822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39898
]
Brian Maso commented on SM-822:
-------------------------------
I am getting a similar error using the Straight Through flow. I have 1
servicemix-bean POJO sending an InOut exchange to another servicemix-bean POJO.
The receiver tries to set the exchange state to ERROR when a particular problem
is detected, and I'm getting this exception. I get the same exception when only
setting a fault on the exchange.
More specifics: I have 2 services installed as POJOs, call them A and B. I have
a SpringTestSupport-based test that creates an InOut exchange targeting service
A; service A creates a second InOut exchange targeting service B. Service B
detects an error during its invocation, and attempts to set the exchange state
to ERROR, and set a Fault in the exchange -- gets an IllegalStateException when
it tries to do either.
> java.lang.IllegalStateException: component is not owner, with jmsflow and
> jcaflow
> ---------------------------------------------------------------------------------
>
> Key: SM-822
> URL: https://issues.apache.org/activemq/browse/SM-822
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-http
> Affects Versions: incubation
> Environment: jdk5, linux, jboss 4.0.5, tomcat 5.0.28
> Reporter: Grégoire A.
>
> Hi,
> i have got this exception when i try to send and http request to the http
> component
> form $svn.trunk/samples/services-web/servicemix-web-3.1-incubating-SNAPSHOT.
> java.lang.IllegalStateException: component is not owner
> .org.apache.servicemix.jbi.messaging.MessageExchangeImpl.setStatus(MessageExchangeImpl.java:210)
> .org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:240)
> .org.apache.servicemix.http.ManagedContextManager$MainProcessor.process(ManagedContextManager.java:116)
> .org.apache.servicemix.http.HttpManagedServlet.service(HttpManagedServlet.java:82)
> .javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> just add this to the applicationContext.xml
> <sm:broker>
> <sm:securedBroker authorizationMap="#authorizationMap">
> <sm:flows>
> <!--sm:jcaFlow connectionManager="#connectionManager"
> jmsURL="tcp://localhost:61636" /-->
> <!--sm:sedaFlow /-->
> <sm:jmsFlow jmsURL="vm://localhost" />
> </sm:flows>
> </sm:securedBroker>
> </sm:broker>
> and
> <!-- ServiceMix authorization map -->
> <sm:authorizationMap id="authorizationMap">
> <sm:authorizationEntries>
> <sm:authorizationEntry service="*:*" roles="*" />
> </sm:authorizationEntries>
> </sm:authorizationMap>
> i would be ok to participate to fix this issue, but alone I'am not enough
> qualified with SMX-Core design to fix it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.