I have 3 servers, IIS 6.0 and JRun and a CF8 installed installed on each.
The 3 CF8 instances are clustered in JRun on each server, then IIS ties in to
each cluster.
I noticed that on servers 2 and 3, with debugging turned on instead of
debugging out being generated, I am getting a java error.
[b]coldfusion.runtime.UndefinedVariableException: Variable CFDEBUGGER is
undefined.[/b]
(with a bunch of at additional stuff after which I am leaving out for space
limitations)
This is does not happen on server 1.
Why is the debugger choking?
Additionally I think this might be affecting a couple of apps on the server.
Did you change the port number so they are all running on different ports?
Jochem
--
Jochem van Dieten
Adobe Community Expert for ColdFusion
You might want to rethink that. Why do you need debugging in production
anyway and is that really worth the trouble and security risk? But if
you really need them, just give each a different port number.
> If I remember correctly, the instructions had us use the same ports.
Which instructions? If they were from Adobe please file a bug report
against them because multiple processes can not use the same port.
Have you resolve this problem ? because I have the same problem. In the CF8
administrator I set a debug IP address and then selected the "Enable Request
Debugging Output " so that I could get some on-screen debug information for an
application I'm working on. It must be due to some configuration problem
"coldfusion.runtime.UndefinedVariableException: Variable CFDEBUGGER is
undefined."
Thanks beforehand for your reply.
xavier
--
Adam
It's fairly poorly coded because any problem arising from getting a reference
to the debugging service is suppressed, but then the rest of the code just
ass-u-me`s that it all worked.
Try taking the try/catch off from around the creation of CFDEBUGGER to see if
you get a more meaningful error. If not, try replicating that part of the file
in a different (browseable) template and see if you get a better error.
It looks like your debugging service isn't initialising for some reason... an
untrapped error might help cast light on the scene...
--
Adam
Perhaps in the instances you guys are seeing, there's a temporary problem
that's disabled the debugging service. In these cases, does a restart solve the
problem? Even if you've not tried it (because they're production servers), it
may be worth trying. Perhaps something has happened to make the server (CF)
unstable and cause the debuggingservice to crash.
In fact, what do you see if you look in the CF out logs (in the
[cf]\runtime\logs or ]jrun4]\logs)? It may have errors indicating something
happening.
It could also be that someone has modified the classic.cfm template and just
made a mistake. There are various blog entries showing how to do it (such as
http://www.coldfusionjedi.com/index.cfm/2008/11/26/Another-Hack-Job--Update-to-c
lassiccfm-debug-template).
It may help if you get the exact filename and line number of the template
throwing the error. I'm not referring to the page which you're requesting, but
that which is reporting the undefined cfdebugger variable?
To get the filename and line number, turn on robust exception handling in the
Admin (the same admonition about leaving that on in production applies, but
turning it on for a moment, if the error is easily creatable, should be no
great risk on most sites).
Hope the helps move the ball down the field a little.
/charlie
Hope either helped. We'd love to hear from the two of you (or others) who had
the problem, if this helps identify the problem.
However, there is still a mystery because my other two servers have this
option checked (I believe it's checked by default) and I do not have any
problems over there, so I'm not sure why this one server flaked out. In any
case, the server with the problem was just for staging, so I am not too
concerned about unchecking that option for now.
Thanks for leading me in the right direction!
As for why you'd not have the problem on the 2 servers where it IS checked,
but unchecking it solved it on the 3rd, that is curious. Anyway, if no one has
an answer, at least for now this may serve as a solution for someone in the
future. Cheers.