My Oracle Support Banner

OAAM MaxMind Data Load Fails With FileNotFoundException (Doc ID 1592012.1)

Last updated on DECEMBER 05, 2016

Applies to:

Oracle Adaptive Access Manager - Version 11.1.2.0.0 and later
Information in this document applies to any platform.

Goal

You are trying to load the maxmind data into oaam database to retrieve ip location using the loadIPLocationData.sh

and get the following error:
Aug 9, 2013 11:22:12 AM com.bharosa.common.util.BharosaConfigLoadDbImpl
INFO: Loading properties from database...
Aug 9, 2013 11:22:12 AM com.bharosa.common.util.BharosaConfigLoadDbImpl
INFO: updateGlobalMap(): Updating global Map [Size:113]
Aug 9, 2013 11:22:12 AM com.bharosa.common.util.BharosaConfigLoadDbImpl
INFO: Done reloading BharosaConfig properties from database.
Aug 9, 2013 11:22:12 AM com.bharosa.vcrypt.dataaccess.util.DBCacheMonitor
INFO: Done calling 1 callbacks for cacheType=9, cacheKey=9 is dirty
Aug 9, 2013 11:22:12 AM com.bharosa.vcrypt.dataaccess.util.DBCacheMonitor
INFO: No callbacks registered for cacheType=13 is dirty
Aug 9, 2013 11:22:12 AM com.bharosa.common.newlocation.IPLocationLoader
SEVERE: Error while loading location data
java.io.FileNotFoundException: (No such file or directory)
  at java.io.FileInputStream.open(Native Method)
  at java.io.FileInputStream.(FileInputStream.java:120)
  at java.io.FileInputStream.(FileInputStream.java:79)
  at java.io.FileReader.(FileReader.java:41)
  at com.bharosa.common.newlocation.IPLocationLoader.getReader(IPLocationLoader.java:784)
  at com.bharosa.common.newlocation.MaxMindLocationLoader.importCountryCodeFile(MaxMindLocationLoader.java:175)
  at com.bharosa.common.newlocation.MaxMindLocationLoader.importRefFiles(MaxMindLocationLoader.java:97)
  at com.bharosa.common.newlocation.MaxMindLocationLoader.importData(MaxMindLocationLoader.java:49)
  at com.bharosa.common.newlocation.IPLocationLoader.main(IPLocationLoader.java:130)
Aug 9, 2013 11:22:12 AM com.bharosa.common.newlocation.IPLocationLoader
INFO: Location loading failed


Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.