[cfaussie] CF9 Service does not start but cfstart.bat does

2011-05-16 Thread Taco Fleur
Running Win 2008 64bit ColdFusion 9

Still battling with my CF server issues, but at least got one step further
now  *CF9 Service does not start but cfstart.bat does start the server*.

Why would the service not start but the batch file would start the server?
(don't answer the first part of the question, have gone through logs etc.)

The service points to
C:\ColdFusion9\runtime\bin\jrunsvc.exe

The batch file points to
cd ..\runtime\bin
jrun -start coldfusion

What would be the difference between them?

To recap, my CF9 service always has taken ages to start, but today it did
not want to start at all anymore, but the cfstart file does get it going
right away.
Problem, if I log off from the machine the command prompt ends and the
server shuts down again.

-- 
Kind regards,
Taco Fleur
clickfind™ - The new Australian Online Marketing Platform (OMP)
http://www.onlinemarketingplatform.com.au
http://www.clickfind.com.au

-- 
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 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] CF9 Service does not start but cfstart.bat does

2011-05-16 Thread M@ Bourke
Hi Taco

this could be a memory issue, if it normally works, try restarting the
machine, this may fix it but obviously won't prevent it in the future.

does your bat file refer to a different jvm config file?
in the config file what arguments are being passed to the vm ?

if they're different config files I'd guess that they have different Xms
size and permsize etc

if not then maybe someone else will be of better help :)

On Mon, May 16, 2011 at 1:11 PM, Taco Fleur taco.fl...@clickfind.com.auwrote:

 Running Win 2008 64bit ColdFusion 9

 Still battling with my CF server issues, but at least got one step further
 now  *CF9 Service does not start but cfstart.bat does start the server*.

 Why would the service not start but the batch file would start the server?
 (don't answer the first part of the question, have gone through logs etc.)

 The service points to
 C:\ColdFusion9\runtime\bin\jrunsvc.exe

 The batch file points to
 cd ..\runtime\bin
 jrun -start coldfusion

 What would be the difference between them?

 To recap, my CF9 service always has taken ages to start, but today it did
 not want to start at all anymore, but the cfstart file does get it going
 right away.
 Problem, if I log off from the machine the command prompt ends and the
 server shuts down again.

 --
 Kind regards,
 Taco Fleur
 clickfind™ - The new Australian Online Marketing Platform (OMP)
 http://www.onlinemarketingplatform.com.au
 http://www.clickfind.com.au

 --
 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
 cfaussie+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/cfaussie?hl=en.


-- 
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 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] CF9 Service does not start but cfstart.bat does

2011-05-16 Thread Taco Fleur
Hi,

The machine has been restarted plenty of times.

The bat file doesn't point to a different jvm file.

Cheers

