[jira] [Commented] (QPID-4987) A new website

2013-07-12 Thread Robbie Gemmell (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13706807#comment-13706807
 ] 

Robbie Gemmell commented on QPID-4987:
--

It would be good to redirect the old documentation URLs to the new ones, so 
that at least some of the many historical links to documentation given out will 
still work (any to the wiki export having also just been broken).

E.g the 0.22 docs for the java broker moved from/to:
{noformat}
http://qpid.apache.org/books/0.22/AMQP-Messaging-Broker-Java-Book/html/index.html
{noformat}
{noformat}
http://qpid.apache.org/releases/qpid-0.22/java-broker/book/index.html
{noformat}



 A new website
 -

 Key: QPID-4987
 URL: https://issues.apache.org/jira/browse/QPID-4987
 Project: Qpid
  Issue Type: Improvement
  Components: Website
Reporter: Justin Ross
Assignee: Justin Ross



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4987) A new website

2013-07-12 Thread Justin Ross (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13706834#comment-13706834
 ] 

Justin Ross commented on QPID-4987:
---

Agreed.  I'll add rewrites for them.

 A new website
 -

 Key: QPID-4987
 URL: https://issues.apache.org/jira/browse/QPID-4987
 Project: Qpid
  Issue Type: Improvement
  Components: Website
Reporter: Justin Ross
Assignee: Justin Ross



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4987) A new website

2013-07-12 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13706843#comment-13706843
 ] 

ASF subversion and git services commented on QPID-4987:
---

Commit 1502506 from [~justi9]
[ https://svn.apache.org/r1502506 ]

QPID-4987: Use direct links to language-specific chapters of the programming 
guide

 A new website
 -

 Key: QPID-4987
 URL: https://issues.apache.org/jira/browse/QPID-4987
 Project: Qpid
  Issue Type: Improvement
  Components: Website
Reporter: Justin Ross
Assignee: Justin Ross



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Created] (QPID-4988) add some tests for swigged python client

2013-07-12 Thread Gordon Sim (JIRA)
Gordon Sim created QPID-4988:


 Summary: add some tests for swigged python client
 Key: QPID-4988
 URL: https://issues.apache.org/jira/browse/QPID-4988
 Project: Qpid
  Issue Type: Test
  Components: C++ Client, Python Test Suite
Affects Versions: 0.22
Reporter: Gordon Sim
Assignee: Gordon Sim


also allows adding some tests in python for AMQP 1.0 behaviour

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Resolved] (QPID-3203) Add ability to require an empty queue before autodeleting

2013-07-12 Thread Gordon Sim (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-3203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gordon Sim resolved QPID-3203.
--

Resolution: Fixed

This was addressed in the solution for QPID-4976. You can now specify 
qpid.lifetime-policy as delete-if-unused-and-empty in the arguments/properties 
for the declaring/creating the queue to get the required behaviour.

 Add ability to require an empty queue before autodeleting
 -

 Key: QPID-3203
 URL: https://issues.apache.org/jira/browse/QPID-3203
 Project: Qpid
  Issue Type: Improvement
  Components: C++ Broker
Reporter: Gordon Sim
Assignee: Gordon Sim
 Fix For: Future


 At present an auto-deleted queue is eligible for deletion when either the 
 session declaring it ends (if exclusive) or when the consumer count drops to 
 0 (if not exclusive). In some cases it would be nice to configure things such 
 that the queue must also contain no messages for it to be eligible for 
 deletion.
 In other words, if auto-deletion is a means of cleaning up unused queues, we 
 want a broader/richer notion of in-use that could include the fact that the 
 queue contains messages.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4987) A new website

2013-07-12 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13706876#comment-13706876
 ] 

ASF subversion and git services commented on QPID-4987:
---

Commit 1502518 from [~justi9]
[ https://svn.apache.org/r1502518 ]

QPID-4987: Add rewrites for doc urls from the previous site version; remove 
unused .htaccess settings; publish changes to date

 A new website
 -

 Key: QPID-4987
 URL: https://issues.apache.org/jira/browse/QPID-4987
 Project: Qpid
  Issue Type: Improvement
  Components: Website
Reporter: Justin Ross
Assignee: Justin Ross



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4987) A new website

2013-07-12 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13706907#comment-13706907
 ] 

ASF subversion and git services commented on QPID-4987:
---

Commit 1502540 from [~justi9]
[ https://svn.apache.org/r1502540 ]

QPID-4987: Collapse the publish step into the render step; update the README 
accordingly

 A new website
 -

 Key: QPID-4987
 URL: https://issues.apache.org/jira/browse/QPID-4987
 Project: Qpid
  Issue Type: Improvement
  Components: Website
Reporter: Justin Ross
Assignee: Justin Ross



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4987) A new website

2013-07-12 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13706910#comment-13706910
 ] 

ASF subversion and git services commented on QPID-4987:
---

Commit 1502544 from [~justi9]
[ https://svn.apache.org/r1502544 ]

QPID-4987: Correct the help output

 A new website
 -

 Key: QPID-4987
 URL: https://issues.apache.org/jira/browse/QPID-4987
 Project: Qpid
  Issue Type: Improvement
  Components: Website
Reporter: Justin Ross
Assignee: Justin Ross



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4987) A new website

2013-07-12 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13706928#comment-13706928
 ] 

ASF subversion and git services commented on QPID-4987:
---

Commit 1502547 from [~justi9]
[ https://svn.apache.org/r1502547 ]

QPID-4987: Use a deterministic method of obfuscating mail addresses

 A new website
 -

 Key: QPID-4987
 URL: https://issues.apache.org/jira/browse/QPID-4987
 Project: Qpid
  Issue Type: Improvement
  Components: Website
Reporter: Justin Ross
Assignee: Justin Ross



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4982) cmake for Visual Studio fails

2013-07-12 Thread Steve Rothkin (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13706931#comment-13706931
 ] 

Steve Rothkin commented on QPID-4982:
-

How do I fix the last error - Regenerating Qpid Management Framework sources
CMake Error at src/CMakeLists.txt:231 (include):
include could not find load file:

C:/Qpid/src/managementgen.cmake

 cmake for Visual Studio fails
 -

 Key: QPID-4982
 URL: https://issues.apache.org/jira/browse/QPID-4982
 Project: Qpid
  Issue Type: Bug
  Components: Build Tools
Affects Versions: 0.22, 0.23
 Environment: Windows 7 Enterprise 64 bit SP1
Reporter: Steve Rothkin
Priority: Blocker
 Attachments: qpid-windows-build-log.txt, screenshot-1.jpg


 I followed the instructions in cpp\INSTALL-WINDOWS. I have installed the 
 latest Windows versions of Boost, Ruby, and Python as per the instructions. 
 I've also built the Boost libraries and set the environment variables as per 
 the instructions. 
 I tried the 3. Building from a Source Distribution using qpid-0.22.tar.gz 
 using the cmake command line tool. I got the following errors:
 c:\cyghome\QueueSystems\Qpid\qpid-0.22\cppcmake -i -G Visual Studio 9 2008
 Would you like to see advanced options? [No]:
 Please wait while cmake processes CMakeLists.txt files
   File string, line 1
 from distutils.sysconfig import get_python_lib; print 
 get_python_lib(False)
