Cool. Pull request.

  https://github.com/geoserver/geoserver/pull/634


On Thu, Jul 3, 2014 at 12:09 AM, Andrea Aime <[email protected]>
wrote:

> On Thu, Jul 3, 2014 at 5:33 AM, Justin Deoliveira <
> [email protected]> wrote:
>
>> Hi all,
>>
>> A while back we had a thread discussing some issues with mod proxy
>> cloning that appear to only manifest on osx, jdk 1.7. This issue basically
>> makes it impossible to run GeoServer locally.
>>
>> The problem manifests itself as a ClassNotFoundException resulting from
>> calls to cloneMap and cloneCollection when the deepCopy argument is set to
>> true. From what I can tell the problem is exactly the one described here:
>>
>>   https://jira.codehaus.org/browse/JRUBY-5142
>>
>> The class loader being used by ObjectOutputStream sometimes ends up being
>> the parent of the main application class loader, meaning it doesn't have
>> any of the geotools/geoserver/etc.. .classes defined in it. So we end up
>> getting a ClassNotFoundException whenever the map or collection contains an
>> object not defined in the jre runtime class library.
>>
>> So, how about taking the same approach as the JRuby folks and use a
>> custom ObjectOutputStream that ensures we always use the app class loader?
>>
>
> Yup, good idea
>
> Cheers
> Andrea
>
> --
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/NWWaa2 for more information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39  339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> -------------------------------------------------------
>



-- 
*Justin Deoliveira*
Vice President, Engineering | Boundless
[email protected]
@j_deolive <https://twitter.com/j_deolive>
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to