Commit Graph
21 Commits
Author SHA1 Message Date
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 a3d505dd97 Switched MapDB to version 2.0.0-SNAPSHOT 2015-01-27 00:15:44 +01:00
andrea aac84677e4 Parameterized source and target platform 2014-12-02 22:18:24 +01:00
andrea e4e5e7c681 Parameterized pom's netty version 2014-12-02 21:57:00 +01:00
andrea 263b59dae2 Added a script to check 2 clients with same ID fails 2014-11-30 18:28:37 +01:00
andrea 7bcd437664 Changed package from org.dna.mqtt to orga.eclipse.moquette 2014-10-05 13:22:30 +02:00
andrea a599c38537 Moved parser_commons submodule to org.eclipse.moquette 2014-10-05 10:53:45 +02:00
selva.andre fa5b953010 Minor changes on log defs 2014-09-30 21:13:43 +02:00
selva.andre 2e4e060b46 Upgraded from disruptor 2.7.3 to 3.3.0 2014-09-18 22:18:19 +02:00
selva.andre d581db23f8 Fixed error in NoClassFoundError due to bad import into MapDB, switched to 1.1.0 (include DynamicImport OSGi 2014-09-08 15:47:07 +02:00
selva.andre f3e6b71e09 Dropped HawtDB persistence 2014-09-01 22:06:27 +02:00
selva.andre c79f2d0a96 Started 0.7 development cycle 2014-07-12 18:22:54 +02:00
selva.andre aa24b19d2b Bumped release 0.6 2014-07-12 16:30:13 +02:00
selva.andre 6e360bef93 Moved slf4j-log4j deps out of broker (and also log4j.properties) to let the broker easyli embedded using container provided logging confgiuration 2014-07-12 13:41:47 +02:00
selva.andre 666cc29d47 Added copyright and license notice to every source file, added about.html and license.htl 2014-06-11 23:40:19 +02:00
selva.andre 0bbe719f16 Updated the pax-runner to fix issue #40 2014-06-11 23:00:05 +02:00
selva.andre c23147185e Minor added netty http codec also to OSGi bundle 2014-06-08 12:24:31 +02:00
selva.andre 4d2bf38a66 Bumped 0.6-SNAPSHOT development cycle 2014-04-02 18:51:12 +02:00
selva.andre 1897154cfd Bumped release 0.5 2014-03-05 19:37:43 +01:00
selva.andre 95d276f7a0 Splitted the OSGi bundle creation from the broker jar to let the broker be executable also outside of a container 2014-02-08 17:59:36 +01:00