Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Getting this error: "java init failed: net.sf.javainetlocator.InetAddressLocator" on this file - farcry/farcry_core/packages/farcry/geoLocator.cfc.

...

Geolocator is a plugin that determines the locale of an inbound request. Its an optional plugin that is turned off by default, and requires a class file InetAddressLocator to be placed in your class path.

You may be getting this error because you have migrated or copied an application to a server environment that is not correctly configured for the plugin.

You can either turn it off by getting into the ADMIN>>CONFIG>>PLUGINS – or drop the InetAddressLocator class into your JAVA class path.

Warning

If you have already migrated the database with the plugin turned on then you won't be able to reach the admin to turn it off. Best to turn off the plugin before you migrate/copy.