On Mon, Nov 12, 2012 at 8:35 PM, Raymond Auge <raymond.a...@liferay.com>wrote:
> Hello All, > > Does anyone have a reference or know the details of solving the Protocol > handler initialization issues when Felix is run embedded (isolated or not) > within an Felix based app server? Of all the app server combinations we've > tested, with both equinox and felix embedded (so far we support both > equality well) Felix based Glassfish and Jonas are giving us the problem > mentioned. > > I've looked through the source code and debugged through it. Disabling > protocol initialization (even though it's possible) does not appear to be a > valid option because then the embedded framework can't even handled > bundles. > > It really just seems like possibly incorrect error handling roughly around > lines 176-183 of URLHandlers class. > The URL.setURLStreamHandlerFactory(currentFactory) invocation throws an > Error, not an Exception (due to the fact that there is already an factory > configured), and this throws the entire runtime into self destruct mode. > Yeah, I agree - that looks like a bug. Can you create an issue and assign it to me? I'll fix it asap. regards, Karl > Thoughts? > -- > *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile> > <http://twitter.com/#!/rotty3000> | Senior Software Architect | *Liferay, > Inc.* <http://www.liferay.com> <https://twitter.com/#!/liferay> > > --- > > 24-25 October 2012 |* Liferay **Spain Symposium* | > liferay.com/spain2012<http://www.liferay.com/spain2012> > > 16 November 2012 |* Liferay **Italy Symposium* | > liferay.com/italy2012<http://www.liferay.com/italy2012> > -- Karl Pauls karlpa...@gmail.com http://twitter.com/karlpauls http://www.linkedin.com/in/karlpauls https://profiles.google.com/karlpauls