summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
* remove incubator disclaimerCarl C. Trieloff2008-12-011-11/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@722165 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1243 : Applied patch from Robert Gemmell. Took a different approach ↵Martin Ritchie2008-11-2641-62/+433
| | | | | | for the linux binaries as the provided binaries requried a newer libc than I have. Also restored the qpidversion.properties file generation for this module that git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720931 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1487: remove dead files, make BindingURLParser use the right class for ↵Aidan Skinner2008-11-265-832/+1
| | | | | | logging since it was using one that is being removed. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720920 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1487: Make AMQDestination generate URLs with a destination set to the ↵Aidan Skinner2008-11-262-1/+43
| | | | | | routing key. Add a test for this. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720919 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1410 : Applied patch to correct coding stand from Andrea Gazzarini.Martin Ritchie2008-11-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720791 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1486 : Removed alert.log and ensured output goes to qpid.log by ↵Martin Ritchie2008-11-251-15/+1
| | | | | | default. Only broker startup info is shown on standard output. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720477 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1251 : Applied patch from JIRA (With correct code style). Augemented ↵Martin Ritchie2008-11-242-13/+87
| | | | | | ConnectionTest to correctly test for the special os.name = windows case. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720200 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1480 : Updated Simple Request Response code to loop on the shutdownHook ↵Martin Ritchie2008-11-241-7/+10
| | | | | | to ensure that it is zero before exit. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720183 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1480 : Updated Simple Request Response codeMartin Ritchie2008-11-242-12/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720181 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1451 : Excluded testBrowsingWithSelector until it is re-written correctly.Martin Ritchie2008-11-241-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720179 13f79535-47bb-0310-9956-ffa450edef68
* Appologies for the sudden checkin without notice, close to the release cycle.Rajith Muditha Attapattu2008-11-2116-379/+71
| | | | | | | Reverting the changes back. Will attach a patch and commit after the release. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@719657 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1479.Rajith Muditha Attapattu2008-11-2116-71/+379
| | | | | | | | | | | | | | | For starters I have changed the IoSender.java IoReceiver.java and AMQSession.java#Dispatcher to use the Thread factory to create the threads they require. The ThreadFactory has two implimentations, the default being the java.lang.Threads. The other is the RealtimeThreadFactory which uses reflection to create threads with a specific priority. -Dqpid.thread_factory=<thread_factory_class> will decide which thread factory should be loaded. -Dqpid.rt_thread_priority=<int> specifies the gloabl real time thread priority and defaults to 20. You could also set individual thread priorities by adding the nessacery config+code changes. I have also changed the Testkit and QpidBench to use the Thread factory so you could use them for testing/benchmarking work on RT JVMs. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@719628 13f79535-47bb-0310-9956-ffa450edef68
* Added a script to startup QMan in standalone mode.Rajith Muditha Attapattu2008-11-216-2/+73
| | | | | | | | Added a man page, and a log4j file. Modified the Configurator.java to throw an exception if it is unable to load the config file. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@719462 13f79535-47bb-0310-9956-ffa450edef68
* Moved the qman-config.xml into the etc folder so the build system would pick ↵Rajith Muditha Attapattu2008-11-201-0/+0
| | | | | | it up and put in the build/etc folder git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@719154 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1463: Andrea's patchesArnaud Simon2008-11-196-0/+264
| | | | | | | - Added 6 data types (Int8, Int16, Int32, Int64, Double and Float); git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@718957 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1463: Andrea's patchesArnaud Simon2008-11-1946-474/+869
| | | | | | | | | | | | | - Added read / write methods on org.apache.qpid.transport.codec.Encoder / org.apache.qpid.transport.codec.Decoder; - Added the corresponding implementation on org.apache.qpid.transport.codec.BBEncoder / org.apache.qpid.transport.codec.BBDecoder - Added comments on org.apache.qpid.transport.codec.Encoder / org.apache.qpid.transport.codec.Decoder; - Removed org.apache.qpid.transport.codec.ManagementEncoder / org.apache.qpid.transport.codec.ManagementDecoder. - Added 6 data types (Int8, Int16, Int32, Int64, Double and Float); - Added type mappings with the data types above according to management specifications; - Removed all references to ManagementEncoder / Decoder classes; Now Qman is using (whenever is possible) Decoder / Encoder and when some specific method is needed then the BBDecoder / BBEncoder is used. - Some test case adjustment; git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@718949 13f79535-47bb-0310-9956-ffa450edef68
* Reverted log4j changeMartin Ritchie2008-11-181-34/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@718555 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1454 : Synchronize round the setting and usage of _failoverLatch, with ↵Martin Ritchie2008-11-181-3/+12
| | | | | | a new lock. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@718554 13f79535-47bb-0310-9956-ffa450edef68
* updated version numbers and release notes for M4Rafael H. Schloming2008-11-157-17/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@714267 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1453 : Removed loops from scriptMartin Ritchie2008-11-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@713020 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1439 : Revert change but add ability to track what test started the ↵Martin Ritchie2008-11-073-6/+2
| | | | | | broker to aid in problem diagnosis git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@712206 13f79535-47bb-0310-9956-ffa450edef68
* QPID-961 fix for attempt not set back to 0 before forcequit loop, ↵Marnie McCormack2008-11-071-1/+2
| | | | | | highlighted by failure to stop on cc box git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@712126 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1439 : Updates to ensure we maintain the log files from each external ↵Martin Ritchie2008-11-073-3/+12
| | | | | | Java broker test run. The C++ log directory could do with a similar setup change. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@712110 13f79535-47bb-0310-9956-ffa450edef68
* Update log4j to be more usefulMartin Ritchie2008-11-071-8/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@712109 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1425 : Upping the timeout to ensure that the failures we are ↵Robert Godfrey2008-11-071-1/+1
| | | | | | occaisionally seeing on this test are not soley due to timing related issues. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@712105 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1430: *ahem* better fix for NPE on connection closeRafael H. Schloming2008-11-061-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711939 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1434 : Changed rethrow() name based on feedback from RobMartin Ritchie2008-11-063-46/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711848 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1431 : Prevent listeners being added to _frameListeners when an ↵Martin Ritchie2008-11-064-13/+739
| | | | | | exception state has occured due to connection closure. This adds additional synchronisation to the error handling condition. It also removes the need for a CopyOnWriteArrayList that was perhaps the wrong data structure for this list. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711822 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1434 : Add ability to rethrow AMQExceptionsMartin Ritchie2008-11-061-0/+128
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711820 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1434 : Add ability to rethrow AMQExceptionsMartin Ritchie2008-11-061-0/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711818 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1326Rajith Muditha Attapattu2008-11-051-0/+4
| | | | | | | | If a transport is specified and if "//" is missing from the URL, an error will be thrown. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711740 13f79535-47bb-0310-9956-ffa450edef68
* This check in is related to QPID-1296Rajith Muditha Attapattu2008-11-045-52/+469
| | | | | | | | | Since SSLSocket didn't support shutdownInput method, I added an SSL layer on top of the TCP transport. The SSL layer uses the SSLEngine class introduced in java 1.5. This Layer can be used with minimum code changes to the the nio transport as well. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711455 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1430: fixed an NPE on connection closeRafael H. Schloming2008-11-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711377 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1384: Changed for storing UTF8 Strings in filesArnaud Simon2008-11-033-4/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@710075 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1411: Applied Andrea's patch; added config file sample Arnaud Simon2008-10-3141-983/+819
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@709374 13f79535-47bb-0310-9956-ffa450edef68
* qpid-1422: renamed qmanServlet.war into qman.warArnaud Simon2008-10-311-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@709371 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1420: swapped out the size limited ArrayBlockingQueue with a ↵Rafael H. Schloming2008-10-301-3/+4
| | | | | | LinkedBlockingQueue, this eliminates the need to coordinate the size of the synchronousQueue with the max prefetch, and hopefully prevents the deadlock described in the JIRA git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@709244 13f79535-47bb-0310-9956-ffa450edef68
* QPID-961 Nasty change to introduce a process name at the start of the broker ↵Marnie McCormack2008-10-301-1/+7
| | | | | | command string to make killing it work on all platforms, and avoid killing client processes. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@709200 13f79535-47bb-0310-9956-ffa450edef68
* QPID-961 Changes to qpid stop scripts to make them work on solaris and linux ↵Marnie McCormack2008-10-302-99/+92
| | | | | | and also clean up to simplify. qpid.stopall now just passes through to qpid.stop rather than go back & forth between scripts. Only retained it in case we have users currently dependent on it. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@709199 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1410: Applied Andrea's patch Arnaud Simon2008-10-291-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@708918 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1409: (Andrea patch) solved class cast issue between Int and Long Arnaud Simon2008-10-297-18/+73
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@708895 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1401:added missing QManServlet.javaArnaud Simon2008-10-282-1/+66
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@708576 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1401:added web.xml that was missing from the previous commitArnaud Simon2008-10-281-0/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@708567 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1401: added qman servlet + updated build script for building the servlet.Arnaud Simon2008-10-285-6/+48
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@708563 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1339:Rafael H. Schloming2008-10-2724-224/+473
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Modified QpidTestCase to start/stop multiple brokers for failover testing. - Modified QpidTestCase to substitute port variables into broker start/stop commands. - Modified test profiles to use the new port variables. - Modified QpidTestCase to permit multiple exclude files. - Modified test profiles to make use of a common exclude list: ExcludeList - Added ConnectionTest.testResumeEmptyReplayBuffer. - Made default exception handling for Connection and Session log the exception. - Added SenderExcetion to specifically signal problems with transmitting connection data. - Modified Session to catch and deal with connection send failures for sessions with positive expiry. - Modified FailoverBaseCase to work for non VM brokers. - Made FailoverTest fail if failover times out. - Modified JMS implementation to make use of the recently added low level session resume. - Unexcluded failover tests from 0-10 test profiles. - Excluded MultipleJCAProviderRegistrationTest due to its testing strategy resulting in spurious failure when running as part of the larger test suite. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@708093 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1378 - updated method reply to use str16 encodingTed Ross2008-10-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707720 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1394 : Renamed file, that was miss named, to end in Test so that it is ↵Martin Ritchie2008-10-241-1/+1
| | | | | | picked up by the test phase. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707695 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1394 : Added test to validate that Provider is registered after ↵Martin Ritchie2008-10-241-0/+101
| | | | | | connection is created and logging to highlight if we are unable to register our client connections. We do not need to unregister our clients as the same providers are used for all new connections. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707692 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1394 : Added test to validate that Provider is registered after ↵Martin Ritchie2008-10-241-2/+8
| | | | | | connection is created and logging to highlight if we are unable to register our client connections. We do not need to unregister our clients as the same providers are used for all new connections. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707691 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1390 : Added test to validate that new SASL providers are unregistered ↵Martin Ritchie2008-10-241-0/+120
| | | | | | by the broker on ApplicationRegistry shutdown git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707678 13f79535-47bb-0310-9956-ffa450edef68