^
 SyntaxError: invalid syntax
   File C:/cyghome/QueueSystems/Qpid/qpid-0.22/cpp/managementgen/qmf-gen, 
 line
 64
 print no input files
  ^
 SyntaxError: invalid syntax
 CMake Error at src/CMakeLists.txt:231 (include):
   include could not find load file:
 C:/cyghome/QueueSystems/Qpid/qpid-0.22/cpp/src/managementgen.cmake
 CMake Error at C:/Program Files (x86)/CMake 
 2.8/share/cmake-2.8/Modules/FindBoos
 t.cmake:1104 (message):
   Unable to find the requested Boost libraries.
   Boost version: 1.54.0
   Boost include path: C:/boost/boost_1_54_0
   The following Boost libraries could not be found:
   boost_program_options
   boost_date_time
   boost_thread
   boost_unit_test_framework
   boost_regex
   No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
   directory containing Boost libraries or BOOST_ROOT to the location of
   Boost.
 Call Stack (most recent call first):
   src/CMakeLists.txt:325 (find_package)
 -
 I also tried the 4. Building a Repository Working Copy with a checkout of the 
 latest from SVN using the cmake GUI (selecting Visual Studio 10 Win64 as the 
 generator since I don't have VS2008). I got the following errors:
 Regenerating Qpid Management Framework sources
 CMake Error at src/CMakeLists.txt:232 (include):
   include could not find load file:
 C:/Qpid/src/managementgen.cmake
 CMake Error at C:/Program Files (x86)/CMake 
 2.8/share/cmake-2.8/Modules/FindBoost.cmake:1104 (message):
   Unable to find the requested Boost libraries.
   Boost version: 1.54.0
   Boost include path: C:/boost/boost_1_54_0
   The following Boost libraries could not be found:
   boost_program_options
   boost_date_time
   boost_thread
   boost_unit_test_framework
   boost_regex
   No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
   directory containing Boost libraries or BOOST_ROOT to the location of
   Boost.
 Call Stack (most recent call first):
   src/CMakeLists.txt:364 (find_package)
 CMake Error at src/CMakeLists.txt:366 (message):
   Boost C++ libraries not found.  Please install or try setting BOOST_ROOT
 Configuring incomplete, errors occurred!
 -
 The relevant environment variables on my system are:
 BOOST_LIBRARYDIR=C:\boost\boost_1_54_0\stage\lib
 BOOST_ROOT=C:\boost\boost_1_54_0
 INCLUDE=c:\Program Files (x86)\Microsoft Visual Studio 
 10.0\VC\INCLUDE;c:\Program Files (x86)\Microsoft Visual Studio 
 10.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Microsoft 
 SDKs\Windows\v7.0A\include;C:\boost\boost_1_54_0
 LIB=c:\Program Files (x86)\Microsoft Visual Studio 
 10.0\VC\LIB\amd64;c:\Program Files (x86)\Microsoft Visual Studio 
 10.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Microsoft 
 SDKs\Windows\v7.0A\lib\x64;C:\boost\boost_1_54_0\stage\lib
 LIBPATH=C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Windows\Microsoft.NET\Framework64\v3.5;c:\Program
  Files (x86)\Microsoft Visual Studio 10.0\VC\LIB\amd64;c:\Program Files 
 (x86)\Microsoft Visual Studio 
 10.0\VC\ATLMFC\LIB\amd64;C:\boost\boost_1_54_0\stage\lib
 Path=c:\Program Files (x86)\Microsoft Visual Studio 
 

Re: Review Request 10363: fix for non C99 compliant Windows functions

2013-07-12 Thread Chug Rolke

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/10363/#review23086
---



http://svn.apache.org/repos/asf/qpid/proton/trunk/tools/cmake/Modules/WindowsC99SymbolCheck.py
https://reviews.apache.org/r/10363/#comment46878

Is dumpbin automatically added to the path by the build process or must one 
run this with Visual Studio tools in the path from the start?


- Chug Rolke


On July 12, 2013, 12:20 a.m., Cliff Jansen wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/10363/
 ---
 
 (Updated July 12, 2013, 12:20 a.m.)
 
 
 Review request for qpid, Andrew Stitcher and Rafael Schloming.
 
 
 Bugs: proton-212
 https://issues.apache.org/jira/browse/proton-212
 
 
 Repository: qpid
 
 
 Description
 ---
 
 Provides wrapper functions for sprintf and vsprintf to do the right thing on 
 overflow and argument checking.
 
 Despite the same names the Windows version only provides the same result in 
 the sunny day scenario.
 
 Also includes cmake enforcement via a post build step to verify the 
 qpid-proton library doesn't inadvertently use the non-wrapped versions.
 
 The first try checked for the symbols in the dll, but (some versions of) 
 Visual Studio can insert vsnprintf callouts in the dll support runtime.  This 
 version checks each foo.obj.
 
 Sorry about the stray tariling whitespace.  I'll fix that.
 
 
 Diffs
 -
 
   http://svn.apache.org/repos/asf/qpid/proton/trunk/proton-c/CMakeLists.txt 
 1502397 
   
 http://svn.apache.org/repos/asf/qpid/proton/trunk/proton-c/src/codec/codec.c 
 1502397 
   
 http://svn.apache.org/repos/asf/qpid/proton/trunk/proton-c/src/engine/engine.c
  1502397 
   http://svn.apache.org/repos/asf/qpid/proton/trunk/proton-c/src/error.c 
 1502397 
   
 http://svn.apache.org/repos/asf/qpid/proton/trunk/proton-c/src/object/object.c
  1502397 
   http://svn.apache.org/repos/asf/qpid/proton/trunk/proton-c/src/platform.h 
 1502397 
   http://svn.apache.org/repos/asf/qpid/proton/trunk/proton-c/src/platform.c 
 1502397 
   
 http://svn.apache.org/repos/asf/qpid/proton/trunk/tools/cmake/Modules/WindowsC99CheckDef.cmake
  PRE-CREATION 
   
 http://svn.apache.org/repos/asf/qpid/proton/trunk/tools/cmake/Modules/WindowsC99SymbolCheck.py
  PRE-CREATION 
 
 Diff: https://reviews.apache.org/r/10363/diff/
 
 
 Testing
 ---
 
 windows and rhel 6
 
 
 Thanks,
 
 Cliff Jansen
 




[jira] [Commented] (QPID-4987) A new website

2013-07-12 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13706938#comment-13706938
 ] 

ASF subversion and git services commented on QPID-4987:
---

Commit 1502556 from [~justi9]
[ https://svn.apache.org/r1502556 ]

QPID-4987: Avoid unnecessary disk writes

 A new website
 -

 Key: QPID-4987
 URL: https://issues.apache.org/jira/browse/QPID-4987
 Project: Qpid
  Issue Type: Improvement
  Components: Website
Reporter: Justin Ross
Assignee: Justin Ross



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4987) A new website

2013-07-12 Thread Robbie Gemmell (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13706946#comment-13706946
 ] 

Robbie Gemmell commented on QPID-4987:
--

The 0.20 and 0.22 HTML and PDF docs still don't seem to be redirecting properly 
from the old locations:

http://qpid.apache.org/books/0.22/AMQP-Messaging-Broker-CPP-Book/html/index.html
http://qpid.apache.org/books/0.22/AMQP-Messaging-Broker-CPP-Book/pdf/AMQP-Messaging-Broker-CPP-Book.pdf

http://qpid.apache.org/books/0.22/AMQP-Messaging-Broker-Java-Book/html/index.html
http://qpid.apache.org/books/0.22/AMQP-Messaging-Broker-Java-Book/pdf/AMQP-Messaging-Broker-Java-Book.pdf

http://qpid.apache.org/books/0.22/Programming-In-Apache-Qpid/html/index.html
http://qpid.apache.org/books/0.22/Programming-In-Apache-Qpid/pdf/Programming-In-Apache-Qpid.pdf

 A new website
 -

 Key: QPID-4987
 URL: https://issues.apache.org/jira/browse/QPID-4987
 Project: Qpid
  Issue Type: Improvement
  Components: Website
Reporter: Justin Ross
Assignee: Justin Ross



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4987) A new website

2013-07-12 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13706952#comment-13706952
 ] 

ASF subversion and git services commented on QPID-4987:
---

Commit 1502561 from [~justi9]
[ https://svn.apache.org/r1502561 ]

QPID-4987: Use the same logic to avoid extraneous writes for resource files

 A new website
 -

 Key: QPID-4987
 URL: https://issues.apache.org/jira/browse/QPID-4987
 Project: Qpid
  Issue Type: Improvement
  Components: Website
Reporter: Justin Ross
Assignee: Justin Ross



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4987) A new website

2013-07-12 Thread Alan Conway (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13706953#comment-13706953
 ] 

Alan Conway commented on QPID-4987:
---

cpp/README-HA.txt refers to those locationsg:

[chapter-ha]: 
http://qpid.apache.org/books/0.22/AMQP-Messaging-Broker-CPP-Book/html/chapter-ha.html
[ha-failover]: 
http://qpid.apache.org/books/0.22/AMQP-Messaging-Broker-CPP-Book/html/chapter-ha.html#ha-failover
[ha-virtual-ip]: 
http://qpid.apache.org/books/0.22/AMQP-Messaging-Broker-CPP-Book/html/chapter-ha.html#ha-virtual-ip
[ha-replicate-values]: 
http://qpid.apache.org/books/0.22/AMQP-Messaging-Broker-CPP-Book/html/chapter-ha.html#ha-replicate-values
[ha-rm-config]: 
http://qpid.apache.org/books/0.22/AMQP-Messaging-Broker-CPP-Book/html/chapter-ha.html#ha-rm-config
[ha-queue-replication]: 
http://qpid.apache.org/books/0.22/AMQP-Messaging-Broker-CPP-Book/html/chapter-ha.html#ha-queue-replication



 A new website
 -

 Key: QPID-4987
 URL: https://issues.apache.org/jira/browse/QPID-4987
 Project: Qpid
  Issue Type: Improvement
  Components: Website
Reporter: Justin Ross
Assignee: Justin Ross



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4987) A new website

2013-07-12 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13706968#comment-13706968
 ] 

ASF subversion and git services commented on QPID-4987:
---

Commit 1502571 from [~justi9]
[ https://svn.apache.org/r1502571 ]

QPID-4987: Correct docbook url rewrites; add redirects for pdfs

 A new website
 -

 Key: QPID-4987
 URL: https://issues.apache.org/jira/browse/QPID-4987
 Project: Qpid
  Issue Type: Improvement
  Components: Website
Reporter: Justin Ross
Assignee: Justin Ross



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4987) A new website

2013-07-12 Thread Justin Ross (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13706977#comment-13706977
 ] 

Justin Ross commented on QPID-4987:
---

Thanks, Robbie and Alan.  These are working now in my testing.

Alan, regarding the last one in your list, docbook is splitting that out to its 
own page, it appears:

http://qpid.apache.org/releases/qpid-0.22/cpp-broker/book/ha-queue-replication.html


 A new website
 -

 Key: QPID-4987
 URL: https://issues.apache.org/jira/browse/QPID-4987
 Project: Qpid
  Issue Type: Improvement
  Components: Website
Reporter: Justin Ross
Assignee: Justin Ross



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Created] (QPID-4989) Java performance tests - add documentation

2013-07-12 Thread Philip Harvey (JIRA)
Philip Harvey created QPID-4989:
---

 Summary: Java performance tests - add documentation
 Key: QPID-4989
 URL: https://issues.apache.org/jira/browse/QPID-4989
 Project: Qpid
  Issue Type: Task
  Components: Documentation, Java Performance Tests
Reporter: Philip Harvey
Assignee: Philip Harvey
Priority: Minor


The Java performance tests in java/perftests have a brief README file but would 
benefit from better documentation so the tests could be run by people other 
than the authors of the framework.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Assigned] (QPID-4989) Java performance tests - add documentation

