code sharing in IIS

2011-07-05 Thread Chad Gray
I have not experimented yet, but can you use a virtual directory in IIS to share code to other website on the server? Like I have a folder of code for user login on one website. Rather than copying the code and maintaining two sets of code can I just make a IIS virtual directory on the

Re: code sharing in IIS

2011-07-05 Thread Dave Watts
I have not experimented yet, but can you use a virtual directory in IIS to share code to other website on the server? Like I have a folder of code for user login on one website.  Rather than copying the code and maintaining two sets of code can I just make a IIS virtual directory on the

Postal radus searches

2011-07-05 Thread Bobby Hartsfield
Hey All, It has been a long time since I did a postal code readius search. All of the ones I did in the past involved purchasing and maintaining a postal code database and I was hoping there were some pretty solid services out there for it by now so I didn't have to do that anymore. Do any of

Re: Postal radus searches

2011-07-05 Thread Dominic Watson
I know that Solr was working on this for its next release (I was looking over 6 months ago). This would allow free text geographical searching which may be overkill for what you need but may be able to just do what you're looking for too. It may also be worth looking at your db engine, some have

cfcatch DB connection failure - for failover

2011-07-05 Thread Sebastian Powell
Hi a bit stuck at the moment, I am trying to implement a DB fail over to a slave database through CF 9. I am using MYSQL as a DB. I have setup datasource in the application.cfc to point to the main db. When i trigger a stop service on the main db - which causes a failed db connection, i'm

RE: Postal radus searches

2011-07-05 Thread Bobby Hartsfield
Thanks Dominic. I'm not sure I follow your last comment though. Wouldn't that still require a maintained zipcode database with longs and lats? .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Dominic Watson

RE: Postal radus searches

2011-07-05 Thread Bobby Hartsfield
FYI, it is SQL Server 2k5 .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Bobby Hartsfield [mailto:bo...@acoderslife.com] Sent: Tuesday, July 05, 2011 11:49 AM To: cf-talk Subject: RE: Postal radus searches Thanks

Automated File Deployment/Replication

2011-07-05 Thread Brian Polackoff
Hey everyone. I have been tasked recently with coming up with an automated deployment/file replication system for our newly built infrastructure. We have a hardware load balancer that spreads the traffic over 5 real servers. We are looking for a way to place the production web files and assets on

Re: Automated File Deployment/Replication

2011-07-05 Thread Dan Baughman
I work in a similar environment and use three general techniques. 1) an ftp tag that replicates files that need to immediately replicate that are uploaded through the admin, it basically figures out which server its running from and copies to the other two synchronously using cfftp 2) install

Re: Automated File Deployment/Replication

2011-07-05 Thread WebSite CFTalk
We hav a similar setup. At first we used DFS replication (on win2003/2008) replicating in a mesh structure among all servers but since we're now on win2008 only we're using folder junctions towards a common fileshare. DFS was ok but with many files/changes we experienced delays - and the

Re: Automated File Deployment/Replication

2011-07-05 Thread Matthew Williams
What OS? Windows 2003 and up support Distributed File System (DFS). Wherever possible, it only moves partial files, etc, etc. You can set it to propagate from a main server, or from each server in the cluster. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog

RE: Automated File Deployment/Replication

2011-07-05 Thread Chad Gray
Repliweb.com has some great software. Very reliable and professional. Can be pricey, but if you want great software this is one to look at. We dont use it for web site code, but for large image repository's we have to keep in sync at multiple locations. HTH -Original Message-

Searching a Solr colllection using the key value to get a specific file

2011-07-05 Thread eric.da...@vmmc.org eric.da...@vmmc.org
I'm trying to get migrate to solr, but have a question about using the record key in the search critera. With Verity my code looks like this: cfsearch name=getPreDeleteInfo collection=#sttCFG.strCollectionName# type=simple status=info language=english criteria= CF_KEY CONTAINS

Searching a Solr colllection using the key value to get a specific file

2011-07-05 Thread eric.da...@vmmc.org eric.da...@vmmc.org
I'm trying to get migrate to solr, but have a question about using the record key in the search critera with Verity my code looks like this: cfsearch name=getPreDeleteInfo collection=#sttCFG.strCollectionName# type=simple status=info language=english criteria= CF_KEY CONTAINS

Re: Automated File Deployment/Replication

2011-07-05 Thread Scott Stewart
create a single code repository and create virtual directories that point at it... On Tue, Jul 5, 2011 at 12:33 PM, Brian Polackoff bpolack...@gmx.com wrote: Hey everyone. I have been tasked recently with coming up with an automated deployment/file replication system for our newly built

Re: Automated File Deployment/Replication

2011-07-05 Thread Justin Scott
Can anyone recommend software to accomplish this or just some best practices for this type of scenario? If the servers are Windows you might look into the Distributed File System feature which will replicate file system changes across multiple servers. -Justin

Re: Postal radus searches

2011-07-05 Thread Dominic Watson
I didn't read your op properly, apologies. My answers were completely wide of the mark! ;) On 5 July 2011 16:49, Bobby Hartsfield bo...@acoderslife.com wrote: Thanks Dominic. I'm not sure I follow your last comment though. Wouldn't that still require a maintained zipcode database with longs

Re: Searching a Solr colllection using the key value to get a specific file

