Hi,
please read below...

On Thu, Mar 22, 2012 at 8:22 AM, Surf <wreck...@ymail.com> wrote:

>
> Have a small issue that I hope someone may be able to help with.
>
> I am running Geoserver.war and Myapp.war both under an instance of Jetty.
>
> Myapp requires the use of gdal occasionally but fails with:
>
> Native library load failed.
> java.lang.UnsatisfiedLinkError: Native Library C:\Program Files
> (x86)\GDAL\gdaljni.dll already loaded in another classloader
>
> This happens at gdal.AllRegister(), it seems that GeoServer has already
> consumed gdal at startup. I have the gdal installation in my path.
>
> I have tried to remove the jars that make up the equivalent of the gdal
> extension plugin, but Geoserver produced some other errors and did not
> startup.
>



>
> I have also tried to remove gdal from the path and try to load it through
> the Myapp application code but ran into some other dependency issues.
>
> Another approach was to force Myapp to consume gdal at startup instead of
> calling it as needed later in the execution, then somehow get Jetty to
> start
> Myapp before Geoserver - but not sure how to get Jetty to fix the startup
> order sequence. Seen some other posts about that problem.
>
> Q: Is there a way to prevent Geoserver from consuming this native library
> so
> that Myapp can use it instead ? I do not need to use the gdal extensions
> for
> Geoserver. Alternatively, is there a way to share the gdal natives ?
>
>
which geoserver version are you using?
Did you remove imageio-ext-gdal** from WEB-INF/lib? Which errors is
throwing?

Please, let me know.
Regards,
Daniele


Thank you.
>
>
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/How-to-disable-Geoserver-gdal-extension-tp4643713p4643713.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



-- 
-------------------------------------------------------
Ing. Daniele Romagnoli
GeoSolutions S.A.S.
Software Engineer

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://it.linkedin.com/in/danieleromagnoli


-------------------------------------------------------
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to