2013-07-12 Thread Philip Harvey (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Philip Harvey reassigned QPID-4989:
---

Assignee: Robbie Gemmell  (was: Philip Harvey)

Hi Robbie, would you mind sanity checking the new perftest documentation for me 
please?

 Java performance tests - add documentation
 --

 Key: QPID-4989
 URL: https://issues.apache.org/jira/browse/QPID-4989
 Project: Qpid
  Issue Type: Task
  Components: Documentation, Java Performance Tests
Reporter: Philip Harvey
Assignee: Robbie Gemmell
Priority: Minor
 Attachments: 
 0001-QPID-4989-moved-Java-perf-test-README-into-a-docbook.patch


 The Java performance tests in java/perftests have a brief README file but 
 would benefit from better documentation so the tests could be run by people 
 other than the authors of the framework.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-4989) Java performance tests - add documentation

2013-07-12 Thread Philip Harvey (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Philip Harvey updated QPID-4989:


Attachment: 0001-QPID-4989-moved-Java-perf-test-README-into-a-docbook.patch

 Java performance tests - add documentation
 --

 Key: QPID-4989
 URL: https://issues.apache.org/jira/browse/QPID-4989
 Project: Qpid
  Issue Type: Task
  Components: Documentation, Java Performance Tests
Reporter: Philip Harvey
Assignee: Philip Harvey
Priority: Minor
 Attachments: 
 0001-QPID-4989-moved-Java-perf-test-README-into-a-docbook.patch


 The Java performance tests in java/perftests have a brief README file but 
 would benefit from better documentation so the tests could be run by people 
 other than the authors of the framework.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-4989) Java performance tests - add documentation

2013-07-12 Thread Philip Harvey (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Philip Harvey updated QPID-4989:


Status: Ready To Review  (was: In Progress)

 Java performance tests - add documentation
 --

 Key: QPID-4989
 URL: https://issues.apache.org/jira/browse/QPID-4989
 Project: Qpid
  Issue Type: Task
  Components: Documentation, Java Performance Tests
Reporter: Philip Harvey
Assignee: Philip Harvey
Priority: Minor
 Attachments: 
 0001-QPID-4989-moved-Java-perf-test-README-into-a-docbook.patch


 The Java performance tests in java/perftests have a brief README file but 
 would benefit from better documentation so the tests could be run by people 
 other than the authors of the framework.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



Review Request 12515: Tests for the swigged python client

2013-07-12 Thread Gordon Sim

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/12515/
---

Review request for qpid, Alan Conway, Justin Ross, Darryl Pierce, Rafael 
Schloming, and Ted Ross.


Bugs: QPID-4988
https://issues.apache.org/jira/browse/QPID-4988


Repository: qpid


Description
---

Adds runs of some of the python tests over the swigged client. Also adds some 
new tests for AMQP 1.0.


Diffs
-

  /trunk/qpid/cpp/bindings/qpid/python/CMakeLists.txt 1502193 
  /trunk/qpid/cpp/bindings/qpid/python/python.i 1502193 
  /trunk/qpid/cpp/src/Makefile.am 1502193 
  /trunk/qpid/cpp/src/amqp.cmake 1502193 
  /trunk/qpid/cpp/src/tests/CMakeLists.txt 1502193 
  /trunk/qpid/cpp/src/tests/Makefile.am 1502193 
  /trunk/qpid/cpp/src/tests/failing-amqp0-10-python-tests PRE-CREATION 
  /trunk/qpid/cpp/src/tests/swig_python_tests PRE-CREATION 
  /trunk/qpid/cpp/src/tests/test_env.sh.in 1502193 
  /trunk/qpid/python/qpid/tests/messaging/__init__.py 1502193 
  /trunk/qpid/python/qpid/tests/messaging/implementation.py PRE-CREATION 
  /trunk/qpid/python/qpid/tests/messaging/message.py 1502193 
  /trunk/qpid/tests/src/py/qpid_tests/broker_0_10/lvq.py 1502193 
  /trunk/qpid/tests/src/py/qpid_tests/broker_0_10/new_api.py 1502193 
  /trunk/qpid/tests/src/py/qpid_tests/broker_0_10/priority.py 1502193 
  /trunk/qpid/tests/src/py/qpid_tests/broker_0_10/stats.py 1502193 
  /trunk/qpid/tests/src/py/qpid_tests/broker_1_0/__init__.py PRE-CREATION 
  /trunk/qpid/tests/src/py/qpid_tests/broker_1_0/general.py PRE-CREATION 
  /trunk/qpid/tests/src/py/qpid_tests/broker_1_0/legacy_exchanges.py 
PRE-CREATION 
  /trunk/qpid/tests/src/py/qpid_tests/broker_1_0/selector.py PRE-CREATION 

Diff: https://reviews.apache.org/r/12515/diff/


Testing
---

cmake (make  make test) and autotools (make check) pass


Thanks,

Gordon Sim



Re: Swigged python package name...

2013-07-12 Thread Gordon Sim

On 07/10/2013 12:25 PM, Gordon Sim wrote:

I have been working to get (at least some of) the python tests running
over the swigged implementation. My motivation here was initially to add
some new tests for the AMQP 1.0 functionality using python. However it
would also be desirable to be able to run some of the existing tests
over 1.0 as well as continuing to be able to run over 0-10.

I hope to have a patch up for review before too long,


For those interested: https://reviews.apache.org/r/12515/


but by adding
another module (I called it qpid_messaging.py) that tries to import from
the swigged module, then falls back to importing qpid.messaging, I was
able to have one import statement in tests of interest and then run them
over either swigged or pure implementations based on whether the former
was on the path or not.


In the end I pushed this redirection into a utility module in the tests 
package.



-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-3079) message.accept command should be completed on a per-dequeue basis

2013-07-12 Thread Ken Giusti (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-3079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13707036#comment-13707036
 ] 

Ken Giusti commented on QPID-3079:
--

It may no longer apply, given the work done by Alan on HA and the async store 
interface work, this may no longer be an issue.

I'd defer to Alan Conway - I seem to recall this issue was raised in order to 
facilitate new HA.

 message.accept command should be completed on a per-dequeue basis
 -

 Key: QPID-3079
 URL: https://issues.apache.org/jira/browse/QPID-3079
 Project: Qpid
  Issue Type: Bug
  Components: C++ Broker
Affects Versions: 0.8, 0.9
Reporter: Ken Giusti
Assignee: Ken Giusti
 Fix For: Future

 Attachments: proposal.txt


 ** Overview
 Asynchronous completion means that command execution is initiated in one 
 thread
 (a client connection thread) and completed in a different thread.
 When the async store is loaded, message.transfer commands are
 completed by a store thread that does the async write.
 ** Issues with asynchronous completion code as of revision r1029686
 *** Not really asynchronous
 IncompleteMessageList::process blocks the connection thread till all
 outstanding async commands (messages) for the session are complete.
 With the new cluster, this could deadlock since it is blocking a Poller 
 thread.
 *** Race condition for message.transfer
 
 Sketch of the current code:
 // Called in connection thread 
 PersistableMessage::enqueueAsync { ++counter; } 
 // Called in store thread once message is written.
 PersistableMessage::enqueueComplete { if (--counter == 0) notifyCompleted(); }
 The intent is that notify be called once per message, after the
 message has been written to each queue it was routed to.
 However of a message is routed to N queues, it's possible for
 notifyCompleted to be called up to N times. The store thread could
 call notifyCompleted for the first queue before the connection thread
 has called enqueueAsync for the second queue, and so on.
 *** No asynchronous completion for message.accept
 We do not currently delay completion of message.accept until the
 message is deleted from the async store. This could cause duplicate
 delivery if the broker crashes after completing the message but 
 before it is removed from store.
 There is code in PersistableMessage to maintain a counter for dequeues
 analogous to to the async enqueue code but this is incorrect. 
 Completion of transfer is triggered when all enqueues for a message are 
 complete.
 Completion of accept is triggered for *each* dequeue from a queue 
 independently.
 Furthermore a single accept can reference many messages, so it can't be 
 associated with a message.
 ** New requirements
 The new cluster design will need to participate in async completion, e.g.
 an accept cannot be comlpeted until the message is 
 - removed from store (if present) AND
 - replicated to the cluster (if present) as dequeued
 The new cluster also needs to asynchronously complete binding commands
 (declare, bind, delete) when they are replicated to the cluster.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4327) HA support for TX transactions.

2013-07-12 Thread Alan Conway (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13707060#comment-13707060
 ] 

Alan Conway commented on QPID-4327:
---

Review of TransactionObserver interface: https://reviews.apache.org/r/12289/

 HA support for TX transactions.
 ---

 Key: QPID-4327
 URL: https://issues.apache.org/jira/browse/QPID-4327
 Project: Qpid
  Issue Type: New Feature
  Components: C++ Clustering
Affects Versions: 0.18
Reporter: Alan Conway
Assignee: Alan Conway

 Add support for TX transactions in a HA cluster.
 Messages and accepts in a transaction must be executed atomically on backup 
 brokers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



Re: Review Request 12289: QPID-4327: TransactionObserver interface

2013-07-12 Thread Alan Conway

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/12289/
---

(Updated July 12, 2013, 4:19 p.m.)


Review request for qpid, Andrew Stitcher and Gordon Sim.


Changes
---

Added bug link


Summary (updated)
-

QPID-4327: TransactionObserver interface


Bugs: QPID-4327
https://issues.apache.org/jira/browse/QPID-4327


Repository: qpid


Description
---

QPID-4327: HA added PrimaryTransactionObserver.

Initial implementation only logs some trace messages.

QPID-4327: TransactionObserver interface.

Added TransactionObserver interface, called at each point in a transaction's
lifecycle. Currently only a single observer can be associated with a
transaction.

Added startTx, startDtx to BrokerObserver so plugins can observe transactions
starting and set a TransactionObserver.

QPID-4327: Renamed ConfigurationObserver as BrokerObserver.

