Ahhh… there were some jai jars lingering on my system. In my case they were
in /System/Library/Java/Extensions… Confirm that the bin package starts up
fine now.
On Wed, Apr 20, 2016 at 9:14 AM Jody Garnett <[email protected]> wrote:
> As per email yesterday (thanks Torben for the reminder) - remove JAI from
> ~/Library/Java/Extensions
> allowed bin release to start up on mac.
>
> --
> Jody Garnett
>
> On 20 April 2016 at 07:14, Justin Deoliveira <[email protected]> wrote:
>
>> Hey folks,
>>
>> To look at GEOS-7508 I decided to do a local build. Before moving to
>> testing the dmg to replicate the issue Jody found I thought I would ensure
>> the bin package works on osx… since the dmg is essentially built from it,
>> and i’seeing issues around jai.
>>
>> Running the package straight away leads to:
>>
>> java.lang.NoClassDefFoundError: Could not initialize class
>> javax.media.jai.JAI
>>
>> at
>> org.geoserver.GeoserverInitStartupListener.contextInitialized(GeoserverInitStartupListener.java:88)
>>
>> at
>> org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800)
>>
>>
>> I tried moving the jars into the jetty lib folder, and also just removing
>> them outright and that gets further, but results in this error:
>>
>> java.lang.NoClassDefFoundError:
>> com/sun/media/imageioimpl/common/BogusColorSpace
>>
>> at
>> org.geoserver.config.impl.JAIEXTInfoImpl.<clinit>(JAIEXTInfoImpl.java:34)
>>
>> at org.geoserver.config.impl.JAIInfoImpl.<init>(JAIInfoImpl.java:56)
>>
>> at
>> org.geoserver.config.impl.GeoServerInfoImpl.<init>(GeoServerInfoImpl.java:26)
>>
>> at
>> org.geoserver.config.impl.GeoServerFactoryImpl.createGlobal(GeoServerFactoryImpl.java:41)
>>
>> Looking around for BogusColorSpace I do notice the class being references
>> is slightly different than the one available from rt.jar on my jvm:
>>
>> com.sun.imageio.plugins.common.BogosColorSpace
>>
>> I also saw that uDig may have run up against this recently, as I came
>> across this bug report: https://osgeo-org.atlassian.net/browse/UDIG-2030
>>
>> -Justin
>>
>>
>> ------------------------------------------------------------------------------
>> Find and fix application performance issues faster with Applications
>> Manager
>> Applications Manager provides deep performance insights into multiple
>> tiers of
>> your business applications. It resolves application problems quickly and
>> reduces your MTTR. Get your free trial!
>> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
>> _______________________________________________
>> Geoserver-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>>
>>
>
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel