You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Zacarias Monzon (JIRA)" <ji...@apache.org> on 2007/11/19 17:38:27 UTC

[jira] Issue Comment Edited: (SM-822) java.lang.IllegalStateException: component is not owner, with jmsflow and jcaflow

    [ https://issues.apache.org/activemq/browse/SM-822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40653 ] 

zacarias edited comment on SM-822 at 11/19/07 8:37 AM:
--------------------------------------------------------------

I correct the patch to get the messageExchange when I remove it from the exchanges map.

      was (Author: zacarias):
    I get the messageExchange from the exchanges map.
  
> 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.
>             Fix For: 3.1.3, 3.2.1
>
>         Attachments: servicemix.patch
>
>
> 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.