Commit Graph
551 Commits
Author SHA1 Message Date
andrea 1cd044ffda Minor change 2015-05-11 19:45:04 +02:00
andrea a4ef26b1a6 Doc change, added ref to Atomize Spin 2015-05-11 19:36:43 +02:00
andrea dcaf90e394 Minor change in main project page 2015-05-03 13:18:59 +02:00
andrea e6098e0cf5 Minor change in main project page 2015-05-03 13:18:26 +02:00
andrea 8822a7baf7 Minor change in main project page 2015-05-03 13:12:02 +02:00
andrea d60b4d7363 Changed netty acceptor to find JavaKeyStore from external path (no classpath as before) 2015-05-03 13:04:43 +02:00
andrea 9dc457125e Minor, removed old unused expeiment for hawtdb groovy scripts 2015-04-28 23:15:59 +02:00
andrea 9d8e9df44e Added handling of allow_anonymous, fix issue #34 2015-04-25 19:49:41 +02:00
andrea 966e6399f6 Fixes for bad home user MapDB file creation 2015-04-25 16:34:25 +02:00
andrea bd1b804026 Minor change, just added Changelog description 2015-04-08 23:25:52 +02:00
andrea 87ee72ad9d Fixed #30 bad remove of mapdb file in integration test (ServerRestartIntegrationTest) 2015-04-08 23:19:23 +02:00
andrea 546117253d Moved the default store path to project home (only for tests) 2015-04-07 07:51:44 +02:00
andrea 1a2dade994 Fixed issue #25 due to bad packetID generation 2015-04-07 04:29:00 +02:00
andrea 8574299ed5 Fixed typo 2015-04-07 04:28:13 +02:00
andrea 647773cd2e Fixed netty buff memory leak bug #27 2015-04-07 00:22:01 +02:00
andrea fc046003d5 Removed OSGi support 2015-04-06 23:37:29 +02:00
andrea d850262e6c Last OSGi try 2015-04-06 23:31:47 +02:00
andrea 94e0e3778e Minor change update link to mqtt spy 2015-03-18 22:04:15 +01:00
andrea 331244ddd2 Removed long Constants name refs 2015-03-15 16:45:11 +01:00
andrea 0aad3cbbf3 Fixed constructor of ConfigurationParser to do mergind of provided properties 2015-03-14 17:31:11 +01:00
swarwick 34c668714a More tests fixed up after path and constants changes 2015-03-14 16:38:45 +01:00
swarwick 9fa667845e Fixing the tests 2015-03-14 16:38:37 +01:00
swarwick d388ae01bb Allow the mapdb store to remain in memory
If the store path supplied is null or empty we will create an in memory
mapdb store.
2015-03-14 16:38:30 +01:00
swarwick d215ba8c8b More checking of the delete of the mapdb file
Lots of issues I guess with deleting temp files for mapdb
2015-03-14 16:38:22 +01:00
swarwick a661a94d80 Missed hard coded name replacement 2015-03-14 16:38:05 +01:00
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