This class really was intended as a observer for broker-level events which
includes configuration but may in future include other non-configuration events
such as transactions.

QPID-4327: Refactor to simplify TxAccept.

Removed un-necessary RangeOps layers.


Diffs
-

  /trunk/qpid/cpp/src/CMakeLists.txt 1501768 
  /trunk/qpid/cpp/src/Makefile.am 1501768 
  /trunk/qpid/cpp/src/ha.mk 1501768 
  /trunk/qpid/cpp/src/qpid/broker/Broker.h 1501768 
  /trunk/qpid/cpp/src/qpid/broker/Broker.cpp 1501768 
  /trunk/qpid/cpp/src/qpid/broker/BrokerObserver.h PRE-CREATION 
  /trunk/qpid/cpp/src/qpid/broker/BrokerObservers.h PRE-CREATION 
  /trunk/qpid/cpp/src/qpid/broker/ConfigurationObserver.h 1501768 
  /trunk/qpid/cpp/src/qpid/broker/ConfigurationObservers.h 1501768 
  /trunk/qpid/cpp/src/qpid/broker/DtxAck.h 1501768 
  /trunk/qpid/cpp/src/qpid/broker/ExchangeRegistry.cpp 1501768 
  /trunk/qpid/cpp/src/qpid/broker/Queue.h 1501768 
  /trunk/qpid/cpp/src/qpid/broker/Queue.cpp 1501768 
  /trunk/qpid/cpp/src/qpid/broker/QueueRegistry.cpp 1501768 
  /trunk/qpid/cpp/src/qpid/broker/RecoveredDequeue.h 1501768 
  /trunk/qpid/cpp/src/qpid/broker/RecoveredEnqueue.h 1501768 
  /trunk/qpid/cpp/src/qpid/broker/SemanticState.cpp 1501768 
  /trunk/qpid/cpp/src/qpid/broker/TransactionObserver.h PRE-CREATION 
  /trunk/qpid/cpp/src/qpid/broker/TxAccept.h 1501768 
  /trunk/qpid/cpp/src/qpid/broker/TxAccept.cpp 1501768 
  /trunk/qpid/cpp/src/qpid/broker/TxBuffer.h 1501768 
  /trunk/qpid/cpp/src/qpid/broker/TxBuffer.cpp 1501768 
  /trunk/qpid/cpp/src/qpid/broker/TxOp.h 1501768 
  /trunk/qpid/cpp/src/qpid/ha/HaBroker.cpp 1501768 
  /trunk/qpid/cpp/src/qpid/ha/Primary.h 1501768 
  /trunk/qpid/cpp/src/qpid/ha/Primary.cpp 1501768 
  /trunk/qpid/cpp/src/qpid/ha/PrimaryTransactionObserver.h PRE-CREATION 
  /trunk/qpid/cpp/src/qpid/ha/PrimaryTransactionObserver.cpp PRE-CREATION 
  /trunk/qpid/cpp/src/qpid/ha/QueueSnapshots.h 1501768 
  /trunk/qpid/cpp/src/qpid/ha/RemoteBackup.h 1501768 
  /trunk/qpid/cpp/src/qpid/ha/RemoteBackup.cpp 1501768 
  /trunk/qpid/cpp/src/tests/CMakeLists.txt 1501768 
  /trunk/qpid/cpp/src/tests/Makefile.am 1501768 
  /trunk/qpid/cpp/src/tests/TransactionObserverTest.cpp PRE-CREATION 
  /trunk/qpid/cpp/src/tests/TxMocks.h 1501768 
  /trunk/qpid/cpp/src/tests/brokertest.py 1501768 
  /trunk/qpid/cpp/src/tests/ha_tests.py 1501768 
  /trunk/qpid/cpp/src/tests/test_env.sh.in 1501768 
  /trunk/qpid/cpp/src/tests/test_tools.h 1501768 

Diff: https://reviews.apache.org/r/12289/diff/


Testing
---

It compiles


Thanks,

Alan Conway



[jira] [Commented] (QPID-4982) cmake for Visual Studio fails

2013-07-12 Thread Steve Huston (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13707072#comment-13707072
 ] 

Steve Huston commented on QPID-4982:


I reproduced the problem. The best workaround is to use a python 2.7 instead of 
3.x. I will look into why this is.

 cmake for Visual Studio fails
 -

 Key: QPID-4982
 URL: https://issues.apache.org/jira/browse/QPID-4982
 Project: Qpid
  Issue Type: Bug
  Components: Build Tools
Affects Versions: 0.22, 0.23
 Environment: Windows 7 Enterprise 64 bit SP1
Reporter: Steve Rothkin
Priority: Blocker
 Attachments: qpid-windows-build-log.txt, screenshot-1.jpg


 I followed the instructions in cpp\INSTALL-WINDOWS. I have installed the 
 latest Windows versions of Boost, Ruby, and Python as per the instructions. 
 I've also built the Boost libraries and set the environment variables as per 
 the instructions. 
 I tried the 3. Building from a Source Distribution using qpid-0.22.tar.gz 
 using the cmake command line tool. I got the following errors:
 c:\cyghome\QueueSystems\Qpid\qpid-0.22\cppcmake -i -G Visual Studio 9 2008
 Would you like to see advanced options? [No]:
 Please wait while cmake processes CMakeLists.txt files
   File string, line 1
 from distutils.sysconfig import get_python_lib; print 
 get_python_lib(False)
^
 SyntaxError: invalid syntax
   File C:/cyghome/QueueSystems/Qpid/qpid-0.22/cpp/managementgen/qmf-gen, 
 line
 64
 print no input files
  ^
 SyntaxError: invalid syntax
 CMake Error at src/CMakeLists.txt:231 (include):
   include could not find load file:
 C:/cyghome/QueueSystems/Qpid/qpid-0.22/cpp/src/managementgen.cmake
 CMake Error at C:/Program Files (x86)/CMake 
 2.8/share/cmake-2.8/Modules/FindBoos
 t.cmake:1104 (message):
   Unable to find the requested Boost libraries.
   Boost version: 1.54.0
   Boost include path: C:/boost/boost_1_54_0
   The following Boost libraries could not be found:
   boost_program_options
   boost_date_time
   boost_thread
   boost_unit_test_framework
   boost_regex
   No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
   directory containing Boost libraries or BOOST_ROOT to the location of
   Boost.
 Call Stack (most recent call first):
   src/CMakeLists.txt:325 (find_package)
 -
 I also tried the 4. Building a Repository Working Copy with a checkout of the 
 latest from SVN using the cmake GUI (selecting Visual Studio 10 Win64 as the 
 generator since I don't have VS2008). I got the following errors:
 Regenerating Qpid Management Framework sources
 CMake Error at src/CMakeLists.txt:232 (include):
   include could not find load file:
 C:/Qpid/src/managementgen.cmake
 CMake Error at C:/Program Files (x86)/CMake 
 2.8/share/cmake-2.8/Modules/FindBoost.cmake:1104 (message):
   Unable to find the requested Boost libraries.
   Boost version: 1.54.0
   Boost include path: C:/boost/boost_1_54_0
   The following Boost libraries could not be found:
   boost_program_options
   boost_date_time
   boost_thread
   boost_unit_test_framework
   boost_regex
   No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
   directory containing Boost libraries or BOOST_ROOT to the location of
   Boost.
 Call Stack (most recent call first):
   src/CMakeLists.txt:364 (find_package)
 CMake Error at src/CMakeLists.txt:366 (message):
   Boost C++ libraries not found.  Please install or try setting BOOST_ROOT
 Configuring incomplete, errors occurred!
 -
 The relevant environment variables on my system are:
 BOOST_LIBRARYDIR=C:\boost\boost_1_54_0\stage\lib
 BOOST_ROOT=C:\boost\boost_1_54_0
 INCLUDE=c:\Program Files (x86)\Microsoft Visual Studio 
 10.0\VC\INCLUDE;c:\Program Files (x86)\Microsoft Visual Studio 
 10.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Microsoft 
 SDKs\Windows\v7.0A\include;C:\boost\boost_1_54_0
 LIB=c:\Program Files (x86)\Microsoft Visual Studio 
 10.0\VC\LIB\amd64;c:\Program Files (x86)\Microsoft Visual Studio 
 10.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Microsoft 
 SDKs\Windows\v7.0A\lib\x64;C:\boost\boost_1_54_0\stage\lib
 LIBPATH=C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Windows\Microsoft.NET\Framework64\v3.5;c:\Program
  Files (x86)\Microsoft Visual Studio 10.0\VC\LIB\amd64;c:\Program Files 
 (x86)\Microsoft Visual Studio 
 10.0\VC\ATLMFC\LIB\amd64;C:\boost\boost_1_54_0\stage\lib
 Path=c:\Program Files (x86)\Microsoft Visual Studio 
 10.0\VC\BIN\amd64;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Windows\Microsoft.NET\Framework64\v3.5;c:\Program
  Files (x86)\Microsoft Visual Studio 

Re: Review Request 10363: fix for non C99 compliant Windows functions

2013-07-12 Thread Cliff Jansen


 On July 12, 2013, 1:43 p.m., Chug Rolke wrote:
  http://svn.apache.org/repos/asf/qpid/proton/trunk/tools/cmake/Modules/WindowsC99SymbolCheck.py,
   line 46
  https://reviews.apache.org/r/10363/diff/2/?file=320710#file320710line46
 
  Is dumpbin automatically added to the path by the build process or must 
  one run this with Visual Studio tools in the path from the start?

There is no path setup required.  Regardless of whether you launch the gui or 
use devenv, if the MS build tool can find the compiler it can also find 
dumpbin.  cmake itself never invokes the python script and dumpbin.


- Cliff


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/10363/#review23086
---


On July 12, 2013, 12:20 a.m., Cliff Jansen wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/10363/
 ---
 
 (Updated July 12, 2013, 12:20 a.m.)
 
 
 Review request for qpid, Andrew Stitcher and Rafael Schloming.
 
 
 Bugs: proton-212
 https://issues.apache.org/jira/browse/proton-212
 
 
 Repository: qpid
 
 
 Description
 ---
 
 Provides wrapper functions for sprintf and vsprintf to do the right thing on 
 overflow and argument checking.
 
 Despite the same names the Windows version only provides the same result in 
 the sunny day scenario.
 
 Also includes cmake enforcement via a post build step to verify the 
 qpid-proton library doesn't inadvertently use the non-wrapped versions.
 
 The first try checked for the symbols in the dll, but (some versions of) 
 Visual Studio can insert vsnprintf callouts in the dll support runtime.  This 
 version checks each foo.obj.
 
 Sorry about the stray tariling whitespace.  I'll fix that.
 
 
 Diffs
 -
 
   http://svn.apache.org/repos/asf/qpid/proton/trunk/proton-c/CMakeLists.txt 
 1502397 
   
 http://svn.apache.org/repos/asf/qpid/proton/trunk/proton-c/src/codec/codec.c 
 1502397 
   
 http://svn.apache.org/repos/asf/qpid/proton/trunk/proton-c/src/engine/engine.c
  1502397 
   http://svn.apache.org/repos/asf/qpid/proton/trunk/proton-c/src/error.c 
 1502397 
   
 http://svn.apache.org/repos/asf/qpid/proton/trunk/proton-c/src/object/object.c
  1502397 
   http://svn.apache.org/repos/asf/qpid/proton/trunk/proton-c/src/platform.h 
 1502397 
   http://svn.apache.org/repos/asf/qpid/proton/trunk/proton-c/src/platform.c 
 1502397 
   
 http://svn.apache.org/repos/asf/qpid/proton/trunk/tools/cmake/Modules/WindowsC99CheckDef.cmake
  PRE-CREATION 
   
 http://svn.apache.org/repos/asf/qpid/proton/trunk/tools/cmake/Modules/WindowsC99SymbolCheck.py
  PRE-CREATION 
 
 Diff: https://reviews.apache.org/r/10363/diff/
 
 
 Testing
 ---
 
 windows and rhel 6
 
 
 Thanks,
 
 Cliff Jansen
 




[jira] [Commented] (QPID-4907) qpid-tool displays duplicate entries for objects managed by the broker.

2013-07-12 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13707182#comment-13707182
 ] 

