You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "John Oldman (JIRA)" <ji...@apache.org> on 2007/11/21 14:53:26 UTC
[jira] Created: (AMQCPP-155) Problem changing from
"AUTO_ACKNOWLEDGE" to "SESSION_TRANSACTED"
Problem changing from "AUTO_ACKNOWLEDGE" to "SESSION_TRANSACTED"
----------------------------------------------------------------
Key: AMQCPP-155
URL: https://issues.apache.org/activemq/browse/AMQCPP-155
Project: ActiveMQ C++ Client
Issue Type: Bug
Components: CMS Impl
Affects Versions: 2.1.1
Environment: CMS 2.1.1
ActiveMQ 4.1.1
SUSE 10.2
Reporter: John Oldman
Assignee: Nathan Mittler
Priority: Blocker
Attachments: forumBuild.tar.gz
Based on the sample code, have set up a simple client/server queue,
using createSession with AUTO_ACKNOWLEDGE.
Messages appear to work as expected.
However, I want to eventually end up with a failover setup, with two servers, and therefore need to leave the message in the queue until it has been sucessfully processed by the working server.
I have tried using createSession with SESSION_TRANSACTED to keep the message in the queue, then calling commit() when the server has completed processing the message, but keep getting core dumps.
Is this approach to using SESSION_TRANSACTED / commit() the correct way to be running CMS?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (AMQCPP-155) Problem changing from
"AUTO_ACKNOWLEDGE" to "SESSION_TRANSACTED"
Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQCPP-155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish closed AMQCPP-155.
-------------------------------
Resolution: Cannot Reproduce
I cannot reproduce the issue seen in any of my environments.
> Problem changing from "AUTO_ACKNOWLEDGE" to "SESSION_TRANSACTED"
> ----------------------------------------------------------------
>
> Key: AMQCPP-155
> URL: https://issues.apache.org/activemq/browse/AMQCPP-155
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Components: CMS Impl
> Affects Versions: 2.1.1
> Environment: CMS 2.1.1
> ActiveMQ 4.1.1
> SUSE 10.2
> Reporter: John Oldman
> Assignee: Timothy Bish
> Priority: Blocker
> Fix For: 2.2
>
> Attachments: forumBuild.tar.gz
>
>
> Based on the sample code, have set up a simple client/server queue,
> using createSession with AUTO_ACKNOWLEDGE.
> Messages appear to work as expected.
> However, I want to eventually end up with a failover setup, with two servers, and therefore need to leave the message in the queue until it has been sucessfully processed by the working server.
> I have tried using createSession with SESSION_TRANSACTED to keep the message in the queue, then calling commit() when the server has completed processing the message, but keep getting core dumps.
> Is this approach to using SESSION_TRANSACTED / commit() the correct way to be running CMS?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (AMQCPP-155) Problem changing from
"AUTO_ACKNOWLEDGE" to "SESSION_TRANSACTED"
Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQCPP-155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish reassigned AMQCPP-155:
-----------------------------------
Assignee: Timothy Bish (was: Nathan Mittler)
> Problem changing from "AUTO_ACKNOWLEDGE" to "SESSION_TRANSACTED"
> ----------------------------------------------------------------
>
> Key: AMQCPP-155
> URL: https://issues.apache.org/activemq/browse/AMQCPP-155
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Components: CMS Impl
> Affects Versions: 2.1.1
> Environment: CMS 2.1.1
> ActiveMQ 4.1.1
> SUSE 10.2
> Reporter: John Oldman
> Assignee: Timothy Bish
> Priority: Blocker
> Fix For: 2.2
>
> Attachments: forumBuild.tar.gz
>
>
> Based on the sample code, have set up a simple client/server queue,
> using createSession with AUTO_ACKNOWLEDGE.
> Messages appear to work as expected.
> However, I want to eventually end up with a failover setup, with two servers, and therefore need to leave the message in the queue until it has been sucessfully processed by the working server.
> I have tried using createSession with SESSION_TRANSACTED to keep the message in the queue, then calling commit() when the server has completed processing the message, but keep getting core dumps.
> Is this approach to using SESSION_TRANSACTED / commit() the correct way to be running CMS?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (AMQCPP-155) Problem changing from
"AUTO_ACKNOWLEDGE" to "SESSION_TRANSACTED"
Posted by "Nathan Mittler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQCPP-155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nathan Mittler updated AMQCPP-155:
----------------------------------
Fix Version/s: 2.2
> Problem changing from "AUTO_ACKNOWLEDGE" to "SESSION_TRANSACTED"
> ----------------------------------------------------------------
>
> Key: AMQCPP-155
> URL: https://issues.apache.org/activemq/browse/AMQCPP-155
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Components: CMS Impl
> Affects Versions: 2.1.1
> Environment: CMS 2.1.1
> ActiveMQ 4.1.1
> SUSE 10.2
> Reporter: John Oldman
> Assignee: Nathan Mittler
> Priority: Blocker
> Fix For: 2.2
>
> Attachments: forumBuild.tar.gz
>
>
> Based on the sample code, have set up a simple client/server queue,
> using createSession with AUTO_ACKNOWLEDGE.
> Messages appear to work as expected.
> However, I want to eventually end up with a failover setup, with two servers, and therefore need to leave the message in the queue until it has been sucessfully processed by the working server.
> I have tried using createSession with SESSION_TRANSACTED to keep the message in the queue, then calling commit() when the server has completed processing the message, but keep getting core dumps.
> Is this approach to using SESSION_TRANSACTED / commit() the correct way to be running CMS?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (AMQCPP-155) Problem changing from
"AUTO_ACKNOWLEDGE" to "SESSION_TRANSACTED"
Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQCPP-155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40935 ]
Timothy Bish commented on AMQCPP-155:
-------------------------------------
I've played around with the example given and I cannot make it core dump using transacted sessions. I tweaked the code to make it send more messages but still no core dumps here.
I'm on Fedora 8 running client lib Activemq-CPP 2.1.3 and Broker ActiveMQ 5.0
I'd recommend submitting an example with a makefile next time, makes my life easier.
> Problem changing from "AUTO_ACKNOWLEDGE" to "SESSION_TRANSACTED"
> ----------------------------------------------------------------
>
> Key: AMQCPP-155
> URL: https://issues.apache.org/activemq/browse/AMQCPP-155
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Components: CMS Impl
> Affects Versions: 2.1.1
> Environment: CMS 2.1.1
> ActiveMQ 4.1.1
> SUSE 10.2
> Reporter: John Oldman
> Assignee: Nathan Mittler
> Priority: Blocker
> Fix For: 2.2
>
> Attachments: forumBuild.tar.gz
>
>
> Based on the sample code, have set up a simple client/server queue,
> using createSession with AUTO_ACKNOWLEDGE.
> Messages appear to work as expected.
> However, I want to eventually end up with a failover setup, with two servers, and therefore need to leave the message in the queue until it has been sucessfully processed by the working server.
> I have tried using createSession with SESSION_TRANSACTED to keep the message in the queue, then calling commit() when the server has completed processing the message, but keep getting core dumps.
> Is this approach to using SESSION_TRANSACTED / commit() the correct way to be running CMS?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.