Actually, I think I'm beginning to understand the problem, and it all relates to mappings. As I'm doing this on Linux, and I was trying to use Gavin's example, I've got files in two different directories. It seems the real issue is in the _serverSpecificVars.cfm, where it takes apart the getCurrentTemplatePath(). See, my app.path.project is "/home/example.com", and app.path.core is "/home/app_lib/farcry/farcry_core". The dynamic translator can't find things correctly.

So, having done that, I think I'm on my way, but I found a semantic error. On Linux, we're case sensative. We can get past it in Apache, but CF won't when using fileExists(). So, farcry_core/packages/types/types.cfc: line 56 can't find the right file; displayPageLanding.cfm != displaypageLanding.cfm.

At 1/3/2006 02:21 PM, you wrote:

Since I'm still having trouble with this, I removed the CFTRY around the statement. Apparently, the real error is "net.wetters.InetAddressLocator" on line 90. Any idea what it is or what's causing it?

At 12/18/2005 04:17 PM, you wrote:

a. It is in my class path (at least it appears to be).
b. I can't run the admin; as soon as I attempt to load anything, I get the error.

I realize this has probably been covered somewhere, but I just created a new (my first) copy and I'm getting this error: "java init failed: net.sf.javainetlocator.InetAddressLocator" on this file - farcry/farcry_core/packages/farcry/geoLocator.cfc. I suspect that I'm just missing a mapping somewhere; I'd appreciate any help.

Geoloacator is a plugin that determines the locale of an inbound request. Its an optional plugin.

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


Reply via email to