You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Grégoire A. (JIRA)" <ji...@apache.org> on 2007/01/15 18:12:49 UTC

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

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

       

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

Posted by "Grégoire A. (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_37925 ] 

Grégoire A. commented on SM-822:
--------------------------------

it seems come from the jms flow.
with just seda one i don't have any pb.


> 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

       

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

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet updated SM-822:
-------------------------------

    Fix Version/s: 3.2.1
                   3.1.3

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


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

Posted by "Zacarias Monzon (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Zacarias Monzon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zacarias Monzon updated SM-822:
-------------------------------

    Attachment:     (was: servicemix.patch)

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


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

Posted by "Brian Maso (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Zacarias Monzon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zacarias Monzon updated SM-822:
-------------------------------

    Attachment: servicemix.patch

I found that deployables/bindingcomponents/servicemix-http/src/main/java/org/apache/servicemix/http/processors/ConsumerProcessor.java sleeps meanwhile the jsr componet modifies the message.In JMSFlow the variable "exchange" is serialized to an MQ queue and deserialized that's why when ConsumerProccesor wakes up exchange is in the wrong state. With this patch I propose to take again the "exchange" from the "exchanges" list. I tested it with Seda flow and JmsFlow separated and it works. 

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


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

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_38726 ] 

Guillaume Nodet commented on SM-822:
------------------------------------

Hum, it seems I missed this issue.
Did you had any time to look at it ?

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


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

Posted by "Grégoire A. (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_38732 ] 

Grégoire A. commented on SM-822:
--------------------------------

i really need to check this issue.
i will retry a test about it, ASAP.
maybe next week i hope.


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


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

Posted by "Brian Maso (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Maso updated SM-822:
--------------------------

    Comment: was deleted

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


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

Posted by "Zacarias Monzon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zacarias Monzon updated SM-822:
-------------------------------

    Attachment: servicemix.patch

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