On Mon, May 16, 2011 at 10:52 PM, M@ Bourke 
m.electronic.at.sym...@gmail.com wrote:

 Hi Taco

 this could be a memory issue, if it normally works, try restarting the
 machine, this may fix it but obviously won't prevent it in the future.

 does your bat file refer to a different jvm config file?
 in the config file what arguments are being passed to the vm ?

 if they're different config files I'd guess that they have different Xms
 size and permsize etc

 if not then maybe someone else will be of better help :)

 On Mon, May 16, 2011 at 1:11 PM, Taco Fleur 
 taco.fl...@clickfind.com.auwrote:

 Running Win 2008 64bit ColdFusion 9

 Still battling with my CF server issues, but at least got one step further
 now  *CF9 Service does not start but cfstart.bat does start the server*
 .

 Why would the service not start but the batch file would start the server?
 (don't answer the first part of the question, have gone through logs etc.)

 The service points to
 C:\ColdFusion9\runtime\bin\jrunsvc.exe

 The batch file points to
 cd ..\runtime\bin
 jrun -start coldfusion

 What would be the difference between them?

 To recap, my CF9 service always has taken ages to start, but today it did
 not want to start at all anymore, but the cfstart file does get it going
 right away.
 Problem, if I log off from the machine the command prompt ends and the
 server shuts down again.

 --
 Kind regards,
 Taco Fleur
 clickfind™ - The new Australian Online Marketing Platform (OMP)
 http://www.onlinemarketingplatform.com.au
 http://www.clickfind.com.au

 --
 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
 cfaussie+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/cfaussie?hl=en.


  --
 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
 cfaussie+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/cfaussie?hl=en.




-- 
Kind regards,
Taco Fleur
clickfind™ - The new Australian Online Marketing Platform (OMP)
http://www.onlinemarketingplatform.com.au
http://www.clickfind.com.au

-- 
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 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



RE: [cfaussie] CF9 Service does not start but cfstart.bat does

2011-05-16 Thread charlie arehart
I would concur with M@ and Steve, Taco. Generally the problem would seem to
be related to one of their observations. Here are some more thoughts that
may help.

To Steve's observation, consider that when you start CF from the command
line (cfstart), it runs under the account of the user you are logged in as.
When you start CF as a service, it runs instead under the user that  the
service is set to use (System, by default, or any other user of your
choosing). So first, check what user the service is set to run as.
Especially if it's not System, then it may be that there is an issue with
permissions for files used by CF, for that user. 

I'm curious: do you see *any* messages of interest in the [cf]\runtime\logs
(or [jrun]\logs), relative to this startup? Even if not while it's starting,
what about if you cancel the starting process? You may see also that there
is some port conflict. To that, you may say how can that depend on the
user. I wouldn't think it would, but it points to what could be another
problem.

And that goes to M@'s observation. You said that the bat does not use a
different jvm.config, but here's a different way to look at the possible
issue: not whether The bat file [points] to a different jvm file but
instead, whether the *service* does. Especially with the Multiserver form of
deployment, it's not unusual for folks to want to have each instance to have
its own jvm.config, and they can read various blogs that show how to do
that. The cfstart.bat, on the other hand, defaults to using the basic
jvm.config. 

It's a little hard to tell if/how the service uses a different jvm.config.
One way is to look at the registry entry for the service. Another (clumsy
but trustworthy) would be to introduce an error into the jvm.config (that
you THINK the service is using) and see if the startup using that service
does indeed fail due to whatever error you introduced.

Now, Taco, I realize that in your case you're saying that the service
doesn't start at all, as it is, so it's harder for you to rely on this
technique, but I'd still wonder if you might get a very different
error/response to starting the service if the jvm.config had some blatant
(intentionally introduced) error. It's worth a shot.

But it could be still something else. Let's hear what you think of the
above, or whatever else you/others may have to say. Interesting challenge.

/charlie arehart

char...@carehart.org

Providing fast, remote, on-demand troubleshooting services for CF (and
CFBuilder)

More at http://www.carehart.org/consulting

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Steve Onnis
Sent: Monday, May 16, 2011 9:15 AM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] CF9 Service does not start but cfstart.bat does

 

Also i think the different methods use different system users to start the
process.

 

From: M@ Bourke [mailto:m.electronic.at.sym...@gmail.com] 
Sent: Monday, 16 May 2011 10:52 PM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] CF9 Service does not start but cfstart.bat does

 

Hi Taco

snip
does your bat file refer to a different jvm config file?
snip

-- 
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 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] CF9 Service does not start but cfstart.bat does

2011-05-16 Thread Taco Fleur
I put the administrator account on the service and it started, so yes Steve
was right that it had something to do with it... But...

1. this is still the same issue (cf service becoming unresponsive) I tackled
together with you Charlie a while ago, we could find nothing in the logs
other than some requests that take long but from a known page, and requests
taking longer and longer to process (same config and system that run good
for 3 years until moved to win 2008 64bit CF9)

2. the config has not changed on that server for anything since the time we
looked at it

3. start up has been slower and slower over time, same as shutdown of the cf
service (you would think if it's permission problems the service would have
never started)

4. this morning when I ran the cf service via the bat file I watched the
output in the command prompt while it became unresponsive again, it's still
running but requests are just timing out and taking longer and longer
(Charlie, we went through the whole debugging process together on this, but
got nowhere)

At least I got it back up and running again, I'll just put up with the
having to restart until I discover the intermittent problem (it was gone for
2 to 3 weeks) or move to another server.

My own guesses for this are:
- Google indexing like mad and something had changed in CF9 internally
- Hacker having a good time
- Something in CF9 on 64bit not working as it should

PS: I've also re-installed the CF server a few times as multi server,
single, self contained etc.


