Remote access to CFC? Browser trying to download file instead of running it.
I'm having some problems with accessing a CFC via an AJAX request. It works locally, but on the server it gives me a method not allowed error. I'm using the JSMX library and on his suggestion I tried accessing the CFC via an HTTP request. On my local computer, it launches the CFADMIN panel, I log in and presto, I get the self-documentation. On the remote server however, the browser actually tries to DOWNLOAD the CFC file, and in fact actually allowed me to load it in a text editor and view all of the unparsed CF code contained within. Does anyone know why this might be happening? Is there some setting in cfadmin panel that might be causing this behavior? When run via a standard function call, the cfc works just fine. Here's the code in question: http://www.andyandjaime.com/jsmx/zipcode.html Here's the link to the cfc: http://www.andyandjaime.com/jsmx/remote.cfc !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243720 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Remote access to CFC? Browser trying to download file instead of running it.
Your web server is probably not set up to pass the cfc files to ColdFusion for processing. What web server software are you using? -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Friday, June 16, 2006 9:20 AM To: CF-Talk Subject: Remote access to CFC? Browser trying to download file instead of running it. I'm having some problems with accessing a CFC via an AJAX request. It works locally, but on the server it gives me a method not allowed error. I'm using the JSMX library and on his suggestion I tried accessing the CFC via an HTTP request. On my local computer, it launches the CFADMIN panel, I log in and presto, I get the self-documentation. On the remote server however, the browser actually tries to DOWNLOAD the CFC file, and in fact actually allowed me to load it in a text editor and view all of the unparsed CF code contained within. Does anyone know why this might be happening? Is there some setting in cfadmin panel that might be causing this behavior? When run via a standard function call, the cfc works just fine. Here's the code in question: http://www.andyandjaime.com/jsmx/zipcode.html Here's the link to the cfc: http://www.andyandjaime.com/jsmx/remote.cfc !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243721 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Remote access to CFC? Browser trying to download file instead of running it.
Does anyone know why this might be happening? Is there some setting in cfadmin panel that might be causing this behavior? When run via a standard function call, the cfc works just fine. This indicates that the connection between the web server and CFMX is not properly configured. Since you're using Apache, I think that the file extensions used by CF should be listed within your httpd.conf file. 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! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243722 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Remote access to CFC? Browser trying to download file instead of running it.
How did I miss that he's using Apache? In any case, make sure you have something like this in your httpd.conf file: LoadModule jrun_module CF7/mod_jrun20.so IfModule mod_jrun20.c JRunConfig Verbose false JRunConfig Apialloc false JRunConfig Ssl false JRunConfig Ignoresuffixmap false JRunConfig Serverstore CF7/jrunserver.store JRunConfig Bootstrap 127.0.0.1:51011 #JRunConfig Errorurl optionally redirect to this URL on errors #JRunConfig ProxyRetryInterval 600 #JRunConfig ConnectTimeout 15 #JRunConfig RecvTimeout 300 #JRunConfig SendTimeout 15 AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf /IfModule You are probably missing the .cfc in your AddHandler line. -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Friday, June 16, 2006 9:38 AM To: CF-Talk Subject: RE: Remote access to CFC? Browser trying to download file instead of running it. Does anyone know why this might be happening? Is there some setting in cfadmin panel that might be causing this behavior? When run via a standard function call, the cfc works just fine. This indicates that the connection between the web server and CFMX is not properly configured. Since you're using Apache, I think that the file extensions used by CF should be listed within your httpd.conf file. 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! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243724 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Remote access to CFC? Browser trying to download file instead of running it.
We're using Apache, mySQL, PHP and Cf 6.1 all combined. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: Friday, June 16, 2006 8:33 AM To: CF-Talk Subject: RE: Remote access to CFC? Browser trying to download file instead of running it. Your web server is probably not set up to pass the cfc files to ColdFusion for processing. What web server software are you using? -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Friday, June 16, 2006 9:20 AM To: CF-Talk Subject: Remote access to CFC? Browser trying to download file instead of running it. I'm having some problems with accessing a CFC via an AJAX request. It works locally, but on the server it gives me a method not allowed error. I'm using the JSMX library and on his suggestion I tried accessing the CFC via an HTTP request. On my local computer, it launches the CFADMIN panel, I log in and presto, I get the self-documentation. On the remote server however, the browser actually tries to DOWNLOAD the CFC file, and in fact actually allowed me to load it in a text editor and view all of the unparsed CF code contained within. Does anyone know why this might be happening? Is there some setting in cfadmin panel that might be causing this behavior? When run via a standard function call, the cfc works just fine. Here's the code in question: http://www.andyandjaime.com/jsmx/zipcode.html Here's the link to the cfc: http://www.andyandjaime.com/jsmx/remote.cfc !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243725 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Remote access to CFC? Browser trying to download file instead of running it.
Dave... I checked my local httpd.conf file and it has this chunk of code: IfModule mod_jrun.c JRunConfig Verbose false JRunConfig Apialloc false JRunConfig Ssl false JRunConfig Ignoresuffixmap false JRunConfig Serverstore C:/phpdev/Coldfusion/runtime/lib/wsconfig/1/jrunserver.store JRunConfig Bootstrap 127.0.0.1:51010 #JRunConfig Errorurl optionally redirect to this URL on errors AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc /IfModule That last line seems to indicate that it allows CFCs to be run via the browser window? Would this affect creating a connection to the CFC via createObject? Because that method works fine on both local and remote. I'll ask my system guy to check for that line on our server's conf file. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Friday, June 16, 2006 8:38 AM To: CF-Talk Subject: RE: Remote access to CFC? Browser trying to download file instead of running it. Does anyone know why this might be happening? Is there some setting in cfadmin panel that might be causing this behavior? When run via a standard function call, the cfc works just fine. This indicates that the connection between the web server and CFMX is not properly configured. Since you're using Apache, I think that the file extensions used by CF should be listed within your httpd.conf file. 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! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243727 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Remote access to CFC? Browser trying to download file instead of running it.
How did I miss that he's using Apache? He didn't say he was using Apache, I checked for myself. 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! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243728 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Remote access to CFC? Browser trying to download file instead of running it.
That last line seems to indicate that it allows CFCs to be run via the browser window? Would this affect creating a connection to the CFC via createObject? Because that method works fine on both local and remote. Creating an instance of a component doesn't involve the web server at all. The web server only comes into this when your component is accessed as a web service, or directly through a browser. 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! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243729 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Remote access to CFC? Browser trying to download file instead of running it.
Okay everyone... It appears that our system is using some proxy code to forward requests from one web server to the server holding CF. Our sysadmin says that .cfm files are set up top be passed through, but CFC files were not. I'm the only in our company using CFCs at this point so they just never knew about it. He's setting it up right now and here's to hoping it'll work. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Friday, June 16, 2006 9:07 AM To: CF-Talk Subject: RE: Remote access to CFC? Browser trying to download file instead of running it. That last line seems to indicate that it allows CFCs to be run via the browser window? Would this affect creating a connection to the CFC via createObject? Because that method works fine on both local and remote. Creating an instance of a component doesn't involve the web server at all. The web server only comes into this when your component is accessed as a web service, or directly through a browser. 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! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243731 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Remote access to CFC? Browser trying to download file instead of running it.
I know that, but I should've though to check the headers since he provider a url... -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Friday, June 16, 2006 9:56 AM To: CF-Talk Subject: RE: Remote access to CFC? Browser trying to download file instead of running it. How did I miss that he's using Apache? He didn't say he was using Apache, I checked for myself. 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! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243732 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Remote access to CFC? Browser trying to download file instead of running it.
BAD Russ! Now go read your ASP for Dummies book. ;) !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: Friday, June 16, 2006 9:18 AM To: CF-Talk Subject: RE: Remote access to CFC? Browser trying to download file instead of running it. I know that, but I should've though to check the headers since he provider a url... ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243733 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Remote access to CFC? Browser trying to download file instead of running it.
I think you're confusing me with someone else... Why would I ever want to learn ASP? -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Friday, June 16, 2006 10:26 AM To: CF-Talk Subject: RE: Remote access to CFC? Browser trying to download file instead of running it. BAD Russ! Now go read your ASP for Dummies book. ;) !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: Friday, June 16, 2006 9:18 AM To: CF-Talk Subject: RE: Remote access to CFC? Browser trying to download file instead of running it. I know that, but I should've though to check the headers since he provider a url... ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243734 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Remote access to CFC? Browser trying to download file instead of running it.
I was just messing around...no offense intended. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: Friday, June 16, 2006 9:41 AM To: CF-Talk Subject: RE: Remote access to CFC? Browser trying to download file instead of running it. I think you're confusing me with someone else... Why would I ever want to learn ASP? -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Friday, June 16, 2006 10:26 AM To: CF-Talk Subject: RE: Remote access to CFC? Browser trying to download file instead of running it. BAD Russ! Now go read your ASP for Dummies book. ;) !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: Friday, June 16, 2006 9:18 AM To: CF-Talk Subject: RE: Remote access to CFC? Browser trying to download file instead of running it. I know that, but I should've though to check the headers since he provider a url... ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243735 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
cfc browser
The CFC browser in DW is way too slow for me, and it opens a new window for the full docs anyway, so I wrote a little tool that'll just let me browse CFCs in the browser directly, very similar to javadocs. Package list in a frame, click a package to get a list of classes in another frame, click a class to get the documentation from cfcexplorer.cfc in a third frame. Before you check it out, note that it doesn't secure access like cfcexplorer.cfc does. Anyone with access and the right URL will be able to learn everything about all your CFCs unless you manually secure the app. If people want it, I believe CF exposes the ability to authenticate the RDS and admin passwords, so I can add that security in. http://www.barneyboisvert.com/imagedb/2/cfcbrowser1.zip cheers, barneyb --- Barney Boisvert, Senior Development Engineer AudienceCentral [EMAIL PROTECTED] voice : 360.756.8080 x12 fax : 360.647.5351 www.audiencecentral.com --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/2003 ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
CFC Browser in DWMX
Anyone have this just stop working? I'm running CFMX on win2k on the local machine. I can access CFC's in the explorer via the URL in a browser but not through DWMX. I haven't changed any of my settings for the defined site...but re-verified them just to make sure and everything looks as it should... Stace AVIS IMPORTANT: --- Les informations contenues dans le present document et ses pieces jointes sont strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, distribution, copie, ou autre utilisation de ces informations est strictement prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait communiquer immediatement avec l'expediteur et detruire ce document sans en faire de copie sous quelque forme. WARNING: --- The information contained in this document and attachments is confidential and intended only for the person(s) named above. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution, or any other use of the information is strictly prohibited. If you have received this document by mistake, please notify the sender immediately and destroy this document and attachments without making any copy of any kind. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
RE: CFC Browser in DWMX
Now this is odd... http://localhost:8500/CFIDE/componentutils/cfcexplorer.cfc?method=getcfcs Which I believe is the method used by DWMX returns this in a browser: Error Occurred While Processing Request Variable FILENAMES is undefined. The error occurred in C:\CFusionMX\wwwroot\CFIDE\componentutils\cfcexplorer_utils.cfm: line 152 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: CFC Browser in DWMX
Appears to be a bug. It turned out to be a custom tag path that I added in the CFAdmin. The dir contains one tag called forward...whenever I enable this tag path the CFC explorer in DWMX breaks...and also via the web as per my last email... *shrugs* -Original Message- From: Stacy Young [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 12:33 PM To: CF-Talk Subject: RE: CFC Browser in DWMX Now this is odd... http://localhost:8500/CFIDE/componentutils/cfcexplorer.cfc?method=getcfcs Which I believe is the method used by DWMX returns this in a browser: Error Occurred While Processing Request Variable FILENAMES is undefined. The error occurred in C:\CFusionMX\wwwroot\CFIDE\componentutils\cfcexplorer_utils.cfm: line 152 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: CFC Browser in DWMX
I will attempt to reproduce and log a bug if necessary. Thanks Stacy. Collin Tobin QA Engineer 617 219 2000 [EMAIL PROTECTED] Macromedia® What the web can be.(tm) -Original Message- From: Stacy Young [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 12:50 PM To: CF-Talk Subject: RE: CFC Browser in DWMX Appears to be a bug. It turned out to be a custom tag path that I added in the CFAdmin. The dir contains one tag called forward...whenever I enable this tag path the CFC explorer in DWMX breaks...and also via the web as per my last email... *shrugs* -Original Message- From: Stacy Young [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 12:33 PM To: CF-Talk Subject: RE: CFC Browser in DWMX Now this is odd... http://localhost:8500/CFIDE/componentutils/cfcexplorer.cfc?method=getcfcs Which I believe is the method used by DWMX returns this in a browser: Error Occurred While Processing Request Variable FILENAMES is undefined. The error occurred in C:\CFusionMX\wwwroot\CFIDE\componentutils\cfcexplorer_utils.cfm: line 152 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: CFC Browser in DWMX
Thanks Collin...here's the details: Aside from the default custom tag mapping I had two others. Both mapped to directories somewhere under c:\CFusionMX\wwwroot C:\CFusionMX\wwwroot\ino\src\customTags forward2.cfm secure.cfm C:\CFusionMX\wwwroot\zeus\customTags Forward.cfm I'm running on Win2k with Apache 2 but I'm using the internal web server to access any CFC explorer related functions. My mappings in DWMX also use the internal web server. HTH, Stace -Original Message- From: Collin Tobin [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 12:52 PM To: CF-Talk Subject: RE: CFC Browser in DWMX I will attempt to reproduce and log a bug if necessary. Thanks Stacy. Collin Tobin QA Engineer 617 219 2000 [EMAIL PROTECTED] Macromedia(r) What the web can be.(tm) -Original Message- From: Stacy Young [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 12:50 PM To: CF-Talk Subject: RE: CFC Browser in DWMX Appears to be a bug. It turned out to be a custom tag path that I added in the CFAdmin. The dir contains one tag called forward...whenever I enable this tag path the CFC explorer in DWMX breaks...and also via the web as per my last email... *shrugs* -Original Message- From: Stacy Young [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 12:33 PM To: CF-Talk Subject: RE: CFC Browser in DWMX Now this is odd... http://localhost:8500/CFIDE/componentutils/cfcexplorer.cfc?method=getcfcs Which I believe is the method used by DWMX returns this in a browser: Error Occurred While Processing Request Variable FILENAMES is undefined. The error occurred in C:\CFusionMX\wwwroot\CFIDE\componentutils\cfcexplorer_utils.cfm: line 152 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
CFC browser
I understand that the CFC browser in DWMX is looking at the RDS to obtain the list of CFCs on the server. ok, so if i've added a virtual path in the jrun-www.xml file pointing to a folder outside the c:\cfusionMX folder how can i make it appear in the CFC browser? Also, i if i browse to the CFC location to view the 'introspection': Component not found The component definition file for component 'Security' cannot be found on this server. get's returned... do i have to store all CFC's in a physical folder of the web root and not virtual directories? many thanks, john. __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CFC browser
John, you need to have a custom mapping to the CFCs in the CFADMIN. CFCs sort of work the same way as custom tags... looks local first and then it looks through the mappings. Without that mapping, the CFMX server won't be able to find it. So, if my cfcs are in: /folder/cfcs/test.cfc I would map: /folder HTH, ~Todd At 11:18 AM 5/31/2002 +0100, you wrote: I understand that the CFC browser in DWMX is looking at the RDS to obtain the list of CFCs on the server. ok, so if i've added a virtual path in the jrun-www.xml file pointing to a folder outside the c:\cfusionMX folder how can i make it appear in the CFC browser? Also, i if i browse to the CFC location to view the 'introspection': Component not found The component definition file for component 'Security' cannot be found on this server. get's returned... do i have to store all CFC's in a physical folder of the web root and not virtual directories? many thanks, john. __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFC browser
Excellent, I figured it might be something along those lines - thanks for that, John. -Original Message- From: Todd [mailto:[EMAIL PROTECTED]] Sent: 31 May 2002 11:31 To: CF-Talk Subject: Re: CFC browser John, you need to have a custom mapping to the CFCs in the CFADMIN. CFCs sort of work the same way as custom tags... looks local first and then it looks through the mappings. Without that mapping, the CFMX server won't be able to find it. So, if my cfcs are in: /folder/cfcs/test.cfc I would map: /folder HTH, ~Todd At 11:18 AM 5/31/2002 +0100, you wrote: I understand that the CFC browser in DWMX is looking at the RDS to obtain the list of CFCs on the server. ok, so if i've added a virtual path in the jrun-www.xml file pointing to a folder outside the c:\cfusionMX folder how can i make it appear in the CFC browser? Also, i if i browse to the CFC location to view the 'introspection': Component not found The component definition file for component 'Security' cannot be found on this server. get's returned... do i have to store all CFC's in a physical folder of the web root and not virtual directories? many thanks, john. __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists