Commit Graph
1126 Commits
Author SHA1 Message Date
swarwick d7f2493811 Moving hard coded strings to constants
Adding more hard coded strings to the constants.  I am not really sure
why there are 2 constants java classes either.
2015-03-14 16:37:55 +01:00
swarwick 6cc5b0edb9 Update for default configs
Update to allow for default config properties if some are not specified
with the start server and properties passed in.  Updated the tests to
match and also moved a few more things into the Constants.java file.
2015-03-14 16:37:41 +01:00
swarwick 8aad95525c Removing file that shouldn't be committed. 2015-03-14 16:37:30 +01:00
swarwick ea4b5b057a Updated tests for persistent store change
Updated tests for persistent store change
2015-03-14 16:37:19 +01:00
swarwick 8943445efa Update to allow for persistent store to be specified in the config
Update to allow for persistent store to be specified in the config
2015-03-14 16:37:09 +01:00
andrea 4195b0d62c Fixed issue #16 publish of will message with qos > 0 2015-03-11 23:22:57 +01:00
andrea a94cfe92d3 Merge branch 'master' of github.com:andsel/moquette 2015-03-11 07:35:28 +01:00
andrea 85d8f1c0d5 Updated changelog 2015-03-11 07:35:01 +01:00
andrea bf3fcadd28 Removed unused abstract key sessions (it's bound to Netty at the end, so hasn't sense 2015-03-10 23:06:37 +01:00
andrea 715937a394 Implemented packetID generation for QoS 1,2 2015-03-10 22:52:08 +01:00
Andrea Selva 262b712d5b Fixed readme 2015-03-07 19:23:04 +01:00
Andrea Selva a8d60ab38a Added travi CI link in main page 2015-03-07 19:16:40 +01:00
andrea d271e23f99 Added travis CI config 2015-03-07 19:11:42 +01:00
Andrea Selva 65e3e77a59 Merge pull request #17 from maggu2810/osgi-bundle-pax-provision-cfg
OSGi bundle pax provision cfg
2015-03-07 18:52:57 +01:00
Markus Rathgeb c5b3bb05dd fix typo in readme
Signed-off-by: Markus Rathgeb <[email protected]>
2015-03-06 14:19:20 +01:00
Markus Rathgeb 5267ef0fb7 add sun.misc.Unsafe
Auto-properties start: file:bundles/slf4j.log4j12_1.7.5.jar (org.osgi.framework.BundleException: Fragment bundles can not be started.)
log4j:WARN No appenders could be found for logger (org.eclipse.moquette.server.Server).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
ERROR: Bundle org.eclipse.moquette.bundle [5] Error starting file:bundles/org.eclipse.moquette.bundle_0.7.0.SNAPSHOT.jar (org.osgi.framework.BundleException: Activator start error in bundle org.eclipse.moquette.bundle [5].)
java.lang.NoClassDefFoundError: sun/misc/Unsafe
        at com.lmax.disruptor.util.Util$1.run(Util.java:102)
        at com.lmax.disruptor.util.Util$1.run(Util.java:99)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.lmax.disruptor.util.Util.<clinit>(Util.java:108)
        at com.lmax.disruptor.RingBufferFields.<clinit>(RingBuffer.java:34)
        at com.lmax.disruptor.dsl.Disruptor.<init>(Disruptor.java:70)
        at org.eclipse.moquette.spi.impl.SimpleMessaging.init(SimpleMessaging.java:88)
        at org.eclipse.moquette.server.Server.startServer(Server.java:90)
        at org.eclipse.moquette.server.Server.startServer(Server.java:76)
        at org.eclipse.moquette.server.Server.startServer(Server.java:59)
        at org.eclipse.moquette.bundle.Activator.start(Activator.java:37)
        at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:645)
        at org.apache.felix.framework.Felix.activateBundle(Felix.java:2154)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2072)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1299)
        at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: sun.misc.Unsafe not found by org.eclipse.moquette.bundle [5]
        at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1556)
        at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:77)
        at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1993)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        ... 17 more
ERROR: Bundle com.lmax.disruptor [6] Error starting file:bundles/com.lmax.disruptor_3.3.0.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle com.lmax.disruptor [6]: Unable to resolve 6.0: missing requirement [6.0] osgi.wiring.package; (osgi.wiring.package=sun.misc))
org.osgi.framework.BundleException: Unresolved constraint in bundle com.lmax.disruptor [6]: Unable to resolve 6.0: missing requirement [6.0] osgi.wiring.package; (osgi.wiring.package=sun.misc)
        at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2045)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1299)
        at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
        at java.lang.Thread.run(Thread.java:745)

Signed-off-by: Markus Rathgeb <[email protected]>
2015-03-06 14:15:14 +01:00
Markus Rathgeb 56eea049e6 wrap HdrHistogram
Wrap non-bundle artifact HdrHistogram so the moquette bundle could be
resolved.

[WARNING] Skipping non-bundle artifact org.hdrhistogram:HdrHistogram:jar:2.1.4:compile

