Re: CFML restart ACF 10 app server service

2014-10-09 Thread John M Bliss

I came to the same conclusion. Thanks.

On Wed, Oct 8, 2014 at 9:46 PM, Al Musella, DPM 
wrote:

>
>   It doesn't make sense to do it from cf scheduler because if CF is
> locked up it won't execute.  The windows scheduler always will!
>
>
> At 07:21 PM 10/1/2014, Russ Michaels wrote:
>
> >Just use the previously mentioned commands that is all you need
> >
> >
> >On Wed, Oct 1, 2014 at 22:57 PM, John M Bliss 
> wrote:
> >
> >
> >Care to share the batch file?
> >On Oct 1, 2014 5:56 PM, "Russ Michaels"  >
> >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  >> wrote:
> > >
> > > >
> > > > And do you do it the way Gerald recommended...?
> > > >
> > > > On Wed, Oct 1, 2014 at 12:16 PM, Russ Michaels  >>
> > > > 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 <
> 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 it using cfexecute.
> > > > > >
> > > > > > net stop "ColdFusion 10 Application Server"
> > > > > > net start "ColdFusion 10 Application Server"
> > > > > >
> > > > > > 
> > > > > > 
> > > > > >
> > > > > > HTH
> > > > > > G!
> > > > > >
> > > > > > *Gerald Anthony Guido*
> > > > > > Nullius in verba 
> > > > > > -- Horace
> > > > > >
> > > > > > learn.geraldguido.com
> > > > > > Twitter 
> > > > > > Facebook 
> > > > > >
> > > > > > On Wed, Oct 1, 2014 at 9:22 AM, John M Bliss <
> bliss.j...@gmail.com
> >>
> > > > > wrote:
> > > > > >
> > > > > > >
> > > > > > > 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!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359424
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFML restart ACF 10 app server service

2014-10-08 Thread Al Musella, DPM

  It doesn't make sense to do it from cf scheduler because if CF is 
locked up it won't execute.  The windows scheduler always will!


At 07:21 PM 10/1/2014, Russ Michaels wrote:

>Just use the previously mentioned commands that is all you need
>
>
>On Wed, Oct 1, 2014 at 22:57 PM, John M Bliss  wrote:
>
>
>Care to share the batch file?
>On Oct 1, 2014 5:56 PM, "Russ Michaels" >
>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 > wrote:
> >
> > >
> > > And do you do it the way Gerald recommended...?
> > >
> > > On Wed, Oct 1, 2014 at 12:16 PM, Russ Michaels >
> > > 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 >
> > > > wrote:
> > > >
> > > > >
> > > > > 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"
> > > > >
> > > > > 
> > > > > 
> > > > >
> > > > > HTH
> > > > > G!
> > > > >
> > > > > *Gerald Anthony Guido*
> > > > > Nullius in verba 
> > > > > -- Horace
> > > > >
> > > > > learn.geraldguido.com
> > > > > Twitter 
> > > > > Facebook 
> > > > >
> > > > > On Wed, Oct 1, 2014 at 9:22 AM, John M Bliss >
> > > > wrote:
> > > > >
> > > > > >
> > > > > > 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!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359423
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFML restart ACF 10 app server service

2014-10-03 Thread Russ Michaels

actually  asp and PHP always ran as a separate cgi process because they
were always executable or ISAPI, but before the days of application pools,
they were not as isolated as they are now. CF 1 - 5 were the same too as it
was writen in C language and also ran as a cgi process.
The main issue was people not knowing how to setup websites properly and
tune the settings and security, most folks back then (including me) would
just create a site using the default method and settings, which was not
very secure.
Back in those days ASP was for Windows and PHP was for Linux and CF was far
more RAD than both of them.


On Fri, Oct 3, 2014 at 10:36 PM, UXB Internet 
wrote:

>
> >  explains the problems with CF on shared hosting:
> >  http://www.michaels.me.uk/post.cfm/why-coldfusion-railo-are-not-
> >  suited-to-shared-hosting
>
> Interesting article and a nice refresher for anyone running a shared
> hosting
> environment.  It goes to show how the technology has changed over the
> years.
> In 1998 when I started in this business the best solution for a shared
> environment was CF because ASP and PHP were not very stable and the web
> servers of the time forced them to run in context with the single web
> server
> process.  Therefore a failed ASP or PHP page could easily lock the entire
> web server whereas with CF running out of context as a service if bad code
> caused CF to lock HTML pages would still be served.
>
>
> Dennis Powers
> UXB Internet - A website Design and Hosting Company
> P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844
> W: http://www.uxbinternet.com
> W: http://www.ctbusinesslist.com
>
>
>
>
> 

