Re: IDE for coldfusion 9
i use the current cfeclipse w cf9 and have no issues speeves On Tue, Feb 9, 2010 at 1:13 PM, fun and learning funandlrnn...@gmail.comwrote: Hi, Can anyone tell me if there is a new CFEclipse plugin for Coldfusion 9? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330500 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Load-balancing servers
Here is a couple of Clustering FAQs that I wrote back in 2007, which may have some points of interest for you: http://speeves.erikin.com/2007/02/how-to-setup-apache-2-with-coldfusion-7.html http://speeves.erikin.com/2007/01/coldfusion-clustering-faq.html speeves On Thu, Dec 10, 2009 at 9:52 AM, WebSite CFTalk cft...@website.no wrote: Maybe something like: - Hardware load balancer in front of web/app servers, or NLB load balancing between web/app servers (Windows) - Instead of UNC path to shared folders synchronize web folders/content folders using DFS Replication (Windows 2003 R2 - Windows 2008) - If windows 2008, IIS 7.5 with shared config. Clustering CF is covered many places, this one is good and thorough: http://www.bpurcell.org/viewContent.cfm?ContentID=121 -Helge -Original Message- From: Rick Sanders [mailto:r...@webenergy.ca] Sent: 10. desember 2009 15:59 To: cf-talk Subject: Load-balancing servers I have 2 Cold Fusion Enterprise servers. What I would like to do is balance the load between 2 machines, and maybe more in the future. I have a very large and demanding portal app that is going live soon. I've looked over the documentation and it doesn't seem to cover much about it. Can anyone offer some insight on this? I know I'll have to change any absolute paths to UNC paths and set up any ODBC databases, but is there anything else from the app side I need to do? Thanks! Rick Sanders Webenergy Canada: 902-431-7279 USA: 919-799-9076 Canada: www.webenergy.ca USA: www.webenergyusa.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329051 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
copy of cf-mode.el
Hi, I was wondering if anyone has a copy of cf-mode.el that they could send? It was a coldfusion mode for EMACS, and I am wanting to peruse the source again. thanks, speeves ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328761 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: .htaccess file for ColdFusion?
Apache mod_rewrite is definitely one of the most powerful tools in your web hosting toolkit. http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html Here is an example of what you want to do: http://stackoverflow.com/questions/552641/apache-modrewrite-and-php-argumentsomething/552647#552647 take care, speeves On Mon, Nov 30, 2009 at 3:01 PM, Joshua Rowe jr...@varimereweb.com wrote: Hello. I am trying to set up an .htaccess file to clean up the URL. For example, if the user is on page: http://www.mydomain.com/index.cfm?page=Contact then I want the URL to show this instead: http://www.mydomain.com/Contact Would this be the right way to go to get this result or is there a better method? Thanks! ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328751 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: .htaccess file for ColdFusion?
This is probably a better example/thread: http://www.webmasterworld.com/forum92/5664.htm On Mon, Nov 30, 2009 at 3:13 PM, Shannon Peevey spee...@stolaf.edu wrote: Apache mod_rewrite is definitely one of the most powerful tools in your web hosting toolkit. http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html Here is an example of what you want to do: http://stackoverflow.com/questions/552641/apache-modrewrite-and-php-argumentsomething/552647#552647 take care, speeves On Mon, Nov 30, 2009 at 3:01 PM, Joshua Rowe jr...@varimereweb.comwrote: Hello. I am trying to set up an .htaccess file to clean up the URL. For example, if the user is on page: http://www.mydomain.com/index.cfm?page=Contact then I want the URL to show this instead: http://www.mydomain.com/Contact Would this be the right way to go to get this result or is there a better method? Thanks! ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328753 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Education
Since I have only used Coldfusion in academic institutions, it is pretty much 100% in my experience. But, this is probably not indicative of a true cross-section :) On Fri, Oct 23, 2009 at 8:57 AM, Phillip Vector vec...@mostdeadlygame.comwrote: Just curious.. I've seen allot of jobs require lately BA/BS and not accept experience in it's place. What in your estimation is the percent of coldfusion people who have these and do you have one yourself? For me, I don't have any college experience and I would guess that about 5% of the coldfusion community actually have a BA/BS. Has your experience been different? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327574 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: warm stand by for a coldfusion application
You can configure your load-balancers to have sticky sessions, or route traffic however you like. The only problem is price, and is it overkill for this situation. Your IP change is the cheapest and simplest. It will also have a period of downtime until you can get to the server to make the switch. Also, you want to configure your first machine to _not_ come up and grab the prod IP address. So, just some logic that would: 1. run a hearbeat from the backup server which checks the health of the prod server 2. If the prod server is unavailable: configure a NIC with the prod IP, and bring it up. 3. on the prod server, don't bring up the prod IP. Just setup multiple IPs on a single nic, and make the prod IP the secondary on both boxes: http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch03_:_Linux_Networking#Multiple_IP_Addresses_on_a_Single_NIC good luck, speeves On Mon, Sep 14, 2009 at 12:19 PM, Brian Dumbledore psteja2...@yahoo.comwrote: Have had really good luck with Coyote Point load balance hardware. Set up 2 (or more, we had 5) servers running the same apps and then the LB in front to guide traffic. We used to use client vars (instead of session vars) to manage user-to-app connections that were seamless even across server switches. Thanks for the tip. Quick q, does the LB also support failover? My concern is not loadbalancing, I want only one srever taking all traffic at any given time, I just want the second server to take over when the main server fails. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326275 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SSH Telnet - ColdFusion
What about using a JAVA library? http://commons.apache.org/net/apidocs/org/apache/commons/net/telnet/package-summary.html http://www.alphaworks.ibm.com/tech/sshlite http://www.alphaworks.ibm.com/tech/sshlitespeeves On Mon, Jul 27, 2009 at 11:25 AM, Jordan Michaels jor...@viviotech.netwrote: I've done things similar to this using CFEXECUTE and shell scripts. It's not terribly easy or simple, but it works. Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open BlueDragon Steering Committee Adobe Solution Provider Arsalan Tariq Keen wrote: Guys... Does anyone know of a possible way of connecting to devices on the network using ColdFusion and telnet/ssh and execute commands on the host machines? Regards, Arsalan ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325012 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Switched from CF to Java - need tool recommendations
Hi D, Eclipse with Quantum DB could be an option for you. Good luck, speeves On Thu, Jun 25, 2009 at 8:10 AM, coldfusion.develo...@att.net wrote: t ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323928 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Ubuntu - how WinXP compatible?
Hi Mike, This is off-topic for this mailing list. You can contact me off-list if you like. I have run both, plus have some insight into the multimedia packages on GNU/Linux. thanks, speeves On Wed, Jun 17, 2009 at 7:22 AM, Mike Kear afpwebwo...@gmail.com wrote: I'm rebuilding a system and thought i might have a look at Ubuntu instead of just reloading WinXPPro again .. I see in the Ubuntu site lots of talk about open source versions of Office apps, browsers etc but no mention of compatibility (or otherwise) with Windows apps.are all those other apps at all compatible or do you need to find Linux/Ubuntu versions of everything? I can see that there are office, browser, media player equivalents etc but the kinds of apps i'm thinking about are sound apps (i run and edit radio shows from this machine), IDE things like Photoshop, Dreamweaver, Fireworks, Flash, Audition and all those other little apps that just seem to accumulate here and there. Generally speaking, do you have to locate equivalent Linux/Ubuntu apps or do the existing WInXPPro versions generally work under Ubuntu? -- Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323571 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Deploying to a server farm
We used a shared SAN, so all instances of Coldfusion were looking at the same code, and then had shell scripts that would ssh into the boxes and restart the appropriate Coldfusion instances. I have also seen instances in which code is mirrored on each box, using rsync, or shell scripts to push the code out to the boxes. The push scripts would contain the restart commands, so that the server would be restarted once the new code was in place. speeves On Wed, Jun 17, 2009 at 10:51 AM, Donnie Carvajal donnie.carva...@transformyx.com wrote: My applications are hosted on multiple servers and I am storing several DAO components in the Application scope. Basically, whenever a change is made to any component that is stored in the Application scope and we deploy to the server farm, I have to restart the application on each server (basically run a web page for a URL specific to each server). What is the common practice out there for updating an application on a server farm and restarting the application to refresh the application scope components? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323581 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cf8 help with japanese characters
On Wed, Jun 10, 2009 at 6:32 AM, mike pop mikepoplaw...@gmail.com wrote: I've been struggling with a cf8 and database issue involving japanese characters for almost 2 weeks now. using cf8 and either mysql server or microsoft sql server 2008 express (both give me the same result), i am attempting to insert/update records containing japanese text. the japanese text doesn't insert into the database, only ?? (questions marks get inserted) Here is the link to the Adobe knowledge base entry on encoding: http://kb2.adobe.com/cps/165/tn_16597.html Plus, this link on UNICODE from the European Commission Information Provider's Guide, which discusses Coldfusion and encoding: http://ec.europa.eu/ipg/standards/other/standard_unicode_en.htm My blog entries on handling characters with diacritics may, or may not, be of any help: http://speeves.erikin.com/2009/06/coldfusion-postgresql-prepare-norwegian.html http://speeves.erikin.com/2009/06/coldfusion-encodedecode-diacriticals.html http://speeves.erikin.com/2009/06/coldfusion-replace-html-ized-characters.html Take care, speeves ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323334 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: (ot) Who takes care of this site? ;-))
whois is our friend :) Robert has been contacted. On Tue, May 12, 2009 at 8:41 AM, Gerald Guido gerald.gu...@gmail.comwrote: Not to add insult to injury but this is too funny. From the domain tools listing page: Front Page Information Website Title: HaCKeD By EL_MuHaMMeDhttp://www.cfcode.com/ Title Relevancy 100% On Tue, May 12, 2009 at 10:25 AM, Peter Boughton bought...@gmail.com wrote: I guess talking to Robert would be a good start... http://whois.domaintools.com/cfcode.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322416 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: (ot) Who takes care of this site? ;-))
cf forum perhaps? http://web.archive.org/web/20071226130838rn_1/www.cfcode.com/cfforum/ With this? *cfforum-forummessages-sql-injection (47234)* http://xforce.iss.net/xforce/xfdb/47234 Here is a thread which is discussing the issues that customers were having with SQL injection attacks with that software: http://74.125.95.132/search?q=cache:rpWLYB_1Q1AJ:www.cfcode.com/cfforum/printthread.cfm%3FForum%3D9%26Topic%3D1568+cfforum+securitycd=4hl=enct=clnkgl=usclient=iceweasel-a A google search of site:cfcode.com shows that the software makes registered members usernames available to Google spiders through the whois.cfm, which would make a brute force attack fairly easy... Just a heads-up for anyone running this software. speeves On Tue, May 12, 2009 at 8:47 AM, Shannon Peevey spee...@stolaf.edu wrote: whois is our friend :) Robert has been contacted. On Tue, May 12, 2009 at 8:41 AM, Gerald Guido gerald.gu...@gmail.comwrote: Not to add insult to injury but this is too funny. From the domain tools listing page: Front Page Information Website Title: HaCKeD By EL_MuHaMMeDhttp://www.cfcode.com/ Title Relevancy 100% On Tue, May 12, 2009 at 10:25 AM, Peter Boughton bought...@gmail.com wrote: I guess talking to Robert would be a good start... http://whois.domaintools.com/cfcode.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322419 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Deploying to multiple production servers
These are all good ideas. just a reminder to cksum the code after it is installed to verify that the right code was installed on all machines. On Thu, Mar 12, 2009 at 2:45 PM, Philip Kaplan pkap...@gmail.com wrote: Let's say you have a CF application that needs to run on 100 identical Windows servers. What's the best way to deploy your code from dev to production (without doing 100 manual FTP's...) Setting up my infrastructure and want to make sure I've looked at all options. Thanks! Philip ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320484 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Moving a ColdFusion server.
Did you restart apache? On 3/4/09, Ian Skinner h...@ilsweb.com wrote: Is there anything about moving a ColdFusion server to a new IP address that affects Jrun and|or ColdFusion. We just moved a new production box from within our firewall to our external DMZ which gives it new IP address. When we did this two or our five ColdFusion instances continued to work correctly. Three others started to fail, returning 500 internal server errors and error messages in the Apache log about bad serverstore and bootstrap something or other. TIA Ian ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320116 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Client IP changes on SSL- tricks load balancer
O On Wed, Feb 25, 2009 at 2:09 PM, Jason Fisher ja...@wanax.com wrote: In a hardware load-balanced environment, I have always used Client vars rather than Session. (Just make sure you store them in the DB, not in the Registry.) Basically, the Client vars are a contract between the browser and the application, whereas Session vars are a contract between the browser and the server. Since the application verifies a user's Client session by reading back to the shared database, it doesn't matter if the user shifts back and forth across servers in the cluster, whether going from www.example.com to example.com or from http: to https:, since the application always retrieves the 'correct' session. Now, I know that there is a big push in CF8 to stop using Client vars, but I will tell you that it does work quite well in the situation you describe. We ran apps, including many ecommerce apps, in a cluster of 4-5 hardware-balanced servers for years without having dropped session issues using Client vars. I would agree with this one the most. It seems to me that the session data is not being shared between CF instances, and when they hit https, the client is moved to another CF instance, which does not have their session information. speeves ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319824 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFFTP connection problems
Can you telnet from the coldfusion to the remote host? telnet remote.myserver.com 21 If you get something like this: Escape character is '^]'. 220 (vsFTPd 2.0.1) Then there is nothing blocking communication to the remote FTP server. That way, you can remove that from the list of problems, and check your CFFTP configuration. speeves On Mon, Feb 23, 2009 at 1:10 PM, Mark Kruger mkru...@cfwebtools.com wrote: Are you FTP'ing from your web server back to the same server? Or from 2 servers on the same network? What IP address does it resolve to? Mark A. Kruger, CFG, MCSE (402) 408-3733 ext 105 www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Will Blake [mailto:willbl...@printelect.com] Sent: Monday, February 23, 2009 1:00 PM To: cf-talk Subject: Re: CFFTP connection problems Hello All, I am sure this is something simple, but I am attempting to use CFFTP to put a file on our web server. I can access this web server using any FTP software I want (i.e. Core FTP) but when I try to connect using CFFTP I get an error stating the connection has timed out. To be exact: Error: Connection timed out: connect. Verify your connection attributes: username, password, server, port, connection, proxyServer, secure (as applicable). Figuring it was something that I was doing wrong I went to adobe and used their FTP test code (basically it connects, reports status, disconnects, etc..). Same error. Something is blocking the CFFTP but I am not sure what or how. I know the server has a firewall protecting it, but ftp is allowed to pass through. Other ideas? Server options that I might have turned off or coldfusion admin options I need to turn on? UPDATE: I have been able to use CFFTP to connect to ftp.mozilla.org. Here is the file that I used: cfftp connection=Myftp server=ftp.mozilla.org username=anonymous password= action=Open stoponerror=Yes cfftp action=close connection=Myftp pDid the connection close successfully? cfoutput#cfftp.succeeded#/cfoutput/p So the question is now, what is stopping my FTP connection to webserver? Again, using FTP software it works, but using CFFTP it does not. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319698 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFFTP connection problems
s/the coldfusion/the coldfusion server/ On Mon, Feb 23, 2009 at 1:19 PM, Shannon Peevey spee...@stolaf.edu wrote: Can you telnet from the coldfusion to the remote host? telnet remote.myserver.com 21 If you get something like this: Escape character is '^]'. 220 (vsFTPd 2.0.1) Then there is nothing blocking communication to the remote FTP server. That way, you can remove that from the list of problems, and check your CFFTP configuration. speeves On Mon, Feb 23, 2009 at 1:10 PM, Mark Kruger mkru...@cfwebtools.comwrote: Are you FTP'ing from your web server back to the same server? Or from 2 servers on the same network? What IP address does it resolve to? Mark A. Kruger, CFG, MCSE (402) 408-3733 ext 105 www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Will Blake [mailto:willbl...@printelect.com] Sent: Monday, February 23, 2009 1:00 PM To: cf-talk Subject: Re: CFFTP connection problems Hello All, I am sure this is something simple, but I am attempting to use CFFTP to put a file on our web server. I can access this web server using any FTP software I want (i.e. Core FTP) but when I try to connect using CFFTP I get an error stating the connection has timed out. To be exact: Error: Connection timed out: connect. Verify your connection attributes: username, password, server, port, connection, proxyServer, secure (as applicable). Figuring it was something that I was doing wrong I went to adobe and used their FTP test code (basically it connects, reports status, disconnects, etc..). Same error. Something is blocking the CFFTP but I am not sure what or how. I know the server has a firewall protecting it, but ftp is allowed to pass through. Other ideas? Server options that I might have turned off or coldfusion admin options I need to turn on? UPDATE: I have been able to use CFFTP to connect to ftp.mozilla.org. Here is the file that I used: cfftp connection=Myftp server=ftp.mozilla.org username=anonymous password= action=Open stoponerror=Yes cfftp action=close connection=Myftp pDid the connection close successfully? cfoutput#cfftp.succeeded#/cfoutput/p So the question is now, what is stopping my FTP connection to webserver? Again, using FTP software it works, but using CFFTP it does not. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319702 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Spam Assassin is assassinating my server!
The easiest is to install spamassassin on your local machine and run your messages through them. The issues are: 1. spamassassin auto-learns, so other sites are not going to have the same results as you will. 2. spamassassin also checks headers, so they will play a role in the remote scoring, but will not in your tests. lycka til, speeves On Mon, Feb 23, 2009 at 1:38 PM, Claude Schneegans schneeg...@internetique.com wrote: Hi, I have a couple of sites which send some news letters to subscribers. A couple of them are blocked by Spam Assassin. I'm looking for some service I could send messages to and that will return the Spam Assassin report and scoring, so I can make sure my news letters are correct. Any hint ? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319707 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFFTP connection problems
I can telnet from my computer (client) to the coldfusion webserver if I type telnet myserver.com 21. Typing remote.myserver.com 21 I get a connection refused error. Just to make sure we are all clear. The coldfusion server is our webserver. So when I test the cfftp action=open technically it is trying to open an ftp connection to the same server it is on, which I can see that would be a problem. Just for kicks, (from the webserver command-line), can you telnet localhost 21? (or ftp localhost, in case telnet isn't installed). if that works, then try the IP address. This is just a basic connectivity test. What is your full config for cfftp? speeves ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319716 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Spam Assassin is assassinating my server!
Are you sure that it is spamassassin? Could it be Greylisting? On Mon, Feb 23, 2009 at 3:38 PM, Claude Schneegans schneeg...@internetique.com wrote: In my case, I think the problem is related to 8bits bytes subject and addresses. So spam Assassin is forcing applications to use middle age technologies. I know it is the standard, but it's about time to change it. And SpamAss is about the only soft that refuses 8 bit subjects. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319722 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Clustering with Synchronization/Mirroring
At one location, we NFS mounted our webroot to our web server boxes, and coldfusion machines, which worked well. I have also worked in a high-traffic environment, where the preference was to perform scheduled implementations on all boxes. In this case, we would deploy the whole code base to each server, and then verify that they were in sync before putting them back in service. The idea here is to reduce customer impact by removing a single point of failure, (ie a SAN), as well as remove any latency of network calls off the box. It depends on what your goals are. speeves On Wed, Feb 18, 2009 at 1:25 PM, Matthew Williams mai...@geodesicgrafx.comwrote: That's going to highly depend on your server architecture. We have Windows 2003 R2 Enterprise. The NFS clustering in that release has been fantastic, and has only failed one time in about a year. It's multi-point sync (a - b, b - a) and can do partial file changes as well. This also requires that the machines be part of an active directory domain. Matthew Williams Geodesic GraFX Joseph Bugeja wrote: We have a setup consisting of 2 CF8 servers running in parallel (the 2 instances are clustered together using CF8 Ent/JRun4) and we have one app. deployed on each of the two servers. Each request is served by either one of the 2 servers. Although clustering is working great, we would like have a facility that when a server generates a file on one server it gets automatically pushed to the other parallel server. Is that possible with ColdFusion clustering or we to invest on additional software/perhaps proprietrary ones? Naturally, the two folders (one on each of the parallel servers) need to contain the same content, so ideally when one gets generated on one server it is immediately replicated on the other server. Can you give some tips/assistance about this problem? Kindest Regards, Joseph. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319504 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Flat File as a Database?
What about creating a CFC which handles your delimited text file (using CFFILE)? just mimic the sql commands if its easier to remember: insert delete update select Within your select you would wrap your matching line in a ListToArray() function and pass your result sets back as a query. Then it is basically transparent to coldfusion. speeves On Mon, Jan 26, 2009 at 11:00 AM, Dave Watts dwa...@figleaf.com wrote: Yes, you are correct about that, sorry. I mean a delimited text file. Specifically, I am precluded from installing any database, including using access database files. I would second Greg's suggestion, except that I'd recommend you look at Apache Derby, which is included with CF 8. You can just drop your Derby database files on the server, point to them, and go. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318555 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Flat File as a Database?
Within your select you would wrap your matching line in a ListToArray() function and pass your result sets back as a query. Just to clarify, you would split the line into and array, and build a custom query: http://www.devx.com/webdev/Article/27963 ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318556 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Flat File as a Database?
ie /etc/{group,passwd,resolv.conf} On Mon, Jan 26, 2009 at 9:27 AM, Dave Watts dwa...@figleaf.com wrote: May be the problem is your interpretation of the term flat file. A database is a structured set of data. A flat file is an unstructured file, then by definition cannot be a database. Well, no, that's not correct. The structure of a database can be as simple as a file format. A flat file can certainly contain sufficient structure to be used as a database. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318563 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Flat File as a Database?
Umm... I have never thought it a good business practice to call a client stupid. Just my .02 Speeves On 1/25/09, Claude Schneegans schneeg...@internetique.com wrote: Honestly, I don't even know where to start. If the client is that stupid, use an Access database, and tell him it's a flat file. And don't tell him it's a database... And here is a better advice: find yourself another client! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318493 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: HIPAA compliance and server setup
I would check out this link which should have the information that you are looking for: https://www2.sans.org/reading_room/whitepapers/hipaa/hipaacompliant_configuration_guidelines_for_information_security_in_a_medical_center_environment_891 speeves On Tue, Jan 13, 2009 at 4:54 PM, Dan Crouch stario...@yahoo.com wrote: Does anyone have any knowledge of HIPAA compliance related to web and database server setup? Specifically, if I have one database server and one web server, does the database server need to be completely removed from the internet or can the firewall filter out everything but what I need to communicate between the two servers anyhow, like the SQL Server Port? Just curious if anyone else has run into this situation with setting up a new set of servers and how much separation on the network there needs to be between the web and DB servers for HIPAA compliance. We do have private health information but no financial (PCI) info. Dan ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317908 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Is it possible to use a CF variable in jQuery?
I found that you need to include javascript w cf variables in the .cfm file, and not a .js file (for obvious reasons). Speeves On 1/12/09, Gerald Guido gerald.gu...@gmail.com wrote: is it a good idea to mix coldfusion markup and javascript? Try doing it with PHP or mixing and escaping it with another C-ish/ECMA type language... say cfscript. The goggles... they do NOTHING G! On Mon, Jan 12, 2009 at 5:41 PM, Tony Bentley t...@tonybentley.com wrote: The question to further this discussion is to ask, What is a better approach? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317824 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Dreamweaver Locking
Webdav also locks files. Just use it as your publishing protocol. On 12/11/08, James Holmes james.hol...@gmail.com wrote: Yes, DW's locking scheme is a simple text file named after the locked file with an extra .LCK extension. It contains the following: Some Name||some.em...@somewhere.com That's it; all that's necessary is an FTP based utility that can get/put the file that's being checked in/out and create or delete the related .LCK file. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2008/12/12 Sonny Savage sonnysav...@gmail.com: It was my impression that Dreamweaver creates an .lck file or something... If you were using Eclipse/CFEclipse is seems like you could write an Ant script to replicate this behavior. On Thu, Dec 11, 2008 at 12:59 PM, Rob Parkhill robert.parkh...@gmail.comwrote: well Tortise SVN has a lock and release lock function, however, being the only one developing here, I just use it for Version Control. However you could look into it, I am sure that there are docs on it. HTH Rob On Thu, Dec 11, 2008 at 12:51 PM, Casey Dougall ca...@uberwebsitesolutions.com wrote: On Thu, Dec 11, 2008 at 12:46 PM, Phillip M. Vector vec...@mostdeadlygame.com wrote: What I'm asking is.. Does anyone know of any program that allows me to check in and out files on the server, but not actually use dreamweaver. I don't personally know of anyway to do that except to use Dreamweaver. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316694 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Source Control Method
On Thu, Dec 11, 2008 at 11:23 AM, Phillip M. Vector [EMAIL PROTECTED] wrote: Instead of source control... Is there a program that replicates dreamweavers checkin-checkout system so I don't need to load it to check files in or out of the server? On Thu, Dec 11, 2008 at 10:48 AM, Torrent Girl [EMAIL PROTECTED] wrote: Hello All I need to set up a source control solution and am not familiar with doing this. Doesn't Dreamweaver allow you to manage code? Also can someone suggest a free, easy to implement solution? Thanks Source control is usually used for keep historical records on the source, as well as handling more complicated workgroup programming tasks, (ie branching, merging, tagging, etc). If you just need to lock files to keep others from working on them at the same time, then I would stay with the Dreamweaver method, and allow it to handle your locks, (I have only used Dreamweaver with webDAV publishing, so am not sure if it works the same in other protocols). If you need source control, Subversion (http://subversion.tigris.org/) is a great solution. speeves ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316621 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: charts in pdf's
Hi Tony, Could you please send code? It would be difficult to troubleshoot without seeing how you are inserting the chart. thanks, speeves On Tue, Dec 2, 2008 at 10:23 AM, Tony [EMAIL PROTECTED] wrote: hi there. i am having an issue, and ive googled all i can google. i simply cannot get a png chart to show up in a pdf :( i can def give you code, but the facts are, that it all works well and dandy in a browser on a page, but as soon as i try to cfdocument it, and make it a pdf the chart just doesnt show up any ideas?? thanks! -- tony Better than a thousand hollow words, is one word that brings peace. -- siddhartha gautama ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316110 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF 8 - Multiple Site Issue
I would check the webroot on IIS. It sounds like it is configured for the wrong location for 3 Speeves On 11/20/08, Brad Haas [EMAIL PROTECTED] wrote: I've got CF 8 set up on a Windows 2003 SP 2 box using IIS. I have three sites running: (1) Default C:\Inetpub\wwwroot (2) Test C:\Sites\Test (3) Stage C:\Sites\Stage Sites 1 and 2 work fine. Site 3 challenges me for a username and password. This I don't understand. Anonymous access is allowed. I've restarted the physical server, ColdFusion and IIS and still have the same problem. I've even deleted the site and started over and have the same problem. What is stranger still is that if I go to thedomain.com/index.cfm (instead of just thedomain.com) I get File Not Found: /index.cfm. So if I try to enter the site with the page name, I'm no longer challenged but the file is not found. I've checked the directory and the file is definitely there. The server is setup to run CF on all IIS sites. Any suggestions or ideas of what may be wrong? Thanks, ColdFused ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315656 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Prevent direct access to XML data file?
Hi jeffrey There are a lot of variables here. What platform, read/write limits, directly through a browser, or through cf? Blocking browser calls is fairly easy through access control on the web server. The best probable way would be to throw it in a secured directory (ie _private), and then create a gateway script through which people interact with it, but that doesn't protect from other devs from writing code to access it. Cf sandbox security might come into play there. Speeves On 11/19/08, Jeffrey Lemire [EMAIL PROTECTED] wrote: Is it possible to prevent direct access to an XML datafile? Similar to verifyClient() for AJAX request, I was hoping that there was one for an XML data file request as well. TIA! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315657 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Apache not working
are you seeing this in your web browser? This is usually an error that you see wheb you are starting apache, not browsing. What do the apache error logs say? Speeves On 11/7/08, Fawzi Amadu [EMAIL PROTECTED] wrote: I have setup apache along with Coldfusion on a dedicates server. My problem is that when I try to access Coldfusion Administration (url: https://www.mysite.mobi/CFIDE/administrator/index.cfm, I get an error saying that apache coud not reliable determine the server fully qualified domain name. What is it that I am doing wrong? TIA ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314989 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Open Source Document Management System
On Wed, Nov 5, 2008 at 7:30 AM, Peter Boughton [EMAIL PROTECTED] wrote: I am always confused by dual-licensed Free software. I don't understand how you can distribute the same software with two different licenses, and still enforce the letter of the AGPLv3... (Which is used to give the recipient of the code the same rights to distribution as the original creator). Not quite - the GPL doesn't give the recipient the right to change which license the software is distributed under - the recipient can only re-release the software under the same license (or a compatible one). However, the original creator/owner holds copyright for the code they have created, and that code may be released by them under any other license(s), as they choose, entirely independently of the GPLed code. I understand these things, (and thanks for clarification on my point). My understanding of copyleft is that code, and distributed changes to the code, should always be available for community-at-large. Therefore, a commercial license which allows some to modify and distribute the code without making the source available seems to contradict the spirit of copyleft. (Though, I do understand that some organizations need to have a commercial license for software which they purchase, as well as the monetary value of selling commercially licensed versions of software). I want to mention that this was a general commentary, and in no way, should be construed as a knock on Razuna. Others who are more qualified have already weighed in on its capabilities. speeves ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314875 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Where are the DSN's stored on CF 7 Standard
/path/to/coldfusion/lib/neo-query.xml On Wed, Nov 5, 2008 at 2:04 PM, Gerald Guido [EMAIL PROTECTED] wrote: We need to swap out about 70 or so DSN's to a new MSSQL server. I can't remember where these are stored. Is it in an XML file. I can't remember. I would like to avoid doing them all individually if possible. Many TIA, ~G~ -- Gerald Guido http://www.myinternetisbroken.com Neurotics build castles in the air, psychotics live in them. My mother cleans them. -- Rita Rudner ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314877 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Open Source Document Management System
I am always confused by dual-licensed Free software. I don't understand how you can distribute the same software with two different licenses, and still enforce the letter of the AGPLv3... (Which is used to give the recipient of the code the same rights to distribution as the original creator). Speeves On 11/4/08, Jordan Michaels [EMAIL PROTECTED] wrote: http://www.razuna.com/ It's a bit more then a simple document management system (It's creators refer to it as a Digital Asset Management System), but it's open-source and runs flawlessly on OpenBD. Hope this helps! Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open BlueDragon Steering Committee Adobe Solution Provider Kim Hoopingarner wrote: Does anyone know where there might be a good document management (web based) system that might even have open source? Thoughts? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314831 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Script to move email to from undelivr to spool?
What platform are you on, and what is the criteria needed to move the messages? Speeves On 11/3/08, Nick Gleason [EMAIL PROTECTED] wrote: Hi folks, We need to develop a script that can move mail from the undelivr folder to the spool folder in CF. My recollection is that there was some talk on this board a while back about this issue and maybe that a script had been developed. I checked the archives and riaforge with no luck. Does anyone know if such a script is already built and available? Thanks in advance, Nick ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314791 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Redirecting
You could use something like CGI.REMOTE_ADDR or CGI.REMOTE_HOST, but these may or may not work, if you are behind a load-balancer, and they are not passing the x-remote-addr header back to you, or if the end user is coming through a proxy... On Fri, Oct 31, 2008 at 11:19 AM, Developer MediaDoc [EMAIL PROTECTED] wrote: Hi All, Have a site whose DNS is not controlled by us. They (the DNS controllers), have setup a URL to redirect at the DNS level (so they tell me), www.abc.com/french to come to our site via an IP address. When we get this visitor, they need to get to our FRENCH page. Our standard default page is the english one. I've looked through the CGI scope, and there is ZERO indication in that scope that they are coming from www.abc.com/french (our HTTP referrer is empty string). Is there anyway WE can get this to work, or is it on their end at the DNS. (Its a government client, so any changes we request take ~ 1 month!). We are on CF 7.0, IIS 6.0. Many thanks, Matts ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314680 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: LDAP Query Performance question
Here is a link to information about optimizing and profiling ldap queries to AD: http://robbieallen.com/downloads/RAllen_LDAP_Searching.ppt On Fri, Oct 31, 2008 at 11:25 AM, Burns, John D [EMAIL PROTECTED] wrote: I have a query of a SQL table that returns to me a bunch of usernames. From that, I need to query some information out of Active Directory for each user. Right now I have it looping over each row in the result from the SQL query and doing a separate LDAP query to the AD. This just doesn't seem like the best way to do things. Does anyone know if there's a syntax within LDAP querying of the AD to do something like an IN keyword where I could give the whole list of usernames I want to query and get a single result set back from one query instead of doing individual queries? There's no commonality amongst the user accounts in the AD except for the fact that their usernames are all in this external SQL table. Let me know if you have any ideas. Or maybe the single LDAP queries aren't as intensive as bad as what I'm thinking. I just know I always try to avoid multiple queries in SQL whenever possible. Here's the syntax I'm using now when querying the AD: cfldap action=QUERY name=GetEmployeeIDByUsername attributes=cn,displayName,givenName,extensionAttribute1 start=dc=domain,dc=com scope=subtree filter=((objectCategory=Person)(cn=#myQuery.username#)) server=domaincontroller.mydomain.com username=#ADUsername# password=#ADPassword# Thanks in advance for any help. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314681 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: LDAP Query Performance question
LDAP is optimized for reading, so I would assume that tens of thousands of requests per second shouldn't phase it. (OpenLDAP 2.4 can handle 32,000 per second, (I can't seem to find a number for Active Directory)). speeves On Fri, Oct 31, 2008 at 2:45 PM, Dawson, Michael [EMAIL PROTECTED]wrote: Oh, by the way, regarding my earlier message. We have about 5,500 accounts that I update on a daily basis. Performance isn't really an issue, however, I have plans to cut this down from taking several minutes, to just a few dozen seconds. Mike -Original Message- From: Burns, John D [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2008 12:03 PM To: cf-talk Subject: RE: LDAP Query Performance question It's just a nightly task but it may have 300-400 results each time it runs. I don't think it'll bring down the house or anything it just brought up the question to see if there was a more elegant way of doing it. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314704 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: LDAP Query Performance question
My point exactly :) On Fri, Oct 31, 2008 at 3:17 PM, Dawson, Michael [EMAIL PROTECTED]wrote: AD can handle 32,001 ;^) -Original Message- From: Shannon Peevey [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2008 3:06 PM To: cf-talk Subject: Re: LDAP Query Performance question LDAP is optimized for reading, so I would assume that tens of thousands of requests per second shouldn't phase it. (OpenLDAP 2.4 can handle 32,000 per second, (I can't seem to find a number for Active Directory)). speeves ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314707 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: url rewrite question
I start thinking Apache when I see complex rewrite needs. Apache's mod_rewrite is amazing :) On Sun, Oct 26, 2008 at 1:43 PM, Rick Root [EMAIL PROTECTED]wrote: So I want to set up multiple web site subdirectories that all use the same code. www.somedomain.com/site01/ www.somedomain.com/site02/ www.somedomain.com/site03/ www.somedomain.com/site04/ when accessing these sites, the URL should never really change, and coldfusion should see #cgi.script_name# as /site01/index.cfm /site02/index.cfm etc.. I can do this with IIS virtual directories, but we will have thousands of web sites. I wondered if ISAPI Rewrite can allow me to rewrite *ANY* subdirectory call to another subdirectory... ie, rewrite /.*?/ to /site/ ... but still have CF know that the URL was /site01/ /site02/ etc... -- Rick Root New Brian Vander Ark Album, songs in the music player and cool behind the scenes video at www.myspace.com/brianvanderark ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314382 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Proper Authentication with CFLDAP?
There are three types of binds that a LDAP server can be configured for: 1. anonymous - the tree is world readable, so no credentials are checked, and your search has all of the rights granted to anonymous 2. user bind - the user authenticates against the tree, and has rights granted based upon the users rights. (no anonymous reads usually). 3. unauthenticated - anonymous binding with user dn, but no password. 1 and 2 are the most prevalent. I don't have as much experience with Active Directory, so they may have extended these possibilities. speeves On Fri, Oct 24, 2008 at 8:38 AM, Dawson, Michael [EMAIL PROTECTED]wrote: It depends on your LDAP server. It appears that you are not using Active Directory due to the way you have handled your start and username attributes. AD allows any domain user to query the directory. Other servers, such as Novell DS, may require you to first query the directory for the DN of the user who is trying to authenticate. This first query will require a known username and password. Then, the second query will take the first query's DN and use it as the username. If all works, then, the user is authenticated. However, I have worked with a Novell server that doesn't require a username/password at all. From what I am told, this is common for Novell servers. There are a couple of improvements I would suggest. 1. As Shannon said, for the START, you can specify the root of the users container, rather than the DN of the user object. If you are told to specify the DN in the START, then change your SCOPE to BASE. There is no SUBTREE for a single object. Therefore, there is no need to ask the LDAP server to search through sub-OUs when you just told it the exact destination. It doesn't hurt, but it's confusing when reading the code. 2. While authenticating, you can also bring out other attributes such as givenName, sn, mail, etc. Currently, you are returning only cn. You may need other attributes within your application, so why not authenticate, and get their values, in a single request? 3. You don't need the cfelse part of your condition. You already know the UserIsValid variable is 0. Mike -Original Message- From: Marie Taylore [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2008 4:01 PM To: cf-talk Subject: Proper Authentication with CFLDAP? I just received this code as the proper way to bind someone during an LDAP login to a ColdFusion App. Is this really the right way? cfset UserIsValid = 0 CFTRY cfldap action=QUERY name=Authenticate start=uid=#username#,ou=#OurOU#,dc=#OurDC#,dc=#OurDC2# attributes=cn scope=SUBTREE server=#OurServer# username=uid=#username#,ou=#OurOU#,dc=#OurDC#,dc=#OurDC2# password=#password# cfif Authenticate.RecordCount GT 0 cfset UserIsValid = 1 cfelse cfset UserIsValid = 0 /cfif cfcatch type=Any cfset UserIsValid = 0 !--- DEBUG CODE HERE --- /cfcatch /CFTRY cfif UserIsValid EQ 0 Sorry, login failed. cfabort /cfif If they pass the CFABORT above, they're authenticated to your app. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314341 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Proper Authentication with CFLDAP?
Yes, this would let you know that they are authenticated. It assumes that you LDAP server allows users to read from the tree. I'm not sure about using the full DN to the object with the start key. I always use the people container. Here is my example: cfldap name=authenticate action=query server=#Application.ldapServer# port=389 attributes=#userAttributes# start=#Application.peopleBasedn# scope=subtree filter=#Application.ldaploginobjectclass#=#Form.username# username=#Application.ldaploginobjectclass#=#Form.username#,#Application.peopleBasedn# password=#Form.password# Don't forget to authorize the user as well :) speeves On Thu, Oct 23, 2008 at 4:01 PM, Marie Taylore [EMAIL PROTECTED]wrote: I just received this code as the proper way to bind someone during an LDAP login to a ColdFusion App. Is this really the right way? cfset UserIsValid = 0 CFTRY cfldap action=QUERY name=Authenticate start=uid=#username#,ou=#OurOU#,dc=#OurDC#,dc=#OurDC2# attributes=cn scope=SUBTREE server=#OurServer# username=uid=#username#,ou=#OurOU#,dc=#OurDC#,dc=#OurDC2# password=#password# cfif Authenticate.RecordCount GT 0 cfset UserIsValid = 1 cfelse cfset UserIsValid = 0 /cfif cfcatch type=Any cfset UserIsValid = 0 !--- DEBUG CODE HERE --- /cfcatch /CFTRY cfif UserIsValid EQ 0 Sorry, login failed. cfabort /cfif If they pass the CFABORT above, they're authenticated to your app. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314320 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: docx (office 2007) from CF? (Cross)
Perfectly possible in a PDF file format. Sometimes without paying Adobe (OpenOffice v3, for example). I'm just a poor country chicken... but this here OpenOffice don't seem like it's Word. Seriously tho' - the requirement is to do this in Word. It's nonsensical to suggest non-Word alternatives. The client-side requirements are immutable. OpenOffice can convert between Microsoft Office and other document formata, (server-side). (It's really probably the best there is at this). OpenDocument Format is the original standard for file representation, ( ISO/IEC 26300:2006 Open Document Format for Office Applications (OpenDocument) v1.0), so I don't know why Microsoft pursued a second standard... Last but not least, Microsoft Office will soon support OpenDocument Format, ( http://www.microsoft.com/Presspass/press/2008/may08/05-21ExpandedFormatsPR.mspx). I see your point, though :) speeves ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313863 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: docx (office 2007) from CF? (Cross)
On Mon, Oct 13, 2008 at 10:17 AM, Loathe [EMAIL PROTECTED] wrote: I have to create very large (sometimes hundreds of pages) word documents from CF with some pretty specific formatting and layout rules. I've been using iText to create some basic word docs, but as soon as they get too large CF throws weird errors. The biggies are I need to be able to set headers and footers, page numbers, and use graphics. It would be nice if I could do a table of contents, but not required. It must be word. I'm also wondering if there isn't some kind of .Net solution I couldn't use from CF, as this project is for CF 8. Hi, You can check out the MSDN documentation at: http://msdn.microsoft.com/en-us/library/aa338205.aspx Then write your own libraries. I have posted something similar for OpenDocument Format here: http://speeves.erikin.com/2008/08/coldfusion-opendocument-format-starter.html http://speeves.erikin.com/2008/08/coldfusion-opendiocument-format-add.html These are very basic, but give you an idea on how to work with a similar format. The interesting thing, (to me), with OpenDocument Format, is that you can use jodconverter and transform the docs into most formats, (anything that OpenOffice can do). Let us know how it goes for you, as we need more documentation on handling these formats. thanks, speeves ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313821 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: reading xml into a database
Hi Mike, What issues are you having? It is hard to tell from the description. thanks, speeves On Sun, Oct 12, 2008 at 10:52 PM, Mike Little [EMAIL PROTECTED]wrote: hi guys, am hoping someone will find this one very easy... need to read the following xml child nodes into a database, including the attribute 'valid' in the root node. ?xml version=1.0 encoding=UTF-8 ? Response valid=1 Success1/Success TxnTypeAuth/TxnType CurrencyInputNZD/CurrencyInput MerchantReferenceP20081013-14/MerchantReference /Response the xml is passed to my page as cfhttp.fileContent if anyone could help it would be great as i am getting nowhere!! mike ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313798 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfmail - Mail sending problem
In the good ol' days, cfmail used to limit the number of recipients. I'm not sure if this is still there. I would also look at your smtp server, and any spam tools that it is using, which could assume that someone dumping X number of messages into it is a spammer. Usually, something like greylisting will return a 451 Message temporarily deferred (for example) though... On Sun, Oct 5, 2008 at 10:00 AM, J.J. Merrick [EMAIL PROTECTED]wrote: If you are using the windows SMTP server look in the activity log and see if the SMTP server is crashing. if it is then you might want to look at slowing down the send process. J.J. On Sun, Oct 5, 2008 at 6:15 AM, Will Tomlinson [EMAIL PROTECTED] wrote: I have a program that sends out 1,000+ emails at a time using cfmail. I noticed I'm getting a lot of errors in my mail logs, like this: Error,scheduler-2,10/01/08,18:32:40,,Could not connect to SMTP host: 127.0.0.1, port: 25, response: -1 I just sent a test email out with a simple cfmail and it worked fine. I'm guessing I may need to tweak my CF Admin mail settings? Maybe I'm sending too much at a time? I could setup a mail trickler program, but thought I could maybe change a setting to make it quicker/easier on me. Here are my current settings (default) Spool interval: 15 secs Spool mail messages for delivery: checked Connection Timeout (seconds): 60 Thanks, Will ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313613 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Two CF 8.01 Clustering problems
On 1): have you checked * Use J2EE session variables * ? You have to use J2EE session variables in a clustered environment.. On Thu, Oct 2, 2008 at 12:56 AM, James Holmes [EMAIL PROTECTED]wrote: We're hoping to set up some monitoring to work that out. If there's a verbose log level I can turn on at the server end it might help. I'll dig around for that. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2008/10/2 AJ Mercer [EMAIL PROTECTED] for point 2there maybe some timeout setting on the network - if it cant see it for a period of time it may think the cluster is dead. Is the newtowrk under load when it drops out? On Thu, Oct 2, 2008 at 2:28 PM, James Holmes [EMAIL PROTECTED] wrote: We have two problems with clustering our CF 8.01 Multiserver (i.e. JRun) installs. 1) Session replication is broken. When we turn off an instance in a cluster that has session replication and stickiness turned on, the next server that gets the request throws a null pointer error when trying to run Application.cfc to establish the session. We've confirmed this by clearing the session cookies on the browser; this enables the server to respond correctly as it can then set up its own session. Turning off session replication makes this go away. Any ideas what might be wrong with our setup to cause session replication to fail? 2) Half way through yesterday, our clustering started to fail. Up until now all the servers have behaved properly, all joining the cluster correctly. Now, servers will drop out of the cluster for no reason, only to re-join later on. They intermittently drop in and out of the cluster. The most interesting part is that when they drop out, they do it in pairs. Each pair of servers in the same datacentre stay clustered; they seem to lose the connection with the servers in the other datacentre (we have four servers, two in each datacentre, all on the same VLAN subnet). I've tried adding the servers as unicast peers rather than letting the multicast discovery find them, but it didn't help. If anyone has ideas about how best to monitor the connections between the servers and get an idea of why the servers are dropping out of the cluster, please let me know. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313619 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Two CF 8.01 Clustering problems
My gut feeling is that it isn't related to the jvm version. Have you verified that all necessary ports are open between cluster nodes? On 10/8/08, James Holmes [EMAIL PROTECTED] wrote: Yes, that's on for all members in the cluster (and it's the only way I set up sessions for every server I touch). We think we've resolved the problem of members dropping out of the cluster. It appears that two of the boxes were set up for IPV6 and two weren't. Getting rid of the IPV6 config seems to have made them behave and they all respond to the discovery multicasts properly now. The problem of sessions giving a null pointer error on failover persists if we enable session replication. We're running the 1.5 JVM on these servers; at some stage I'll set up a test server with Java 6 to see if that's the cause. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2008/10/9 Shannon Peevey [EMAIL PROTECTED] On 1): have you checked * Use J2EE session variables * ? You have to use J2EE session variables in a clustered environment.. On Thu, Oct 2, 2008 at 12:56 AM, James Holmes [EMAIL PROTECTED] wrote: We're hoping to set up some monitoring to work that out. If there's a verbose log level I can turn on at the server end it might help. I'll dig around for that. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2008/10/2 AJ Mercer [EMAIL PROTECTED] for point 2there maybe some timeout setting on the network - if it cant see it for a period of time it may think the cluster is dead. Is the newtowrk under load when it drops out? On Thu, Oct 2, 2008 at 2:28 PM, James Holmes [EMAIL PROTECTED] wrote: We have two problems with clustering our CF 8.01 Multiserver (i.e. JRun) installs. 1) Session replication is broken. When we turn off an instance in a cluster that has session replication and stickiness turned on, the next server that gets the request throws a null pointer error when trying to run Application.cfc to establish the session. We've confirmed this by clearing the session cookies on the browser; this enables the server to respond correctly as it can then set up its own session. Turning off session replication makes this go away. Any ideas what might be wrong with our setup to cause session replication to fail? 2) Half way through yesterday, our clustering started to fail. Up until now all the servers have behaved properly, all joining the cluster correctly. Now, servers will drop out of the cluster for no reason, only to re-join later on. They intermittently drop in and out of the cluster. The most interesting part is that when they drop out, they do it in pairs. Each pair of servers in the same datacentre stay clustered; they seem to lose the connection with the servers in the other datacentre (we have four servers, two in each datacentre, all on the same VLAN subnet). I've tried adding the servers as unicast peers rather than letting the multicast discovery find them, but it didn't help. If anyone has ideas about how best to monitor the connections between the servers and get an idea of why the servers are dropping out of the cluster, please let me know. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313654 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfmail + gmail
If it works, don't fix it :) On Tue, Sep 30, 2008 at 8:40 AM, Adrian Lynch [EMAIL PROTECTED]wrote: Can anyone say whether useTLS=true and/or useSSL=true are needed in cfmail to send via a Google hosted email account? The following works for me: cfmail server=smtp.gmail.com port=465 username=#VARIABLES.username# password=#VARIABLES.password# useSSL=true Message/cfmail But blog posts I've read say useTLS is needed. Does specifying the port change anything? Adrian Lynch http://www.halestorm.co.uk/ http://www.adrianlynch.co.uk/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313274 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: what sorta date?
It's probably defined internally in the db. I would check your db documentation, and then use CF to format the returned values. Easy-peasy :) On Mon, Sep 29, 2008 at 8:26 AM, daniel kessler [EMAIL PROTECTED] wrote: I have a date being returned to me. It's not a normal date as I'm used to seeing them. Wed, 24 Sep 2008 13:32:00 + When I do a dateformat() on it, it works fine. When I do a db call, it doesn't though (it works very oddly). Should I break it down by years, month, day and do a createdate on it? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313203 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: My first attempt to install 64bit CF did not go well...
Is coldfusion firing up? Or, is it failing when you try to start the server? It appears to me that your issue is simply configuring the web server to use coldfusion. If this is true, this post may be of use: http://www.talkingtree.com/blog/index.cfm/2007/8/28/ColdFusion8-64-bit-mode-Solaris As will this: http://gentoo-wiki.com/HOWTO_Apache_with_Coldfusion_MX7 speeves On Thu, Sep 25, 2008 at 8:50 AM, Ian Skinner [EMAIL PROTECTED] wrote: We tried to install ColdFusion 8.01 in 64 bit mode on a new Solaris Unix server yesterday and it did not complete. The installation seems to have ran without any noticeable problems, but the cfmx-connectors.sh does not seem to run properly. We are attempting to install ColdFusion in a Multi-home configuration under a default JRun-4 JVM using Apache as the web server. Can anybody point to any information specific to installing this flavor of ColdFusion? Anybody got any hints on what we should be looking for in any particular logs that may guide us as we start to debug the problem this morning? TIA Ian ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:313056 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: / by zero error
Just reaching, but are the operating systems the same on both machines? The versions of Java? speeves On Tue, Sep 23, 2008 at 9:08 AM, Scott Taylor [EMAIL PROTECTED]wrote: I have two applications running on CF8 Enterprise in a multiple-instance cluster. In one, I have no problems. In the other, I get a '/ by zero' error when coming into the app. Both set session variables and a timeout in exactly the same manner. Here's a little bit of the error: / by zero The error occurred in \\ikraid\ikweb\RmsLive\Application.cfm: line 114 110:cfapplication name=SRV1 111: clientmanagement=Yes 112: sessionmanagement=Yes 113: setclientcookies=Yes 114: sessiontimeout=#ThisSessionTimeout# ThisSessionTimeout is set to #CreateTimeSpan(0,2,0,0)# earlier in the code, and I've verified that it is set correctly. I'm stuck at this point. I can't see where there is any arithmetic operation in the cfapplication tag, but obviously it doesn't like something. Thanks for any help or advice. Scott Taylor ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312955 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: / by zero error
Can you include the stack trace as well, please? thanks, speeves On Tue, Sep 23, 2008 at 12:51 PM, Josh Nathanson [EMAIL PROTECTED]wrote: Could you try hardcoding the CreateTimeSpan(0,2,0,0) into the cfapplication tag, and at least see if that works? -- Josh - Original Message - From: Scott Taylor [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, September 23, 2008 10:17 AM Subject: Re: / by zero error I should have put this in the OP. Both apps run on the same machine. The code that works is only very slightly modified and has the same cfapplication tag in it, and sets the variable ThisSessionTimeout exactly the same way. Scott Just reaching, but are the operating systems the same on both machines? The versions of Java? speeves On Tue, Sep 23, 2008 at 9:08 AM, Scott Taylor [EMAIL PROTECTED]wrote: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312974 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: (ot) Setting up an SVN on Localhost
Check this page out: http://docs.codehaus.org/display/GEOT/SVN+Windows svn can be accessed locally, (ie through a local client), through webDAV, or through svnserve, (the built-in server). The link above helps you to setup the command line client. speeves On Tue, Sep 23, 2008 at 1:30 PM, Rob Parkhill [EMAIL PROTECTED]wrote: Good day, I am trying to configure SVN for my local dev machine. Is it possible (using IIS (I know, I'm sorry)) to configure this to work just locally. I don't really want to be putting anything to an SVN server, unless I have to, I guess. Everytime I try to import a directory with a project in it into my newly created SVN repository, I get: The VCC property was not found on the resource Now, I have no idea what that means, and can't seem to google my way to an answer. If there is anyone who can help me set this up, it would be greatly appreciated! TIA, Rob ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312978 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: / by zero error
It looks to me as if your session timeout variable is empty, causing the : java.lang.ArithmeticException: / by zero at coldfusion.util. CaseInsensitiveMap.findStringKey(CaseInsensitiveMap.java:122) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:2644) at cfApplication2ecfm1155865675.runPage(\\ikraid\ikweb\RmsLive\Application.cfm:114) I'm with Josh on this. (sessiontimeout=#CreateTimeSpan(0,0,15,0)#) Use the example above, and make sure that you restart your coldfusion server to clear out the application variables. I'm not clear if this is a clustered instance, but if so, make sure that you are using J2EE session variables. If they are clustered, it could be that the nodes aren't sharing session variables. speeves On Tue, Sep 23, 2008 at 3:37 PM, Scott Taylor [EMAIL PROTECTED]wrote: I did try hardcoding the createtimespan, and output the variable - same either way. Here's the stack trace: java.lang.ArithmeticException: / by zero at coldfusion.util.CaseInsensitiveMap.findStringKey(CaseInsensitiveMap.java:122) at coldfusion.util.FastHashtable.find(FastHashtable.java:38) at coldfusion.util.CaseInsensitiveMap.put(CaseInsensitiveMap.java:230) at coldfusion.util.FastHashtable.put(FastHashtable.java:43) at coldfusion.runtime.J2eeSessionScope.bind(J2eeSessionScope.java:56) at coldfusion.runtime.AbstractScope.bindName(AbstractScope.java:50) at coldfusion.runtime.Scope.put(Scope.java:74) at coldfusion.runtime.J2eeSessionScope.put(J2eeSessionScope.java:75) at coldfusion.runtime.AppHelper.setupJ2eeSessionScope(AppHelper.java:597) at coldfusion.runtime.AppHelper.setupSessionScope(AppHelper.java:647) at coldfusion.tagext.lang.ApplicationTag.doStartTag(ApplicationTag.java:278) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:2644) at cfApplication2ecfm1155865675.runPage(\\ikraid\ikweb\RmsLive\Application.cfm:114) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:192) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:366) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:33) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:214) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:86) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:126) at coldfusion.CfmServlet.service(CfmServlet.java:175) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at jrun.servlet.FilterChain.service(FilterChain.java:101) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:284) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Thanks, Scott Can you include the stack trace as well, please? thanks, speeves On Tue, Sep 23, 2008 at 12:51 PM, Josh Nathanson [EMAIL PROTECTED] wrote: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312990 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: / by zero error
It looks to me as if your session timeout variable is empty, causing the : java.lang.ArithmeticException: / by zero at coldfusion.util. CaseInsensitiveMap.findStringKey(CaseInsensitiveMap.java:122) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:2644) at cfApplication2ecfm1155865675.runPage(\\ikraid\ikweb\RmsLive\Application.cfm:114) I'm with Josh on this. (sessiontimeout=#CreateTimeSpan(0,0,15,0)#) Use the example above, and make sure that you restart your coldfusion server to clear out the application variables. I'm not clear if this is a clustered instance, but if so, make sure that you are using J2EE session variables. If they are clustered, it could be that the nodes aren't sharing session variables. speeves ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312991 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Logging to db vs txt file
What about using log4j? It come with Coldfusion ( ./lib/log4j-1.2.12.jar with CF8), and abstracts your logging methods. (The target of the log output can be a file, an OutputStream, a java.io.Writer, a remote log4j server, a remote Unix Syslog daemon, or many other output targets.) http://logging.apache.org/log4j/ http://cdscott.blogspot.com/2005/09/using-log4j-in-coldfusion.html On Mon, Sep 22, 2008 at 4:06 PM, Nick Gleason [EMAIL PROTECTED]wrote: h ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312913 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Logging to db vs txt file
I guess I didn't really answer your question :P I have always seen text files used for high-volume sites. On Mon, Sep 22, 2008 at 4:43 PM, Shannon Peevey [EMAIL PROTECTED] wrote: What about using log4j? It come with Coldfusion ( ./lib/log4j-1.2.12.jar with CF8), and abstracts your logging methods. (The target of the log output can be a file, an OutputStream, a java.io.Writer, a remote log4j server, a remote Unix Syslog daemon, or many other output targets.) http://logging.apache.org/log4j/ http://cdscott.blogspot.com/2005/09/using-log4j-in-coldfusion.html On Mon, Sep 22, 2008 at 4:06 PM, Nick Gleason [EMAIL PROTECTED]wrote: h ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312914 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Logging to db vs txt file
It is a Java library which is available inside your Coldfusion installation, so doesn't rely on IIS at all. Here is another article which has Windows specific examples: http://coldfusion.sys-con.com/node/42122 Good luck, speeves On Mon, Sep 22, 2008 at 5:48 PM, Nick Gleason [EMAIL PROTECTED]wrote: Shannon, Thanks for your response. Log4j looks interesting. But, is that usable with IIS? The (brief) research I've just done on it seems to focus on apache. Nick -Original Message- From: Shannon Peevey [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2008 5:44 PM To: CF-Talk Subject: Re: Logging to db vs txt file What about using log4j? It come with Coldfusion ( ./lib/log4j-1.2.12.jar with CF8), and abstracts your logging methods. (The target of the log output can be a file, an OutputStream, a java.io.Writer, a remote log4j server, a remote Unix Syslog daemon, or many other output targets.) http://logging.apache.org/log4j/ http://cdscott.blogspot.com/2005/09/using-log4j-in-coldfusion.html On Mon, Sep 22, 2008 at 4:06 PM, Nick Gleason [EMAIL PROTECTED]wrote: h ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312922 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Google for Domains, mail not being sent
If your smtp config (from the other thread) is right, then you are using the wrong smtp server. Change it to smtp.gmail.com. Speeves On 9/20/08, Dan O'Keefe [EMAIL PROTECTED] wrote: Chuck, I don't think your SMTP server is correct and not sure if you should list all of the other's as backups. As Kym mentioned, since you know the DNS entries for a google mail account, I am assuming you have one and have the domain configured to work with google. Also, can you send and receive email from the google web interface for the account you are trying to use in the code? Try using the following to override the way you have it configured in CF Admin: cfmail to=recipientEmailAccount from=yourEmailAccount subject=Your Subject server=smtp.gmail.com port=465 username=yourEmailAccount password=yourPassword useSSL=yes Dan On Sat, Sep 20, 2008 at 12:01 AM, Chuck Weidler [EMAIL PROTECTED] wrote: I've hardcoded the To email address in the cfmail to an address that I know is good. Still no good. Thanks for the reply. Chuck Weidler wrote: I have a simple mail application that keeps giving me a log entry of Moved undelivered mail: Mail33655.cfmail to C:\ColdFusion8/Mail/Undelivr directory in the mailsend.log and Invalid Addresses in the mail.log. When I Verify mail server connection it gives me Connection Verification Successful. It is probably the To: address of the actual email that is wrong, not the mail server's IP address -- Yours, Kym ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312871 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF and PHP same server
Prefork is essentially the same model as Apache 1.3, so should be able to handle most volumes that you throw at it. Unless, of course, you get enough to need to load-balance :) On Tue, Sep 16, 2008 at 6:56 PM, James Holmes [EMAIL PROTECTED]wrote: PHP requires a single threaded webserver (as some of the libraries it runs aren't thread safe: http://neosmart.net/blog/2008/dont-believe-the-lies-php-isnt-thread-safe-yet/ ), so you need to run the Apache Prefork MPM. This is less than optimal for high volume sites, but it will work. On Wed, Sep 17, 2008 at 1:40 AM, Bryan Stevenson [EMAIL PROTECTED] wrote: Hey All, Just checking for any major gotchas with running CF and PHP on the same server (a VPS BTW)?? Would be CF 8 and whatever the latest PHP is. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312663 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: debugging when invoking cfc's
I am interested here as well, as debugging coldfusion code is mostly involving cfdump tags in strategic places... Does the Eclipse plug-in give any more information than the CF Debugging output? Hope this doesn't hi-jack the thread, speeves On Wed, Sep 17, 2008 at 1:23 PM, Richard White [EMAIL PROTECTED] wrote: thanks for the reply Dan, although that is a problem i do have at present and as you rightly said it is trying to a reference complex variable as a simple variable although this actual issue is not my problem. my problem is finding the offending code that has this issue. once i can find the offending piece of code then i will be able to fix it. my problem is that i am using cfinvoke to invoke a method in one of my cfc's. that cfc method uses lots of other methods to complete its work. but when i use the cfinvoke the tag context in the resulting error stops at the cfinvoke tag. so the only detail i get of the error is about the complex variable trying to be treated as a simple value. but it has no reference as to what function it is in or what line of code the offending error is occuring. is there a way i can get it to show this? thanks richard The problem is that you are trying to treat a complex object as a simple value. Take the following example. I am creating array that holds 2 values. If I were to dump it everything would be fine but If I tried to output it like below I would get the same error you are. cfset skills = ArrayNew(1) cfset arrayAppend(skills,ColdFusion) cfset arrayAppend(skills,JavaScript) cfoutput#skills#/cfoutput This is because the compiler does not understand what you are trying to do. If you want to see the string representation of this object you could always use the toString() method. cfoutput#skills.toString()#/cfoutput Hope this clears it up a little. Thank You Dan Vega [EMAIL PROTECTED] http://www.danvega.org ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312704 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: capture url variable?
Here is a link to a tutorial: http://www.peachpit.com/articles/article.aspx?p=30497seqNum=9 Here is my take on it with a meta-refresh: meta http-equiv=refresh content=0; url=http://localhost/ cfoutput?#URL.myvar#/cfoutput But, it is pretty much 5pm, so I wouldn't trust it :) speeves On Tue, Sep 16, 2008 at 5:00 PM, John P [EMAIL PROTECTED] wrote: Hi, I need to capture a url variable then add it to a redirect so my application which is changing servers will still work. Not sure where to start. Thanks, John ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312636 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Multiple Instances and Clustering
What happens when you shutdown the master node? Could it be a firewall setup which is blocking communication between nodes? On Fri, Sep 12, 2008 at 8:11 AM, Scott Taylor [EMAIL PROTECTED]wrote: I have a CF cluster I just set up with three instances - Master, and two additional. When I start the additional instances, the logs (*-out.log) show that the instances see the cluster and join fine. However, when I run the server monitor for each instance, I only see active sessions going to the master, not any of the additional ones. I configured IIS to use the cluster through the Web Server Configuration Tool, but get IIS site 'All' has already been configured with different attributes. I also see the following errors frequently in the *-out.log files: 09/10 12:05:20 error Setup of session replication failed. [2]java.io.StreamCorruptedException: unexpected end of block data Thanks in advance for any help on this. Scott Taylor ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312427 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Multiple Instances and Clustering
Here is a blog entry that details the configuration for Apache (disclaimer: I wrote it): http://speeves.erikin.com/2007/01/coldfusion-clustering-faq.html To manually run the connector: *Tip: *(Server configuration only) To use the command line, open the batch files located in *cf_root*\bin\connectors. http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentationfile=0049.htm I don't have access to the batch file, but you could step through it manually, and see how it configures IIS. speeves On Fri, Sep 12, 2008 at 10:48 AM, Scott Taylor [EMAIL PROTECTED]wrote: Thanks for the suggestion. Not a firewall issue. All the instances are on the same machine, and the port for the instances is open between the DMZ and our internal lan. I'm almost positive it has something to do with the Web Configuration, but other than the Web Server Configuration Tool, I don't know how to point IIS to the cluster. Is there a configuration file somewhere that I can just edit? Maybe a registry setting for IIS? Scott What happens when you shutdown the master node? Could it be a firewall setup which is blocking communication between nodes? On Fri, Sep 12, 2008 at 8:11 AM, Scott Taylor [EMAIL PROTECTED] wrote: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312447 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: I need help with a PHP question - off line i guess
Yes, this might be better handled by a PHP specific list: http://www.php.net/mailing-lists.php thanks, speeves On Tue, Jul 29, 2008 at 1:51 PM, Mike Kear [EMAIL PROTECTED] wrote: It's Off-Topic for this list, so I guess off line would be better to handle this, but i have a hosting client who's using PHP on my server, adn is complaining that its running slow. He says the reason his CMS is running slowly is because the site is on a windows box, and PHP is not normally recommended on Windows OS. I think that's bullsh*t, and a cop out for excusing other problems, but I'd like a more informed opinion from someone who knows PHP environments. (I have never done more than a few pages in PHP - never found a reason to). Here's what he says: [quote] The site however seems to be having some grave performance problems. On examination, it seems that the site is running on a windows box, an unusual choice for a php server. As it stands, we cant always get into the admin system due to timeouts, and it seems the box simply isn't optimised for PHP/Mysql , or is somewhat oversubscribed? PHP generally is not recomended for usage with IIS due to ISAPI. What would be the odds of moving over to a Lamp setup with either eaccelerator, ACP, or Zend Optimisor, (eaccel and APC are Open source, so won't be a pocket hit). I'm not sure if you have any Linux boxes provisioned, but as it stands, the current server just isn't coping with our site. [/quote] I should add that the box isnt over-subscribed by a long shot, and i have coldfusion sites on that same box that are screaming along. Would any of you care to comment on this? -- Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309885 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: I need help with a PHP question - off line i guess
On Tue, Jul 29, 2008 at 2:16 PM, Mike Kear [EMAIL PROTECTED] wrote: Thanks, Shannon but i was hoping to avoid those weenies. Any time i've asked them for help with anything i've got lectures about using the anti-Christ's products, instead of open source, but not actually any help. I think if i asked that question on a PHP list, I'd get the same answer as my client has. They'll blame the Devil-incarnate, BIll Gates for the problem because of course as everyone knows, open source software is ALWAYS far superior to anything with a price tag. ( for those who are irony-deprived, that's a little bit of irony there). I asked this off-topic questoin here because i know there are some knowledgeable people here who know Windows servers and who know PHP as well as ColdFusion and can offer an informed opionion about what the client's telling me. Ok, I see that the interaction with Coldfusion may be an issue. Have you checked your Max heap sizes for the coldfusion java engine? In my experience, Java engines tend to use more resources than PHP, (though this using mod_php/apache). BTW, PHP has been supported on Windows for quite some time, so I wouldn't think that would be an issue. Also, you should check the my.cnf for MySQL, as the concurrent connections are usually set pretty low, (I think 100), in a default install. ducking now... speeves ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309891 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Using a function outsideof the call page.
On Fri, Jul 25, 2008 at 8:36 AM, Matthew Irwin [EMAIL PROTECTED] wrote: I am currently calling a cffunction that is on the same page using cfset myVar = GetVar(Toy). The GetVar is written on the same page. However I want to call another function the same way but it is on a diffrent page. Is there a way of calling it with out having to copy and past it into this page? Thanks ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309687 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Using a function outsideof the call page.
Dave Dave, Thanks. Is one peffered over the other? Is one more friendly to understand when reading the code? The cfinclude idea is the simplest. You are just including normal coldfusion code into the file. I tend to use the various options for different things within the same application. speeves ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309694 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SOT: Load testing software for website with AD integrated authentication
On Wed, Jul 23, 2008 at 2:18 PM, Burns, John D [EMAIL PROTECTED] wrote: We're having some serious trouble with an internal website that uses IIS pass-through authentication that logs you in automatically based on the user you're logged into your computer as. The problem is, I can't find any load testing apps that will test a site with that type of login. My thinking is that it doesn't exist because it would have to spoof to AD authentication which shouldn't be able to be done or it defeats the purpose of that type of security. Can anyone confirm this or point us toward a product that does it? I know most work with form authentication and cookies and such but none seem to do pass-through. I'm not interested in other solutions for debugging the code and finding the slow parts as we are unable to do that for contractual reasons. Thanks for your help. What makes you think that it is a load issue? thanks, speeves ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309542 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Apache .htaccess versus httpd.conf
On Thu, Jul 17, 2008 at 3:48 PM, Ian Skinner [EMAIL PROTECTED] wrote: We need to create a couple of redirect directives for some moved content on our websites. Do we have to create an .htaccess file for the directory as all the documentation I have read alludes to or can we just put the redirect 301 /old/path/ /new/path in the appropriate section of the httpd.conf file? You can put it in the httpd.conf file, but realize that you need to force-reload apache everytime you make a change to the directive. Also, note the format: Redirect [status] URL-path URL So: Redirect 301 /my/old/location http://domain.com/my/new/location Enjoy! speeves ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309259 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Anybody have exerience with KickAssVPS.com?
On Wed, Jul 16, 2008 at 4:13 PM, Rick Faircloth [EMAIL PROTECTED] wrote: Just to let you know... KickAssVPS.com cut me a deal for $100 per month on a VPS with these specs: (Normally $130) At these prices, wouldn't purchasing a Coldfusion license from Adobe, and renting a dedicated server from someplace like http://www.serverpronto.com/pay for itself? (serious question), speeves ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309176 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Anybody have exerience with KickAssVPS.com?
On Wed, Jul 16, 2008 at 4:41 PM, Rick Faircloth [EMAIL PROTECTED] wrote: Hmmm... let me look at ServerPronto's site... - Intel Pentium 4, 3 GHz (as opposed to a Quad Core Pentium) - 1 GB RAM (Half as much) - 160 GB HDD (as opposed to 30 GB data space) - 800 GB Traffic Bandwidth (only 200 GB with KAVPS, but still enough) - Only 6 email support tickets per month ($15 each for extra!) - 6 reboots ($29 each for extra!) - IP's - 4 (1 with KAVPS, but enough) - Setup ($99) ($0 with KAVPS) - Windows 2003 Server - $26 per month (incl with KAVPS) - MSSQL 2005 Standard - $99 per month (incl with KAVPS) - Plesk for 100 Domains - $40 per month (incl with KAVPS) So, basically, it looks like Server Pronto would cost me $266 per month with only 6 email support tickets included, + $1300 for CF 8 (let's say about $55 per month before upgrading in 2 years), so... - $321 per month for a dedicated server with Server Pronto - $100 per month for VPS with KAVPS with unlimited support (phone and email) Even with the extras, as long as a VPS suffices (which it should), it seems the better route would be KAVPS, for me. Am I looking at this correctly? Probably. I run Debian, and no MSSQL server or control panel. So that evens it up with more pipeline, etc. We needed more pipeline, (peaking at 1.3 TB a month), so just moved from running our own box at colo4dallas to a managed box at serverbeach. They have both been good. We used serverpronto for about 2 years, (back in the day), and they were pretty solid as well. (For anyone who is interested). Cool. Thanks for the serious reply, (and no flames :) ). speeves ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309193 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: workarounds for cfldap MS AD SSLv3 / TLSv1
On Fri, Jul 11, 2008 at 8:34 AM, Jochem van Dieten [EMAIL PROTECTED] wrote: I am trying to figure out the best way to connect a CF 8.01 application to a Win2003 AD over secure LDAP. I have no need for client certificates (no authentication, just confidentiality and integrity protection). Unfortunately it appears as if the LDAP server will only accept SSLv3 and TLSv1 and CF can at best use SSLv2. For a quick test I tunneled the cfldap traffic over an stunnel connection (http://stunnel.org/) without client certificates and that worked fine, but I would rather not depend on that in a production environment. Any recommendations for an LDAP library that can do SSLv3 or a way to downgrade MS AD to accept SSLv2? Coldfusion has always lagged behind in secure connections to LDAP, so we ran an stunnel on a fairly trafficked site for about four years with no issue. Obviously, you have to aware of changes to stunnel when you run operating system updates, but otherwise stunnel is rock solid. speeves ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308929 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PHP CF 8 on Linux
Works fine on Debian and Ubuntu as well. On Wed, Jul 9, 2008 at 8:42 PM, Gerald Guido [EMAIL PROTECTED] wrote: Thrice. Working on getting Railo 3 beta and Apache Tom Cat to do the same. Got it working on Winders... Centos is next. ~G~ On Wed, Jul 9, 2008 at 9:25 PM, denstar [EMAIL PROTECTED] wrote: Ditto! On Wed, Jul 9, 2008 at 5:52 PM, Barney Boisvert wrote: I've got that exact environment running without issue in a few different places, both physical and virtual. Works like a champ. cheers, barneyb ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308854 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4