On May 2, 6:15 am, xzistance <[EMAIL PROTECTED]> wrote:
> I've been playing with this for the last couple days and am really
> frustrated.
> I'm trying to setup the latest FarCry milestone, 3.0.1. The PDF install doc
> and Jeff Coughlin's video only partially help me.

You might try FarCry 4.0 -- the installer is much improved and the
code base is really on the cusp of final release (the framework is
actually complete its the farcry cms plugin that is still in release
candidate).  Definitely use 3.02 instead of 3.01.  But hopefully we
can help you get through this installation.

> Basically, here is my setup:
> I'm installing FarCry on my company's dev server--where other employees
> access and work on it too.
>
> I've put the FarCry core folders in c:\farcry
>
> The tricky part is where to put the install application files and how to map
> them. I want to be able to set this up so that I can have the farcry
> application access the core directory where it is, and allow for me to still
> have the application my dev folder.
>
> So, I'm trying to put the application in:
> <servername>/portent_dev/andy/<applicationName>
>
> So, the steps that I am doing are as follows:
> 1) Unzip the core files to the c:\farcry directory I created.
> 2) Setup the DB and DSN in CFIDE.
>
> 3) Goto <servername>/portent_dev/andy/<applicationName> and create a 'www'
> empty directory.
> 4) I go in to IIS and create a new Web Site, named <applicationName>
> pointing to <servername>/portent_dev/andy/<applicationName>/www
> 5) Still in IIS, I create a virtual directory 'farcry' that points to
> c:\farcry\farcry_core\admin
> 6) I go in to CFIDE and create a /farcry mapping, pointing to c:\farcry
> 7) I put an entry into my windows hosts file for <applicationName> pointing
> to the server's IP
> 8) I run http://<applicationName>/farcry/install
>       -sitename: <applicationName>
>       -application mapping: /
>       -admin mapping: /farcry
>       -application domain: <applicationName>
>
> This automatically installs the files to c:\farcry\<applicationName>
> Now, because I want to have this application in my dev directory, I cut and
> paste it to my c:\inetpub\wwwroot\portent_dev\andy\ directory, where IIS is
> pointing.
>
> 9) In CFIDE, I create a /farcry/<applicationName> mapping pointing to
> c:\inetpub\wwwroot\portent_dev\andy\<applicationName>
>
> When I try and view http://<applicationName>/, I get exceptions:
>
> 13:12:20.020 - java.lang.ClassNotFoundException - in
> C:\farcry\farcry_core\packages\farcry\geoLocator.cfc : line 90
>             net.wetters.InetAddressLocator
> 13:12:20.020 - Application Exception - in
> C:\farcry\farcry_core\packages\farcry\geoLocator.cfc : line 95
>             java init failed: net.sf.javainetlocator.InetAddressLocator
> 13:12:20.020 - Application Exception - in
> C:\farcry\farcry_core\packages\farcry\geoLocator.cfc : line 95
>             java init failed: net.sf.javainetlocator.InetAddressLocator
>
> When I try to view
> http://<applicationName>/farcry/login.cfm?returnUrl=%2Ffarcry%2Findex%2Ecfm%3F,
> I get exceptions:
>
> 13:13:45.045 - java.lang.ClassNotFoundException - in
> C:\farcry\farcry_core\packages\farcry\geoLocator.cfc : line 90
>             net.wetters.InetAddressLocator
> 13:13:45.045 - Application Exception - in
> C:\farcry\farcry_core\packages\farcry\geoLocator.cfc : line 95
>             java init failed: net.sf.javainetlocator.InetAddressLocator
> 13:13:46.046 - java.lang.ClassNotFoundException - in
> C:\farcry\farcry_core\packages\farcry\geoLocator.cfc : line 90
>             net.wetters.InetAddressLocator
> 13:13:46.046 - Application Exception - in
> C:\farcry\farcry_core\packages\farcry\geoLocator.cfc : line 95
>             java init failed: net.sf.javainetlocator.InetAddressLocator
> 13:13:46.046 - MissingInclude Exception - in
> C:\farcry\farcry_core\admin\Application.cfm : line 63
>             Could not find the included template /farcry/Application.cfm.
> 13:13:46.046 - MissingInclude Exception - in
> C:\farcry\farcry_core\admin\Application.cfm : line 65
>             Could not find the included template /Application.cfm.
>
> I thought that adding that extra mapping in CFIDE would allow me to have
> this kind of setup, but I'm a bit lost.
> Can anyone please help?

Actually it looks like you are very nearly there.  The project
CFMAPPING is exactly what you need.  The error you are getting
indicates that the server-specific path variables are not quite
right.  What's happening is that FarCry is trying to load the class
file directly (ie. bypass the need for the class to be on the class
path).  For this it needs to know the physical location of the file.
There are two variables in your project that you need to check..

Open up ./projectname/config/_serverspecificvars.cfm and look for
those vars starting with application.path.*  Make sure these are
pointing to the right locations for your specific installation set
up.  The installer makes some assumptions based on where you are
installing from.  If you move files about you will most likely need to
make updates here.

If that fails, send through your _serverspecifcvars.cfm config file
and we'll take a look.

-- geoff
http://www.daemon.com.au/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to