ASF subversion and git services commented on QPID-4907:
---

Commit 1502642 from [~kgiusti]
[ https://svn.apache.org/r1502642 ]

QPID-4907: change qpidd default mode for QMF event and update publishing to use 
QMFv2 format only

 qpid-tool displays duplicate entries for objects managed by the broker.
 ---

 Key: QPID-4907
 URL: https://issues.apache.org/jira/browse/QPID-4907
 Project: Qpid
  Issue Type: Bug
  Components: C++ Broker, Python Tools, Qpid Managment Framework
Affects Versions: 0.23
Reporter: Ken Giusti
Assignee: Ken Giusti
Priority: Blocker
 Fix For: Future


 qpid-tool displays two entries for each object managed by the broker.
 Example:
 $ qpid-config add queue KEN-Q
 $ qpid-tool
 Management Tool for QPID
 qpid: list queue
 Object Summary:
 ID   Created   Destroyed  Index
 
 141  14:19:42  -  169.KEN-Q
 SNIP
 156  14:19:42  -  org.apache.qpid.broker:queue:KEN-Q
 SNIP
 qpid: 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4982) cmake for Visual Studio fails

2013-07-12 Thread Steve Rothkin (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13707192#comment-13707192
 ] 

Steve Rothkin commented on QPID-4982:
-

Yes, that did it. Thank you.

 cmake for Visual Studio fails
 -

 Key: QPID-4982
 URL: https://issues.apache.org/jira/browse/QPID-4982
 Project: Qpid
  Issue Type: Bug
  Components: Build Tools
Affects Versions: 0.22, 0.23
 Environment: Windows 7 Enterprise 64 bit SP1
Reporter: Steve Rothkin
Priority: Blocker
 Attachments: qpid-windows-build-log.txt, screenshot-1.jpg


 I followed the instructions in cpp\INSTALL-WINDOWS. I have installed the 
 latest Windows versions of Boost, Ruby, and Python as per the instructions. 
 I've also built the Boost libraries and set the environment variables as per 
 the instructions. 
 I tried the 3. Building from a Source Distribution using qpid-0.22.tar.gz 
 using the cmake command line tool. I got the following errors:
 c:\cyghome\QueueSystems\Qpid\qpid-0.22\cppcmake -i -G Visual Studio 9 2008
 Would you like to see advanced options? [No]:
 Please wait while cmake processes CMakeLists.txt files
   File string, line 1
 from distutils.sysconfig import get_python_lib; print 
 get_python_lib(False)
^
 SyntaxError: invalid syntax
   File C:/cyghome/QueueSystems/Qpid/qpid-0.22/cpp/managementgen/qmf-gen, 
 line
 64
 print no input files
  ^
 SyntaxError: invalid syntax
 CMake Error at src/CMakeLists.txt:231 (include):
   include could not find load file:
 C:/cyghome/QueueSystems/Qpid/qpid-0.22/cpp/src/managementgen.cmake
 CMake Error at C:/Program Files (x86)/CMake 
 2.8/share/cmake-2.8/Modules/FindBoos
 t.cmake:1104 (message):
   Unable to find the requested Boost libraries.
   Boost version: 1.54.0
   Boost include path: C:/boost/boost_1_54_0
   The following Boost libraries could not be found:
   boost_program_options
   boost_date_time
   boost_thread
   boost_unit_test_framework
   boost_regex
   No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
   directory containing Boost libraries or BOOST_ROOT to the location of
   Boost.
 Call Stack (most recent call first):
   src/CMakeLists.txt:325 (find_package)
 -
 I also tried the 4. Building a Repository Working Copy with a checkout of the 
 latest from SVN using the cmake GUI (selecting Visual Studio 10 Win64 as the 
 generator since I don't have VS2008). I got the following errors:
 Regenerating Qpid Management Framework sources
 CMake Error at src/CMakeLists.txt:232 (include):
   include could not find load file:
 C:/Qpid/src/managementgen.cmake
 CMake Error at C:/Program Files (x86)/CMake 
 2.8/share/cmake-2.8/Modules/FindBoost.cmake:1104 (message):
   Unable to find the requested Boost libraries.
   Boost version: 1.54.0
   Boost include path: C:/boost/boost_1_54_0
   The following Boost libraries could not be found:
   boost_program_options
   boost_date_time
   boost_thread
   boost_unit_test_framework
   boost_regex
   No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
   directory containing Boost libraries or BOOST_ROOT to the location of
   Boost.
 Call Stack (most recent call first):
   src/CMakeLists.txt:364 (find_package)
 CMake Error at src/CMakeLists.txt:366 (message):
   Boost C++ libraries not found.  Please install or try setting BOOST_ROOT
 Configuring incomplete, errors occurred!
 -
 The relevant environment variables on my system are:
 BOOST_LIBRARYDIR=C:\boost\boost_1_54_0\stage\lib
 BOOST_ROOT=C:\boost\boost_1_54_0
 INCLUDE=c:\Program Files (x86)\Microsoft Visual Studio 
 10.0\VC\INCLUDE;c:\Program Files (x86)\Microsoft Visual Studio 
 10.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Microsoft 
 SDKs\Windows\v7.0A\include;C:\boost\boost_1_54_0
 LIB=c:\Program Files (x86)\Microsoft Visual Studio 
 10.0\VC\LIB\amd64;c:\Program Files (x86)\Microsoft Visual Studio 
 10.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Microsoft 
 SDKs\Windows\v7.0A\lib\x64;C:\boost\boost_1_54_0\stage\lib
 LIBPATH=C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Windows\Microsoft.NET\Framework64\v3.5;c:\Program
  Files (x86)\Microsoft Visual Studio 10.0\VC\LIB\amd64;c:\Program Files 
 (x86)\Microsoft Visual Studio 
 10.0\VC\ATLMFC\LIB\amd64;C:\boost\boost_1_54_0\stage\lib
 Path=c:\Program Files (x86)\Microsoft Visual Studio 
 10.0\VC\BIN\amd64;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Windows\Microsoft.NET\Framework64\v3.5;c:\Program
  Files (x86)\Microsoft Visual Studio 10.0\VC\VCPackages;c:\Program Files 
 (x86)\Microsoft Visual Studio 10.0\Common7\IDE;c:\Program Files 

Re: Review Request 12515: Tests for the swigged python client

2013-07-12 Thread Darryl Pierce

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/12515/#review23096
---

Ship it!


Ship It!

- Darryl Pierce


On July 12, 2013, 3:36 p.m., Gordon Sim wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/12515/
 ---
 
 (Updated July 12, 2013, 3:36 p.m.)
 
 
 Review request for qpid, Alan Conway, Justin Ross, Darryl Pierce, Rafael 
 Schloming, and Ted Ross.
 
 
 Bugs: QPID-4988
 https://issues.apache.org/jira/browse/QPID-4988
 
 
 Repository: qpid
 
 
 Description
 ---
 
 Adds runs of some of the python tests over the swigged client. Also adds some 
 new tests for AMQP 1.0.
 
 
 Diffs
 -
 
   /trunk/qpid/cpp/bindings/qpid/python/CMakeLists.txt 1502193 
   /trunk/qpid/cpp/bindings/qpid/python/python.i 1502193 
   /trunk/qpid/cpp/src/Makefile.am 1502193 
   /trunk/qpid/cpp/src/amqp.cmake 1502193 
   /trunk/qpid/cpp/src/tests/CMakeLists.txt 1502193 
   /trunk/qpid/cpp/src/tests/Makefile.am 1502193 
   /trunk/qpid/cpp/src/tests/failing-amqp0-10-python-tests PRE-CREATION 
   /trunk/qpid/cpp/src/tests/swig_python_tests PRE-CREATION 
   /trunk/qpid/cpp/src/tests/test_env.sh.in 1502193 
   /trunk/qpid/python/qpid/tests/messaging/__init__.py 1502193 
   /trunk/qpid/python/qpid/tests/messaging/implementation.py PRE-CREATION 
   /trunk/qpid/python/qpid/tests/messaging/message.py 1502193 
   /trunk/qpid/tests/src/py/qpid_tests/broker_0_10/lvq.py 1502193 
   /trunk/qpid/tests/src/py/qpid_tests/broker_0_10/new_api.py 1502193 
   /trunk/qpid/tests/src/py/qpid_tests/broker_0_10/priority.py 1502193 
   /trunk/qpid/tests/src/py/qpid_tests/broker_0_10/stats.py 1502193 
   /trunk/qpid/tests/src/py/qpid_tests/broker_1_0/__init__.py PRE-CREATION 
   /trunk/qpid/tests/src/py/qpid_tests/broker_1_0/general.py PRE-CREATION 
   /trunk/qpid/tests/src/py/qpid_tests/broker_1_0/legacy_exchanges.py 
 PRE-CREATION 
   /trunk/qpid/tests/src/py/qpid_tests/broker_1_0/selector.py PRE-CREATION 
 
 Diff: https://reviews.apache.org/r/12515/diff/
 
 
 Testing
 ---
 
 cmake (make  make test) and autotools (make check) pass
 
 
 Thanks,
 
 Gordon Sim
 




[jira] [Commented] (QPID-4834) Ruby client examples incorrectly handles '--connection-options' option

2013-07-12 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13707271#comment-13707271
 ] 