2011-07-05 Thread Raymond Camden
Just curious - why would you do a search when you know exactly what you want? On Tue, Jul 5, 2011 at 1:19 PM, eric.da...@vmmc.org eric.da...@vmmc.org eric.da...@vmmc.org wrote: I'm trying to get migrate to solr, but have a question about using the record key in the search critera. With

RE: Automated File Deployment/Replication

2011-07-05 Thread Mark A. Kruger
Several customers using peersych - all with excellent results. Commercial license though. Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Brian Polackoff [mailto:bpolack...@gmx.com] Sent: Tuesday,

Re: Automated File Deployment/Replication

2011-07-05 Thread Alan Rother
Hey Brian, I'm doing something... similar How often do you need it to sync up? Constantly? Only when an update occurs (a manual process)? Scheduled intervals? If you need the boxes to stay in perfect sync at all times and automated process or end users (people using the site/app) add or change

RE: Automated File Deployment/Replication

2011-07-05 Thread Bobby Hartsfield
The replicating is the easy part; Robocopy or even Xcopy can handle that part. You would just need some kind of directory watcher to kick it off. I am assuming you are looking to control this with ColdFusion (since this is a ColdFusion mailing list). That said, Ray Camden posted an example of a

RE: Automated File Deployment/Replication

2011-07-05 Thread Bobby Hartsfield
Also, if you have a strong enough SAN (I/O and network speeds), you might consider a single root shared by multiple servers. .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Brian Polackoff [mailto:bpolack...@gmx.com]

Searching a Solr colllection

2011-07-05 Thread eric.da...@vmmc.org eric.da...@vmmc.org
I'm trying to get migrate to solr, but have a question about using the record key in the search critera With Verity my code looks like this: cfsearch name=getPreDeleteInfo collection=#sttCFG.strCollectionName# type=simple status=info language=english criteria= CF_KEY CONTAINS

Re: Searching a Solr colllection using the key value to get a specific file

2011-07-05 Thread eric.da...@vmmc.org eric.da...@vmmc.org
Just curious - why would you do a search when you know exactly what you want? On Tue, Jul 5, 2011 at 1:19 PM, eric.da...@vmmc.org eric.da...@vmmc.org eric.da...@vmmc.org wrote: [Record # 1] In this case, I'm trying to get what was indexed so I can present it back to the user who just uploaded

Re: Searching a Solr colllection

2011-07-05 Thread eric.da...@vmmc.org eric.da...@vmmc.org
I apologize for the for the multiple posting. Because of the delay, I thought my posts were being accepted. ~| Order the Adobe Coldfusion Anthology now!

Re: Searching a Solr colllection using the key value to get a specific file

2011-07-05 Thread eric.da...@vmmc.org eric.da...@vmmc.org
In the Scheme.xml file I changed the key and URL fields to be indexed=true field name=key type=string indexed=true stored=true required=true / field name=url type=string indexed=true stored=true required=true / I can now do a search on the URL field as long as like put the wildcard * at

Re: Searching a Solr colllection using the key value to get a specific file

2011-07-05 Thread eric.da...@vmmc.org eric.da...@vmmc.org
Another reason I need to be able to search against the key field, is that I allow the user to filter the search results by the directory the document is placed into. The only field in the collection that contains this information is the key field.

CF8 Enterprise Instance Size

2011-07-05 Thread Richard Steele
I'd appreciate any guidance about sizing instances that are load balanced in CF8 Enterprise. Right now we have instances that are allocated 1.5 GB of RAM for each. I want to add memory to our server and am not sure if I should add 2 more instances for a domain and/or give more memory to each

RE: Automated File Deployment/Replication

2011-07-05 Thread Brian Polackoff
Thanks everyone for the info! We are running CF8 Enterprise on 5 servers with windows server 2k8 standard 64 bit if there are any OS specific solutions out there besides DFS which I will now look into. Thanks! Brian -Original Message- From: Matthew Williams

Re: CF8 Enterprise Instance Size

2011-07-05 Thread Russ Michaels
if you are running 32bit windows then you will be limited to probably what your using now. if your using 64bit then go mental. if you have the physical servers load balanced already then additional instances probably wont provide any benefit to you. If you are load balancing just between

Re: CF8 Enterprise Instance Size

2011-07-05 Thread Richard Steele
Hi Russ, It's 64 bit windows. Load balancing is between instances (only one physical server). It's a Xeon L5410 Process which I believe is 4 cores. Each instance has CF8 Admin set for a max of 10 requests. We definitely want to add another pair of instances for a new website we are finishing

Re: CF8 Enterprise Instance Size

2011-07-05 Thread Richard Steele
Hi Russ, It's 64 bit windows. Load balancing is between instances (only one physical server). It's a Xeon L5410 Process which I believe is 4 cores. Each instance has CF8 Admin set for a max of 10 requests. We definitely want to add another pair of instances for a new website we are finishing

Re: CF8 Enterprise Instance Size

2011-07-05 Thread Scott Stewart
You have a practical limit of around 2 gb per instance any more and you can overload the jvm.. What more memory will do is allow you to max out each instance and let the os use the rest.. but that's not the whole story..you'll still need to investigate the jvm garbage collection..plus tweaking

RE: Postal radus searches

2011-07-05 Thread Bobby Hartsfield
No worries ;-) .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Dominic Watson [mailto:watson.domi...@googlemail.com] Sent: Tuesday, July 05, 2011 12:39 PM To: cf-talk Subject: Re: Postal radus searches I didn't read