]
Sent: Tuesday, September 14, 2004 9:14 PM
To: CF-Talk
Subject: Re: Currently running page requests
When this part of the JSP runs
for (int i=0;icount;i++) {
out.println(i: + i + br);
try
{
jrunx.scheduler.WorkerThread t =
(jrunx.scheduler.WorkerThread)threads[i];
jrun.servlet.http.WebEndpoint
Gooch [EMAIL PROTECTED]
Date: Wed, 15 Sep 2004 15:10:22 -0400
Subject: RE: Currently running page requests
To: CF-Talk [EMAIL PROTECTED]
I concur.
I've modified the code to show the exception, it seems
endPoint.getRequestURI(),endPoint.getRemoteHost(), and
endPoint.getServerName() all return nulls
This is a fairly rudimentary idea but you could have each process log its beginning and its termination. A quick check of the log (maybe a DB table) would tell you what is currently running.
- Original Message -
From: James Smith
To: CF-Talk
Sent: Tuesday, September 14, 2004 6:59 AM
Is there any way to get a list of currently running
page requests on the server so I can keep track or them?
You can perform a dump of the current stack trace, which will list
(amongst a big pile of other stuff) what's requests are currently being
processed by CF.See the MM technote about it:
And its nigh on useless in my opinion.
_
From: Tim Blair [mailto:[EMAIL PROTECTED]
Sent: 14 September 2004 14:23
To: CF-Talk
Subject: RE: Currently running page requests
Is there any way to get a list of currently running
page requests on the server so I can keep track or them?
You
Subject: RE: Currently running page requests
To: CF-Talk [EMAIL PROTECTED]
And its nigh on useless in my opinion.
_
From: Tim Blair [mailto:[EMAIL PROTECTED]
Sent: 14 September 2004 14:23
To: CF-Talk
Subject: RE: Currently running page requests
Is there any way to get a list of currently
2004 09:34:27 -0400
Subject: Re: Currently running page requests
To: CF-Talk [EMAIL PROTECTED]
Well I've found the stack trace invaluable in terms of information.
But the fact that you have to have your server running through command
prompt makes its pretty useless.
For example in a production app
thread.java -classpath c:\cfusionmx\runtime\lib\jrun.jar
call it using
http://webserver.com/servlet/thread
- Original Message -
From: Douglas Knudsen [EMAIL PROTECTED]
Date: Tue, 14 Sep 2004 11:54:05 -0400
Subject: Re: Currently running page requests
To: CF-Talk [EMAIL PROTECTED
there is something missing in my classpath or maybe a differnet JVM
Doug
- Original Message -
From: Lee Howard [EMAIL PROTECTED]
Date: Tue, 14 Sep 2004 15:24:51 -0400
Subject: Re: Currently running page requests
To: CF-Talk [EMAIL PROTECTED]
I like that.It worked great for me, but if you
=
(jrun.servlet.http.WebEndpoint)t.getServletRequest();
maybe there is something missing in my classpath or maybe a differnet JVM
Doug
- Original Message -
From: Lee Howard [EMAIL PROTECTED]
Date: Tue, 14 Sep 2004 15:24:51 -0400
Subject: Re: Currently running page requests
To: CF-Talk [EMAIL PROTECTED]
I like
jrunx.scheduler.WorkerThread t = (jrunx.scheduler.WorkerThread)threads[i];
Doug
- Original Message -
From: Lee Howard [EMAIL PROTECTED]
Date: Tue, 14 Sep 2004 18:26:04 -0400
Subject: Re: Currently running page requests
To: CF-Talk [EMAIL PROTECTED]
If you are using jrun for your J2EE server I don't know
11 matches
Mail list logo