ASF subversion and git services commented on QPID-4834:
---

Commit 1502660 from [~mcpierce]
[ https://svn.apache.org/r1502660 ]

QPID-4834: Fixed how Ruby spout example processes connection options

The argument comes in as a string. It is now processed, the keys and
values extracted and put into a proper Hash that is then passed to the
Qpid::Messaging::Connection object.

 Ruby client examples incorrectly handles '--connection-options' option
 --

 Key: QPID-4834
 URL: https://issues.apache.org/jira/browse/QPID-4834
 Project: Qpid
  Issue Type: Bug
  Components: Ruby Client
Affects Versions: 0.20
Reporter: Petr Matousek
Assignee: Darryl L. Pierce
Priority: Minor

 The 'connection-options' option is incorrectly handled as a string in the 
 example clients, should be handled as a list.
 # ruby spout.rb --connection-options {reconnect:True} q;{create:always}
 2013-05-10 04:49:01 [Client] warning Exception received from broker:
 not-found: not-found: Queue not found: {reconnect:True} 
 (/builddir/build/BUILD/qpid-0.22/cpp/src/qpid/broker/SessionAdapter.cpp:693)
 [caused by 2 \x08:\x01]
 ./../lib/qpid_messaging/session.rb:63:in `createSender': Queue
 {reconnect:True} does not exist (MessagingError)
 from ./../lib/qpid_messaging/session.rb:63:in `create_sender'
 from spout.rb:106
 2013-05-10 04:49:01 [Client] warning Connection
 [127.0.0.1:56869-127.0.0.1:5672] closed
 The 'nil' in the option parser looked weird to me, so I did the
 following change to make the option work:
 # vim spout.rb
 -  opts.on(nil, --connection-options VALUE,
 +  opts.on(--connection-options VALUE,
 Following change results in another error, the connection's
 convert_options method expects list not a string:
 # ruby spout.rb --connection-options {reconnect:True} q;{create:always}
 ./../lib/qpid_messaging/connection.rb:149:in `convert_options':
 undefined method `each_pair' for {reconnect:True}:String
 (NoMethodError)
 from ./../lib/qpid_messaging/connection.rb:67:in `initialize'
 from spout.rb:103:in `new'
 from spout.rb:103
 I used the following code to fix the issue, which was sufficient for
 my needs (there would be probably a better solution, I guess):
 -options[:connection_options] = conopts
 +options[:connection_options] = {}
 +conopts = conopts.gsub /^\{(.*)\}$/, '\1'
 +conopts.split(,).each do |x|
 +   key,val = x.split(':')
 +   options[:connection_options][key]= val
 Packages used:
 ruby gem: qpid_messaging-0.20.2
 also valid for examples on trunk

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



Please read: Change to C++ broker default behavior wrt QMF

2013-07-12 Thread Ken Giusti
Folks,

I've made a change on trunk to the way the C++ Broker generates unsolicited 
management update messages (i.e. object update notification messages and event 
messages). [1]

Previous to this change, the broker would transmit two messages for each 
management event and object update - one in the old QMFv1 binary format, and 
one in the QMFv2 AMQP Map format. This change disables the send of the QMFv1 
binary version of the message.  The new broker default behavior is to send only 
one message per event/update, in the QMFv2 map format.

The old behavior can be re-enabled, but must be done manually.  This can be 
done either on the qpidd command line by specifying --mgmt-qmf1=yes, or in 
the configuration file (mgmt-qmf1=yes).  This command option has existed for a 
while now, I've simply changed the default to no.

And just to be clear, the remaining QMFv1 behavior has not changed: the broker 
still supports QMFv1 style queries and method calls without requiring any 
configuration changes. 

I want this to go in for the 0.24 beta so we can get feedback sooner rather 
than later.  I'm hoping this acts as a gentle nudge that will uncover any 
QMFv1 dependencies before we attempt removing any of the QMFv1 stuff in future 
releases.

What does this mean to me?

1) If you use console.py (the python QMF console library under 
extras/qmf/src/py/qmf/console.py), you'll want to upgrade to the latest version 
to get the fix for this bug: https://issues.apache.org/jira/browse/QPID-4689  
(the version in the 0.24 beta will contain this fix)
2) If you cannot upgrade console.py, or have other code which requires QMFv1 
style updates, re-enable the old behavior as described previously

Justin - when beta is cut, we'll need to highlight this change and the above 
notes in the announcement email.

This change also solves https://issues.apache.org/jira/browse/QPID-4907

[1] http://svn.apache.org/viewvc?view=revisionrevision=1502642


-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (QPID-4407) default implementation of SASL does not check that mechanism is correct

2013-07-12 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13707287#comment-13707287
 ] 

ASF subversion and git services commented on QPID-4407:
---

Commit 1502664 from [~gsim]
[ https://svn.apache.org/r1502664 ]

QPID-4407: verify mechanism used when no external SASL library is available

 default implementation of SASL does not check that mechanism is correct
 ---

 Key: QPID-4407
 URL: https://issues.apache.org/jira/browse/QPID-4407
 Project: Qpid
  Issue Type: Bug
  Components: C++ Client
Affects Versions: 0.18
Reporter: Gordon Sim
Assignee: Gordon Sim
Priority: Minor
 Fix For: Future


 i.e. when cyrus-sasl support is not built in, the mechanism will be sent as 
 taken from configuration even if that is null or something not supported by 
 the broker.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Resolved] (QPID-4407) default implementation of SASL does not check that mechanism is correct

2013-07-12 Thread Gordon Sim (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gordon Sim resolved QPID-4407.
--

Resolution: Fixed

 default implementation of SASL does not check that mechanism is correct
 ---

 Key: QPID-4407
 URL: https://issues.apache.org/jira/browse/QPID-4407
 Project: Qpid
  Issue Type: Bug
  Components: C++ Client
Affects Versions: 0.18
Reporter: Gordon Sim
Assignee: Gordon Sim
Priority: Minor
 Fix For: Future


 i.e. when cyrus-sasl support is not built in, the mechanism will be sent as 
 taken from configuration even if that is null or something not supported by 
 the broker.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-4407) default implementation of SASL does not check that mechanism is correct

2013-07-12 Thread Gordon Sim (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gordon Sim updated QPID-4407:
-

Fix Version/s: (was: Future)
   0.23

 default implementation of SASL does not check that mechanism is correct
 ---

 Key: QPID-4407
 URL: https://issues.apache.org/jira/browse/QPID-4407
 Project: Qpid
  Issue Type: Bug
  Components: C++ Client
Affects Versions: 0.18
Reporter: Gordon Sim
Assignee: Gordon Sim
Priority: Minor
 Fix For: 0.23


 i.e. when cyrus-sasl support is not built in, the mechanism will be sent as 
 taken from configuration even if that is null or something not supported by 
 the broker.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-3203) Add ability to require an empty queue before autodeleting