Auto-properties start: file:bundles/slf4j.log4j12_1.7.5.jar (org.osgi.framework.BundleException: Fragment bundles can not be started.)
ERROR: Bundle org.eclipse.moquette.bundle [4] Error starting file:bundles/org.eclipse.moquette.bundle_0.7.0.SNAPSHOT.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.eclipse.moquette.bundle [4]: Unable to resolve 4.0: missing requirement [4.0] osgi.wiring.package; (osgi.wiring.package=org.HdrHistogram))
org.osgi.framework.BundleException: Unresolved constraint in bundle org.eclipse.moquette.bundle [4]: Unable to resolve 4.0: missing requirement [4.0] osgi.wiring.package; (osgi.wiring.package=org.HdrHistogram)
        at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2045)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1299)
        at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
        at java.lang.Thread.run(Thread.java:745)

Signed-off-by: Markus Rathgeb <[email protected]>
2015-03-06 14:11:35 +01:00
andrea 4baf407657 Integrated by hand part of the pull request #13 'fix pom and clean deprecated class and add bat file to windows' 2015-03-04 22:40:56 +01:00
andrea 443682f24f Removed Kaazing plugin from integration tests phase 2015-03-04 00:31:48 +01:00
andrea f5f9b793c4 Removed old kaazinf robot sripts 2015-03-04 00:27:21 +01:00
andrea 528c263930 Moved integration raw test from Kaazing robot to an internal Java DSL 2015-03-04 00:26:09 +01:00
andrea 50e1005b29 Added moquette.processor.benchmark sys property to enable/disable processor performance recording 2015-03-02 23:11:09 +01:00
andrea 24845e6077 Parameteried the topics used for benchmark tests 2015-02-24 23:38:05 +01:00
andrea 3ea9e3f6e0 Added measuer of latency to server side 2015-02-24 23:38:05 +01:00
andrea fb39e64417 Added TCP_NODELAY to the socket 2015-02-24 23:38:04 +01:00
Andrea Selva 08506617b6 Update README.md 2015-02-21 21:56:09 +01:00
andrea f6b044ebdd Added speed control and latency measure to fuse_asynch_publisher/subscriber 2015-02-14 18:28:36 +01:00
andrea 1bc2fe75ed Reworked mqtt asynch client to be more imperatve and less 'nested functional' 2015-02-11 23:09:47 +01:00
andrea bbe1acb143 Fixed issue #15 defined repositories into parent pom 2015-02-10 22:24:31 +01:00
andrea 4b836b441c Marked oss snapshot repo as a snapshot repository 2015-02-10 22:03:12 +01:00
andrea c30e053ab1 Removed moved files 2015-02-05 21:09:42 +01:00
andrea fffa9afbfa Divided integration and benchmark scripts 2015-02-05 21:08:18 +01:00
andrea d731fddaf1 Added mqtt pub/sub synch(Paho lib) Future based and Callback/continuation based (Fuse lib) 2015-02-05 20:57:56 +01:00
andrea 9562f56a3a Fixed issue #3, avoid hung up of broker on any message processing error 2015-01-31 12:19:50 +01:00
andrea 97dd07e1d4 Minor change, updated ChangeLog 2015-01-31 10:52:22 +01:00
andrea 155daa0335 Change null check to empty lists 2015-01-30 00:53:51 +01:00
andrea aa79fe3145 Renamed session store management methods 2015-01-30 00:28:01 +01:00
andrea b56d94d0bf Fixed failing test 2015-01-30 00:27:44 +01:00
andrea a3d505dd97 Switched MapDB to version 2.0.0-SNAPSHOT 2015-01-27 00:15:44 +01:00
andrea 72c8445693 Fixed issue #12, missed remove of already published retained messages 2015-01-27 00:15:14 +01:00
andrea 5fe9554965 Added test scripts to check issue4, but issue4 is not reproducible 2015-01-24 12:16:28 +01:00
andrea 95107e1624 Relaxed constraint on clientID length #11 2015-01-15 20:52:40 +01:00
andrea 1e63652d32 Fixed serious bug of client descriptor drop on connectionLost event for antoher client with sae ID (bug notified on email by ZhiPeng Yang) 2015-01-10 17:53:31 +01:00
andrea 6bde0e7c9b Added script to simulate a bug (double client decription removal) 2014-12-28 18:08:43 +01:00
andrea 405f800908 Minor change, removed debug println 2014-12-28 17:27:49 +01:00
andrea 62edfd19f9 Fixed issue #5 and websocket implementation in general 2014-12-28 17:13:55 +01:00
andrea 176ebf9409 Minor change, lowered a log 2014-12-06 18:41:49 +01:00
andrea 275d63de18 Fixes #2, due to bad path of ConnectionIT during renaming from org.dna mqtt to org.eclipse.moquette 2014-12-06 18:38:53 +01:00
andrea 11c6c89c7d Minor change, relayout xml 2014-12-06 18:01:19 +01:00
andrea e6dba99aa8 Minor change, improved logging info 2014-12-06 17:56:54 +01:00