summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* adjust category pairing list to get avoid Undefined log entriesqpid-3902Charles E. Rolke2012-06-051-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3902@1346550 13f79535-47bb-0310-9956-ffa450edef68
* Get rid of macro-based comparisons and do same work with a class.Charles E. Rolke2012-06-042-58/+76
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3902@1346076 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3902 Add formal message categories to C++ Broker log messagesCharles E. Rolke2012-05-179-22/+271
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Facilities are defined to issue a log message of any category from source module. Log messages issued with QPID_LOG macro are compiled to use the Undefined category. This checkin version uses a lookup to autogenerate a category for Undefined log messages. In practice a 'qpidd -t' trace of a connection appears as shown. 2012-05-17 16:01:37 [IO] info Listening to: 0.0.0.0:5672 2012-05-17 16:01:37 [IO] debug Listened to: 5672 2012-05-17 16:01:37 [IO] info Listening to: [::]:5672 2012-05-17 16:01:37 [IO] debug Listened to: 5672 2012-05-17 16:01:37 [IO] notice Listening on TCP/TCP6 port 5672 2012-05-17 16:01:37 [Management] debug ManagementAgent added package org.apache.qpid.acl 2012-05-17 16:01:37 [Management] debug SEND PackageInd package=org.apache.qpid.acl to=schema.package 2012-05-17 16:01:37 [Management] debug ManagementAgent added class org.apache.qpid.acl:acl 2012-05-17 16:01:37 [Management] debug ManagementAgent added class org.apache.qpid.acl:allow 2012-05-17 16:01:37 [Management] debug ManagementAgent added class org.apache.qpid.acl:deny 2012-05-17 16:01:37 [Management] debug ManagementAgent added class org.apache.qpid.acl:connectionDeny 2012-05-17 16:01:37 [Management] debug ManagementAgent added class org.apache.qpid.acl:fileLoaded 2012-05-17 16:01:37 [Management] debug ManagementAgent added class org.apache.qpid.acl:fileLoadFailed 2012-05-17 16:01:37 [Management] debug Management object (V1) added: org.apache.qpid.acl:acl:org.apache.qpid.broker:broker:amqp-broker 2012-05-17 16:01:37 [Security] notice ACL: Read file "/home/chug/svn/qpid/cpp/src/tests/policy.acl" 2012-05-17 16:01:37 [Security] debug ACL: Group list: 0 groups found: 2012-05-17 16:01:37 [Security] debug ACL: name list: 1 names found: 2012-05-17 16:01:37 [Security] debug ACL: * 2012-05-17 16:01:37 [Security] debug ACL: Rule list: 1 ACL rules found: 2012-05-17 16:01:37 [Security] debug ACL: 1 allow [*] * 2012-05-17 16:01:37 [Security] debug ACL: Load Rules 2012-05-17 16:01:37 [Security] debug ACL: Processing 1 allow [*] * 2012-05-17 16:01:37 [Security] debug ACL: FoundMode allow 2012-05-17 16:01:37 [Management] debug SEND raiseEvent (v1) class=org.apache.qpid.acl.fileLoaded 2012-05-17 16:01:37 [Management] debug SEND raiseEvent (v2) class=org.apache.qpid.acl.fileLoaded 2012-05-17 16:01:37 [Security] info ACL Plugin loaded 2012-05-17 16:01:37 [Broker] notice Broker running 2012-05-17 16:01:42 [IO] debug RECV [[::1]:5672-[::1]:53468]: INIT(0-10) 2012-05-17 16:01:42 [Security] debug SASL: No Authentication Performed 2012-05-17 16:01:42 [Broker] debug LinkRegistry::notifyConnection(); key=[::1]:5672-[::1]:53468 2012-05-17 16:01:42 [Security] trace ACL ConnectionCounter connection IP:[::1]:5672-[::1]:53468, userId: 2012-05-17 16:01:42 [Management] debug Management object (V1) added: org.apache.qpid.broker:connection:[::1]:5672-[::1]:53468 2012-05-17 16:01:42 [Amqp] trace SENT [[::1]:5672-[::1]:53468]: INIT(0-10) 2012-05-17 16:01:42 [Amqp] trace SENT [[::1]:5672-[::1]:53468]: Frame[BEbe; channel=0; {ConnectionStartBody: server-properties={qpid.federation_tag:V2:36:str16(5787d304-441c-4266-9702-11ecc9a521bc)}; mechanisms=str16{V2:9:str16(ANONYMOUS), V2:5:str16(PLAIN)}; locales=str16{V2:5:str16(en_US)}; }] 2012-05-17 16:01:42 [Amqp] trace RECV [[::1]:5672-[::1]:53468]: Frame[BEbe; channel=0; {ConnectionStartOkBody: client-properties={platform:V2:5:str16(posix),product:V2:18:str16(qpid python client),qpid.client_pid:F8:int64(28802),qpid.client_ppid:F8:int64(1994),qpid.client_process:V2:9:str16(qpid-tool),version:V2:11:str16(development)}; mechanism=ANONYMOUS; }] 2012-05-17 16:01:42 [Management] debug SEND raiseEvent (v1) class=org.apache.qpid.broker.clientConnect 2012-05-17 16:01:42 [Management] debug SEND raiseEvent (v2) class=org.apache.qpid.broker.clientConnect 2012-05-17 16:01:42 [Amqp] trace SENT [[::1]:5672-[::1]:53468]: Frame[BEbe; channel=0; {ConnectionTuneBody: channel-max=32767; max-frame-size=65535; heartbeat-min=0; heartbeat-max=120; }] 2012-05-17 16:01:42 [Amqp] trace RECV [[::1]:5672-[::1]:53468]: Frame[BEbe; channel=0; {ConnectionTuneOkBody: }] 2012-05-17 16:01:42 [Amqp] trace RECV [[::1]:5672-[::1]:53468]: Frame[BEbe; channel=0; {ConnectionOpenBody: }] 2012-05-17 16:01:42 [Security] trace ACL ConnectionCounter Opened IP:[::1]:5672-[::1]:53468, userId:anonymous 2012-05-17 16:01:42 [Amqp] trace SENT [[::1]:5672-[::1]:53468]: Frame[BEbe; channel=0; {ConnectionOpenOkBody: known-hosts=str16{V2:49:str16(amqp:tcp:10.16.185.91:5672,tcp:192.168.122.1:5672)}; }] 2012-05-17 16:01:42 [Amqp] trace RECV [[::1]:5672-[::1]:53468]: Frame[BEbe; channel=1; {SessionAttachBody: name=ummmm.28802.1; }] 2012-05-17 16:01:42 [Broker] debug SessionState::SessionState anonymous.ummmm.28802.1: 0x7ffff0044960 2012-05-17 16:01:42 [Management] debug Management object (V1) added: org.apache.qpid.broker:session:ummmm.28802.1 2012-05-17 16:01:42 [Broker] debug anonymous.ummmm.28802.1: attached on broker. 2012-05-17 16:01:42 [Amqp] debug Attached channel 1 to anonymous.ummmm.28802.1 2012-05-17 16:01:42 [Broker] debug anonymous.ummmm.28802.1: ready to send, activating output. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3902@1339836 13f79535-47bb-0310-9956-ffa450edef68
* branch for logging category workCharles E. Rolke2012-05-170-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3902@1339812 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4006: exclude systests until updated to account for the paths found in ↵Robert Gemmell2012-05-171-0/+3
| | | | | | the ASF Jenkins test matrix workspaces git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339789 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA failover test, increase timeout to avoid false failures.Alan Conway2012-05-171-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339757 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4006: add support for using BDB HA to form an active-passive cluster ↵Robert Gemmell2012-05-1770-725/+3153
| | | | | | | | | | | for persistent messaging - Includes support for setting BDB configuration parameters via the store configuration, both for the existing store and the new HA variant. - Removes the MessageStoreFactory and reverts store configuration to historical values. Applied patch from Keith Wall, Andrew MacBean <andymacbean@gmail.com>, Oleksandr Rudyy <orudyy@gmail.com>, Philip Harvey <phil@philharveyonline.com>, and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339728 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4005: Eliminate "using" especially "using namespace" from header fileAndrew Stitcher2012-05-171-0/+2
| | | | | | - Fix windows breakage git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339696 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3997 : [Java Broker] add ability to configure multiple ↵Robert Godfrey2012-05-1715-42/+781
| | | | | | Authenticationmanagers and map different AuthenticationManagers to different ports git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339578 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4005: Eliminate "using" especially "using namespace" from header fileAndrew Stitcher2012-05-1631-31/+61
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339403 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed unused FileAndrew Stitcher2012-05-162-71/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339359 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4004: Cruft in qpid::framing::Buffer class should be removedAndrew Stitcher2012-05-167-64/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339358 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA don't replicate excluseive, auto-delete, non-timeout queues.Alan Conway2012-05-163-15/+53
| | | | | | | | | Such queues don't need to be replicated because they are destroyed when as the owning session disconnects, so won't survive a failover. This eliminsates managment subscriptio queues from replication. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339268 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603 HA broker backup/primary ready checks. Repair r1338889 for Windows.Charles E. Rolke2012-05-162-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339204 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3997 : [Java Broker] Refactor code to make all calls to ↵Robert Godfrey2012-05-1613-25/+82
| | | | | | | | getAuthenticationManager() pass in local socket address (note that this commit does not actually implement per socket authentication managers) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1339146 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: reuse the properties from build.deps, remove duplication in ↵Robert Gemmell2012-05-151-16/+3
| | | | | | build.xml file git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338951 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA rename "promoting" to "recovering"Alan Conway2012-05-156-15/+15
| | | | | | Better term, a broker in failover recovers to become the primary, hence recovering. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338898 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA remove backup Replicator code to track unready queues.Alan Conway2012-05-159-64/+24
| | | | | | Tracking readiness will be done on the primary with qmf notification to backup. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338894 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Test fixes to ha_tests.pyAlan Conway2012-05-152-44/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338893 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Fix inconsistent use of bridge-name and queue-name for bridge ↵Alan Conway2012-05-151-1/+1
| | | | | | sessions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338892 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA backup brokers don't connect to self when searching for primary.Alan Conway2012-05-155-14/+32
| | | | | | Also: BrokerReplicator destroys bridge in destructor. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338891 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA primary marks ReplicatingSubscription ready immediately if ↵Alan Conway2012-05-156-106/+123
| | | | | | queue is empty. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338890 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: HA broker backup/primary ready checks.Alan Conway2012-05-1530-393/+1065
| | | | | | | | | | | | | | | | | - Introduce HA broker state machien - Inform backup queues when ready. - Incomplete implementation of backup ready check. - does not count correctly after a failover, see countUnready. - Existing replicator bridges updated out of sync with BrokerReplicator initialize. - Does not handle multi-messages responses. - Newly promoted HA primary waits for backups to be ready before accepting clients. - Uniform log prefixes for HA messages. - qpid-ha tests, call qpid-ha python code directly. - Move excluder from Backup to HaBroker, it is also used in PROMOTING. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338889 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3996 : [Java Broker] update BDB depency to latest versionRobert Godfrey2012-05-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338884 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3996 : [Java Broker] update BDB depency to latest versionRobert Godfrey2012-05-153-7/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338878 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3994: add missed dep to the -Doptional=true switchRobert Gemmell2012-05-151-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338718 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA : Updates to Apache registered AMQP 1.0 filtersRobert Godfrey2012-05-151-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338694 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA : Updates to Apache registered AMQP 1.0 filtersRobert Godfrey2012-05-150-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338691 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA : Updates to Apache registered AMQP 1.0 filtersRobert Godfrey2012-05-151-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338672 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3994: add ability to specify -Doptional=true to enable all optional ↵Robert Gemmell2012-05-144-2/+12
| | | | | | modules and download of optional dependencies git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338428 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3994: add properties for libraries used only in the buildRobert Gemmell2012-05-143-6/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338426 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3990:Weston M. Price2012-05-141-4/+5
| | | | | | *Fixed inefficient and unnecessary log entry in XAResourceImpl.javal git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338369 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Reduce message for missing lock file from critical to notice.Alan Conway2012-05-142-3/+9
| | | | | | | | If qpidd -q can't find the lock file, it used to issue a critical error message. This is to harsh, not finding the lock file usually just means the broker isn't running. Demoted to a notice message. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338365 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix bug in RangeSet when insterting a range that covers multiple ↵Alan Conway2012-05-142-69/+75
| | | | | | | | ranges. See new tests added to tests/RangeSet.cpp testRangeSetAddRange git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338364 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3990: Multiple XAResources isSameRM behaviorWeston M. Price2012-05-146-41/+247
| | | | | | | | | *Track XAResource siblings in start/end methods *Added AMQXAResource interface *Added systemtest for new XAResource behavior *Refactored XAResourceTest to extend AbstractXATest git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338355 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Add finalizer for HaPlugin, fix hang on exit not responding to ↵Alan Conway2012-05-141-2/+9
| | | | | | kill -TERM. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338264 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Java Perftests - correct JAR name for JFreeCommonKeith Wall2012-05-141-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338187 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3986 : [Java Broker] Fix typo/bug for low threshold > high threshold caseRobert Godfrey2012-05-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338138 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3994: add property for bnd jar locationRobert Gemmell2012-05-142-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338060 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3994: trivial changes to the build.xml files to aid people regenerating ↵Robert Gemmell2012-05-1318-16/+15
| | | | | | their Eclipse project files using Ant Eclipse following the Ivy related changes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1337925 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3971: resolve CI failure (hopefully), make misc test improvementsRobert Gemmell2012-05-132-69/+58
| | | | | | | | | | | - Use File.createTempFile to target the tmp dir, hopefully resolving the CI failure, ensure it is deleted even if the test subsequently fails. - Use QpidTestCase system property handling, ensuring modified properties are unset/restored to prior values following the test. - Move the properties used in the test internally as opposed to loading from another file. - Verify the values returned from the loaded Context are as expected an not only non-null. - Remove unused imports, fields. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1337871 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3994: update the optional download of Cobertura to be performed using IvyRobert Gemmell2012-05-133-36/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1337869 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3971:PropertiesFileInitialContextFactory cannot open file URIWeston M. Price2012-05-131-1/+0
| | | | | | | | *Fixed issue with unit test and temp file *Cleaned up PropertiesFileInitialContext getInitialContext() method git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1337830 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3994: add support for optionally retrieving FindBugs using IvyWeston M. Price2012-05-132-35/+51
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1337829 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3994: add support for optionally retrieving FindBugs using IvyRobert Gemmell2012-05-125-42/+54
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1337590 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3994: move the deps for the optional charting module over to being ↵Robert Gemmell2012-05-125-17/+44
| | | | | | retrieved using Ivy git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1337589 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3994: use Ivy to download the main component dependencies during the ↵Robert Gemmell2012-05-1142-147/+253
| | | | | | build, and the optional bdb-je dependency on request, enabling removal of the main component dependencies from the repository and the 'source release' artifacts. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1337211 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3993 : NPE on continuation transfers with no deliveryIdRobert Godfrey2012-05-112-4/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1337130 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3979: [Java Broker] Conflation queuesKeith Wall2012-05-112-141/+335
| | | | | | | | | | Fix bug with checking of head() within the loop that would have prevented a queue entry from being conflated. Refactor code introducing more special Queue Entry to represent the corner cases. Added systest that exercises a conflation queue with multiple producers/single consumer. Applied patch by Phil Harvey <phil@philharveyonline.com>, and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1337094 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3979: [Java Broker] Conflation queues: guard NPE identified by review ↵Keith Wall2012-05-091-5/+12
| | | | | | feedback. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1336295 13f79535-47bb-0310-9956-ffa450edef68