CFML restart ACF 10 app server service

2014-10-01 Thread John M Bliss
Hi. What's the current best way to use CFML to restart ACF 10 app server service (on Windows server)? -- John Bliss - http://www.linkedin.com/in/jbliss ~| Order the Adobe Coldfusion Anthology now!

Re: CFML restart ACF 10 app server service

2014-10-01 Thread Gerald Guido
I don't know if this is the best way but you can put the following text in a .bat file and run it using cfexecute. net stop ColdFusion 10 Application Server net start ColdFusion 10 Application Server cfexecute name = C:\somefolder\yourbatfile.bat /cfexecute HTH G! *Gerald Anthony Guido*

Re: CFML restart ACF 10 app server service

2014-10-01 Thread Russ Michaels
we have a scheduled task setup to restart CF every morning. Since we have done this we have hardly any cf issues any more. On Wed, Oct 1, 2014 at 3:46 PM, Gerald Guido gerald.gu...@gmail.com wrote: I don't know if this is the best way but you can put the following text in a .bat file and run

Re: CFML restart ACF 10 app server service

2014-10-01 Thread John M Bliss
And do you do it the way Gerald recommended...? On Wed, Oct 1, 2014 at 12:16 PM, Russ Michaels r...@michaels.me.uk wrote: we have a scheduled task setup to restart CF every morning. Since we have done this we have hardly any cf issues any more. On Wed, Oct 1, 2014 at 3:46 PM, Gerald Guido

Re: CFML restart ACF 10 app server service

2014-10-01 Thread Russ Michaels
we have a batch file which we run via a windows scheduled task, we don't do it via CF. On Wed, Oct 1, 2014 at 7:10 PM, John M Bliss bliss.j...@gmail.com wrote: And do you do it the way Gerald recommended...? On Wed, Oct 1, 2014 at 12:16 PM, Russ Michaels r...@michaels.me.uk wrote: we

Re: CFML restart ACF 10 app server service

2014-10-01 Thread John M Bliss
Care to share the batch file? On Oct 1, 2014 5:56 PM, Russ Michaels r...@michaels.me.uk wrote: we have a batch file which we run via a windows scheduled task, we don't do it via CF. On Wed, Oct 1, 2014 at 7:10 PM, John M Bliss bliss.j...@gmail.com wrote: And do you do it the way Gerald

Re: CFML restart ACF 10 app server service

2014-10-01 Thread Wil Genovese
The simplest way would be to use these two commands net stop “Servcie name net start “Servcie name Thats all you really need to stop and start ANY Windows service from the command line on the local machine. You can eve use the NET command to access a remote Windows server to stop and start

Re: CFML restart ACF 10 app server service

2014-10-01 Thread Russ Michaels
Just use the previously mentioned commands that is all you need On Wed, Oct 1, 2014 at 22:57 PM, John M Bliss bliss.j...@gmail.com wrote: Care to share the batch file? On Oct 1, 2014 5:56 PM, Russ Michaels r...@michaels.me.uk javascript:; wrote: we have a batch file which we run via a

Getting memory amount used

2014-10-01 Thread Claude Schnéegans
Hi, Would any one know some trick to get the amount of memory occupied by a structure like query, etc.? Thanks ~| Order the Adobe Coldfusion Anthology now!

Re: CF10 creating extra CFID/CFTOKEN cookies at the domain level

2014-10-01 Thread John Pullam
I did what you suggested and thought that the problem had gone away. I was successful in getting any traffic to move to the www prefixed name but that didn't solve the cookie problem. I am having trouble creating the failure but I am still seeing duplicate cookies with the same CFID and

Re: CF10 creating extra CFID/CFTOKEN cookies at the domain level

2014-10-01 Thread Byron Mann
If your Application has setclientcookies=yes, which is the default, a cookie/session will be created for each host used by the client to access the site. So domain.com,www.domain.com, 127.0.0.1, could all be the same physical web site, but would have 3 different cookies and sessions generated.

Re: Getting memory amount used

2014-10-01 Thread Byron Mann
Might be able to get this using Java. http://stackoverflow.com/questions/52353/in-java-what-is-the-best-way-to-determine-the-size-of-an-object For simpler objects maybe serialize the variable to json or wddx and do a regex to replace all the syntax characters and get the length. Fusion reactor