river-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Scheifler <Bob.Scheif...@Sun.COM>
Subject Re: SourceAliveRemoteEvent Part II
Date Mon, 11 Jun 2007 21:42:35 GMT
Mark Brouwer wrote:
> As the Jini service defined one level
> lower in the class loader hierarchy that acts as a 'proxy' for the web
> application has been exported with a context class loader that is the
> parent of the context class loader of the web application, all matching
> services found will be unmarshalled and defined in a class loader that
> has as its parent the class loader of the Jini service instead of the
> one of the web application, resulting in some ClassCastExceptions.

Then it would seem you chose the wrong context class loader.

> The funny thing is when I force my SDM [1] implementation to use the
> inverted event model all services are unmarshalled with the proper
> context class loader and the services are usable by the plugin or web
> application.

Insufficient information to infer this is a direct consequence of an
inverted event model.

- Bob

View raw message