Re: ColdFusion hangs or slow when several datasources are not found
Hi Bryan, I will do as you suggested. Thanks a lot! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359164 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion hangs or slow when several datasources are not found
Oh! I am so sorry I misspelled your name. Thanks again for the solution Byron! :) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359165 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
ColdFusion hangs or slow when several datasources are not found
Hi All, We recently encountered a problem on our Coldfusion 7 server in which it seems to hang or the page loading is very slow when several datasources were not found due to network problem. The Coldfusion server has many datasources that are found on 3 different database servers. One of the database servers' network connection had a problem and it caused the coldfusion to run very slow and thus affecting all sites even though the datasource of those sites are found. One site only access one datasource. We are using Windows 2003 Server, Coldfusion 7, and IIS6. Has anybody encountered and solved this problem? Thanks, ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359162 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion hangs or slow when several datasources are not found
Check your DSN settings, and set the login timeout to something reasonable like 5 seconds. The default is 30 seconds. You may have to tweak this a bit based on the time it takes to actually authenticate to your DB servers. All our DBs are local to the network and I've never had issue with a 5 second timeout. Also ensure you DSN have maintain database connection checked. This is a performance tweak in general. This forces CF to reuse the connection and reduces the overhead running a query. What is happening is CF is still attempting to connect to the DB server as needed. Each thread doing so, will wait until the login timeout is met before terminating. CF has a finite number of threads, which is outlined in the CFAdmin. The threads are getting used up by the waiting DB requests, once this reaches the maximum number of threads, additional requests are queued and you will begin to see slowness. Something like a cascade effect. The 5 seconds won't solve the issue all around. It just releases those threads faster. Depending on the number of queries attempting to run on the failed DB server. You may still see slowness. ~Byron Mann Lead Engineer Architect HostMySite ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359163 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
riaforge.org not found
Is anyone able to reach riaforge.org? I'm coming up with a site not found error. I'm hitting something when I try riaforge.org because it is redirecting me to www.riaforge.org. However, I did a DNS lookup and the www is returning a 302 Moved Temporarily status code. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357735 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: riaforge.org not found
No. I did a DNS search and found that the domains have no NS records within them. I have emailed Ben Forta and Ray On this issue Sent while utilizing a mobile device. Please excuse the Brevity of this message. On Feb 24, 2014, at 9:25 AM, Dean Lawrence dean...@gmail.com wrote: Is anyone able to reach riaforge.org? I'm coming up with a site not found error. I'm hitting something when I try riaforge.org because it is redirecting me to www.riaforge.org. However, I did a DNS lookup and the www is returning a 302 Moved Temporarily status code. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357736 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: riaforge.org not found
Network Solutions is having DNS issues. The domain is fine - it is just dead at Network Solutions. I'm assuming it will be fine soon. On Mon, Feb 24, 2014 at 8:27 AM, Graham Pearson gpear...@yourcfpro.comwrote: No. I did a DNS search and found that the domains have no NS records within them. I have emailed Ben Forta and Ray On this issue Sent while utilizing a mobile device. Please excuse the Brevity of this message. On Feb 24, 2014, at 9:25 AM, Dean Lawrence dean...@gmail.com wrote: Is anyone able to reach riaforge.org? I'm coming up with a site not found error. I'm hitting something when I try riaforge.org because it is redirecting me to www.riaforge.org. However, I did a DNS lookup and the www is returning a 302 Moved Temporarily status code. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357737 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: riaforge.org not found
On Mon, Feb 24, 2014 at 3:09 PM, Dean Lawrence dean...@gmail.com wrote: Is anyone able to reach riaforge.org? I'm coming up with a site not found error. I'm hitting something when I try riaforge.org because it is redirecting me to www.riaforge.org. However, I did a DNS lookup and the www is returning a 302 Moved Temporarily status code. âI actually downloaded something from there about five hours ago, but it's gone now for me.â -- mac jordan www.kestrel.org | www.reactivecooking.com | www.jordan-cats.org twitter: @ramtops ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357738 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: riaforge.org not found
Should be back up. On Mon, Feb 24, 2014 at 9:13 AM, mac jordan mac.jor...@gmail.com wrote: On Mon, Feb 24, 2014 at 3:09 PM, Dean Lawrence dean...@gmail.com wrote: Is anyone able to reach riaforge.org? I'm coming up with a site not found error. I'm hitting something when I try riaforge.org because it is redirecting me to www.riaforge.org. However, I did a DNS lookup and the www is returning a 302 Moved Temporarily status code. I actually downloaded something from there about five hours ago, but it's gone now for me. -- mac jordan www.kestrel.org | www.reactivecooking.com | www.jordan-cats.org twitter: @ramtops ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357739 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
know this Oracle JDBC error? Message 1018 not found
Does anybody know what this error is? Not getting any help Googling. [Macromedia][Oracle JDBC Driver](Internal Error) Message 1018 not found It happened after a request with 2 queries ran for a very long time (basically, the query is hung and the ColdFusion request is frozen). - A DBA checked the query in a SQL Optimizer and it ran fine. - One query returned 248 rows, the other query never returned anything (see below). - The user got a generic InternetExplorer timeout error page. Thank you, Chris Message [Macromedia][Oracle JDBC Driver](Internal Error) Message 1018 not found. SQLState HY000 StackTrace java.sql.SQLException: [Macromedia][Oracle JDBC Driver](Internal Error) Message 1018 not found. at macromedia.jdbc.base.BaseExceptions.createException(Unknown Source) at macromedia.jdbc.base.BaseExceptions.getException(Unknown Source) at macromedia.jdbc.oracle.net8.OracleDataProvider.receivePiggybackPacket(Unknown Source) at macromedia.jdbc.oracle.net8.OracleDataProvider.readByte(Unknown Source) at macromedia.jdbc.oracle.net8.OracleNet8NSPTDAPacket.getNextTTCCode(Unknown Source) at macromedia.jdbc.oracle.OracleImplStatement.processBufferedReply(Unknown Source) at macromedia.jdbc.oracle.OracleImplStatement.fetchNext(Unknown Source) at macromedia.jdbc.oracle.OracleImplStatement.fetchNext2(Unknown Source) at macromedia.jdbc.oracle.OracleImplStatement.execute(Unknown Source) at macromedia.jdbc.base.BaseStatement.commonExecute(Unknown Source) at macromedia.jdbc.base.BaseStatement.executeInternal(Unknown Source) at macromedia.jdbc.base.BaseStatement.execute(Unknown Source) at com.intergral.fusionreactor.jdbc.h.execute(StatementSurrogate.java:55) at coldfusion.server.j2ee.sql.JRunStatement.execute(JRunStatement.java:348) at coldfusion.sql.Executive.executeQuery(Executive.java:1364) at coldfusion.sql.Executive.executeQuery(Executive.java:1127) at coldfusion.sql.Executive.executeQuery(Executive.java:1058) at coldfusion.sql.SqlImpl.execute(SqlImpl.java:341) at coldfusion.tagext.sql.QueryTag.executeQuery(QueryTag.java:915) at coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:590) at cfsearchinspections2ecfm757494456.runPage(F:\pool\content\Scripts\RH\search\searchinspections.cfm:143) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722) at cfdefault2ecfm2142669457.runPage(F:\pool\content\Scripts\RH\search\default.cfm:38) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:381) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:94) 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.CachingFilter.invoke(CachingFilter.java:62) at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:126) at coldfusion.CfmServlet.service(CfmServlet.java:200) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at com.intergral.fusionreactor.filter.FusionReactorFilter.c(FusionReactorFilter.java:428) at com.intergral.fusionreactor.filter.FusionReactorFilter.d(FusionReactorFilter.java:262) at com.intergral.fusionreactor.filter.FusionReactorFilter.doFilter(FusionReactorFilter.java:171) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) 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:286) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320) at jrunx.scheduler.ThreadPool
error: [Macromedia][Oracle JDBC Driver](Internal Error) Message 1018 not found
error: [Macromedia][Oracle JDBC Driver](Internal Error) Message 1018 not found Anybody know what this error is? It happened after a request with 2 queries ran for a very long time (basically, the query is hung and the ColdFusion request is frozen). - A DBA checked the query in a SQL Optimizer and it ran fine. - One query returned 248 rows, the other query never returned anything (see below). - The user got a generic InternetExplorer timeout error page. Thank you, Chris Message [Macromedia][Oracle JDBC Driver](Internal Error) Message 1018 not found. SQLState HY000 StackTrace java.sql.SQLException: [Macromedia][Oracle JDBC Driver](Internal Error) Message 1018 not found. at macromedia.jdbc.base.BaseExceptions.createException(Unknown Source) at macromedia.jdbc.base.BaseExceptions.getException(Unknown Source) at macromedia.jdbc.oracle.net8.OracleDataProvider.receivePiggybackPacket(Unknown Source) at macromedia.jdbc.oracle.net8.OracleDataProvider.readByte(Unknown Source) at macromedia.jdbc.oracle.net8.OracleNet8NSPTDAPacket.getNextTTCCode(Unknown Source) at macromedia.jdbc.oracle.OracleImplStatement.processBufferedReply(Unknown Source) at macromedia.jdbc.oracle.OracleImplStatement.fetchNext(Unknown Source) at macromedia.jdbc.oracle.OracleImplStatement.fetchNext2(Unknown Source) at macromedia.jdbc.oracle.OracleImplStatement.execute(Unknown Source) at macromedia.jdbc.base.BaseStatement.commonExecute(Unknown Source) at macromedia.jdbc.base.BaseStatement.executeInternal(Unknown Source) at macromedia.jdbc.base.BaseStatement.execute(Unknown Source) at com.intergral.fusionreactor.jdbc.h.execute(StatementSurrogate.java:55) at coldfusion.server.j2ee.sql.JRunStatement.execute(JRunStatement.java:348) at coldfusion.sql.Executive.executeQuery(Executive.java:1364) at coldfusion.sql.Executive.executeQuery(Executive.java:1127) at coldfusion.sql.Executive.executeQuery(Executive.java:1058) at coldfusion.sql.SqlImpl.execute(SqlImpl.java:341) at coldfusion.tagext.sql.QueryTag.executeQuery(QueryTag.java:915) at coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:590) at cfsearchinspections2ecfm757494456.runPage(F:\pool\content\Scripts\RH\search\searchinspections.cfm:143) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722) at cfdefault2ecfm2142669457.runPage(F:\pool\content\Scripts\RH\search\default.cfm:38) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:381) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:94) 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.CachingFilter.invoke(CachingFilter.java:62) at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:126) at coldfusion.CfmServlet.service(CfmServlet.java:200) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at com.intergral.fusionreactor.filter.FusionReactorFilter.c(FusionReactorFilter.java:428) at com.intergral.fusionreactor.filter.FusionReactorFilter.d(FusionReactorFilter.java:262) at com.intergral.fusionreactor.filter.FusionReactorFilter.doFilter(FusionReactorFilter.java:171) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) 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:286) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266
Re: What does +no+post+sending+forms+are+found do?
I think this might be from XRumer, a forum/blog spam program. Someone posted about the same message a few months ago. John On Wed, Sep 26, 2012 at 10:00 PM, Les Mizzell lesm...@bellsouth.net wrote: On 9/25/2012 6:13 PM, =?ISO-8859-1?Q?Claude_Schn=E9egans wrote: It looks like a search engine which is clumsily redirecting search result to some of your pages. Looking up the IP address it came from: IP: 194.190.33.234 Decimal:3267240426 Hostname: 194.190.33.234 ISP:ROSNIIROS Russian Institute for Public Networks Organization: CJSK Uchrezhdencheskij telefonnyj uzel Services: Suspected network sharing device http://whatismyipaddress.com/ip-services Recently reported forum spam source. (165) Type: Broadband http://whatismyipaddress.com/broadband Assignment: Static IP http://whatismyipaddress.com/dynamic-static ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352777 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: What does +no+post+sending+forms+are+found do?
On 9/25/2012 6:13 PM, =?ISO-8859-1?Q?Claude_Schn=E9egans wrote: It looks like a search engine which is clumsily redirecting search result to some of your pages. Looking up the IP address it came from: IP: 194.190.33.234 Decimal:3267240426 Hostname: 194.190.33.234 ISP:ROSNIIROS Russian Institute for Public Networks Organization: CJSK Uchrezhdencheskij telefonnyj uzel Services: Suspected network sharing device http://whatismyipaddress.com/ip-services Recently reported forum spam source. (165) Type: Broadband http://whatismyipaddress.com/broadband Assignment: Static IP http://whatismyipaddress.com/dynamic-static ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352776 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
What does +no+post+sending+forms+are+found do?
In what looks like an injection attempt or something (?), what exactly does the following do? somepage.cfm?Result:+using+proxy+177.103.197.203:8080;+no+post+sending+forms+are+found; I've got a script in my application file that's stopped/caught a bunch of these over the last few days. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352751 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: What does +no+post+sending+forms+are+found do?
It looks like a search engine which is clumsily redirecting search result to some of your pages. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352753 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
The requested URL not found
Hi All, We have youtube video with a link to our website embedded on it. The URL has query string as below: www.abc.com/?visitfrom=youtube The above URL is causing an error as The requested URL /?visitfrom=youtube not found on this server. Could this be happening due to / before the start of query string? Do we need to change any settings on the server? Thanks. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351957 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
The requested URL not found
Hi All, We have youtube video with a link to our website embedded on it. The URL has query string as below: www.abc.com/?visitfrom=youtube The above URL is causing an error as The requested URL /?visitfrom=youtube not found on this server. Could this be happening due to / before the start of query string? Do we need to change any settings on the server? Thanks. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351958 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: The requested URL not found
Probably, as you say, the / before the ? Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: funand learning [mailto:funandlrnn...@gmail.com] Sent: Tuesday, July 24, 2012 9:51 AM To: cf-talk Subject: The requested URL not found Hi All, We have youtube video with a link to our website embedded on it. The URL has query string as below: www.abc.com/?visitfrom=youtube The above URL is causing an error as The requested URL /?visitfrom=youtube not found on this server. Could this be happening due to / before the start of query string? Do we need to change any settings on the server? Thanks. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351960 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: The requested URL not found
Possibly being daft here, but do you have the http:// prefix? will -Original Message- From: funand learning [mailto:funandlrnn...@gmail.com] Sent: 24 July 2012 14:51 To: cf-talk Subject: The requested URL not found Hi All, We have youtube video with a link to our website embedded on it. The URL has query string as below: www.abc.com/?visitfrom=youtube The above URL is causing an error as The requested URL /?visitfrom=youtube not found on this server. Could this be happening due to / before the start of query string? Do we need to change any settings on the server? Thanks. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351961 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: The requested URL not found
Yes, the URL looks like http://abc.com/?visitfrom=youtubehttp://www.abc.com/?visitfrom=youtube On Tue, Jul 24, 2012 at 8:59 AM, Will Swain w...@hothorse.com wrote: Possibly being daft here, but do you have the http:// prefix? will -Original Message- From: funand learning [mailto:funandlrnn...@gmail.com] Sent: 24 July 2012 14:51 To: cf-talk Subject: The requested URL not found Hi All, We have youtube video with a link to our website embedded on it. The URL has query string as below: www.abc.com/?visitfrom=youtube The above URL is causing an error as The requested URL /?visitfrom=youtube not found on this server. Could this be happening due to / before the start of query string? Do we need to change any settings on the server? Thanks. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351962 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: The requested URL not found
We have youtube video with a link to our website embedded on it. The URL has query string as below: www.abc.com/?visitfrom=youtube The above URL is causing an error as The requested URL /?visitfrom=youtube not found on this server. Could this be happening due to / before the start of query string? Do we need to change any settings on the server? Does the site have a default document defined? Does the directory contain a default document? That URL is fine assuming there's a default document for that directory. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351963 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: The requested URL not found
Add the fikename to the url and it should work. Regards Russ Michaels On Jul 24, 2012 3:11 PM, funand learning funandlrnn...@gmail.com wrote: Yes, the URL looks like http://abc.com/?visitfrom=youtubehttp://www.abc.com/?visitfrom=youtube On Tue, Jul 24, 2012 at 8:59 AM, Will Swain w...@hothorse.com wrote: Possibly being daft here, but do you have the http:// prefix? will -Original Message- From: funand learning [mailto:funandlrnn...@gmail.com] Sent: 24 July 2012 14:51 To: cf-talk Subject: The requested URL not found Hi All, We have youtube video with a link to our website embedded on it. The URL has query string as below: www.abc.com/?visitfrom=youtube The above URL is causing an error as The requested URL /?visitfrom=youtube not found on this server. Could this be happening due to / before the start of query string? Do we need to change any settings on the server? Thanks. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351964 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: The requested URL not found
What if the URL is getting converted to friendlyURLs? How can this be handled? On Tue, Jul 24, 2012 at 9:14 AM, Russ Michaels r...@michaels.me.uk wrote: Add the fikename to the url and it should work. Regards Russ Michaels On Jul 24, 2012 3:11 PM, funand learning funandlrnn...@gmail.com wrote: Yes, the URL looks like http://abc.com/?visitfrom=youtubehttp://www.abc.com/?visitfrom=youtube On Tue, Jul 24, 2012 at 8:59 AM, Will Swain w...@hothorse.com wrote: Possibly being daft here, but do you have the http:// prefix? will -Original Message- From: funand learning [mailto:funandlrnn...@gmail.com] Sent: 24 July 2012 14:51 To: cf-talk Subject: The requested URL not found Hi All, We have youtube video with a link to our website embedded on it. The URL has query string as below: www.abc.com/?visitfrom=youtube The above URL is causing an error as The requested URL /?visitfrom=youtube not found on this server. Could this be happening due to / before the start of query string? Do we need to change any settings on the server? Thanks. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351966 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: The requested URL not found
Just update ur url rewriting to handle these urls as well. Regards Russ Michaels On Jul 24, 2012 3:36 PM, funand learning funandlrnn...@gmail.com wrote: What if the URL is getting converted to friendlyURLs? How can this be handled? On Tue, Jul 24, 2012 at 9:14 AM, Russ Michaels r...@michaels.me.uk wrote: Add the fikename to the url and it should work. Regards Russ Michaels On Jul 24, 2012 3:11 PM, funand learning funandlrnn...@gmail.com wrote: Yes, the URL looks like http://abc.com/?visitfrom=youtube http://www.abc.com/?visitfrom=youtube On Tue, Jul 24, 2012 at 8:59 AM, Will Swain w...@hothorse.com wrote: Possibly being daft here, but do you have the http:// prefix? will -Original Message- From: funand learning [mailto:funandlrnn...@gmail.com] Sent: 24 July 2012 14:51 To: cf-talk Subject: The requested URL not found Hi All, We have youtube video with a link to our website embedded on it. The URL has query string as below: www.abc.com/?visitfrom=youtube The above URL is causing an error as The requested URL /?visitfrom=youtube not found on this server. Could this be happening due to / before the start of query string? Do we need to change any settings on the server? Thanks. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351971 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Resource Not Found
I get a Resource Not Found when I tried to run my page. It says the d:/wwwroot/etc. was not found. The root cause was ''. What happened? It worked fine yesterday. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348161 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Getter error Error: The method GET was not found in component
I'm encountering the problem on a newly configured CF9 server (no hotfixes yet). I'm using cfajaxproxy to create a JS proxy for a CFC. Here's the method in the CFC: cffunction name=test access=remote returntype=string returnformat=JSON cfargument name=text cfreturn agruments.text /cffunction Here's the code in the template that that is attempting to invoke this: cfajaxproxy cfc=cfcs.utilities jsclassname=xxx ... script type=text/javascript var util = new xxx(); var x = util.test(hello); /script ... When I run this code, I get an error message in Firebug Error: The method GET was not found in component C:\MyPATH\CFCS\UTILITIES.CFC I've used cfajaxproxy successfully to do this on other servers before; this is the first time I'm trying it on this particular server using CF9. Anyone have any clues what the GET method is about in this case? BTW, I get the same message from Firebug re: method GET was not found, not matter which function I try calling in the CFC. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346140 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Getter error Error: The method GET was not found in component
Not sure if this was just your typing or the actual code but you've misspelled your return in the test function. cfreturn agruments.text should be cfreturn arguments.text On Thu, Jul 7, 2011 at 4:57 PM, Leon Chalnick lchaln...@advantasolutions.com wrote: I'm encountering the problem on a newly configured CF9 server (no hotfixes yet). I'm using cfajaxproxy to create a JS proxy for a CFC. Here's the method in the CFC: cffunction name=test access=remote returntype=string returnformat=JSON cfargument name=text cfreturn agruments.text /cffunction Here's the code in the template that that is attempting to invoke this: cfajaxproxy cfc=cfcs.utilities jsclassname=xxx ... script type=text/javascript var util = new xxx(); var x = util.test(hello); /script ... When I run this code, I get an error message in Firebug Error: The method GET was not found in component C:\MyPATH\CFCS\UTILITIES.CFC I've used cfajaxproxy successfully to do this on other servers before; this is the first time I'm trying it on this particular server using CF9. Anyone have any clues what the GET method is about in this case? BTW, I get the same message from Firebug re: method GET was not found, not matter which function I try calling in the CFC. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346141 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Getter error Error: The method GET was not found in component
Not sure if this was just your typing or the actual code but you've misspelled your return in the test function. cfreturn agruments.text should be cfreturn arguments.text Thanks Shane, that's just a problem in my typing (sorry about that). The actual codes that is executing has the correct spelling of 'arguments'. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346143 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Getter error Error: The method GET was not found in component
Does your component actually contain a method named GET or is that name coming out of nowhere? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346144 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Getter error Error: The method GET was not found in component
I was able to mock up a test.cfc and access the method just fine, an alert(); showed the value come back. My guess is something else in the cfc is causing it to hiccup. Post the cfc if possible. On Thu, Jul 7, 2011 at 6:23 PM, Leon Chalnick lchaln...@advantasolutions.com wrote: Not sure if this was just your typing or the actual code but you've misspelled your return in the test function. cfreturn agruments.text should be cfreturn arguments.text Thanks Shane, that's just a problem in my typing (sorry about that). The actual codes that is executing has the correct spelling of 'arguments'. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346145 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
customtag not being found
I upgraded a server from CF7 to CF9 and started to see this error: Cannot find CFML template for custom tag EmailVerify. The file exists in C:\inetpub\wwwroot\customtags and is being called by CF_EmailVerify I added a mapping for /customtags in the cfadmin and still getting the error.. ideas? /customtags C:\inetpub\wwwroot\customtags The code is in a few files so I guess I could change it using a cfmodule if I need to but would rather not touch this old code (I'm in the process of rewriting the whole site) Thanks ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342971 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: customtag not being found
I also tried under the c:\coldfusion9\customtags directory with a mapping to there... still no luck On Sun, Mar 13, 2011 at 8:23 PM, Greg Morphis gmorp...@gmail.com wrote: I upgraded a server from CF7 to CF9 and started to see this error: Cannot find CFML template for custom tag EmailVerify. The file exists in C:\inetpub\wwwroot\customtags and is being called by CF_EmailVerify I added a mapping for /customtags in the cfadmin and still getting the error.. ideas? /customtags C:\inetpub\wwwroot\customtags The code is in a few files so I guess I could change it using a cfmodule if I need to but would rather not touch this old code (I'm in the process of rewriting the whole site) Thanks ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342973 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: customtag not being found
You say that you added the mapping, but did you also tell CF that this was a custom tag directory? They are two different things. Steve Sent from my iPhone ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342974 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: customtag not being found
Is it multi-server configuration or standard? .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Greg Morphis [mailto:gmorp...@gmail.com] Sent: Sunday, March 13, 2011 9:58 PM To: cf-talk Subject: Re: customtag not being found I also tried under the c:\coldfusion9\customtags directory with a mapping to there... still no luck On Sun, Mar 13, 2011 at 8:23 PM, Greg Morphis gmorp...@gmail.com wrote: I upgraded a server from CF7 to CF9 and started to see this error: Cannot find CFML template for custom tag EmailVerify. The file exists in C:\inetpub\wwwroot\customtags and is being called by CF_EmailVerify I added a mapping for /customtags in the cfadmin and still getting the error.. ideas? /customtags C:\inetpub\wwwroot\customtags The code is in a few files so I guess I could change it using a cfmodule if I need to but would rather not touch this old code (I'm in the process of rewriting the whole site) Thanks ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342975 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: customtag not being found
You need to add the customtag dir to the Admin and not a mapping, there is a section for custom tags. Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Greg Morphis [mailto:gmorp...@gmail.com] Sent: Monday, 14 March 2011 12:24 PM To: cf-talk Subject: customtag not being found I upgraded a server from CF7 to CF9 and started to see this error: Cannot find CFML template for custom tag EmailVerify. The file exists in C:\inetpub\wwwroot\customtags and is being called by CF_EmailVerify I added a mapping for /customtags in the cfadmin and still getting the error.. ideas? /customtags C:\inetpub\wwwroot\customtags The code is in a few files so I guess I could change it using a cfmodule if I need to but would rather not touch this old code (I'm in the process of rewriting the whole site) Thanks ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342976 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: customtag not being found
You say that you added the mapping, but did you also tell CF that this was a custom tag directory? They are two different things. Right. You need to tell CF this is a custom tag directory, not a mapping. In addition, you can do this in your code, using the customTagPaths property of your application, in Application.cfc: http://forum.hostek.com/showthread.php?298-Creating-Your-Own-Custom-Tag-Paths Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342977 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: customtag not being found
Awesome, thanks for the info! I added it as a customtags directory. Thanks again! On Sun, Mar 13, 2011 at 9:33 PM, Dave Watts dwa...@figleaf.com wrote: You say that you added the mapping, but did you also tell CF that this was a custom tag directory? They are two different things. Right. You need to tell CF this is a custom tag directory, not a mapping. In addition, you can do this in your code, using the customTagPaths property of your application, in Application.cfc: http://forum.hostek.com/showthread.php?298-Creating-Your-Own-Custom-Tag-Paths Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342978 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Template Page Not Found Errors
Our error handler captures information about a page not found. For example, it logs the following: Referrer: Query String: id=3273MoreImages=1 Browser/version: Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots) How can I tell the actual page that was requested? Thanks in advance. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340399 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Template Page Not Found Errors
You can log more information. My framework I use email's me the entire cfcatch structure when an error occurs. Regards, David McGraw Oyova Software - http://www.oyova.com On Tue, Jan 4, 2011 at 1:35 PM, Richard Steele r...@photoeye.com wrote: Our error handler captures information about a page not found. For example, it logs the following: Referrer: Query String: id=3273MoreImages=1 Browser/version: Mozilla/5.0 (compatible; YandexBot/3.0; + http://yandex.com/bots) How can I tell the actual page that was requested? Thanks in advance. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340400 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Template Page Not Found Errors
cgi.script-name On Tue, Jan 4, 2011 at 12:35 PM, Richard Steele r...@photoeye.com wrote: Our error handler captures information about a page not found. For example, it logs the following: Referrer: Query String: id=3273MoreImages=1 Browser/version: Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots) How can I tell the actual page that was requested? Thanks in advance. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340401 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Template Page Not Found Errors
Sorry - cgi.script_name. I meant _ not -. On Tue, Jan 4, 2011 at 12:45 PM, Raymond Camden rcam...@gmail.com wrote: cgi.script-name On Tue, Jan 4, 2011 at 12:35 PM, Richard Steele r...@photoeye.com wrote: Our error handler captures information about a page not found. For example, it logs the following: Referrer: Query String: id=3273MoreImages=1 Browser/version: Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots) How can I tell the actual page that was requested? Thanks in advance. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340402 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Template Page Not Found Errors
Thanks, that's it! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340433 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Class not found in the specified assembly list.
I run the following code and get an error. !---THIS WORKS--- cffunction name=Ping returntype=string output=false cfargument name=host type=string required=yes !--- Local variables --- cfset var pingClass= cfset var pingReply= !--- Get Ping class --- cfobject type=.NET name=pingClass class=System.Net.NetworkInformation.Ping !--- Perform synchronous ping (using defaults) --- cfset pingReply=pingClass.Send(Arguments.host) !--- Return result --- cfreturn pingReply.Get_Status().ToString() /cffunction h3Ping Test/h3 cfoutput 127.0.0.1: #Ping(127.0.0.1)#br www.adobe.com: #Ping(www.adobe.com)#br /cfoutput !---THIS GENERATES AN ERROR ON THE LAST LINE--- cfobject type=.NET name=HelloWorld class=HelloWorldProc assembly=C:\inetpub\wwwroot\DotNet\CFDotNetTest.dll Here is the C# Code for the class: using System; public class HelloWorldProc { public HelloWorldProc() { } public string HelloWorld() { return HelloWorldProc:HelloWorld called and returns Hello world!; } } Here is the page output: Ping Test 127.0.0.1: Success www.adobe.com: Success Error Occurred While Processing Request Class HelloWorldProc not found in the specified assembly list. The assembly that contains the class must be provided to the assembly attribute. The error occurred in C:\inetpub\wwwroot\DotNet\DotNetTest2.cfm: line 25 23 : name=HelloWorld 24 : class=HelloWorldProc 25 : assembly=C:\inetpub\wwwroot\DotNet\CFDotNetTest.dll 26 : 27 : Here is the command line program: I added the CFDotNetTest Project as a reference in the ConsoleApplication1 project so that the console app is aware of the dll. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; using System.IO; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { HelloWorldProc h = new HelloWorldProc(); Console.WriteLine(h.HelloWorld()); string q = string.Empty; Console.WriteLine(Type \exit\ Enter to quit the sample.); while (q.CompareTo(exit) != 0) { q = Console.ReadLine(); } return; } } } Analysis: 1. The Ping test tells me that .Net Integration Services are running. 2. After uploading the files that were generated by the compiler to my CF server running CF 9, I run a program from the command line to test the assembly and it works. 3. I reinstalled Dot Net Integration Services. 4. The C# code was compiled under Dot Net 4.0. This may be the problem. I cannot verify that Dot Net Integration services supports Dot Net 4.0. Any ideas or help would be greatly appreciated. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340267 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Catching Invalid CFML construct found in OnError
I am trying to catch this error type but it is not passing through onError in the Application Class. It simply is evaluated and thrown as is. How do I catch it without a try/catch? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338378 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Catching Invalid CFML construct found in OnError
I am trying to catch this error type but it is not passing through onError in the Application Class. It simply is evaluated and thrown as is. How do I catch it without a try/catch? I don't think you can. onError will only catch execution errors. Invalid CFML construct is a compilation error, your code is not even executed. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338380 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Catching Invalid CFML construct found in OnError
So basically if there is a typo in the syntax and the code does not compile it will throw an error and I cannot catch it? Hmmm... I guess I need to figure out something else. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338381 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Catching Invalid CFML construct found in OnError
So basically if there is a typo in the syntax and the code does not compile it will throw an error and I cannot catch it? More precisely: if there is a typo, the code does get compiled, but is not executed. Since it is not executed, you cannot catch it at execution. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338382 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Catching Invalid CFML construct found in OnError
you can probably catch it using the default error template. On Wed, Oct 20, 2010 at 9:30 PM, wrote: So basically if there is a typo in the syntax and the code does not compile it will throw an error and I cannot catch it? More precisely: if there is a typo, the code does get compiled, but is not executed. Since it is not executed, you cannot catch it at execution. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338388 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Catching Invalid CFML construct found in OnError
More precisely: if there is a typo, the code does get compiled, but is not executed. Since it is not executed, you cannot catch it at execution. Well, not exactly - if there is a typo in CFML syntax (rather than within attribute values, etc), the code will not be compiled at all. CF will attempt to compile it, but the attempt will fail. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338390 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Catching Invalid CFML construct found in OnError
So basically if there is a typo in the syntax and the code does not compile it will throw an error and I cannot catch it? Hmmm... I guess I need to figure out something else. The site-wide error handler will catch compile-time errors. But really, you should catch them yourself - if you get one, it indicates that you never ran the page in question since you last changed the code. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338392 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Catching Invalid CFML construct found in OnError
Dave, You are correct but stuff slips through the cracks. It's how well you can track back the error to the source when it occurs that will dictate if the code will be fixed when or if it happens. I can show a pretty nice user friendly error, but the question remains the same. How will I track errors in my site back to the template it occurs on and how did the user create that error. Simply put, Adobe has not developed much of an error tracking system. Now a days, I am tracking not only every click event and on which element up the DOM tree but also using that information when catching server errors that will help me figure out how it happened. I'd bet some of the other developers here would pay good money to have the same system in place for their websites. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338397 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Catching Invalid CFML construct found in OnError
You are correct but stuff slips through the cracks. It's how well you can track back the error to the source when it occurs that will dictate if the code will be fixed when or if it happens. I can show a pretty nice user friendly error, but the question remains the same. How will I track errors in my site back to the template it occurs on and how did the user create that error. Simply put, Adobe has not developed much of an error tracking system. Now a days, I am tracking not only every click event and on which element up the DOM tree but also using that information when catching server errors that will help me figure out how it happened. I'd bet some of the other developers here would pay good money to have the same system in place for their websites. I'm not sure where you're going with this. First, compile-time errors shouldn't ever slip through the cracks. A compile-time error means that a script was never tested AT ALL. It's the developer's responsibility to check for compile-time errors. Second, you don't really need to ask how the user creates a compile-time error, because it will occur if ANY user runs the script that can't compile. It doesn't matter what the user did - it's not a runtime exception. Third, it's pretty trivial to add error handling to your application. The site-wide error handler can capture a lot of information about compile-time errors or runtime exceptions. The onError event (or CFERROR tag, if you're still using Application.cfm) can capture a lot of information about runtime exceptions - you can easily capture all values sent to the server for the request that generated the exception. You can log them in an existing log file or a custom log file using CFLOG. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338398 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Catching Invalid CFML construct found in OnError
How do you catch compile time errors when they occur? Regardless if a template was tested or not. I understand best practices and that your code should be tested but it doesn't mean it will never happen. So when it does, how do you deal with it? If I get a server error from my applications, I get an email but these are run time only errors. So logging is good for tracing but not for learning if and when they occur. Seems like any error regardless of how it happens should be sent through onError since ColdFusion doesn't have any build tools so to speak to check before run time occurs. I figured out a solution but it only works for ajax requests (pass back the html to a function if the error code is 500). I'm not sure about page requests. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338400 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Catching Invalid CFML construct found in OnError
How do you catch compile time errors when they occur? Regardless if a template was tested or not. I understand best practices and that your code should be tested but it doesn't mean it will never happen. So when it does, how do you deal with it? If I get a server error from my applications, I get an email but these are run time only errors. So logging is good for tracing but not for learning if and when they occur. Seems like any error regardless of how it happens should be sent through onError since ColdFusion doesn't have any build tools so to speak to check before run time occurs. I figured out a solution but it only works for ajax requests (pass back the html to a function if the error code is 500). I'm not sure about page requests. The site-wide error handler will catch compile-time errors. But again, if a program won't compile, it won't work for anybody. When you write a program, you have to run it at least once, right? Otherwise, how do you know if it works at all? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338401 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Catching Invalid CFML construct found in OnError
Okay so running the code is gonna have to be the answer. The original reason for asking was because in my Ajax app I was not able to pass a custom header if I got a compile time error so catching it was a bit more difficult. It makes sense on a page request but an ajax request could be messy. Fortunately I have a dedicated server, otherwise I'd be screwed I think. Thanks Dave. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338402 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Components in package not found on CF9
Wanted to add to this that we are on CF 9.0.1. I'm flummoxed as to why these components cannot be found now. Works just fine on our CF8 servers. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337988 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Components in package not found on CF9
Hey Chris! Have you dumped the mappings to screen to make sure they are still pointing to the right path? -Cameron On Oct 8, 2010, at 11:52 AM, Christopher Watson skyg...@gmail.com wrote: Wanted to add to this that we are on CF 9.0.1. I'm flummoxed as to why these components cannot be found now. Works just fine on our CF8 servers. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337996 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Components in package not found on CF9
Hey Cameron! OK...how do I dump those settings? Have you dumped the mappings to screen to make sure they are still pointing to the right path? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337999 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Components in package not found on CF9
You should be able to cfdump var=#this.mappings# or var=#this# right in your App.cfc... -Cameron On Fri, Oct 8, 2010 at 12:25 PM, Christopher Watson skyg...@gmail.com wrote: Hey Cameron! OK...how do I dump those settings? Have you dumped the mappings to screen to make sure they are still pointing to the right path? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338003 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Components in package not found on CF9
Well, that was the problem. We hadn't yet migrated this app over to Application.cfc. It was still stuck on Application.cfm, and didn't have any application-specific mappings. I now have the app on a CFC with this.customtagpaths and this.mappings set up, and my package is findable now. Thanks, Cameron! You came through again. You should be able to cfdump var=#this.mappings# or var=#this# right in your App.cfc... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338025 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Components in package not found on CF9
We've had a component package running flawlessly under CF8 for a year or so now. We use cfinvoke to get at them like this: cfinvoke component=Grabber.Price method=Grab returnvariable=WasSuccessful cfinvokeargument name=Cruise value=#URL.Cruise# /cfinvoke The Mappings and Custom Tag Paths are in there for the /Grabber directory, where this package sits. Everything is fine! But now we have a couple of CF9 servers, with the same exact Mappings and Custom Tag Paths, and we're getting the error Could not find the ColdFusion component or interface Grabber.Price. What the heck am I missing here? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337971 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Web service operation... with parameters...cannot be found. error
I keep getting this error no matter what I try (and I've been at it for 2 days now): Web service operation NEWJOB with parameters {JOBMINCOMPENSATION={250},JOBTYPE={1},JOBVERIFICATION={0},USERNAME={**},JOBCONTACTPHONE={123-456-7890},JOBCOMPANYNAME={Spencer Stuart},JOBDESCRIPTION={![CDATA[This is a really cool job for a developer who wants to make a lot of money.]]},JOBCONTACTURL={https://www.6figurejobs.com},JOBCONTACTSTATUS={null},JOBMINEXPERIENCE={1},JOBCOMPENSATION={You can make alot of cash plus huge stock options!},JOBFUNCTIONS={201,202,203},JOBTITLE={Developer Level III},JOBCONTACTNAME={Dave Piccirillo},JOBCODE={SP101},JOBMAXEXPERIENCE={2},JOBLOCATION={Milford},jobcontactemail={da...@6figurejobs.com},JOBCONTACTFAX={987-654-3210},JOBINDUSTRIES={101,102,103},JOBOPPORTUNITY={fulltime,startup},JOBSHOWRIGHTEYES={null},JOBRECEIVERIGHTEYES={null},JOBSTATE={307},JOBIONUMBER={null},PASSWORD={*}} cannot be found. (I blanked out the username and password info for security) Here is my web service code: (JobUpdates.cfc) cfcomponent cffunction name=NEWJOB access=remote returntype=void output=no cfargument name=USERNAME type=string cfargument name=PASSWORD type=string cfargument name=JOBCOMPANYNAME type=string cfargument name=JOBCODE type=numeric cfargument name=JOBTITLE type=string cfargument name=JOBINDUSTRIES type=string cfargument name=JOBFUNCTIONS type=string cfargument name=JOBLOCATION type=string cfargument name=JOBSTATE type=numeric cfargument name=JOBDESCRIPTION type=string cfargument name=JOBOPPORTUNITY type=string cfargument name=JOBCOMPENSATION type=string cfargument name=JOBMINCOMPENSATION type=numeric cfargument name=JOBMINEXPERIENCE type=numeric cfargument name=JOBMAXEXPERIENCE type=numeric cfargument name=JOBCONTACTNAME type=string cfargument name=JOBCONTACTEMAIL type=string cfargument name=JOBCONTACTSTATUS type=numeric cfargument name=JOBCONTACTURL type=string cfargument name=JOBCONTACTPHONE type=string cfargument name=JOBCONTACTFAX type=string cfargument name=JOBSHOWRIGHTEYES type=numeric cfargument name=JOBRECEIVERIGHTEYES type=numeric cfargument name=JOBIONUMBER type=string cfargument name=JOBTYPE type=numeric cfargument name=JOBVERIFICATION type=numeric /cffunction /cfcomponent (I removed all the code after this for testing purposes and I still get the error just trying to find the web service) And here's my code to consume it: (I created this just for testing purposes) cfinvoke webservice=http://orld-6fjdev/webservices/JobUpdates.cfc?wsdl; method=NEWJOB cfinvokeargument name=USERNAME value=MeganM/ cfinvokeargument name=PASSWORD value=stuart/ cfinvokeargument name=JOBCOMPANYNAME value=Spencer Stuart/ cfinvokeargument name=JOBCODE value=SP101/ cfinvokeargument name=JOBTITLE value=Developer Level III/ cfinvokeargument name=JOBINDUSTRIES value=101,102,103/ cfinvokeargument name=JOBFUNCTIONS value=201,202,203/ cfinvokeargument name=JOBLOCATION value=Milford/ cfinvokeargument name=JOBSTATE value=307/ cfinvokeargument name=JOBDESCRIPTION value=![CDATA[This is a really cool job for a developer who wants to make a lot of money.]]/ cfinvokeargument name=JOBOPPORTUNITY value=fulltime,startup/ cfinvokeargument name=JOBCOMPENSATION value=You can make alot of cash plus huge stock options!/ cfinvokeargument name=JOBMINCOMPENSATION value=250/ cfinvokeargument name=JOBMINEXPERIENCE value=1/ cfinvokeargument name=JOBMAXEXPERIENCE value=2/ cfinvokeargument name=JOBCONTACTNAME value=Dave Piccirillo/ cfinvokeargument name=JOBCONTACTEMAIL value=da...@6figurejobs.com/ cfinvokeargument name=JOBCONTACTSTATUS omit=true/ cfinvokeargument name=JOBCONTACTURL value=https://www.6figurejobs.com/ cfinvokeargument name=JOBCONTACTPHONE value=123-456-7890/ cfinvokeargument name=JOBCONTACTFAX value=987-654-3210/ cfinvokeargument name=JOBSHOWRIGHTEYES omit=true/ cfinvokeargument name=JOBRECEIVERIGHTEYES omit=true/ cfinvokeargument name=JOBIONUMBER omit=true/ cfinvokeargument name=JOBTYPE value=1/ cfinvokeargument name=JOBVERIFICATION value=0/ /cfinvoke Can someone PLEASE help me with this, I've been pulling what little hair I have left out trying to figure it out. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336155 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk
re: Web service operation... with parameters...cannot be found. error
Hi Ray, Are you passing the parameters in the same order as they are defined in the CFC? I seem to remember having problems when passing invoke params in the wrong order in the past. Looking at the error output, they seem to be in the wrong order. Thanks, Paul Paul Day Principal / Developer 410.241.8465 p...@nucomsolutions.com http://www.nucomsolutions.com/ From: Ray Meade raym...@yahoo.com Sent: Tuesday, August 10, 2010 12:24 PM To: cf-talk cf-talk@houseoffusion.com Subject: Web service operation... with parameters...cannot be found. error I keep getting this error no matter what I try (and I've been at it for 2 days now): Web service operation NEWJOB with parameters {JOBMINCOMPENSATION={250},JOBTYPE={1},JOBVERIFICATION={0},USERNAME={**},JOBCONTACTPHONE={123-456-7890},JOBCOMPANYNAME={Spencer Stuart},JOBDESCRIPTION={![CDATA[This is a really cool job for a developer who wants to make a lot of money.]]},JOBCONTACTURL={https://www.6figurejobs.com},JOBCONTACTSTATUS={null},JOBMINEXPERIENCE={1},JOBCOMPENSATION={You can make alot of cash plus huge stock options!},JOBFUNCTIONS={201,202,203},JOBTITLE={Developer Level III},JOBCONTACTNAME={Dave Piccirillo},JOBCODE={SP101},JOBMAXEXPERIENCE={2},JOBLOCATION={Milford},jobcontactemail={da...@6figurejobs.com},JOBCONTACTFAX={987-654-3210},JOBINDUSTRIES={101,102,103},JOBOPPORTUNITY={fulltime,startup},JOBSHOWRIGHTEYES={null},JOBRECEIVERIGHTEYES={null},JOBSTATE={307},JOBIONUMBER={null},PASSWORD={*}} cannot be found. (I blanked out the username and password info for security) Here is my web service code: (JobUpdates.cfc) (I removed all the code after this for testing purposes and I still get the error just trying to find the web service) And here's my code to consume it: (I created this just for testing purposes) Can someone PLEASE help me with this, I've been pulling what little hair I have left out trying to figure it out. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336156 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Web service operation... with parameters...cannot be found. error
Web services tend to get cached -- I notice you said you get the same error even removing all the code so it sounds like that is what's happening. There are a couple of ways you can clear them: 1) In the CF administrator (if you have access) there is a section where you can see any cached webservices and clear them manually. 2) You can add refreshWSDL=true as an additional attribute to your cfinvoke tag. This will slow things down but it can be very useful when in development. -- Josh -Original Message- From: Ray Meade [mailto:raym...@yahoo.com] Sent: Tuesday, August 10, 2010 9:17 AM To: cf-talk Subject: Web service operation... with parameters...cannot be found. error I keep getting this error no matter what I try (and I've been at it for 2 days now): Web service operation NEWJOB with parameters {JOBMINCOMPENSATION={250},JOBTYPE={1},JOBVERIFICATION={0},USERNAME={**}, JOBCONTACTPHONE={123-456-7890},JOBCOMPANYNAME={Spencer Stuart},JOBDESCRIPTION={![CDATA[This is a really cool job for a developer who wants to make a lot of money.]]},JOBCONTACTURL={https://www.6figurejobs.com},JOBCONTACTSTATUS={null },JOBMINEXPERIENCE={1},JOBCOMPENSATION={You can make alot of cash plus huge stock options!},JOBFUNCTIONS={201,202,203},JOBTITLE={Developer Level III},JOBCONTACTNAME={Dave Piccirillo},JOBCODE={SP101},JOBMAXEXPERIENCE={2},JOBLOCATION={Milford},JOBCO ntactemail={da...@6figurejobs.com},JOBCONTACTFAX={987-654-3210},JOBINDUSTRIE S={101,102,103},JOBOPPORTUNITY={fulltime,startup},JOBSHOWRIGHTEYES={null},JO BRECEIVERIGHTEYES={null},JOBSTATE={307},JOBIONUMBER={null},PASSWORD={*}} cannot be found. (I blanked out the username and password info for security) Here is my web service code: (JobUpdates.cfc) cfcomponent cffunction name=NEWJOB access=remote returntype=void output=no cfargument name=USERNAME type=string cfargument name=PASSWORD type=string cfargument name=JOBCOMPANYNAME type=string cfargument name=JOBCODE type=numeric cfargument name=JOBTITLE type=string cfargument name=JOBINDUSTRIES type=string cfargument name=JOBFUNCTIONS type=string cfargument name=JOBLOCATION type=string cfargument name=JOBSTATE type=numeric cfargument name=JOBDESCRIPTION type=string cfargument name=JOBOPPORTUNITY type=string cfargument name=JOBCOMPENSATION type=string cfargument name=JOBMINCOMPENSATION type=numeric cfargument name=JOBMINEXPERIENCE type=numeric cfargument name=JOBMAXEXPERIENCE type=numeric cfargument name=JOBCONTACTNAME type=string cfargument name=JOBCONTACTEMAIL type=string cfargument name=JOBCONTACTSTATUS type=numeric cfargument name=JOBCONTACTURL type=string cfargument name=JOBCONTACTPHONE type=string cfargument name=JOBCONTACTFAX type=string cfargument name=JOBSHOWRIGHTEYES type=numeric cfargument name=JOBRECEIVERIGHTEYES type=numeric cfargument name=JOBIONUMBER type=string cfargument name=JOBTYPE type=numeric cfargument name=JOBVERIFICATION type=numeric /cffunction /cfcomponent (I removed all the code after this for testing purposes and I still get the error just trying to find the web service) And here's my code to consume it: (I created this just for testing purposes) cfinvoke webservice=http://orld-6fjdev/webservices/JobUpdates.cfc?wsdl; method=NEWJOB cfinvokeargument name=USERNAME value=MeganM/ cfinvokeargument name=PASSWORD value=stuart/ cfinvokeargument name=JOBCOMPANYNAME value=Spencer Stuart/ cfinvokeargument name=JOBCODE value=SP101/ cfinvokeargument name=JOBTITLE value=Developer Level III/ cfinvokeargument name=JOBINDUSTRIES value=101,102,103/ cfinvokeargument name=JOBFUNCTIONS value=201,202,203/ cfinvokeargument name=JOBLOCATION value=Milford/ cfinvokeargument name=JOBSTATE value=307/ cfinvokeargument name=JOBDESCRIPTION value=![CDATA[This is a really cool job for a developer who wants to make a lot of money.]]/ cfinvokeargument name=JOBOPPORTUNITY value=fulltime,startup/ cfinvokeargument name=JOBCOMPENSATION value=You can make alot of cash plus huge stock options!/ cfinvokeargument name=JOBMINCOMPENSATION value=250/ cfinvokeargument name=JOBMINEXPERIENCE value=1/ cfinvokeargument name=JOBMAXEXPERIENCE value=2/ cfinvokeargument name=JOBCONTACTNAME value=Dave Piccirillo/ cfinvokeargument name=JOBCONTACTEMAIL value=da...@6figurejobs.com/ cfinvokeargument name=JOBCONTACTSTATUS omit=true/ cfinvokeargument name=JOBCONTACTURL value=https://www.6figurejobs.com/ cfinvokeargument name=JOBCONTACTPHONE value=123-456-7890/ cfinvokeargument name=JOBCONTACTFAX value=987-654-3210/ cfinvokeargument name=JOBSHOWRIGHTEYES omit=true/ cfinvokeargument name=JOBRECEIVERIGHTEYES omit=true
Re: Web service operation... with parameters...cannot be found. error
Yes, they're in the same order in the web service cfc as they are in the cfinvoke tag. I don't know where the error message is getting that order from...it's weird. Hi Ray, Are you passing the parameters in the same order as they are defined in the CFC? I seem to remember having problems when passing invoke params in the wrong order in the past. Looking at the error output, they seem to be in the wrong order. Thanks, Paul Paul Day Principal / Developer 410.241.8465 p...@nucomsolutions.com http://www.nucomsolutions.com/ From: Ray Meade raym...@yahoo.com Sent: Tuesday, August 10, 2010 12:24 PM To: cf-talk cf-talk@houseoffusion.com Subject: Web service operation... with parameters...cannot be found. error I keep getting this error no matter what I try (and I've been at it for 2 days now): Web service operation NEWJOB with parameters {JOBMINCOMPENSATION={250},JOBTYPE={1},JOBVERIFICATION={0}, USERNAME={**},JOBCONTACTPHONE={123-456-7890}, JOBCOMPANYNAME={Spencer Stuart},JOBDESCRIPTION={![CDATA[This is a really cool job for a developer who wants to make a lot of money.]]}, JOBCONTACTURL={https://www.6figurejobs.com},JOBCONTACTSTATUS={null}, JOBMINEXPERIENCE={1},JOBCOMPENSATION={You can make alot of cash plus huge stock options!},JOBFUNCTIONS={201,202,203},JOBTITLE={Developer Level III},JOBCONTACTNAME={Dave Piccirillo},JOBCODE={SP101}, JOBMAXEXPERIENCE={2},JOBLOCATION={Milford}, jobcontactemail={da...@6figurejobs.com},JOBCONTACTFAX={987-654-3210}, JOBINDUSTRIES={101,102,103},JOBOPPORTUNITY={fulltime,startup}, JOBSHOWRIGHTEYES={null},JOBRECEIVERIGHTEYES={null},JOBSTATE={307}, JOBIONUMBER={null},PASSWORD={*}} cannot be found. (I blanked out the username and password info for security) Here is my web service code: (JobUpdates.cfc) (I removed all the code after this for testing purposes and I still get the error just trying to find the web service) And here's my code to consume it: (I created this just for testing purposes) Can someone PLEASE help me with this, I've been pulling what little hair I have left out trying to figure it out. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336158 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Web service operation... with parameters...cannot be found. error
Hi Josh, I tried both of those methods. In the CF Administrator, the web service isn't even listed (I thought the wsdl file gets created the first time you try to access it), and the cfinvoke tag doesn't have a refreshWSDL= attribute. (I tried adding it manually and it just hangs while loading) I'm not sure if this will help, but here's the results of calling the wsdl file like so: URL: http://orld-6fjdev/webservices/JobUpdates.cfc?wsdl; Results: wsdl:definitions targetNamespace=http://webservices; !--WSDL created by ColdFusion version 8,0,0,176276-- â wsdl:types â schema targetNamespace=http://rpc.xml.coldfusion; import namespace=http://schemas.xmlsoap.org/soap/encoding// â complexType name=CFCInvocationException sequence/ /complexType /schema /wsdl:types wsdl:message name=NEWJOBResponse /wsdl:message â wsdl:message name=NEWJOBRequest wsdl:part name=USERNAME type=xsd:string/ wsdl:part name=PASSWORD type=xsd:string/ wsdl:part name=JOBCOMPANYNAME type=xsd:string/ wsdl:part name=JOBCODE type=xsd:double/ wsdl:part name=JOBTITLE type=xsd:string/ wsdl:part name=JOBINDUSTRIES type=xsd:string/ wsdl:part name=JOBFUNCTIONS type=xsd:string/ wsdl:part name=JOBLOCATION type=xsd:string/ wsdl:part name=JOBSTATE type=xsd:string/ wsdl:part name=JOBDESCRIPTION type=xsd:string/ wsdl:part name=JOBOPPORTUNITY type=xsd:string/ wsdl:part name=JOBCOMPENSATION type=xsd:string/ wsdl:part name=JOBMINCOMPENSATION type=xsd:string/ wsdl:part name=JOBMINEXPERIENCE type=xsd:string/ wsdl:part name=JOBMAXEXPERIENCE type=xsd:string/ wsdl:part name=JOBCONTACTNAME type=xsd:string/ wsdl:part name=JOBCONTACTEMAIL type=xsd:string/ wsdl:part name=JOBCONTACTSTATUS type=xsd:string/ wsdl:part name=JOBCONTACTURL type=xsd:string/ wsdl:part name=JOBCONTACTPHONE type=xsd:string/ wsdl:part name=JOBCONTACTFAX type=xsd:string/ wsdl:part name=JOBSHOWRIGHTEYES type=xsd:string/ wsdl:part name=JOBRECEIVERIGHTEYES type=xsd:string/ wsdl:part name=JOBIONUMBER type=xsd:string/ wsdl:part name=JOBTYPE type=xsd:string/ wsdl:part name=JOBVERIFICATION type=xsd:string/ /wsdl:message â wsdl:message name=CFCInvocationException wsdl:part name=fault type=tns1:CFCInvocationException/ /wsdl:message â wsdl:portType name=JobUpdates â wsdl:operation name=NEWJOB parameterOrder=USERNAME PASSWORD JOBCOMPANYNAME JOBCODE JOBTITLE JOBINDUSTRIES JOBFUNCTIONS JOBLOCATION JOBSTATE JOBDESCRIPTION JOBOPPORTUNITY JOBCOMPENSATION JOBMINCOMPENSATION JOBMINEXPERIENCE JOBMAXEXPERIENCE JOBCONTACTNAME JOBCONTACTEMAIL JOBCONTACTSTATUS JOBCONTACTURL JOBCONTACTPHONE JOBCONTACTFAX JOBSHOWRIGHTEYES JOBRECEIVERIGHTEYES JOBIONUMBER JOBTYPE JOBVERIFICATION wsdl:input message=impl:NEWJOBRequest name=NEWJOBRequest/ wsdl:output message=impl:NEWJOBResponse name=NEWJOBResponse/ wsdl:fault message=impl:CFCInvocationException name=CFCInvocationException/ /wsdl:operation /wsdl:portType â wsdl:binding name=JobUpdates.cfcSoapBinding type=impl:JobUpdates wsdlsoap:binding style=rpc transport=http://schemas.xmlsoap.org/soap/http/ â wsdl:operation name=NEWJOB wsdlsoap:operation soapAction=/ â wsdl:input name=NEWJOBRequest wsdlsoap:body encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; namespace=http://webservices; use=encoded/ /wsdl:input â wsdl:output name=NEWJOBResponse wsdlsoap:body encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; namespace=http://webservices; use=encoded/ /wsdl:output â wsdl:fault name=CFCInvocationException wsdlsoap:fault encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; name=CFCInvocationException namespace=http://webservices; use=encoded/ /wsdl:fault /wsdl:operation /wsdl:binding â wsdl:service name=JobUpdatesService â wsdl:port binding=impl:JobUpdates.cfcSoapBinding name=JobUpdates.cfc wsdlsoap:address location=http://orld-6fjdev/webservices/JobUpdates.cfc/ /wsdl:port /wsdl:service /wsdl:definitions ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336160 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Web service operation... with parameters...cannot be found. error
Ray, Have you added the prerequisite code to your onRequestStart() method in your Application.cfc? cfif right(arguments.targetPage,4) is .cfc cfset structDelete(variables,onRequest) / cfset structDelete(this,onRequest) / /cfif Paul Day Principal / Developer 410.241.8465 p...@nucomsolutions.com http://www.nucomsolutions.com/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336161 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Web service operation... with parameters...cannot be found. error
SCREEECH...what was that? Nope, I didn't know about the prerequisite code. Thanks Paul, I'll give that a shot and let you know how it goes. Ray, Have you added the prerequisite code to your onRequestStart() method in your Application.cfc? cfif right(arguments.targetPage,4) is .cfc cfset structDelete(variables,onRequest) / cfset structDelete(this,onRequest) / /cfif Paul Day Principal / Developer 410.241.8465 p...@nucomsolutions.com http://www.nucomsolutions.com/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336162 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Web service operation... with parameters...cannot be found. error
Paul, they're using an Application.cfm file, not Application.cfc so there is no onRequestStart() method. Is there an alternate procedure I can use for an Application.cfm file? Ray, Have you added the prerequisite code to your onRequestStart() method in your Application.cfc? cfif right(arguments.targetPage,4) is .cfc cfset structDelete(variables,onRequest) / cfset structDelete(this,onRequest) / /cfif Paul Day Principal / Developer 410.241.8465 p...@nucomsolutions.com http://www.nucomsolutions.com/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336163 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Web service operation... with parameters...cannot be found. error
Ray, Try placing a blank Application.cfm file in the directory containing the CFCs for the Web Service. Doing that will override any potential output that is being pumped out by your base Application.cfm and breaking the wsdl. Paul Day Principal / Developer 410.241.8465 p...@nucomsolutions.com http://www.nucomsolutions.com/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336165 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Web service operation... with parameters...cannot be found. error
Sorry Paul, that didn't work either. (are you getting aggravated yet?) This is really driving me nuts. It works fine when it's not a web service, but as soon as I set the access tag to remote, it stops working yet the wsdl file is accessible...go figure. Ray, Try placing a blank Application.cfm file in the directory containing the CFCs for the Web Service. Doing that will override any potential output that is being pumped out by your base Application.cfm and breaking the wsdl. Paul Day Principal / Developer 410.241.8465 p...@nucomsolutions.com http://www.nucomsolutions.com/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336167 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Web service operation... with parameters...cannot be found. error
Ray, Not at all! I've put the code on my server and reproduce the error. I'm going to work on it over the next little bit to see if I can get into the exact problem for you. Thanks, Paul Paul Day Principal / Developer 410.241.8465 p...@nucomsolutions.com http://www.nucomsolutions.com/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336169 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Web service operation... with parameters...cannot be found. error
Ray, Your JOBCODE is specified as numeric in your CFC, but you are passing in a string. cfinvokeargument name=JOBCODE value=SP101 Thanks, Paul Paul Day Principal / Developer 410.241.8465 p...@nucomsolutions.com http://www.nucomsolutions.com/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336170 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdBox: and CF9 ORM: Mapping for component user not found
I assumed that tried it but get Variable USERSERVICE is undefined. when using inject=userService:user i also trted just inject; Should this property name=userService inject=entityService:user; be property name=userService inject=userService:user; ?? Hi, can anyone help. I am playing around with CB 3 and CF9 ORM. I am not sure its wiring everything up correctly as I get the message... Error Messages: Mapping for component user not found. Either the mapping for this component is missing or the application must be restarted to generate the mapping. I have followed the sample app 'task manager' but think i have missed something.. my handler login.cfc... property name=userService inject=entityService:user; /* Index handler */ function index(event){ var rc = event.getCollection(); userService.get(); event.setView(login/index); } my user.cfc component output=false persistent=true{ property name=user_id fieldType=id; property name=user_username notnull=true type=string; property name=user_password type=string; property name=user_email type=string; property name=user_role type=string; property name=user_created type=date dbdefault=#now()#; user function init() output=false{ return this; } } my service component output=false singleton{ userService function init() output=false{ return this; } User function getUser(user_id=) output=false{ if( len(arguments.user_id) ){ var user = entityLoad(User,arguments.user_id,true); if(NOT isNull(user) ){ return user; } } return entityNew(User); } etc... app.cfc // ORM Setup this.ormEnabled = true; this.datasource = testDS; this.ormSettings = { dbcreate = update, dialect = MySQLwithInnoDB, logSQL = true, eventhandling = true, eventhandler = model.ORMEventHandler, flushAtRequestEnd = false }; ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335059 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
ColdBox: and CF9 ORM: Mapping for component user not found
Hi, can anyone help. I am playing around with CB 3 and CF9 ORM. I am not sure its wiring everything up correctly as I get the message... Error Messages: Mapping for component user not found. Either the mapping for this component is missing or the application must be restarted to generate the mapping. I have followed the sample app 'task manager' but think i have missed something.. my handler login.cfc... property name=userService inject=entityService:user; /* Index handler */ function index(event){ var rc = event.getCollection(); userService.get(); event.setView(login/index); } my user.cfc component output=false persistent=true{ property name=user_id fieldType=id; property name=user_username notnull=true type=string; property name=user_password type=string; property name=user_email type=string; property name=user_role type=string; property name=user_created type=date dbdefault=#now()#; user function init() output=false{ return this; } } my service component output=false singleton{ userService function init() output=false{ return this; } User function getUser(user_id=) output=false{ if( len(arguments.user_id) ){ var user = entityLoad(User,arguments.user_id,true); if(NOT isNull(user) ){ return user; } } return entityNew(User); } etc... app.cfc // ORM Setup this.ormEnabled = true; this.datasource = testDS; this.ormSettings = { dbcreate = update, dialect = MySQLwithInnoDB, logSQL = true, eventhandling = true, eventhandler = model.ORMEventHandler, flushAtRequestEnd = false }; ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335055 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: ColdBox: and CF9 ORM: Mapping for component user not found
Should this property name=userService inject=entityService:user; be property name=userService inject=userService:user; ?? -Original Message- From: Glyn Jackson [mailto:glyn.jack...@newebia.co.uk] Sent: Monday, 5 July 2010 5:49 AM To: cf-talk Subject: ColdBox: and CF9 ORM: Mapping for component user not found Hi, can anyone help. I am playing around with CB 3 and CF9 ORM. I am not sure its wiring everything up correctly as I get the message... Error Messages: Mapping for component user not found. Either the mapping for this component is missing or the application must be restarted to generate the mapping. I have followed the sample app 'task manager' but think i have missed something.. my handler login.cfc... property name=userService inject=entityService:user; /* Index handler */ function index(event){ var rc = event.getCollection(); userService.get(); event.setView(login/index); } my user.cfc component output=false persistent=true{ property name=user_id fieldType=id; property name=user_username notnull=true type=string; property name=user_password type=string; property name=user_email type=string; property name=user_role type=string; property name=user_created type=date dbdefault=#now()#; user function init() output=false{ return this; } } my service component output=false singleton{ userService function init() output=false{ return this; } User function getUser(user_id=) output=false{ if( len(arguments.user_id) ){ var user = entityLoad(User,arguments.user_id,true); if(NOT isNull(user) ){ return user; } } return entityNew(User); } etc... app.cfc // ORM Setup this.ormEnabled = true; this.datasource = testDS; this.ormSettings = { dbcreate = update, dialect = MySQLwithInnoDB, logSQL = true, eventhandling = true, eventhandler = model.ORMEventHandler, flushAtRequestEnd = false }; ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335057 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Coldfusion files aren't found.
Ok, got it working. This helped http://www.webmasterkb.com/Uwe/Forum.aspx/coldfusion-advanced/12032/Read-write-files-on-shared-folder-in-cluster Needed to add both the storage user and administrator to the jrun service login. We're trying to get our IIS7 webserver to serve cfm files that are on a different drive, but they aren't being found even though they are there. This works: http://localhost/sites/test.html This doesn't work: http://localhost/sites/test.cfm even though it is there. Here's the CF error message: File Not Found: /sites/test.cfm /sites/test.cfm is on a different drive than jrun. Many thanks in advance. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334538 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Coldfusion files aren't found.
We're trying to get our IIS7 webserver to serve cfm files that are on a different drive, but they aren't being found even though they are there. This works: http://localhost/sites/test.html This doesn't work: http://localhost/sites/test.cfm even though it is there. Here's the CF error message: File Not Found: /sites/test.cfm /sites/test.cfm is on a different drive than jrun. Many thanks in advance. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334510 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Coldfusion files aren't found.
Richard, Is this is a brand new site? Or are other CF files from other drives working on this site? Is this a physical direct storage drive on the same server (as in the D: drive or a mount point etc). -Mark Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Richard Steele [mailto:r...@photoeye.com] Sent: Sunday, June 13, 2010 4:17 PM To: cf-talk Subject: Coldfusion files aren't found. We're trying to get our IIS7 webserver to serve cfm files that are on a different drive, but they aren't being found even though they are there. This works: http://localhost/sites/test.html This doesn't work: http://localhost/sites/test.cfm even though it is there. Here's the CF error message: File Not Found: /sites/test.cfm /sites/test.cfm is on a different drive than jrun. Many thanks in advance. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334513 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Coldfusion files aren't found.
The user that Cf runs as needs to have access to that drive. The html file is being served directly by iis and using its permissions. Sent from my HTC on the Now Network from Sprint! - Reply message - From: Richard Steele r...@photoeye.com Date: Sun, Jun 13, 2010 4:17 pm Subject: Coldfusion files aren't found. To: cf-talk cf-talk@houseoffusion.com We're trying to get our IIS7 webserver to serve cfm files that are on a different drive, but they aren't being found even though they are there. This works: http://localhost/sites/test.html This doesn't work: http://localhost/sites/test.cfm even though it is there. Here's the CF error message: File Not Found: /sites/test.cfm /sites/test.cfm is on a different drive than jrun. Many thanks in advance. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334514 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Coldfusion files aren't found.
Linux or Windows? Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Brad Wood [mailto:b...@bradwood.com] Sent: Sunday, June 13, 2010 4:42 PM To: cf-talk Subject: Re: Coldfusion files aren't found. The user that Cf runs as needs to have access to that drive. The html file is being served directly by iis and using its permissions. Sent from my HTC on the Now Network from Sprint! - Reply message - From: Richard Steele r...@photoeye.com Date: Sun, Jun 13, 2010 4:17 pm Subject: Coldfusion files aren't found. To: cf-talk cf-talk@houseoffusion.com We're trying to get our IIS7 webserver to serve cfm files that are on a different drive, but they aren't being found even though they are there. This works: http://localhost/sites/test.html This doesn't work: http://localhost/sites/test.cfm even though it is there. Here's the CF error message: File Not Found: /sites/test.cfm /sites/test.cfm is on a different drive than jrun. Many thanks in advance. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334516 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Coldfusion files aren't found.
Duh.. windows IIIS7... sorry. Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Brad Wood [mailto:b...@bradwood.com] Sent: Sunday, June 13, 2010 4:42 PM To: cf-talk Subject: Re: Coldfusion files aren't found. The user that Cf runs as needs to have access to that drive. The html file is being served directly by iis and using its permissions. Sent from my HTC on the Now Network from Sprint! - Reply message - From: Richard Steele r...@photoeye.com Date: Sun, Jun 13, 2010 4:17 pm Subject: Coldfusion files aren't found. To: cf-talk cf-talk@houseoffusion.com We're trying to get our IIS7 webserver to serve cfm files that are on a different drive, but they aren't being found even though they are there. This works: http://localhost/sites/test.html This doesn't work: http://localhost/sites/test.cfm even though it is there. Here's the CF error message: File Not Found: /sites/test.cfm /sites/test.cfm is on a different drive than jrun. Many thanks in advance. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334517 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: The JVM library could not be found. SOLVED
and you wouldn't want all of them to set global environment variables. Well, actually I don't care, all I want is that a piece of soft I do not want installs itself correctly if it is needed by some other soft I want. The problem was also (as very often) that the error message was inappropriate: The SVM file WAS FOUND, it is the rest of the Java library needed by the SVM which was not. ~| 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:330736 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: The JVM library could not be found.
Check your system's PATH environment variable. Ok, but were is it, and what should it contain? ~| 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:330711 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: The JVM library could not be found.
Ok, I uninstalled Java, reinstalled it under C:\Java, set the Java Virtual Machine Path in the CF Administrator, ... and still the same problem :-( ~| 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:330712 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: The JVM library could not be found.
I think Dave meant to also check the windows _environment_ variable named PATH. -Leigh ~| 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:330713 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: The JVM library could not be found.
I think Dave meant to also check the windows _environment_ variable named PATH. Ok, I did, but what should be in there? Here is what I have on my production server wher the JVM is not found: C:\Program Files\Mail Enable\BIN;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem And here is what I have on my desktop where the JVM works: C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Microsoft Visual Studio\VC98\bin I don't see anything related to CF or Java anyway. ~| 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:330715 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: The JVM library could not be found.
I think Dave meant to also check the windows _environment_ variable named PATH. Ok, I did, but what should be in there? I am really not sure for win 2003/CF5. (I have never used CF5) What do you see if you check PATH and JAVA_HOME from the command line? I do not know that the results will be the same, but on my XP desktop I get c:\ ECHO %PATH% ... C:\Program Files\Java\jdk1.6.0_13\bin; c:\ ECHO %JAVA_HOME% C:\Program Files\Java\jdk1.6.0_13 -Leigh ~| 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:330716 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: The JVM library could not be found.
CF5) What do you see if you check PATH and JAVA_HOME from the command line? BTW: Though you probably did this, I meant to say make sure you are checking the System PATH variable. It believe it is possible to have user variables by the same name. (Need more coffee..) -Leigh ~| 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:330718 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: The JVM library could not be found. SOLVED
Ok, I checked the path variable using the ECHO command line, and it showed many paths that were not shown in the Windows computer management properties. This time, I see many paths to java versions used by Oracle, MySQL, etc. This is why it works on my destop. So I added paths to my new installation of Java on my production server, and now IT WORKS! It's a shame the JAVA installer does not set this variable, if it is necessary in order applications can work. THANKS A LOT all of you for your support. ~| 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:330719 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: The JVM library could not be found. SOLVED
It's a shame the JAVA installer does not set this variable, if it is necessary in order applications can work. Sometimes it will, but you have to be careful about this, as it's fairly common to have multiple JVMs installed, and you wouldn't want all of them to set global environment variables. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| 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:330729 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
The JVM library could not be found.
Hi, I've lost my whole day on that problem. I have a CF5 server on my developping WIndows XP desktop, using some Java CFX. Since it was compiled using Java 1.4 I upgraded my Java to version 1.6, everything works fine. Now I'm trying to install the same thing on my Win 3000 server, same copy of CF 5. I installed the same version of Java, set exactly the same values in the Administrator for the virtual machine. To be sure I put the right path, I copied it from the property of the jvm.dll : C:\Program Files\Java\jre6\bin\client\jvm.dll But when I restart the CF server I keep getting in the server log : The JVM library could not be found. Please check if the file specified in the ColdFusion Administrator actually exists. I've checked about 50 times, and the file does exist! I also checked in the registry and the path to the file is correctly set. I even copied the path from there, and pasted it in an hexadecimal editor, and it did opened the file. Any idea what could make the CF sever not able to find the JVM library ? ~| 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:330702 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: The JVM library could not be found.
Wow.. Windows 3000. We are getting emails from the future. Does it still support IE6? God I hope not. Joking aside, I'll assume 2003 server. Did you try putting the jvm in a place with no spaces in the name? Maybe that is causing issues? -- /Kevin Pepperman ~| 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:330706 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: The JVM library could not be found.
Joking aside, I'll assume 2003 server. He he yeah, 2003 of course ;-) Did you try putting the jvm in a place with no spaces in the name? Maybe that is causing issues? Hmmm, if this was an issue, it could not be from CF5 since the same copy of CF5 has no problem with the same name under Win XP, and if the problem was with Win 2003, how could it work with all its applications under such a directory, including the CF server ? ~| 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:330708 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: The JVM library could not be found.
Not sure why, but I would try it first. Its the first thing I would look at. Then maybe verify the jvm versions, maybe one is from the SDK and the other is not? There are differences between XP and 2003 server. If it says it cant find the path, and you know it exists, and it still cant find it that way-- It is possible that the XP box is using an environmental/system variable to resolve the path, but your 2003 server install is looking for the variable in an internal hard coded path. -- /Kevin Pepperman ~| 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:330709 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: The JVM library could not be found.
Hmmm, if this was an issue, it could not be from CF5 since the same copy of CF5 has no problem with the same name under Win XP, and if the problem was with Win 2003, how could it work with all its applications under such a directory, including the CF server ? Check your system's PATH environment variable. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| 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:330710 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 copy command? - Found word(s) mp3 in the Text body
Hey James, If your trying to copy to an outside server you could use CFFTP's action=putfile command. After opening a connection I use something like this... cfftp action=putfile connection=MyConnection localfile=local path of file to copy remotefile=remote path of where to copy too transfermode=binary stoponerror=no timeout=3600 failifexists=no retrycount=10 If you just want to copy it locally form one folder to another use cffile's action=copy command. http://livedocs.adobe.com/coldfusion/8/Tags_f_04.html -Original Message- From: James Wolfe [mailto:james-cft...@goqs.com] Sent: Thursday, February 11, 2010 12:29 PM To: cf-talk Subject: CFFTP copy command? - Found word(s) mp3 in the Text body Is there any way to copy a file on the FTP server from /directory1/fileName.mp3 to /directory2/fileName.mp3 without downloading it to my machine? Again, I want a COPY (not a move). Thanks, James ~| 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:330607 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 copy command? - Found word(s) mp3 in the Text body
If your trying to copy to an outside server you could use CFFTP's action=putfile command. Since he said without downloading it to my machine I think he means both the source and the destination are on the FTP server. If you just want to copy it locally form one folder to another use cffile's action=copy command. Again, cffile only works on a local file system-- not an FTP server. @James, as far as I know you are out of luck unless you have some other way to access the remote server (SSH, etc). I refrained from answering originally to see if there really was a way to do that. As basic as a copy from a remote location to another remote location seems- I think the fact of the matter is that FTP was designed to move files between a local and remote endpoints-- not to comprehensively manage remote files. ~Brad ~| 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:330610 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 copy command? - Found word(s) mp3 in the Text body
The ftp command rename should do it, if it's exposed to the tag (I don't do ftp, so don't know). If it isn't, I guess it's java-land for you! (Or just some other solution.) :denny -- Humility is truth. Desiderius Erasmus ~| 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:330615 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 copy command? - Found word(s) mp3 in the Text body
The rename command is the same as a move. Thanks anyway. The ftp command rename should do it, if it's exposed to the tag (I don't do ftp, so don't know). If it isn't, I guess it's java-land for you! (Or just some other solution.) :denny -- Humility is truth. Desiderius Erasmus ~| 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:330618 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4