On Tue, May 17, 2011 at 12:02 AM, charlie arehart 
charlie_li...@carehart.org wrote:

 I would concur with M@ and Steve, Taco. Generally the problem would seem
 to be related to one of their observations. Here are some more thoughts that
 may help.

 To Steve’s observation, consider that when you start CF from the command
 line (cfstart), it runs under the account of the user you are logged in as.
 When you start CF as a service, it runs instead under the user that  the
 service is set to use (System, by default, or any other user of your
 choosing). So first, check what user the service is set to run as.
 Especially if it’s not System, then it may be that there is an issue with
 permissions for files used by CF, for that user.

 I’m curious: do you see **any** messages of interest in the
 [cf]\runtime\logs (or [jrun]\logs), relative to this startup? Even if not
 while it’s starting, what about if you cancel the starting process? You may
 see also that there is some port conflict. To that, you may say “how can
 that depend on the user”. I wouldn’t think it would, but it points to what
 could be another problem.

 And that goes to M@’s observation. You said that the bat does not use a
 different jvm.config, but here’s a different way to look at the possible
 issue: not whether “The bat file [points] to a different jvm file” but
 instead, whether the **service** does. Especially with the Multiserver
 form of deployment, it’s not unusual for folks to want to have each instance
 to have its own jvm.config, and they can read various blogs that show how to
 do that. The cfstart.bat, on the other hand, defaults to using the basic
 jvm.config.

 It’s a little hard to tell if/how the service uses a different jvm.config.
 One way is to look at the registry entry for the service. Another (clumsy
 but trustworthy) would be to introduce an error into the jvm.config (that
 you THINK the service is using) and see if the startup using that service
 does indeed fail due to whatever error you introduced.

 Now, Taco, I realize that in your case you’re saying that the service
 doesn’t start at all, as it is, so it’s harder for you to rely on this
 technique, but I’d still wonder if you might get a very different
 error/response to starting the service if the jvm.config had some blatant
 (intentionally introduced) error. It’s worth a shot.

 But it could be still something else. Let’s hear what you think of the
 above, or whatever else you/others may have to say. Interesting challenge.

 /charlie arehart

 char...@carehart.org

 Providing fast, remote, on-demand troubleshooting services for CF (and
 CFBuilder)

 More at http://www.carehart.org/consulting



 *From:* cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] *On
 Behalf Of *Steve Onnis
 *Sent:* Monday, May 16, 2011 9:15 AM
 *To:* cfaussie@googlegroups.com
 *Subject:* RE: [cfaussie] CF9 Service does not start but cfstart.bat does



 Also i think the different methods use different system users to start the
 process.



 *From:* M@ Bourke [mailto:m.electronic.at.sym...@gmail.com]
 *Sent:* Monday, 16 May 2011 10:52 PM
 *To:* cfaussie@googlegroups.com
 *Subject:* Re: [cfaussie] CF9 Service does not start but cfstart.bat does



 Hi Taco

 snip

 does your bat file refer to a different jvm config file?
 snip

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

RE: [cfaussie] CF9 Service does not start but cfstart.bat does

2011-05-16 Thread charlie arehart
Taco, if I recall correctly, we didn't get to do a session together where we
looked at things via Connect (or me connecting via RDP). Instead, we were
only able to talk through things and email back and forth, which seriously
hampered our ability to make much headway. You were also in a hurry to get
out of town, if I recall which also limited your availability of time.
Finally, I'm pretty sure I never charged for any of the time, since we
didn't solve anything.

So I will make the offer again that I did last time, to give you time to try
to help put an end to the madness for you. I really hate to hear that you're
still struggling with this. If interested, contact me off-list
(char...@carehart.org) to arrange a time for us to work together or to give
me RDP access.

 

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Taco Fleur
Sent: Monday, May 16, 2011 6:46 PM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] CF9 Service does not start but cfstart.bat does

 

I put the administrator account on the service and it started, so yes Steve
was right that it had something to do with it... But...

1. this is still the same issue (cf service becoming unresponsive) I tackled
together with you Charlie a while ago, we could find nothing in the logs
other than some requests that take long but from a known page, and requests
taking longer and longer to process (same config and system that run good
for 3 years until moved to win 2008 64bit CF9)

2. the config has not changed on that server for anything since the time we
looked at it

3. start up has been slower and slower over time, same as shutdown of the cf
service (you would think if it's permission problems the service would have
never started)

4. this morning when I ran the cf service via the bat file I watched the
output in the command prompt while it became unresponsive again, it's still
running but requests are just timing out and taking longer and longer
(Charlie, we went through the whole debugging process together on this, but
got nowhere)

At least I got it back up and running again, I'll just put up with the
having to restart until I discover the intermittent problem (it was gone for
2 to 3 weeks) or move to another server.

My own guesses for this are:
- Google indexing like mad and something had changed in CF9 internally
- Hacker having a good time
- Something in CF9 on 64bit not working as it should

PS: I've also re-installed the CF server a few times as multi server,
single, self contained etc.



 

-- 
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 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.