You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Amila Maharachchi (JIRA)" <ji...@apache.org> on 2012/05/10 17:24:48 UTC

[jira] [Created] (AXIS2-5318) "consumer" and "producer" values are not supported in transport.jms.CacheLevel property

Amila Maharachchi created AXIS2-5318:
----------------------------------------

             Summary: "consumer" and "producer" values are not supported in transport.jms.CacheLevel property
                 Key: AXIS2-5318
                 URL: https://issues.apache.org/jira/browse/AXIS2-5318
             Project: Axis2
          Issue Type: Bug
          Components: transports
    Affects Versions: 1.1
            Reporter: Amila Maharachchi
            Priority: Blocker


When trying to set the transport.jms.CacheLevel property as "consumer" or "producer" it throws exception saying "Invalid cache level"....... This property is needed to get the ActiveMQ redelivery mechanism to work because in ActiveMQ, redeliverPolicy is dictated by the CONSUMER. Further looking in to the code revealed 

1. CONSUMER is set but cannot be digest
2. PRODUCER is not set

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Moved] (TRANSPORTS-51) "consumer" and "producer" values are not supported in transport.jms.CacheLevel property

Posted by "Sagara Gunathunga (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TRANSPORTS-51?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sagara Gunathunga  moved AXIS2-5318 to TRANSPORTS-51:
-----------------------------------------------------

          Component/s:     (was: transports)
                       JMS
    Affects Version/s:     (was: 1.1)
                  Key: TRANSPORTS-51  (was: AXIS2-5318)
              Project: Axis2 Transports  (was: Axis2)
    
> "consumer" and "producer" values are not supported in transport.jms.CacheLevel property
> ---------------------------------------------------------------------------------------
>
>                 Key: TRANSPORTS-51
>                 URL: https://issues.apache.org/jira/browse/TRANSPORTS-51
>             Project: Axis2 Transports
>          Issue Type: Bug
>          Components: JMS
>            Reporter: Amila Maharachchi
>            Priority: Blocker
>         Attachments: jms_cache_level_patch.txt
>
>
> When trying to set the transport.jms.CacheLevel property as "consumer" or "producer" it throws exception saying "Invalid cache level"....... This property is needed to get the ActiveMQ redelivery mechanism to work because in ActiveMQ, redeliverPolicy is dictated by the CONSUMER. Further looking in to the code revealed 
> 1. CONSUMER is set but cannot be digest
> 2. PRODUCER is not set

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Resolved] (TRANSPORTS-51) "consumer" and "producer" values are not supported in transport.jms.CacheLevel property

Posted by "Sagara Gunathunga (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TRANSPORTS-51?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sagara Gunathunga  resolved TRANSPORTS-51.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.7.0

Patch available on r1338132. 
                
> "consumer" and "producer" values are not supported in transport.jms.CacheLevel property
> ---------------------------------------------------------------------------------------
>
>                 Key: TRANSPORTS-51
>                 URL: https://issues.apache.org/jira/browse/TRANSPORTS-51
>             Project: Axis2 Transports
>          Issue Type: Bug
>          Components: JMS
>            Reporter: Amila Maharachchi
>            Priority: Blocker
>             Fix For: 1.7.0
>
>         Attachments: jms_cache_level_patch.txt
>
>
> When trying to set the transport.jms.CacheLevel property as "consumer" or "producer" it throws exception saying "Invalid cache level"....... This property is needed to get the ActiveMQ redelivery mechanism to work because in ActiveMQ, redeliverPolicy is dictated by the CONSUMER. Further looking in to the code revealed 
> 1. CONSUMER is set but cannot be digest
> 2. PRODUCER is not set

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Updated] (AXIS2-5318) "consumer" and "producer" values are not supported in transport.jms.CacheLevel property

Posted by "Anjana Fernando (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anjana Fernando updated AXIS2-5318:
-----------------------------------

    Attachment: jms_cache_level_patch.txt

Hi,

I'm attaching here the patch to fix the above mentioned issue. For reference, below is the actual stacktrace you get of the error, when setting the cache level as "producer", you get a rather similar one for "consumer" as well. 

[2012-05-10 17:04:02,148] ERROR - JMSListener Unexpected error when configuring service FileToJMSProxy for the JMS transport. It will be disabled for this transport and marked as faulty.
org.apache.axis2.transport.jms.AxisJMSException: Invalid cache level : producer
        at org.apache.axis2.transport.jms.ServiceTaskManagerFactory.getCacheLevel(ServiceTaskManagerFactory.java:313)
        at org.apache.axis2.transport.jms.ServiceTaskManagerFactory.createTaskManagerForService(ServiceTaskManagerFactory.java:85)
        at org.apache.axis2.transport.jms.JMSEndpoint.loadConfiguration(JMSEndpoint.java:249)
        at org.apache.axis2.transport.base.AbstractTransportListenerEx.startListeningForService(AbstractTransportListenerEx.java:153)
        at org.apache.axis2.transport.base.AbstractTransportListener.internalStartListeningForService(AbstractTransportListener.java:213)
        at org.apache.axis2.transport.base.AbstractTransportListener$2.serviceAdded(AbstractTransportListener.java:126)
        at org.apache.axis2.transport.base.tracker.AxisServiceTracker.serviceAdded(AxisServiceTracker.java:212)
        at org.apache.axis2.transport.base.tracker.AxisServiceTracker.start(AxisServiceTracker.java:188)
        at org.apache.axis2.transport.base.AbstractTransportListener.start(AbstractTransportListener.java:178)
        at org.apache.axis2.transport.base.AbstractTransportListenerEx.start(AbstractTransportListenerEx.java:83)
        at org.apache.axis2.engine.ListenerManager.start(ListenerManager.java:168)
        at org.apache.axis2.engine.ListenerManager.startSystem(ListenerManager.java:186)

                
> "consumer" and "producer" values are not supported in transport.jms.CacheLevel property
> ---------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5318
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5318
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.1
>            Reporter: Amila Maharachchi
>            Priority: Blocker
>         Attachments: jms_cache_level_patch.txt
>
>
> When trying to set the transport.jms.CacheLevel property as "consumer" or "producer" it throws exception saying "Invalid cache level"....... This property is needed to get the ActiveMQ redelivery mechanism to work because in ActiveMQ, redeliverPolicy is dictated by the CONSUMER. Further looking in to the code revealed 
> 1. CONSUMER is set but cannot be digest
> 2. PRODUCER is not set

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org