Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » System Class loader and OSGi
System Class loader and OSGi [message #780908] Thu, 19 January 2012 21:36 Go to next message
Josh Hester is currently offline Josh HesterFriend
Messages: 30
Registered: July 2009
Member
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 21:53 Go to previous messageGo to next message
Thomas Watson is currently offline Thomas WatsonFriend
Messages: 501
Registered: July 2009
Senior Member
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 14:26 Go to previous message
Josh Hester is currently offline Josh HesterFriend
Messages: 30
Registered: July 2009
Member
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 Oct 18 04:57:36 GMT 2021

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

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

Back to the top