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.
-
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