Menu

How can I setup the GeoIP provider?

Help
Joe Myer
2010-03-09
2013-02-22
  • Joe Myer

    Joe Myer - 2010-03-09

    When I start pulse I get an error message saying that GeoIP.dat cannot be found and a no lookup provider will be used. What's with the GeoIP.dat and where do I get it/what does it do?

     
  • Thomas Weber

    Thomas Weber - 2010-03-10

    Hi jmyer,
    thanks for your request.
    The default GeoIP provider of pulse use the Maxmind database http://www.maxmind.com.

    The IP to country service is configured in WEB-INF/conf/pulse.xml:

    <ip2country-locator class="org.torweg.pulse.util.ip2country.GeoIPLocatorProvider"/>
    

    The GeoIPLocatorProvider itself is configured in WEB-INF/conf/org.torweg.pulse.util.ip2country.GeoIPLocatorProvider.xml

    You can get Maxmind's country database here:
    http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz

    Hope this helps you.

    Cheers,
    Thomas

     
  • Joe Myer

    Joe Myer - 2010-03-11

    thanks :)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.