2013-07-12 Thread Gordon Sim (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-3203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gordon Sim updated QPID-3203:
-

Fix Version/s: (was: Future)
   0.23

 Add ability to require an empty queue before autodeleting
 -

 Key: QPID-3203
 URL: https://issues.apache.org/jira/browse/QPID-3203
 Project: Qpid
  Issue Type: Improvement
  Components: C++ Broker
Reporter: Gordon Sim
Assignee: Gordon Sim
 Fix For: 0.23


 At present an auto-deleted queue is eligible for deletion when either the 
 session declaring it ends (if exclusive) or when the consumer count drops to 
 0 (if not exclusive). In some cases it would be nice to configure things such 
 that the queue must also contain no messages for it to be eligible for 
 deletion.
 In other words, if auto-deletion is a means of cleaning up unused queues, we 
 want a broader/richer notion of in-use that could include the fact that the 
 queue contains messages.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



IRI encoding in broker URL strings?

2013-07-12 Thread Kerry Bonin
We've run into an issue where a machine running a broker has a Unicode
character in its name.  We use SSL, and we're on Windows, so that means
Microsoft Schannel SSL, which requires FQDNs when the machine is on a
domain, which this is.  I'm adding code today to escape the broker URL
appropriately to see if that gets the string through the URL parser, does
anyone know of any other issues I'm going to encounter trying to get this
to work?  We're currently on QPID 0.12, we'll be updating as soon as we get
this release out the door, but I build from source w/ a few mods so making
changes is fine for us.  Any suggestions appreciated!


[jira] [Resolved] (QPID-4834) Ruby client examples incorrectly handles '--connection-options' option

2013-07-12 Thread Darryl L. Pierce (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Darryl L. Pierce resolved QPID-4834.


   Resolution: Fixed
Fix Version/s: Future

 Ruby client examples incorrectly handles '--connection-options' option
 --

 Key: QPID-4834
 URL: https://issues.apache.org/jira/browse/QPID-4834
 Project: Qpid
  Issue Type: Bug
  Components: Ruby Client
Affects Versions: 0.20
Reporter: Petr Matousek
Assignee: Darryl L. Pierce
Priority: Minor
 Fix For: Future


 The 'connection-options' option is incorrectly handled as a string in the 
 example clients, should be handled as a list.
 # ruby spout.rb --connection-options {reconnect:True} q;{create:always}
 2013-05-10 04:49:01 [Client] warning Exception received from broker:
 not-found: not-found: Queue not found: {reconnect:True} 
 (/builddir/build/BUILD/qpid-0.22/cpp/src/qpid/broker/SessionAdapter.cpp:693)
 [caused by 2 \x08:\x01]
 ./../lib/qpid_messaging/session.rb:63:in `createSender': Queue
 {reconnect:True} does not exist (MessagingError)
 from ./../lib/qpid_messaging/session.rb:63:in `create_sender'
 from spout.rb:106
 2013-05-10 04:49:01 [Client] warning Connection
 [127.0.0.1:56869-127.0.0.1:5672] closed
 The 'nil' in the option parser looked weird to me, so I did the
 following change to make the option work:
 # vim spout.rb
 -  opts.on(nil, --connection-options VALUE,
 +  opts.on(--connection-options VALUE,
 Following change results in another error, the connection's
 convert_options method expects list not a string:
 # ruby spout.rb --connection-options {reconnect:True} q;{create:always}
 ./../lib/qpid_messaging/connection.rb:149:in `convert_options':
 undefined method `each_pair' for {reconnect:True}:String
 (NoMethodError)
 from ./../lib/qpid_messaging/connection.rb:67:in `initialize'
 from spout.rb:103:in `new'
 from spout.rb:103
 I used the following code to fix the issue, which was sufficient for
 my needs (there would be probably a better solution, I guess):
 -options[:connection_options] = conopts
 +options[:connection_options] = {}
 +conopts = conopts.gsub /^\{(.*)\}$/, '\1'
 +conopts.split(,).each do |x|
 +   key,val = x.split(':')
 +   options[:connection_options][key]= val
 Packages used:
 ruby gem: qpid_messaging-0.20.2
 also valid for examples on trunk

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Updated] (QPID-4982) qmf-gen doesn't work with Python 3

2013-07-12 Thread Steve Huston (JIRA)

 [ 
https://issues.apache.org/jira/browse/QPID-4982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Huston updated QPID-4982:
---

  Priority: Minor  (was: Blocker)
   Environment: Any with python 3  (was: Windows 7 Enterprise 64 bit 
SP1)
Remaining Estimate: 48h
 Original Estimate: 48h
   Summary: qmf-gen doesn't work with Python 3  (was: cmake for 
Visual Studio fails)

The summary of what this length exchange produced is this: the qmf-gen utility 
which generates qmf-related code requires python 2.x - it fails with python 3.

There are some print statements, which are easy to fix. The require of StringIO 
needs an alternate for python 3, and there's a except clause that needs some 
help (not sure how to fix that one).

 qmf-gen doesn't work with Python 3
 --

 Key: QPID-4982
 URL: https://issues.apache.org/jira/browse/QPID-4982
 Project: Qpid
  Issue Type: Bug
  Components: Build Tools
Affects Versions: 0.22, 0.23
 Environment: Any with python 3
Reporter: Steve Rothkin
Priority: Minor
 Attachments: qpid-windows-build-log.txt, screenshot-1.jpg

   Original Estimate: 48h
  Remaining Estimate: 48h

 I followed the instructions in cpp\INSTALL-WINDOWS. I have installed the 
 latest Windows versions of Boost, Ruby, and Python as per the instructions. 
 I've also built the Boost libraries and set the environment variables as per 
 the instructions. 
 I tried the 3. Building from a Source Distribution using qpid-0.22.tar.gz 
 using the cmake command line tool. I got the following errors:
 c:\cyghome\QueueSystems\Qpid\qpid-0.22\cppcmake -i -G Visual Studio 9 2008
 Would you like to see advanced options? [No]:
 Please wait while cmake processes CMakeLists.txt files
   File string, line 1
 from distutils.sysconfig import get_python_lib; print 
 get_python_lib(False)
^
 SyntaxError: invalid syntax
   File C:/cyghome/QueueSystems/Qpid/qpid-0.22/cpp/managementgen/qmf-gen, 
 line
 64
 print no input files
  ^
 SyntaxError: invalid syntax
 CMake Error at src/CMakeLists.txt:231 (include):
   include could not find load file:
 C:/cyghome/QueueSystems/Qpid/qpid-0.22/cpp/src/managementgen.cmake
 CMake Error at C:/Program Files (x86)/CMake 
 2.8/share/cmake-2.8/Modules/FindBoos
 t.cmake:1104 (message):
   Unable to find the requested Boost libraries.
   Boost version: 1.54.0
   Boost include path: C:/boost/boost_1_54_0
   The following Boost libraries could not be found:
   boost_program_options
   boost_date_time
   boost_thread
   boost_unit_test_framework
   boost_regex
   No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
   directory containing Boost libraries or BOOST_ROOT to the location of
   Boost.
 Call Stack (most recent call first):
   src/CMakeLists.txt:325 (find_package)
 -
 I also tried the 4. Building a Repository Working Copy with a checkout of the 
 latest from SVN using the cmake GUI (selecting Visual Studio 10 Win64 as the 
 generator since I don't have VS2008). I got the following errors:
 Regenerating Qpid Management Framework sources
 CMake Error at src/CMakeLists.txt:232 (include):
   include could not find load file:
 C:/Qpid/src/managementgen.cmake
 CMake Error at C:/Program Files (x86)/CMake 
 2.8/share/cmake-2.8/Modules/FindBoost.cmake:1104 (message):
   Unable to find the requested Boost libraries.
   Boost version: 1.54.0
   Boost include path: C:/boost/boost_1_54_0
   The following Boost libraries could not be found:
   boost_program_options
   boost_date_time
   boost_thread
   boost_unit_test_framework
   boost_regex
   No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
   directory containing Boost libraries or BOOST_ROOT to the location of
   Boost.
 Call Stack (most recent call first):
   src/CMakeLists.txt:364 (find_package)
 CMake Error at src/CMakeLists.txt:366 (message):
   Boost C++ libraries not found.  Please install or try setting BOOST_ROOT
 Configuring incomplete, errors occurred!
 -
 The relevant environment variables on my system are:
 BOOST_LIBRARYDIR=C:\boost\boost_1_54_0\stage\lib
 BOOST_ROOT=C:\boost\boost_1_54_0
 INCLUDE=c:\Program Files (x86)\Microsoft Visual Studio 
 10.0\VC\INCLUDE;c:\Program Files (x86)\Microsoft Visual Studio 
 10.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Microsoft 
 SDKs\Windows\v7.0A\include;C:\boost\boost_1_54_0
 LIB=c:\Program Files (x86)\Microsoft Visual Studio 
 10.0\VC\LIB\amd64;c:\Program Files (x86)\Microsoft Visual Studio 
 10.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Microsoft 
 

[jira] [Commented] (QPID-4982) qmf-gen doesn't work with Python 3

2013-07-12 Thread Steve Rothkin (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13707315#comment-13707315
 ] 

Steve Rothkin commented on QPID-4982:
-

cpp/INSTALL-WINDOWS should also be updated to show the HIGHEST version number 
supported for Ruby and Boost (since the most recent of both are not currently 
supported and I had to back-level Ruby to eliminate those errors).

 qmf-gen doesn't work with Python 3
 --

 Key: QPID-4982
 URL: https://issues.apache.org/jira/browse/QPID-4982
 Project: Qpid
  Issue Type: Bug
  Components: Build Tools
Affects Versions: 0.22, 0.23
 Environment: Any with python 3
Reporter: Steve Rothkin
Priority: Minor
 Attachments: qpid-windows-build-log.txt, screenshot-1.jpg

   Original Estimate: 48h
  Remaining Estimate: 48h

 I followed the instructions in cpp\INSTALL-WINDOWS. I have installed the 
 latest Windows versions of Boost, Ruby, and Python as per the instructions. 
 I've also built the Boost libraries and set the environment variables as per 
 the instructions. 
 I tried the 3. Building from a Source Distribution using qpid-0.22.tar.gz 
 using the cmake command line tool. I got the following errors:
 c:\cyghome\QueueSystems\Qpid\qpid-0.22\cppcmake -i -G Visual Studio 9 2008
 Would you like to see advanced options? [No]:
 Please wait while cmake processes CMakeLists.txt files
   File string, line 1
 from distutils.sysconfig import get_python_lib; print 
 get_python_lib(False)
^
 SyntaxError: invalid syntax
   File C:/cyghome/QueueSystems/Qpid/qpid-0.22/cpp/managementgen/qmf-gen, 
 line
 64
 print no input files
  ^
 SyntaxError: invalid syntax
 CMake Error at src/CMakeLists.txt:231 (include):
   include could not find load file:
 C:/cyghome/QueueSystems/Qpid/qpid-0.22/cpp/src/managementgen.cmake
 CMake Error at C:/Program Files (x86)/CMake 
 2.8/share/cmake-2.8/Modules/FindBoos
 t.cmake:1104 (message):
   Unable to find the requested Boost libraries.
   Boost version: 1.54.0
   Boost include path: C:/boost/boost_1_54_0
   The following Boost libraries could not be found:
   boost_program_options
   boost_date_time
   boost_thread
   boost_unit_test_framework
   boost_regex
   No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
   directory containing Boost libraries or BOOST_ROOT to the location of
   Boost.
 Call Stack (most recent call first):
   src/CMakeLists.txt:325 (find_package)
 -
 I also tried the 4. Building a Repository Working Copy with a checkout of the 
 latest from SVN using the cmake GUI (selecting Visual Studio 10 Win64 as the 
 generator since I don't have VS2008). I got the following errors:
 Regenerating Qpid Management Framework sources
 CMake Error at src/CMakeLists.txt:232 (include):
   include could not find load file:
 C:/Qpid/src/managementgen.cmake
 CMake Error at C:/Program Files (x86)/CMake 
 2.8/share/cmake-2.8/Modules/FindBoost.cmake:1104 (message):
   Unable to find the requested Boost libraries.
   Boost version: 1.54.0
   Boost include path: C:/boost/boost_1_54_0
   The following Boost libraries could not be found:
   boost_program_options
   boost_date_time
   boost_thread
   boost_unit_test_framework
   boost_regex
   No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
   directory containing Boost libraries or BOOST_ROOT to the location of
   Boost.
 Call Stack (most recent call first):
   src/CMakeLists.txt:364 (find_package)
 CMake Error at src/CMakeLists.txt:366 (message):
   Boost C++ libraries not found.  Please install or try setting BOOST_ROOT
 Configuring incomplete, errors occurred!
 -
 The relevant environment variables on my system are:
 BOOST_LIBRARYDIR=C:\boost\boost_1_54_0\stage\lib
 BOOST_ROOT=C:\boost\boost_1_54_0
 INCLUDE=c:\Program Files (x86)\Microsoft Visual Studio 
 10.0\VC\INCLUDE;c:\Program Files (x86)\Microsoft Visual Studio 
 10.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Microsoft 
 SDKs\Windows\v7.0A\include;C:\boost\boost_1_54_0
 LIB=c:\Program Files (x86)\Microsoft Visual Studio 
 10.0\VC\LIB\amd64;c:\Program Files (x86)\Microsoft Visual Studio 
 10.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Microsoft 
 SDKs\Windows\v7.0A\lib\x64;C:\boost\boost_1_54_0\stage\lib
 LIBPATH=C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Windows\Microsoft.NET\Framework64\v3.5;c:\Program
  Files (x86)\Microsoft Visual Studio 10.0\VC\LIB\amd64;c:\Program Files 
 (x86)\Microsoft Visual Studio 
 10.0\VC\ATLMFC\LIB\amd64;C:\boost\boost_1_54_0\stage\lib
 Path=c:\Program Files (x86)\Microsoft Visual Studio 
 

[jira] [Commented] (QPID-4982) qmf-gen doesn't work with Python 3

2013-07-12 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13707334#comment-13707334
 ] 

ASF subversion and git services commented on QPID-4982:
---

Commit 1502669 from [~shuston]
[ https://svn.apache.org/r1502669 ]

Warn that python 3.x and ruby 2.x do not work. Related to QPID-4982.

 qmf-gen doesn't work with Python 3
 --

 Key: QPID-4982
 URL: https://issues.apache.org/jira/browse/QPID-4982
 Project: Qpid
  Issue Type: Bug
  Components: Build Tools
Affects Versions: 0.22, 0.23
 Environment: Any with python 3
Reporter: Steve Rothkin
Priority: Minor
 Attachments: qpid-windows-build-log.txt, screenshot-1.jpg

   Original Estimate: 48h
  Remaining Estimate: 48h

 I followed the instructions in cpp\INSTALL-WINDOWS. I have installed the 
 latest Windows versions of Boost, Ruby, and Python as per the instructions. 
 I've also built the Boost libraries and set the environment variables as per 
 the instructions. 
 I tried the 3. Building from a Source Distribution using qpid-0.22.tar.gz 
 using the cmake command line tool. I got the following errors:
 c:\cyghome\QueueSystems\Qpid\qpid-0.22\cppcmake -i -G Visual Studio 9 2008
 Would you like to see advanced options? [No]:
 Please wait while cmake processes CMakeLists.txt files
   File string, line 1
 from distutils.sysconfig import get_python_lib; print 
 get_python_lib(False)
^
 SyntaxError: invalid syntax
   File C:/cyghome/QueueSystems/Qpid/qpid-0.22/cpp/managementgen/qmf-gen, 
 line
 64
 print no input files
  ^
 SyntaxError: invalid syntax
 CMake Error at src/CMakeLists.txt:231 (include):
   include could not find load file:
 C:/cyghome/QueueSystems/Qpid/qpid-0.22/cpp/src/managementgen.cmake
 CMake Error at C:/Program Files (x86)/CMake 
 2.8/share/cmake-2.8/Modules/FindBoos
 t.cmake:1104 (message):
   Unable to find the requested Boost libraries.
   Boost version: 1.54.0
   Boost include path: C:/boost/boost_1_54_0
   The following Boost libraries could not be found:
   boost_program_options
   boost_date_time
   boost_thread
   boost_unit_test_framework
   boost_regex
   No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
   directory containing Boost libraries or BOOST_ROOT to the location of
   Boost.
 Call Stack (most recent call first):
   src/CMakeLists.txt:325 (find_package)
 -
 I also tried the 4. Building a Repository Working Copy with a checkout of the 
 latest from SVN using the cmake GUI (selecting Visual Studio 10 Win64 as the 
 generator since I don't have VS2008). I got the following errors:
 Regenerating Qpid Management Framework sources
 CMake Error at src/CMakeLists.txt:232 (include):
   include could not find load file:
 C:/Qpid/src/managementgen.cmake
 CMake Error at C:/Program Files (x86)/CMake 
 2.8/share/cmake-2.8/Modules/FindBoost.cmake:1104 (message):
   Unable to find the requested Boost libraries.
   Boost version: 1.54.0
   Boost include path: C:/boost/boost_1_54_0
   The following Boost libraries could not be found:
   boost_program_options
   boost_date_time
   boost_thread
   boost_unit_test_framework
   boost_regex
   No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
   directory containing Boost libraries or BOOST_ROOT to the location of
   Boost.
 Call Stack (most recent call first):
   src/CMakeLists.txt:364 (find_package)
 CMake Error at src/CMakeLists.txt:366 (message):
   Boost C++ libraries not found.  Please install or try setting BOOST_ROOT
 Configuring incomplete, errors occurred!
 -
 The relevant environment variables on my system are:
 BOOST_LIBRARYDIR=C:\boost\boost_1_54_0\stage\lib
 BOOST_ROOT=C:\boost\boost_1_54_0
 INCLUDE=c:\Program Files (x86)\Microsoft Visual Studio 
 10.0\VC\INCLUDE;c:\Program Files (x86)\Microsoft Visual Studio 
 10.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Microsoft 
 SDKs\Windows\v7.0A\include;C:\boost\boost_1_54_0
 LIB=c:\Program Files (x86)\Microsoft Visual Studio 
 10.0\VC\LIB\amd64;c:\Program Files (x86)\Microsoft Visual Studio 
 10.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Microsoft 
 SDKs\Windows\v7.0A\lib\x64;C:\boost\boost_1_54_0\stage\lib
 LIBPATH=C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Windows\Microsoft.NET\Framework64\v3.5;c:\Program
  Files (x86)\Microsoft Visual Studio 10.0\VC\LIB\amd64;c:\Program Files 
 (x86)\Microsoft Visual Studio 
 10.0\VC\ATLMFC\LIB\amd64;C:\boost\boost_1_54_0\stage\lib
 Path=c:\Program Files (x86)\Microsoft Visual Studio 
 

[jira] [Commented] (QPID-4967) Dispatch - Distributed routing protocol to compute paths across a network of routers

2013-07-12 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/QPID-4967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13707411#comment-13707411
 ] 

ASF subversion and git services commented on QPID-4967:
---

Commit 1502698 from [~tedross]
[ https://svn.apache.org/r1502698 ]

QPID-4967 - Router code advances
  o Fixed handling of SASL on outbound connections
  o Added Send and Receive message paths in and out of Python modules
  o Overhauled the route-table data structures
- Multicasting is now supported (multiple sender links with the same 
address)
- Support has been added for message-based routing semantics as well as 
link-based
  o Two Dispatch processes connected to each other will now discover each other 
as neighbors

 Dispatch - Distributed routing protocol to compute paths across a network of 
 routers
 

 Key: QPID-4967
 URL: https://issues.apache.org/jira/browse/QPID-4967
 Project: Qpid
  Issue Type: New Feature
  Components: Qpid Dispatch
Reporter: Ted Ross
Assignee: Ted Ross

 Add the route-computation function to Dispatch Router.  This control-plane 
 component discovers neighboring routers, exchanges topology information, and 
 computes the shortest paths from point to point across the topology.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org