~|
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:359406
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFML restart ACF 10 app server service

2014-10-03 Thread UXB Internet

>  explains the problems with CF on shared hosting:
>  http://www.michaels.me.uk/post.cfm/why-coldfusion-railo-are-not-
>  suited-to-shared-hosting

Interesting article and a nice refresher for anyone running a shared hosting
environment.  It goes to show how the technology has changed over the years.
In 1998 when I started in this business the best solution for a shared
environment was CF because ASP and PHP were not very stable and the web
servers of the time forced them to run in context with the single web server
process.  Therefore a failed ASP or PHP page could easily lock the entire
web server whereas with CF running out of context as a service if bad code
caused CF to lock HTML pages would still be served.


Dennis Powers
UXB Internet - A website Design and Hosting Company 
P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844
W: http://www.uxbinternet.com
W: http://www.ctbusinesslist.com




~|
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:359405
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFML restart ACF 10 app server service

2014-10-02 Thread Russ Michaels

we have been using FR for years.
The primary issue we have on shared servers is hung database queries, which
causes all coldfusion requests to be used up until there are none left, and
cf will then stop serving up pages to any new requests.
There are so many things that can cause this, especially on a shared
server, but the problem is that a query is a native java call, so cannot be
killed even by FusionReactor, so it will just hang around forever until CF
is restarted,
Diagnosing and performance tuning takes time and costs money, and on a
shared server, no-one is going to pay for that, so it would be an endless
and cost prohibitive task.
These specific types of issues on affect coldfusion due to the fact it runs
as a service, PHP and the likes do not suffer from such issues.

You should have a real of the following article I wrote on this topic which
explains the problems with CF on shared hosting:
http://www.michaels.me.uk/post.cfm/why-coldfusion-railo-are-not-suited-to-shared-hosting



On Thu, Oct 2, 2014 at 10:28 PM, Wil Genovese  wrote:

>
> Russ,
>
> I love those types of challenges! Yes, I have stabilized very large shared
> hosting ColdFusion 10 servers. Even some with hundreds of websites. It can
> be true that it’s not always as easy to do, but I know it can be done. Of
> course one of the best bangs for the buck is to buy Fusion Reactor when it
> comes down to figuring out if a certain site’s code, DB, etc is a root
> cause. Even *I* (:-P) use Fusion Reactor, after all I can only do so much
> via mental telepathy. ;-)
>
> Regards,
> Wil
>
>
>
> Wil Genovese
> Sr. Web Application Developer/
> Systems Administrator
> CF Webtools
> www.cfwebtools.com
>
> wilg...@trunkful.com
> www.trunkful.com
>
> On Oct 2, 2014, at 4:18 PM, Russ Michaels  wrote:
>
> >
> > so just to clarify, these are servers with hundreds of different websites
> > and customers on right ? not just 1 client/app per server? which is easy
> to
> > tune
> >
> > On Thu, Oct 2, 2014 at 10:09 PM, Wil Genovese 
> wrote:
> >
> >>
> >> If you are having to do regular restarts for server stability then there
> >> is definitely something wrong. At CF Webtools we have work with a large
> >> number of clients on CF10 that have very high load websites. None of
> them
> >> need regular restarts anymore. We are experts at rooting out server
> >> configuration issues as well as coding practices that may not be
> efficient
> >> that can cause problems.
> >>
> >> There are numerous blog posts on performance tuning for ColdFusion 10
> JVM,
> >> Tomcat IIS connectors and code. Some of those are at my blog (
> >> http://www.trunkful.com) or at the ColdFusion Muses blog (
> >> http://coldfusionmuse.com/). Adobe has many blog posts too on server
> >> performance and tuning. I highly recommend using these resources to see
> if
> >> you can resolve the root cause(s) for the server stability issues.
> >>
> >> *Shameless plug* Or contact us and we can help you.
> >>
> >> Regards,
> >>
> >>
> >>
> >> Wil Genovese
> >> Sr. Web Application Developer/
> >> Systems Administrator
> >> CF Webtools
> >> www.cfwebtools.com
> >>
> >> wilg...@trunkful.com
> >> www.trunkful.com
> >>
> >> On Oct 2, 2014, at 3:56 PM, Russ Michaels  wrote:
> >>
> >>>
> >>> except we rarely had any such issues with cf4/5, it ran like a dream
> >>> compared to CF6+, which is down to java
> >>>
> >>> On Thu, Oct 2, 2014 at 8:59 PM, UXB Internet 
> >>> 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.
> 
>  Wow! How far we have come, he says with great sarcasm, it harkens back
> >> to
>  the good old CF4 on NT server days.
> 
> 
>  Dennis Powers
>  UXB Internet - A website Design and Hosting Company
>  P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844
>  W: http://www.uxbinternet.com
>  W: http://www.ctbusinesslist.com
> 
> 
> 
> 
> 
> >>>
> >>>
> >>
> >>
> >
> >
>
> 

~|
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:359403
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFML restart ACF 10 app server service

2014-10-02 Thread Claude Schnéegans

 >>None of them need regular restarts anymore.

If you do need restart, it could be because you have a problem in your code.
I have a task scheduled every 2 hours, it scans mail rebounces with regular 
expressions
and who knows why, after one year with no problem, I recently got a certain 
string that completely blocked the server.
I had to restart the server at least once every day.
I changed a little bit the reg exp, and now it works like a charm.
Now, could a regular expression taking so long be considered as a problem with 
ColdFusion?


~|
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:359402
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFML restart ACF 10 app server service

2014-10-02 Thread Wil Genovese

Russ,

I love those types of challenges! Yes, I have stabilized very large shared 
hosting ColdFusion 10 servers. Even some with hundreds of websites. It can be 
true that it’s not always as easy to do, but I know it can be done. Of course 
one of the best bangs for the buck is to buy Fusion Reactor when it comes down 
to figuring out if a certain site’s code, DB, etc is a root cause. Even *I* 
(:-P) use Fusion Reactor, after all I can only do so much via mental telepathy. 
;-)

