Walt,

That's amazing that you've narrowed it down to that one line. Unfortunately
for us, it's not that simple. I don't have any calls to getpagecontext() in
my site, just regular includes, cflocations and the like. And it doesn't
seem to happen on just one page, just one area or just one line of code,
it's random and allthroughout.

Thanks for the input though

-nathan strutz

-----Original Message-----
From: Walt Sparrow-Hood [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 12:35 PM
To: CF-Talk
Subject: Re:Could not connect to JRUN server

Nathan,
I've ben struggling with the same useless error message for over a week.  I
finally nailed it down to a problem in the following statement:
<cfscript>
......
getPageContext().forward("foo.cfm");
</cfscript>

The strange part was that foo.cfm displayed OK but any links from that page
resulted in the error message, but a page refresh always then took you to
the right page.  It seemed like the forward somehow left a connection in
place that then was not available for the next request. I solved the problem
(I think) by changing the forward to a normal CF include.  We still don't
understand what the problem was - if anybody has any thoughts I'd like to
hear them.  Hope our experience might be some holp for you Nathan.

>Hi everyone,
>
>We have CFMX 6.1 standard install running on Win2K/IIS, all with the latest
>patches, versions and whatnot. As our sites continue to get busy, we've
been
>starting to see this error:
>
>"Server Error
>The server encountered an internal error and was unable to complete your
>request.
>Could not connect to JRun Server."
>
>It's been happening more and more lately. Sometimes we'll see it and it
will
>just go away if we reload the page, then reloading again will bring it
back.
>Other times it's 100% down. Restarting the CF service or the whole server
>will fix it for an hour or so. Sometimes it fixes itself.
>
>It doesn't happen at certain times, not necessarily at peak times either.
>
>We've been able to duplicate it with <cfx_image>, even with exclusive
>locking, putting stress on the tag will produce this error, so we switched
>it for ImageMagick, but it still happens (we get <100 photos a day).
>
>In our experience Jrun is flaky and coldfusion will crash if (a) the mail
>server is slow or unresponsive, (b) sql server is slow or unresponsive (c)
>we change the time on the web server, (d) poor multi-threading in a 3rd
>party app or tag we use or (e) we breath funny or look at it the wrong way.
>
>Our sites are pretty well optimized, they run VERY fast, even at peak
times.
>It's not necessarily bad coding.
>
>If anyone has dealt with this or knows how to help us or knows anyone who
>can help us, we would be VERY appreciative.
>
>(especially me, as my boss is threatening to make us rewrite the sites in
>.NET)
>
>thanks
>-nathan strutz
>

[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to