Yep. Would be nice. :-)

Fortunately, it was mentioned by someone in at least one of the "what I want
to see in Scorpio" blog entries that popped up like weeds the last few
weeks. See comment 15 at:

http://devnulled.com/content/2006/07/wishlist-11-things-id-like-to-see-in-co
ldfusion-mx-8-scoprio/ 

So if the Adobe or New Atlanta folks are listening (BD is set to have
application.cfc in BD 7), maybe we will see it. 

Then again, Rob Brooks-Bilson had listed them in his 2004 "what I'd like to
see in Blackstone" (7), but no one seemed to listen then:

http://www.brooks-bilson.com/blogs/rob/index.cfm/2004/5/12/104

/charlie
http://www.carehart.org/blog/

-----Original Message-----
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Barry Beattie
Sent: Wednesday, August 23, 2006 6:40 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Web Service Stub Wierdness


ever since events were first introduced to CF, I always wanted an
onServerStart hook. Application starts are one thing but it could have
really been handy for our case.... can't the ColdFusion serverce fire these
when it springs into life?

just throwing this out there....nothing more...



On 8/24/06, Charlie Arehart <[EMAIL PROTECTED]> wrote:
>
> Lest anyone "just drop that code into the application.cfm", do be 
> careful as Joel says at the end (and as later notes indicate how 
> time-consuming this can be). Note that he suggests it for reloading the
apps "on first launch".
> While the new application.cfc has a method where you can put this code 
> to ensure it's only done once, if you do drop it into application.cfm, 
> it's critical that you add code to do it only once per application 
> launch (test for an app var, and if it doesn't exist, set it and THEN 
> do this code.)
>
> You do NOT want to mistakenly run this webservice refresh code on 
> every page request! :-)
>
> /charlie
> http://www.carehart.org/blog/
>
> -----Original Message-----
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On 
> Behalf Of Joel Cass
> Sent: Wednesday, August 23, 2006 1:39 AM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] Re: Web Service Stub Wierdness
>
>
> You could try putting this in your application.cfc/cfm to reload the 
> apps on first launch:
>
> <!--- flush web services --->
> <cftry>
>         <cfscript>
>         factory = CreateObject('JAVA',
"coldfusion.server.ServiceFactory");
>         RpcService = factory.XmlRpcService;
>         Mappings = RpcService.getMappings();
>         for (m in Mappings) {
>                 RpcService.refreshWebService(Mappings[m]);
>         }
>         </cfscript>
>         <cfcatch><!-- [error flushing web service cache] --></cfcatch> 
> </cftry>
> <!--- end flush web services --->
>
> That fixes most niggling AXIS issues for me :) Though it does reload 
> all services on the server so be careful..
>
> -----Original Message-----
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED]
> Behalf Of Scott Arbeitman
> Sent: Wednesday, 23 August 2006 2:50 PM
> To: cfaussie
> Subject: [cfaussie] Web Service Stub Wierdness
>
>
>
> I have some named web services in my ColdFusion administrator (CF 6.1).
>
>
> I have templates which invoke the web services. These invocations have 
> a low timeout.
>
> If I load a template which calls a web service after adding or 
> refreshing a web service in the administrator, it runs without problems.
>
> When I restart ColdFusion, however, I can no longer invoke these web 
> services because of socket timeout errors. These are resolved after 
> refreshing the web services in the administrator.
>
> Now I know ColdFusion is going to use Axis to generate stubs when 
> adding/refreshing web services. Therefore, these stubs must be deleted 
> by CF when restarting ColdFusion even though "Save Class Files" 
> setting is enabled (I'm assuming, then, that this setting only applies 
> to compiled ColdFusion pages, not Axis stubs).
>
> Needless to say, the generate of stubs and their invocation exceeds 5 
> the timeout threshhold.
>
> Anyone know I can tell CF not to delete these stubs?
>
>
>
>
>
>
>
>
>
>
> >
>




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~----------~----~----~----~------~----~------~--~---

Reply via email to