Regards,
Wil



Wil Genovese
Sr. Web Application Developer/
Systems Administrator
CF Webtools
www.cfwebtools.com

wilg...@trunkful.com
www.trunkful.com

On Oct 2, 2014, at 4:18 PM, Russ Michaels  wrote:

> 
> so just to clarify, these are servers with hundreds of different websites
> and customers on right ? not just 1 client/app per server? which is easy to
> tune
> 
> On Thu, Oct 2, 2014 at 10:09 PM, Wil Genovese  wrote:
> 
>> 
>> If you are having to do regular restarts for server stability then there
>> is definitely something wrong. At CF Webtools we have work with a large
>> number of clients on CF10 that have very high load websites. None of them
>> need regular restarts anymore. We are experts at rooting out server
>> configuration issues as well as coding practices that may not be efficient
>> that can cause problems.
>> 
>> There are numerous blog posts on performance tuning for ColdFusion 10 JVM,
>> Tomcat IIS connectors and code. Some of those are at my blog (
>> http://www.trunkful.com) or at the ColdFusion Muses blog (
>> http://coldfusionmuse.com/). Adobe has many blog posts too on server
>> performance and tuning. I highly recommend using these resources to see if
>> you can resolve the root cause(s) for the server stability issues.
>> 
>> *Shameless plug* Or contact us and we can help you.
>> 
>> Regards,
>> 
>> 
>> 
>> Wil Genovese
>> Sr. Web Application Developer/
>> Systems Administrator
>> CF Webtools
>> www.cfwebtools.com
>> 
>> wilg...@trunkful.com
>> www.trunkful.com
>> 
>> On Oct 2, 2014, at 3:56 PM, Russ Michaels  wrote:
>> 
>>> 
>>> except we rarely had any such issues with cf4/5, it ran like a dream
>>> compared to CF6+, which is down to java
>>> 
>>> On Thu, Oct 2, 2014 at 8:59 PM, UXB Internet 
>>> 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.
 
 Wow! How far we have come, he says with great sarcasm, it harkens back
>> to
 the good old CF4 on NT server days.
 
 
 Dennis Powers
 UXB Internet - A website Design and Hosting Company
 P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844
 W: http://www.uxbinternet.com
 W: http://www.ctbusinesslist.com
 
 
 
 
 
>>> 
>>> 
>> 
>> 
> 
> 

~|
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:359401
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFML restart ACF 10 app server service

2014-10-02 Thread Russ Michaels

so just to clarify, these are servers with hundreds of different websites
and customers on right ? not just 1 client/app per server? which is easy to
tune

On Thu, Oct 2, 2014 at 10:09 PM, Wil Genovese  wrote:

>
> If you are having to do regular restarts for server stability then there
> is definitely something wrong. At CF Webtools we have work with a large
> number of clients on CF10 that have very high load websites. None of them
> need regular restarts anymore. We are experts at rooting out server
> configuration issues as well as coding practices that may not be efficient
> that can cause problems.
>
> There are numerous blog posts on performance tuning for ColdFusion 10 JVM,
> Tomcat IIS connectors and code. Some of those are at my blog (
> http://www.trunkful.com) or at the ColdFusion Muses blog (
> http://coldfusionmuse.com/). Adobe has many blog posts too on server
> performance and tuning. I highly recommend using these resources to see if
> you can resolve the root cause(s) for the server stability issues.
>
> *Shameless plug* Or contact us and we can help you.
>
> Regards,
>
>
>
> Wil Genovese
> Sr. Web Application Developer/
> Systems Administrator
> CF Webtools
> www.cfwebtools.com
>
> wilg...@trunkful.com
> www.trunkful.com
>
> On Oct 2, 2014, at 3:56 PM, Russ Michaels  wrote:
>
> >
> > except we rarely had any such issues with cf4/5, it ran like a dream
> > compared to CF6+, which is down to java
> >
> > On Thu, Oct 2, 2014 at 8:59 PM, UXB Internet 
> > 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.
> >>
> >> Wow! How far we have come, he says with great sarcasm, it harkens back
> to
> >> the good old CF4 on NT server days.
> >>
> >>
> >> Dennis Powers
> >> UXB Internet - A website Design and Hosting Company
> >> P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844
> >> W: http://www.uxbinternet.com
> >> W: http://www.ctbusinesslist.com
> >>
> >>
> >>
> >>
> >>
> >
> >
>
> 

~|
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:359400
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFML restart ACF 10 app server service

2014-10-02 Thread Wil Genovese

If you are having to do regular restarts for server stability then there is 
definitely something wrong. At CF Webtools we have work with a large number of 
clients on CF10 that have very high load websites. None of them need regular 
restarts anymore. We are experts at rooting out server configuration issues as 
well as coding practices that may not be efficient that can cause problems. 

There are numerous blog posts on performance tuning for ColdFusion 10 JVM, 
Tomcat IIS connectors and code. Some of those are at my blog 
(http://www.trunkful.com) or at the ColdFusion Muses blog 
(http://coldfusionmuse.com/). Adobe has many blog posts too on server 
performance and tuning. I highly recommend using these resources to see if you 
can resolve the root cause(s) for the server stability issues. 

*Shameless plug* Or contact us and we can help you. 

Regards,



Wil Genovese
Sr. Web Application Developer/
Systems Administrator
CF Webtools
www.cfwebtools.com

wilg...@trunkful.com
www.trunkful.com

On Oct 2, 2014, at 3:56 PM, Russ Michaels  wrote:

> 
> except we rarely had any such issues with cf4/5, it ran like a dream
> compared to CF6+, which is down to java
> 
> On Thu, Oct 2, 2014 at 8:59 PM, UXB Internet 
> 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.
>> 
>> Wow! How far we have come, he says with great sarcasm, it harkens back to
>> the good old CF4 on NT server days.
>> 
>> 
>> Dennis Powers
>> UXB Internet - A website Design and Hosting Company
>> P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844
>> W: http://www.uxbinternet.com
>> W: http://www.ctbusinesslist.com
>> 
>> 
>> 
>> 
>> 
> 
> 

~|
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:359399
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFML restart ACF 10 app server service

2014-10-02 Thread Russ Michaels

except we rarely had any such issues with cf4/5, it ran like a dream
compared to CF6+, which is down to java

On Thu, Oct 2, 2014 at 8:59 PM, UXB Internet 
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.
>
> Wow! How far we have come, he says with great sarcasm, it harkens back to
> the good old CF4 on NT server days.
>
>
> Dennis Powers
> UXB Internet - A website Design and Hosting Company
> P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844
> W: http://www.uxbinternet.com
> W: http://www.ctbusinesslist.com
>
>
>
>
> 

~|
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:359398
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFML restart ACF 10 app server service

2014-10-02 Thread UXB Internet

>  we have a scheduled task setup to restart CF every morning. Since we have
>  done this we have hardly any cf issues any more.

Wow! How far we have come, he says with great sarcasm, it harkens back to
the good old CF4 on NT server days. 


Dennis Powers
UXB Internet - A website Design and Hosting Company 
P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844
W: http://www.uxbinternet.com
W: http://www.ctbusinesslist.com




~|
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:359397
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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  wrote:


Care to share the batch file?
On Oct 1, 2014 5:56 PM, "Russ Michaels" >
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 > wrote:
>
> >
> > And do you do it the way Gerald recommended...?
> >
> > On Wed, Oct 1, 2014 at 12:16 PM, Russ Michaels >
> > 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 >
> > > wrote:
> > >
> > > >
> > > > 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"
> > > >
> > > > 
> > > > 
> > > >
> > > > HTH
> > > > G!
> > > >
> > > > *Gerald Anthony Guido*
> > > > Nullius in verba 
> > > > -- Horace
> > > >
> > > > learn.geraldguido.com
> > > > Twitter 
> > > > Facebook 
> > > >
> > > > On Wed, Oct 1, 2014 at 9:22 AM, John M Bliss >
> > > wrote:
> > > >
> > > > >
> > > > > 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!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359382
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 services.

Regards,
Wil




Wil Genovese
Sr. Web Application Developer/
Systems Administrator
CF Webtools
www.cfwebtools.com

wilg...@trunkful.com
www.trunkful.com

On Oct 1, 2014, at 4:57 PM, John M Bliss  wrote:

> 
> Care to share the batch file?
> On Oct 1, 2014 5:56 PM, "Russ Michaels"  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  wrote:
>> 
>>> 
>>> And do you do it the way Gerald recommended...?
>>> 
>>> On Wed, Oct 1, 2014 at 12:16 PM, Russ Michaels 
>>> 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 
 wrote:
 
> 
> 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"
> 
> 
> 
> 
> HTH
> G!
> 
> *Gerald Anthony Guido*
> Nullius in verba 
> -- Horace
> 
> learn.geraldguido.com
> Twitter 
> Facebook 
> 
> On Wed, Oct 1, 2014 at 9:22 AM, John M Bliss 
 wrote:
> 
>> 
>> 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!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359381
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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"  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  wrote:
>
> >
> > And do you do it the way Gerald recommended...?
> >
> > On Wed, Oct 1, 2014 at 12:16 PM, Russ Michaels 
> > 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 
> > > wrote:
> > >
> > > >
> > > > 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"
> > > >
> > > > 
> > > > 
> > > >
> > > > HTH
> > > > G!
> > > >
> > > > *Gerald Anthony Guido*
> > > > Nullius in verba 
> > > > -- Horace
> > > >
> > > > learn.geraldguido.com
> > > > Twitter 
> > > > Facebook 
> > > >
> > > > On Wed, Oct 1, 2014 at 9:22 AM, John M Bliss 
> > > wrote:
> > > >
> > > > >
> > > > > 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!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359380
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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  wrote:

>
> And do you do it the way Gerald recommended...?
>
> On Wed, Oct 1, 2014 at 12:16 PM, Russ Michaels 
> 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 
> > wrote:
> >
> > >
> > > 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"
> > >
> > > 
> > > 
> > >
> > > HTH
> > > G!
> > >
> > > *Gerald Anthony Guido*
> > > Nullius in verba 
> > > -- Horace
> > >
> > > learn.geraldguido.com
> > > Twitter 
> > > Facebook 
> > >
> > > On Wed, Oct 1, 2014 at 9:22 AM, John M Bliss 
> > wrote:
> > >
> > > >
> > > > 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!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359379
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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  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 
> wrote:
>
> >
> > 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"
> >
> > 
> > 
> >
> > HTH
> > G!
> >
> > *Gerald Anthony Guido*
> > Nullius in verba 
> > -- Horace
> >
> > learn.geraldguido.com
> > Twitter 
> > Facebook 
> >
> > On Wed, Oct 1, 2014 at 9:22 AM, John M Bliss 
> wrote:
> >
> > >
> > > 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!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359378
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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  wrote:

>
> 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"
>
> 
> 
>
> HTH
> G!
>
> *Gerald Anthony Guido*
> Nullius in verba 
> -- Horace
>
> learn.geraldguido.com
> Twitter 
> Facebook 
>
> On Wed, Oct 1, 2014 at 9:22 AM, John M Bliss  wrote:
>
> >
> > 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!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359377
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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"




HTH
G!

*Gerald Anthony Guido*
Nullius in verba 
-- Horace

learn.geraldguido.com
Twitter 
Facebook 

On Wed, Oct 1, 2014 at 9:22 AM, John M Bliss  wrote:

>
> 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!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359376
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359375
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm