Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Problem Running HazelCast
Problem Running HazelCast [message #549094] Sat, 24 July 2010 09:55 Go to next message
No real name is currently offline No real name
Messages: 4
Registered: July 2010
Junior Member
I have a strange problem trying to use hazelcast in Virgo.
When deploying the Hazelcast bundle everything works out find, but when is deploy a bundle using classes from Hazelcast I get the following error:


Caused by: org.eclipse.virgo.kernel.osgi.framework.ExtendedNoClassDefFo undError: javax/management/DynamicMBean in KernelBundleClassLoader: [bundle=hazelcast_1.8.3] in KernelBundleClassLoader: [bundle=hazelcast_1.8.3]
at org.eclipse.virgo.kernel.userregion.internal.equinox.KernelB undleClassLoader.loadClass(KernelBundleClassLoader.java:141)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.def ineClass(DefaultClassLoader.java:183)
at org.eclipse.virgo.kernel.userregion.internal.equinox.KernelB undleClassLoader.defineClass(KernelBundleClassLoader.java:23 9)
... 42 common frames omitted
Caused by: org.eclipse.virgo.kernel.osgi.framework.ExtendedNoClassDefFo undError: javax/management/DynamicMBean in KernelBundleClassLoader: [bundle=hazelcast_1.8.3]
at org.eclipse.virgo.kernel.userregion.internal.equinox.KernelB undleClassLoader.defineClass(KernelBundleClassLoader.java:24 3)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineC lass(ClasspathManager.java:576)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findCla ssImpl(ClasspathManager.java:546)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClassImpl(ClasspathManager.java:477)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass_LockClassLoader(ClasspathManager.java:465)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:445)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:381)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:457)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:398)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
at org.eclipse.virgo.kernel.userregion.internal.equinox.KernelB undleClassLoader.loadClass(KernelBundleClassLoader.java:135)
... 48 common frames omitted
Caused by: java.lang.NoClassDefFoundError: javax/management/DynamicMBean
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.def ineClass(DefaultClassLoader.java:183)
at org.eclipse.virgo.kernel.userregion.internal.equinox.KernelB undleClassLoader.defineClass(KernelBundleClassLoader.java:23 9)
... 60 common frames omitted
Caused by: org.eclipse.virgo.kernel.osgi.framework.ExtendedClassNotFoun dException: javax.management.DynamicMBean in KernelBundleClassLoader: [bundle=hazelcast_1.8.3]
at org.eclipse.virgo.kernel.userregion.internal.equinox.KernelB undleClassLoader.loadClass(KernelBundleClassLoader.java:139)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 65 common frames omitted
Caused by: java.lang.ClassNotFoundException: javax.management.DynamicMBean
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:494)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:398)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
at org.eclipse.virgo.kernel.userregion.internal.equinox.KernelB undleClassLoader.loadClass(KernelBundleClassLoader.java:135)
... 66 common frames omitted

DynamicMBean is a class in the com.springsource.mx4j-3.0.2 bundle, but after deploying this bundle I get the same error. Does anyone have an idea how to solve this problem? Could it be that the manifest of the Hazelcast bundle is incorrect?
Re: Problem Running HazelCast [message #549102 is a reply to message #549094] Sat, 24 July 2010 13:03 Go to previous message
Dmitry Sklyut is currently offline Dmitry Sklyut
Messages: 272
Registered: January 2010
Senior Member
Try to import javax.management in client bundle
Previous Topic:Virgo and JNDI Data Sources
Next Topic:Problem Running HazelCast
Goto Forum:
  


Current Time: Sun Oct 26 04:38:57 GMT 2014

Powered by FUDForum. Page generated in 0.01936 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software