Skip to main content



      Home
Home » Eclipse Projects » Equinox » System Class loader and OSGi
System Class loader and OSGi [message #780908] Thu, 19 January 2012 16:36 Go to next message
Eclipse UserFriend
I'm trying to register an osgi service with JMX. Registering the actual MBean goes fine, but then things start going awry once I try to invoke a method remotely that returns a custom data type. The JMX bundles try to load my POJOs via the System class loader rather than the various bundles class loaders leading to lots of classnotfoundexceptions. Has anyone been able to do this successfully?
Re: System Class loader and OSGi [message #780910 is a reply to message #780908] Thu, 19 January 2012 16:53 Go to previous messageGo to next message
Eclipse UserFriend
Have you tried to use something like remote services from ECF? http://eclipse.org/ecf/
Re: System Class loader and OSGi [message #781098 is a reply to message #780910] Fri, 20 January 2012 09:26 Go to previous message
Eclipse UserFriend
In the past we have played around with ECF, we moved away from it in case someone wanted to access these services from outside of osgi.
Previous Topic:Problems building a p2-enabled Eclipse workbench-based product
Next Topic:Equinox p2 dependencies responsible for watched directories
Goto Forum:
  


Current Time: Mon Jul 14 08:48:58 EDT 2025

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

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

Back to the top