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?
-Justin
--
*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