Changes between Version 147 and Version 148 of FAQ


Ignore:
Timestamp:
Feb 21, 2020, 1:09:21 PM (4 years ago)
Author:
Dimitar Misev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • FAQ

    v147 v148  
    349349}}}
    350350
     351=== Petascope fails to start with `UnsatisfiedLinkError`
     352
     353Sometimes you may see an exception like the following in the tomcat log:
     354{{{
     355 ERROR [14:03:40] SpringApplication@815: Application startup failed
     356org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'applicationMain': Invocation of init method failed; nested exception is java.lang.UnsatisfiedLinkError: 'void
     357org.gdal.gdal.gdalJNI.AllRegister()'
     358...
     359Caused by: java.lang.UnsatisfiedLinkError: 'void org.gdal.gdal.gdalJNI.AllRegister()'
     360...
     361}}}
     362This happens when you redeploy petascope, i.e. copy an updated version of rasdaman.war to Tomcat's webapps directory, but do not restart Tomcat subsequently.
     363
     364'''Solution:''' when redeploying rasdaman, make sure to ''restart Tomcat''. This is required because petascope uses a native library from GDAL; further information in the [https://cwiki.apache.org/confluence/display/tomcat/HowTo#HowTo-I'mencounteringclassloaderproblemswhenusingJNIunderTomcat Tomcat docs].
     365
    351366== Data formats ==
    352367