[jira] Created: (QPID-3147) Misconfigured tracing/logging can lead to hung threads in logging stack
Misconfigured tracing/logging can lead to hung threads in logging stack --- Key: QPID-3147 URL: https://issues.apache.org/jira/browse/QPID-3147 Project: Qpid Issue Type: Bug Components: C++ Client Affects Versions: 0.10 Environment: Fedora 14 32-bit Reporter: Pete MacKinnon Priority: Minor Given the following trace and logging environment variable mix-up like this: QPID_TRACE=debug+ QPID_LOG_ENABLE= A C++ client that embeds the Qpid runtime can get hung although it has recognized the misconfiguration. #0 0x00555416 in __kernel_vsyscall () #1 0x00f49367 in syscall () at ../sysdeps/unix/sysv/linux/i386/syscall.S:30 #2 0x002bbfca in __cxxabiv1::__cxa_guard_acquire (g=0x2171ea0) at ../../../../libstdc++-v3/libsupc++/guard.cc:293 #3 0x020ca3b8 in instance () at /usr/include/boost/pool/detail/singleton.hpp:83 #4 qpid::log::Logger::instance () at qpid/log/Logger.cpp:47 #5 0x020cd324 in qpid::log::Statement::Initializer::Initializer ( this=0x2171b88, s=...) at qpid/log/Statement.cpp:61 #6 0x02075b6c in qpid::Exception::Exception (this=0x880b370, msg= Error in environment variables: in option 'trace': invalid bool value\n) at qpid/Exception.cpp:31 #7 0x0208095d in Exception (this=0xbf8d0df0, argc=0, argv=0x0, configFile=, allowUnknown=false) at ../include/qpid/Options.h:210 #8 qpid::Options::parse (this=0xbf8d0df0, argc=0, argv=0x0, configFile=, allowUnknown=false) at qpid/Options.cpp:352 #9 0x020c9c57 in qpid::log::Logger::Logger (this=0x2171ec0) at qpid/log/Logger.cpp:55 #10 0x020ca330 in instance () at /usr/include/boost/pool/detail/singleton.hpp:83 #11 object_creator () at /usr/include/boost/pool/detail/singleton.hpp:66 #12 __static_initialization_and_destruction_0 () at /usr/include/boost/pool/detail/singleton.hpp:95 #13 global constructors keyed to Logger.cpp(void) () at qpid/log/Logger.cpp:156 #14 0x020ebc6d in __do_global_ctors_aux () from /usr/lib/libqpidcommon.so.2 #15 0x01fc2a84 in _init () from /usr/lib/libqpidcommon.so.2 #16 0x004f68fc in call_init (l=value optimized out, argc=3, argv=0xbf8d1634, env=0x87feb58) at dl-init.c:68 #17 0x004f6a19 in _dl_init (main_map=value optimized out, argc=3, argv=0xbf8d1634, env=0x87feb58) at dl-init.c:132 #18 0x004fa74f in dl_open_worker (a=0xbf8d10d0) at dl-open.c:464 #19 0x004f6786 in _dl_catch_error (objname=0xbf8d10f8, errstring=0xbf8d10f4, mallocedp=0xbf8d10ff, operate=0x4fa3b0 dl_open_worker, args=0xbf8d10d0) at dl-error.c:178 -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org
[jira] Created: (QPID-2602) FE: have qpid-tool - list take an optional pkg argument
FE: have qpid-tool - list take an optional pkg argument Key: QPID-2602 URL: https://issues.apache.org/jira/browse/QPID-2602 Project: Qpid Issue Type: Improvement Components: Qpid Managment Framework Environment: All Reporter: Pete MacKinnon Priority: Minor It would be nice if qpid-tool displayed a filtered list of classes based on a fully-qualified package or a wildcard. For example: % qpid-tool Management Tool for QPID qpid: list com.acme.foo Summary of Objects by Type: Package Class Active Deleted === com.acme.foowidget 1 0 com.acme.foogadget1 0 qpid: list com.acme.* Summary of Objects by Type: Package Class Active Deleted === com.acme.foowidget 1 0 com.acme.foogadget 1 0 com.acme.bartrinket 1 0 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org
[jira] Created: (QPID-2603) FE: have qpid-tool - list take an optional pkg argument
FE: have qpid-tool - list take an optional pkg argument Key: QPID-2603 URL: https://issues.apache.org/jira/browse/QPID-2603 Project: Qpid Issue Type: Improvement Components: Qpid Managment Framework Environment: All Reporter: Pete MacKinnon Priority: Minor It would be nice if qpid-tool displayed a filtered list of classes based on a fully-qualified package or a wildcard. For example: % qpid-tool Management Tool for QPID qpid: list com.acme.foo Summary of Objects by Type: Package Class Active Deleted === com.acme.foowidget1 0 com.acme.foogadget1 0 qpid: list com.acme.* Summary of Objects by Type: Package Class Active Deleted === com.acme.foowidget1 0 com.acme.foogadget1 0 com.acme.bartrinket 1 0 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org
[jira] Closed: (QPID-2602) FE: have qpid-tool - list take an optional pkg argument
[ https://issues.apache.org/jira/browse/QPID-2602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pete MacKinnon closed QPID-2602. Resolution: Duplicate Jira website acting up so got 2 of these FE: have qpid-tool - list take an optional pkg argument Key: QPID-2602 URL: https://issues.apache.org/jira/browse/QPID-2602 Project: Qpid Issue Type: Improvement Components: Qpid Managment Framework Environment: All Reporter: Pete MacKinnon Priority: Minor It would be nice if qpid-tool displayed a filtered list of classes based on a fully-qualified package or a wildcard. For example: % qpid-tool Management Tool for QPID qpid: list com.acme.foo Summary of Objects by Type: Package Class Active Deleted === com.acme.foowidget 1 0 com.acme.foogadget1 0 qpid: list com.acme.* Summary of Objects by Type: Package Class Active Deleted === com.acme.foowidget 1 0 com.acme.foogadget 1 0 com.acme.bartrinket 1 0 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org
[jira] Created: (QPID-2566) FE: add support for include/import-style XML fragment composition in qmf-gen
FE: add support for include/import-style XML fragment composition in qmf-gen Key: QPID-2566 URL: https://issues.apache.org/jira/browse/QPID-2566 Project: Qpid Issue Type: Improvement Components: Qpid Managment Framework Environment: All Reporter: Pete MacKinnon Priority: Minor It would be useful if qmf-gen supported XML parsing such that a target XML file was composed of inclusions or imports of other XML QMF schemas. This would promote modularity and reuse of QMF class definitions. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org
[jira] Created: (QPID-2554) FE: have Session or Agent getObjects return a list of QMF objects based only on a _package name
FE: have Session or Agent getObjects return a list of QMF objects based only on a _package name --- Key: QPID-2554 URL: https://issues.apache.org/jira/browse/QPID-2554 Project: Qpid Issue Type: Improvement Components: Qpid Managment Framework Environment: All, Python Reporter: Pete MacKinnon Priority: Minor It would be nice if we could get a list of QMF objects without having to specify a _class for a _package. The _package alone should return a list of matching objects. This would make certain query applications easier and more intuitive. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org
[jira] Created: (QPID-2391) Use of global static intializers in code creates problems for a correct Windows static build
Use of global static intializers in code creates problems for a correct Windows static build Key: QPID-2391 URL: https://issues.apache.org/jira/browse/QPID-2391 Project: Qpid Issue Type: Improvement Components: C++ Client Environment: Windows XP SP3 Visual C++ 9.0 Reporter: Pete MacKinnon The use of global static intilaizers like the StaticInit struct in: qpid\cpp\src\qpid\client\windows\TCPConnector.cpp qpid\cpp\src\qpid\client\windows\SslConnector.cpp won't work at runtime in a static compile/link of qpidc. The transport factory registrations won't happen since the linker will strip out these unreferenced symbols. Not a problem in the DLL model. There are few options for addressing this in the linker command line (e.g., /INCLUDE:mangled name of symbol), in the devenv (Link Library Dependencies, Use Library Dependency Inputs), or writing function wrappers to force load - none of which seem very useful. There may be more instances of this pattern in the code elsewhere. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org
[jira] Commented: (QPID-2251) Provide portable signal mechanism for the C++ QMF agent API
[ https://issues.apache.org/jira/browse/QPID-2251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12828183#action_12828183 ] Pete MacKinnon commented on QPID-2251: -- Should/could we wrap the type returned from getSignalFd()? Private posix impl on the wrapper returns int, private windows impl returns SOCKET. \Pete Provide portable signal mechanism for the C++ QMF agent API --- Key: QPID-2251 URL: https://issues.apache.org/jira/browse/QPID-2251 Project: Qpid Issue Type: Improvement Components: Qpid Managment Framework Environment: Windows XP SP3, VC++ 9.0 RHEL, Fedora Reporter: Pete MacKinnon Assignee: Ted Ross Fix For: 0.7 Need a portable signaling mechanism in the QMF agent API for Windows and Posix platforms that encapsulates or hides socket and FD implementations -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org
[jira] Closed: (QPID-1918) Patches/files for Windows QMF plug-in support
[ https://issues.apache.org/jira/browse/QPID-1918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pete MacKinnon closed QPID-1918. Resolution: Duplicate Decomposed into separate Jiras: QPID-1951, QPID-2259 and possibly more Patches/files for Windows QMF plug-in support - Key: QPID-1918 URL: https://issues.apache.org/jira/browse/QPID-1918 Project: Qpid Issue Type: New Feature Components: Qpid Managment Framework Environment: Windows XP SP3, VC++ 9.0 Reporter: Pete MacKinnon Assignee: Andrew Stitcher Attachments: 0001-Added-flags-for-optional-static-build-on-Windows.patch Various files for the Windows QMF plug-in support in cpp, based off revision: 785848 Need Static builds (release and debug) for correct runtime integration with Condor: src/broker.vcproj src/client.vcproj src/common.vcproj src/qmfagent.vcproj src/qmfconsole.vcproj src/qpid.sln src/qpidbroker.vcproj - Changed to provide compile flags required for header file integration of Posix types declared by both Qpid and Condor: src/qpid/sys/windows/IntegerTypes.h src/qpid/sys/windows/uuid.cpp src/qpid/sys/windows/uuid.h - Modified signature of PipeHandle ctor and fixed a Windows race condition in the processing loop: src/qpid/agent/ManagementAgentImpl.cpp - Refactored the pipe code so that Condor can get a true socket fd it can select on in daemon_core: src/qpid/sys/Pipehandle.h src/qpid/sys/posix/PipeHandle.cpp src/qpid/sys/windows/PipeHandle.cpp - Removed explicit dependency on Debug libs since we now have even more targets. Added Apache license: examples/qmf_agent.vcproj - Added Apache license: src/protocol_gen.mak examples/qmf-agent/example_gen.mak - Updated QMF Agent example README: examples/README -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org
[jira] Created: (QPID-2259) Add static build support in cmake for Windows
Add static build support in cmake for Windows - Key: QPID-2259 URL: https://issues.apache.org/jira/browse/QPID-2259 Project: Qpid Issue Type: Improvement Components: Build Tools Environment: Windows XP SP3, VC++ 9.0 Reporter: Pete MacKinnon Some projects (e.g., Condor) that depend on qpid specifically for QMF integration require static builds of qpid cpp on Windows. Propose a new var (QPID_WINDOWS_STATIC) that when set makes available static release and debug configuration targets for VC++. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org
[jira] Created: (QPID-2251) Provide portable file descriptor for the C++ QMF agent API
Provide portable file descriptor for the C++ QMF agent API -- Key: QPID-2251 URL: https://issues.apache.org/jira/browse/QPID-2251 Project: Qpid Issue Type: Improvement Components: Qpid Managment Framework Environment: Windows XP SP3, VC++ 9.0 RHEL, Fedora Reporter: Pete MacKinnon Need a portable signaling mechanism in the QMF agent API for Windows and Posix platforms that encapsulates or hides socket and FD implementations -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org
[jira] Updated: (QPID-2251) Provide portable signal mechanism for the C++ QMF agent API
[ https://issues.apache.org/jira/browse/QPID-2251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pete MacKinnon updated QPID-2251: - Summary: Provide portable signal mechanism for the C++ QMF agent API (was: Provide portable file descriptor for the C++ QMF agent API) Provide portable signal mechanism for the C++ QMF agent API --- Key: QPID-2251 URL: https://issues.apache.org/jira/browse/QPID-2251 Project: Qpid Issue Type: Improvement Components: Qpid Managment Framework Environment: Windows XP SP3, VC++ 9.0 RHEL, Fedora Reporter: Pete MacKinnon Need a portable signaling mechanism in the QMF agent API for Windows and Posix platforms that encapsulates or hides socket and FD implementations -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org
[jira] Updated: (QPID-1918) Patches/files for Windows QMF plug-in support
[ https://issues.apache.org/jira/browse/QPID-1918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pete MacKinnon updated QPID-1918: - Attachment: (was: qpid-1918.patch) Patches/files for Windows QMF plug-in support - Key: QPID-1918 URL: https://issues.apache.org/jira/browse/QPID-1918 Project: Qpid Issue Type: New Feature Components: Qpid Managment Framework Environment: Windows XP SP3, VC++ 9.0 Reporter: Pete MacKinnon Assignee: Andrew Stitcher Attachments: 0001-Added-flags-for-optional-static-build-on-Windows.patch Various files for the Windows QMF plug-in support in cpp, based off revision: 785848 Need Static builds (release and debug) for correct runtime integration with Condor: src/broker.vcproj src/client.vcproj src/common.vcproj src/qmfagent.vcproj src/qmfconsole.vcproj src/qpid.sln src/qpidbroker.vcproj - Changed to provide compile flags required for header file integration of Posix types declared by both Qpid and Condor: src/qpid/sys/windows/IntegerTypes.h src/qpid/sys/windows/uuid.cpp src/qpid/sys/windows/uuid.h - Modified signature of PipeHandle ctor and fixed a Windows race condition in the processing loop: src/qpid/agent/ManagementAgentImpl.cpp - Refactored the pipe code so that Condor can get a true socket fd it can select on in daemon_core: src/qpid/sys/Pipehandle.h src/qpid/sys/posix/PipeHandle.cpp src/qpid/sys/windows/PipeHandle.cpp - Removed explicit dependency on Debug libs since we now have even more targets. Added Apache license: examples/qmf_agent.vcproj - Added Apache license: src/protocol_gen.mak examples/qmf-agent/example_gen.mak - Updated QMF Agent example README: examples/README -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org
[jira] Updated: (QPID-1918) Patches/files for Windows QMF plug-in support
[ https://issues.apache.org/jira/browse/QPID-1918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pete MacKinnon updated QPID-1918: - Attachment: (was: qpid-1918.patch) Patches/files for Windows QMF plug-in support - Key: QPID-1918 URL: https://issues.apache.org/jira/browse/QPID-1918 Project: Qpid Issue Type: New Feature Components: Qpid Managment Framework Environment: Windows XP SP3, VC++ 9.0 Reporter: Pete MacKinnon Assignee: Steve Huston Various files for the Windows QMF plug-in support in cpp, based off revision: 785848 Need Static builds (release and debug) for correct runtime integration with Condor: src/broker.vcproj src/client.vcproj src/common.vcproj src/qmfagent.vcproj src/qmfconsole.vcproj src/qpid.sln src/qpidbroker.vcproj - Changed to provide compile flags required for header file integration of Posix types declared by both Qpid and Condor: src/qpid/sys/windows/IntegerTypes.h src/qpid/sys/windows/uuid.cpp src/qpid/sys/windows/uuid.h - Modified signature of PipeHandle ctor and fixed a Windows race condition in the processing loop: src/qpid/agent/ManagementAgentImpl.cpp - Refactored the pipe code so that Condor can get a true socket fd it can select on in daemon_core: src/qpid/sys/Pipehandle.h src/qpid/sys/posix/PipeHandle.cpp src/qpid/sys/windows/PipeHandle.cpp - Removed explicit dependency on Debug libs since we now have even more targets. Added Apache license: examples/qmf_agent.vcproj - Added Apache license: src/protocol_gen.mak examples/qmf-agent/example_gen.mak - Updated QMF Agent example README: examples/README -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org
[jira] Updated: (QPID-1918) Patches/files for Windows QMF plug-in support
[ https://issues.apache.org/jira/browse/QPID-1918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pete MacKinnon updated QPID-1918: - Attachment: qpid-1918.patch Added missing cpp/examples/CMakeLists.txt diff Patches/files for Windows QMF plug-in support - Key: QPID-1918 URL: https://issues.apache.org/jira/browse/QPID-1918 Project: Qpid Issue Type: New Feature Components: Qpid Managment Framework Environment: Windows XP SP3, VC++ 9.0 Reporter: Pete MacKinnon Assignee: Steve Huston Attachments: qpid-1918.patch Various files for the Windows QMF plug-in support in cpp, based off revision: 785848 Need Static builds (release and debug) for correct runtime integration with Condor: src/broker.vcproj src/client.vcproj src/common.vcproj src/qmfagent.vcproj src/qmfconsole.vcproj src/qpid.sln src/qpidbroker.vcproj - Changed to provide compile flags required for header file integration of Posix types declared by both Qpid and Condor: src/qpid/sys/windows/IntegerTypes.h src/qpid/sys/windows/uuid.cpp src/qpid/sys/windows/uuid.h - Modified signature of PipeHandle ctor and fixed a Windows race condition in the processing loop: src/qpid/agent/ManagementAgentImpl.cpp - Refactored the pipe code so that Condor can get a true socket fd it can select on in daemon_core: src/qpid/sys/Pipehandle.h src/qpid/sys/posix/PipeHandle.cpp src/qpid/sys/windows/PipeHandle.cpp - Removed explicit dependency on Debug libs since we now have even more targets. Added Apache license: examples/qmf_agent.vcproj - Added Apache license: src/protocol_gen.mak examples/qmf-agent/example_gen.mak - Updated QMF Agent example README: examples/README -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org
[jira] Issue Comment Edited: (QPID-1918) Patches/files for Windows QMF plug-in support
[ https://issues.apache.org/jira/browse/QPID-1918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12746240#action_12746240 ] Pete MacKinnon edited comment on QPID-1918 at 8/21/09 4:00 PM: --- Added missing cpp/examples/qmf-agent/CMakeLists.txt diff was (Author: pmackinn): Added missing cpp/examples/CMakeLists.txt diff Patches/files for Windows QMF plug-in support - Key: QPID-1918 URL: https://issues.apache.org/jira/browse/QPID-1918 Project: Qpid Issue Type: New Feature Components: Qpid Managment Framework Environment: Windows XP SP3, VC++ 9.0 Reporter: Pete MacKinnon Assignee: Steve Huston Attachments: qpid-1918.patch Various files for the Windows QMF plug-in support in cpp, based off revision: 785848 Need Static builds (release and debug) for correct runtime integration with Condor: src/broker.vcproj src/client.vcproj src/common.vcproj src/qmfagent.vcproj src/qmfconsole.vcproj src/qpid.sln src/qpidbroker.vcproj - Changed to provide compile flags required for header file integration of Posix types declared by both Qpid and Condor: src/qpid/sys/windows/IntegerTypes.h src/qpid/sys/windows/uuid.cpp src/qpid/sys/windows/uuid.h - Modified signature of PipeHandle ctor and fixed a Windows race condition in the processing loop: src/qpid/agent/ManagementAgentImpl.cpp - Refactored the pipe code so that Condor can get a true socket fd it can select on in daemon_core: src/qpid/sys/Pipehandle.h src/qpid/sys/posix/PipeHandle.cpp src/qpid/sys/windows/PipeHandle.cpp - Removed explicit dependency on Debug libs since we now have even more targets. Added Apache license: examples/qmf_agent.vcproj - Added Apache license: src/protocol_gen.mak examples/qmf-agent/example_gen.mak - Updated QMF Agent example README: examples/README -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org
[jira] Updated: (QPID-1918) Patches/files for Windows QMF plug-in support
[ https://issues.apache.org/jira/browse/QPID-1918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pete MacKinnon updated QPID-1918: - Attachment: qpid-1918.patch Round 3. Replacing tar file with a single unified git diff file. $ git diff -M --name-only HEAD qpid/cpp/examples/CMakeLists.txt qpid/cpp/examples/README.txt qpid/cpp/examples/qmf-agent/Makefile qpid/cpp/examples/qmf-agent/sample.cpp qpid/cpp/examples/qmf-agent/sample_gen.mak qpid/cpp/include/qpid/sys/windows/IntegerTypes.h qpid/cpp/include/qpid/sys/windows/uuid.h qpid/cpp/src/CMakeLists.txt qpid/cpp/src/qpid/agent/ManagementAgentImpl.cpp qpid/cpp/src/qpid/sys/windows/PipeHandle.cpp qpid/cpp/src/qpid/sys/windows/uuid.cpp qpid/cpp/src/tests/CMakeLists.txt Patches/files for Windows QMF plug-in support - Key: QPID-1918 URL: https://issues.apache.org/jira/browse/QPID-1918 Project: Qpid Issue Type: New Feature Components: Qpid Managment Framework Environment: Windows XP SP3, VC++ 9.0 Reporter: Pete MacKinnon Assignee: Steve Huston Attachments: qpid-1918.patch Various files for the Windows QMF plug-in support in cpp, based off revision: 785848 Need Static builds (release and debug) for correct runtime integration with Condor: src/broker.vcproj src/client.vcproj src/common.vcproj src/qmfagent.vcproj src/qmfconsole.vcproj src/qpid.sln src/qpidbroker.vcproj - Changed to provide compile flags required for header file integration of Posix types declared by both Qpid and Condor: src/qpid/sys/windows/IntegerTypes.h src/qpid/sys/windows/uuid.cpp src/qpid/sys/windows/uuid.h - Modified signature of PipeHandle ctor and fixed a Windows race condition in the processing loop: src/qpid/agent/ManagementAgentImpl.cpp - Refactored the pipe code so that Condor can get a true socket fd it can select on in daemon_core: src/qpid/sys/Pipehandle.h src/qpid/sys/posix/PipeHandle.cpp src/qpid/sys/windows/PipeHandle.cpp - Removed explicit dependency on Debug libs since we now have even more targets. Added Apache license: examples/qmf_agent.vcproj - Added Apache license: src/protocol_gen.mak examples/qmf-agent/example_gen.mak - Updated QMF Agent example README: examples/README -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org
[jira] Updated: (QPID-1918) Patches/files for Windows QMF plug-in support
[ https://issues.apache.org/jira/browse/QPID-1918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pete MacKinnon updated QPID-1918: - Attachment: (was: qpid-1918.zip) Patches/files for Windows QMF plug-in support - Key: QPID-1918 URL: https://issues.apache.org/jira/browse/QPID-1918 Project: Qpid Issue Type: New Feature Components: Qpid Managment Framework Environment: Windows XP SP3, VC++ 9.0 Reporter: Pete MacKinnon Assignee: Steve Huston Attachments: qpid-1918.cmake.tar Various files for the Windows QMF plug-in support in cpp, based off revision: 785848 Need Static builds (release and debug) for correct runtime integration with Condor: src/broker.vcproj src/client.vcproj src/common.vcproj src/qmfagent.vcproj src/qmfconsole.vcproj src/qpid.sln src/qpidbroker.vcproj - Changed to provide compile flags required for header file integration of Posix types declared by both Qpid and Condor: src/qpid/sys/windows/IntegerTypes.h src/qpid/sys/windows/uuid.cpp src/qpid/sys/windows/uuid.h - Modified signature of PipeHandle ctor and fixed a Windows race condition in the processing loop: src/qpid/agent/ManagementAgentImpl.cpp - Refactored the pipe code so that Condor can get a true socket fd it can select on in daemon_core: src/qpid/sys/Pipehandle.h src/qpid/sys/posix/PipeHandle.cpp src/qpid/sys/windows/PipeHandle.cpp - Removed explicit dependency on Debug libs since we now have even more targets. Added Apache license: examples/qmf_agent.vcproj - Added Apache license: src/protocol_gen.mak examples/qmf-agent/example_gen.mak - Updated QMF Agent example README: examples/README -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org
[jira] Updated: (QPID-1918) Patches/files for Windows QMF plug-in support
[ https://issues.apache.org/jira/browse/QPID-1918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pete MacKinnon updated QPID-1918: - Attachment: qpid-1918.cmake.tar Hi Steve, OK Round 2. The attached tar file has the requested Cmake changes and the other patches are fixes needed for Condor/Grid integration. The CMake changes are for a static build (release and debug) on Windows and are optional. They are turned off by default and should be non-intrusive to a standard Qpid Windows build. I also need the qmf-agent file name example.cpp moved to sample.cpp since the very name example messes up in the Cmake build. Please contact me by email if you have any questions. PATCH: qpid/cpp/src/CMakeLists.txt qpid/cpp/src/tests/CMakeLists.txt qpid/cpp/examples/CMakeLists.txt qpid/cpp/examples/qmf-agent/Makefile qpid/cpp/examples/README.txt qpid/cpp/src/qpid/agent/ManagementAgentImpl.cpp qpid/cpp/include/qpid/sys/windows/IntegerTypes.h qpid/cpp/include/qpid/sys/windows/uuid.h qpid/cpp/src/qpid/sys/windows/uuid.cpp qpid/cpp/src/qpid/sys/windows/PipeHandle.cpp ADD: qpid/cpp/examples/qmf-agent/CMakeLists.txt MOVE: qpid/cpp/examples/qmf-agent/example_gen.mak - qpid/cpp/examples/qmf-agent/sample_gen.mak qpid/cpp/examples/qmf-agent/example.cpp - qpid/cpp/examples/qmf-agent/sample.cpp Patches/files for Windows QMF plug-in support - Key: QPID-1918 URL: https://issues.apache.org/jira/browse/QPID-1918 Project: Qpid Issue Type: New Feature Components: Qpid Managment Framework Environment: Windows XP SP3, VC++ 9.0 Reporter: Pete MacKinnon Assignee: Steve Huston Attachments: qpid-1918.cmake.tar Various files for the Windows QMF plug-in support in cpp, based off revision: 785848 Need Static builds (release and debug) for correct runtime integration with Condor: src/broker.vcproj src/client.vcproj src/common.vcproj src/qmfagent.vcproj src/qmfconsole.vcproj src/qpid.sln src/qpidbroker.vcproj - Changed to provide compile flags required for header file integration of Posix types declared by both Qpid and Condor: src/qpid/sys/windows/IntegerTypes.h src/qpid/sys/windows/uuid.cpp src/qpid/sys/windows/uuid.h - Modified signature of PipeHandle ctor and fixed a Windows race condition in the processing loop: src/qpid/agent/ManagementAgentImpl.cpp - Refactored the pipe code so that Condor can get a true socket fd it can select on in daemon_core: src/qpid/sys/Pipehandle.h src/qpid/sys/posix/PipeHandle.cpp src/qpid/sys/windows/PipeHandle.cpp - Removed explicit dependency on Debug libs since we now have even more targets. Added Apache license: examples/qmf_agent.vcproj - Added Apache license: src/protocol_gen.mak examples/qmf-agent/example_gen.mak - Updated QMF Agent example README: examples/README -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org
[jira] Commented: (QPID-1918) Patches/files for Windows QMF plug-in support
[ https://issues.apache.org/jira/browse/QPID-1918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12734116#action_12734116 ] Pete MacKinnon commented on QPID-1918: -- Hi Steve, I will provide a future patch that will alllow for PipeHandle to have a local _pipe as well as the select-friendly Socket approach. I will revisit the ManagementAgentImpl.cpp code based on your suggestion but there seems to be non-deterministic behavior between the connection and publish logic which can sleep the publish thread for an inadvertently long time. The uuid changes are actually more a less a revert to a previous version in Qpid. It was the only way I could surmount some significant code-level integration issues. I guess I could revisit this by trying to mitigate on the Condor side but am not optimistic. The HAVE_ flags for pid_t and ssize_t are artificial and would not currently fall out of the Condor autotools step. They are specifically there for code-level integration between Qpid and Condor. I raised https://issues.apache.org/jira/browse/QPID-1951 to suggest we bury those Posix decls in the portability layer to avoid this hack. I have been working on the Cmake changes I need and I think it looks pretty good. Once I have fixed some of the qmf-agent example QMF generation steps, I'll submit. In summary, I will attach an updated patch zip (hopefully soon). \Pete Patches/files for Windows QMF plug-in support - Key: QPID-1918 URL: https://issues.apache.org/jira/browse/QPID-1918 Project: Qpid Issue Type: New Feature Components: Qpid Managment Framework Environment: Windows XP SP3, VC++ 9.0 Reporter: Pete MacKinnon Assignee: Steve Huston Attachments: qpid-1918.zip Various files for the Windows QMF plug-in support in cpp, based off revision: 785848 Need Static builds (release and debug) for correct runtime integration with Condor: src/broker.vcproj src/client.vcproj src/common.vcproj src/qmfagent.vcproj src/qmfconsole.vcproj src/qpid.sln src/qpidbroker.vcproj - Changed to provide compile flags required for header file integration of Posix types declared by both Qpid and Condor: src/qpid/sys/windows/IntegerTypes.h src/qpid/sys/windows/uuid.cpp src/qpid/sys/windows/uuid.h - Modified signature of PipeHandle ctor and fixed a Windows race condition in the processing loop: src/qpid/agent/ManagementAgentImpl.cpp - Refactored the pipe code so that Condor can get a true socket fd it can select on in daemon_core: src/qpid/sys/Pipehandle.h src/qpid/sys/posix/PipeHandle.cpp src/qpid/sys/windows/PipeHandle.cpp - Removed explicit dependency on Debug libs since we now have even more targets. Added Apache license: examples/qmf_agent.vcproj - Added Apache license: src/protocol_gen.mak examples/qmf-agent/example_gen.mak - Updated QMF Agent example README: examples/README -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org
[jira] Created: (QPID-1951) Need wrappers for Posix types declared in Windows portability layer
Need wrappers for Posix types declared in Windows portability layer --- Key: QPID-1951 URL: https://issues.apache.org/jira/browse/QPID-1951 Project: Qpid Issue Type: Improvement Components: C++ Client Environment: Windows C++ Reporter: Pete MacKinnon Priority: Minor Currently, these are declared in qpid/sys/windows/IntegerTypes.h typedef int pid_t; typedef int ssize_t; However, these declarations can conflict with other client software C++ headers that have their own Windows declarations of these types. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org
[jira] Commented: (QPID-1918) Patches/files for Windows QMF plug-in support
[ https://issues.apache.org/jira/browse/QPID-1918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12723085#action_12723085 ] Pete MacKinnon commented on QPID-1918: -- Steve, I gave the cmake build a try on Windows and didn't get very far. It seems like there is some environment set-up required to successfully build with VC++ 9.0. Do you have any instructions? In the interim, would it be possible to just merge the vcproj patches for the time being in the interest of expediency. I'm happy to follow the cmake model going forward once I understand it better. Thanks, \Pete Patches/files for Windows QMF plug-in support - Key: QPID-1918 URL: https://issues.apache.org/jira/browse/QPID-1918 Project: Qpid Issue Type: New Feature Components: Qpid Managment Framework Environment: Windows XP SP3, VC++ 9.0 Reporter: Pete MacKinnon Assignee: Steve Huston Attachments: qpid-1918.zip Various files for the Windows QMF plug-in support in cpp, based off revision: 785848 Need Static builds (release and debug) for correct runtime integration with Condor: src/broker.vcproj src/client.vcproj src/common.vcproj src/qmfagent.vcproj src/qmfconsole.vcproj src/qpid.sln src/qpidbroker.vcproj - Changed to provide compile flags required for header file integration of Posix types declared by both Qpid and Condor: src/qpid/sys/windows/IntegerTypes.h src/qpid/sys/windows/uuid.cpp src/qpid/sys/windows/uuid.h - Modified signature of PipeHandle ctor and fixed a Windows race condition in the processing loop: src/qpid/agent/ManagementAgentImpl.cpp - Refactored the pipe code so that Condor can get a true socket fd it can select on in daemon_core: src/qpid/sys/Pipehandle.h src/qpid/sys/posix/PipeHandle.cpp src/qpid/sys/windows/PipeHandle.cpp - Removed explicit dependency on Debug libs since we now have even more targets. Added Apache license: examples/qmf_agent.vcproj - Added Apache license: src/protocol_gen.mak examples/qmf-agent/example_gen.mak - Updated QMF Agent example README: examples/README -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org
[jira] Updated: (QPID-1918) Patches/files for Windows QMF plug-in support
[ https://issues.apache.org/jira/browse/QPID-1918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pete MacKinnon updated QPID-1918: - Attachment: qpid-1918.zip Windows patch zip Patches/files for Windows QMF plug-in support - Key: QPID-1918 URL: https://issues.apache.org/jira/browse/QPID-1918 Project: Qpid Issue Type: New Feature Components: Qpid Managment Framework Environment: Windows XP SP3, VC++ 9.0 Reporter: Pete MacKinnon Attachments: qpid-1918.zip Various files for the Windows QMF plug-in support in cpp, based off revision: 785848 Need Static builds (release and debug) for correct runtime integration with Condor: src/broker.vcproj src/client.vcproj src/common.vcproj src/qmfagent.vcproj src/qmfconsole.vcproj src/qpid.sln src/qpidbroker.vcproj - Changed to provide compile flags required for header file integration of Posix types declared by both Qpid and Condor: src/qpid/sys/windows/IntegerTypes.h src/qpid/sys/windows/uuid.cpp src/qpid/sys/windows/uuid.h - Modified signature of PipeHandle ctor and fixed a Windows race condition in the processing loop: src/qpid/agent/ManagementAgentImpl.cpp - Refactored the pipe code so that Condor can get a true socket fd it can select on in daemon_core: src/qpid/sys/Pipehandle.h src/qpid/sys/posix/PipeHandle.cpp src/qpid/sys/windows/PipeHandle.cpp - Removed explicit dependency on Debug libs since we now have even more targets. Added Apache license: examples/qmf_agent.vcproj - Added Apache license: src/protocol_gen.mak examples/qmf-agent/example_gen.mak - Updated QMF Agent example README: examples/README -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org
[jira] Commented: (QPID-1731) Need to add a MS Visual Studio project to build qmf-agent
[ https://issues.apache.org/jira/browse/QPID-1731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12708042#action_12708042 ] Pete MacKinnon commented on QPID-1731: -- Steve, I did see those warnings *on occasion* but didn't really have a good explanation for it. They appeared to be benign but feel free to raise a Jira for that if you like and I can investigate further at a lower priority. Yes, the broker was built with the changes. In fact, testing went against the built broker. Need to add a MS Visual Studio project to build qmf-agent - Key: QPID-1731 URL: https://issues.apache.org/jira/browse/QPID-1731 Project: Qpid Issue Type: Improvement Components: C++ Client Affects Versions: 0.5 Environment: Windows, VC9 Reporter: Steve Huston Assignee: Steve Huston Priority: Minor Fix For: 0.6 Attachments: qpid-1731.tar Pete MacKinnon reported in QPID-1673: There appears to be no MS project for the qmf-agent example in the branch. Was this intentional or an oversight? It hasn't yet been added for Windows. It should be. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org
[jira] Updated: (QPID-1731) Need to add a MS Visual Studio project to build qmf-agent
[ https://issues.apache.org/jira/browse/QPID-1731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pete MacKinnon updated QPID-1731: - Attachment: qpid-1731.tar Tar conatins following patches and additional files for adding support for the QMF agent on Posix and Windows: cpp/examples/qmf-agent/example.cpp.patch cpp/examples/qmf-agent/qmf_agent.sln cpp/examples/qmf-agent/qmf_agent.vcproj cpp/examples/qmf-agent/example_gen.mak cpp/src/Makefile.am.patch cpp/src/qmfagent.vcproj cpp/src/qpid.sln.patch cpp/src/qpid/QmfAgentImportExport.h cpp/src/qpid/sys/PipeHandle.h cpp/src/qpid/sys/posix/PipeHandle.cpp cpp/src/qpid/sys/windows/PipeHandle.cpp cpp/examples/README.patch cpp/src/common.vcproj.patch cpp/src/qpid/agent/ManagementAgent.h.patch cpp/src/qpid/agent/ManagementAgentImpl.h.patch cpp/src/qpid/agent/ManagementAgentImpl.cpp.patch Need to add a MS Visual Studio project to build qmf-agent - Key: QPID-1731 URL: https://issues.apache.org/jira/browse/QPID-1731 Project: Qpid Issue Type: Improvement Components: C++ Client Affects Versions: 0.5 Environment: Windows, VC9 Reporter: Steve Huston Assignee: Steve Huston Priority: Minor Fix For: 0.6 Attachments: qpid-1731.tar Pete MacKinnon reported in QPID-1673: There appears to be no MS project for the qmf-agent example in the branch. Was this intentional or an oversight? It hasn't yet been added for Windows. It should be. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org
[jira] Commented: (QPID-1731) Need to add a MS Visual Studio project to build qmf-agent
[ https://issues.apache.org/jira/browse/QPID-1731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12683585#action_12683585 ] Pete MacKinnon commented on QPID-1731: -- Steve, can you assign this to me? I have some patches I'd like to submit for the lib and example. \Pete Need to add a MS Visual Studio project to build qmf-agent - Key: QPID-1731 URL: https://issues.apache.org/jira/browse/QPID-1731 Project: Qpid Issue Type: Bug Components: C++ Client Environment: Windows, VC9 Reporter: Steve Huston Assignee: Steve Huston Priority: Minor Pete MacKinnon reported in QPID-1673: There appears to be no MS project for the qmf-agent example in the branch. Was this intentional or an oversight? It hasn't yet been added for Windows. It should be. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org
[jira] Created: (QPID-1733) Examples on Windows fail auth if run against Windows broker launched with defaults
Examples on Windows fail auth if run against Windows broker launched with defaults -- Key: QPID-1733 URL: https://issues.apache.org/jira/browse/QPID-1733 Project: Qpid Issue Type: Bug Components: C++ Broker Affects Versions: M5 Environment: Windows XP SP3 Visual C++ 9.0 Qpid trunk Reporter: Pete MacKinnon For example, snip\qpid\cpp\examples\qmf-consoleprintevents.exe 2009-mar-13 10:54:47 warning Broker closed connection: 320, connection-forced: Unsupported mechanism Tracing from the Windows broker: snip 2009-mar-13 11:13:47 info No message store configured, persistence is disabled. 2009-mar-13 11:13:47 info SASL enabled 2009-mar-13 11:13:47 notice Listening on TCP port 5672 2009-mar-13 11:13:47 notice Broker running 2009-mar-13 11:13:59 debug RECV [127.0.0.1:4094] INIT(0-10) 2009-mar-13 11:13:59 info SASL: Mechanism list: ANONYMOUS PLAIN 2009-mar-13 11:13:59 trace SENT 127.0.0.1:4094 INIT(0-10) 2009-mar-13 11:13:59 trace SENT [127.0.0.1:4094]: Frame[BEbe; channel=0; {ConnectionStartBody: server-properties={qpid.federation_tag:V2:36:str16(3cb5c19b-865d-4ebf-9d1a-9d7fb862ac35)}; mechanisms=str16{V2:9:str16(ANONYMOUS), V2:5:str16(PLAIN)}; locales=str16{V2:5:str16(en_US)}; }] 2009-mar-13 11:13:59 trace RECV [127.0.0.1:4094]: Frame[BEbe; channel=0; {ConnectionStartOkBody: client-properties={qpid.client_pid:F4:int32(672),qpid.client_ppid:F4:int32(0),qpid.client_process:V2:0:str16(),qpid.session_flow:F4:int32(1)};mechanism=; response=xx; locale=en_US; }] 2009-mar-13 11:13:59 info SASL: Starting authentication with mechanism: 2009-mar-13 11:13:59 debug Exception constructed: Unsupported mechanism 2009-mar-13 11:13:59 trace SENT [127.0.0.1:4094]: Frame[BEbe; channel=0; {ConnectionCloseBody: reply-code=320; reply-text=connection-forced: Unsupported mechanism; }] 2009-mar-13 11:13:59 debug DISCONNECTED [127.0.0.1:4094] 2009-mar-13 11:13:59 info Delete AsynchIO queued; ops in progress Workaround is to launch broker with --auth no -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org
[jira] Created: (QPID-1734) Garbled error messages on Windows example programs
Garbled error messages on Windows example programs -- Key: QPID-1734 URL: https://issues.apache.org/jira/browse/QPID-1734 Project: Qpid Issue Type: Bug Components: Qpid Examples Environment: Windows XP SP3 Visual C++ 9.0 Reporter: Pete MacKinnon Some of the example programs on Windows have garbled error messages returned from the Windows broker. For example, the following should be an auth error from the broker: C:\devel\redhat\mrg\qpid\qpid\cpp\examples\request-responseserver connec2t0i0o9n--mfaorr-c1e3d :1 1U:n1s3u:p5p9o rwteadr nmiencgh aBnrioskmer -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org