IIRC, this is a problem with the OS (w2k?) and wanting to give 
foreground tasks more priority in combination with a stupid network 
polling algorithm that causes the browser (netscape 4.x if I recall) to 
consume all(most) CPU time.

Simple solutions:  (I've done all of these  :-))
1)  Don't use netscape 4.x.  (I don't think mozilla/netscape 6.x nor 
recent versions of MSIE show this behaviour)
2)  Run the server on a different box than your browser
3)  Increase the priority of the jboss task (using task manager, find 
java.exe and right-click) but don't set it to the maximum! 
 Alternatively, you can set the priority of your browser lower, but 
jboss probably runs longer than your browser, so this might become 
cumbersome :-)
4)  Don't use windows  (Ok, not so simple probably...)

Hope this helps

dovan nguyen wrote:

>Thank you for all your valuable helps!  :)  Turning
>off Quick Edit is something I will definitely try...
>
>Meanwhile I notice that requesting a jsp page via a
>html hyperlink (A HREF) gives me back the page
>extremely fast (in order of milisecond).  Now if i
>request a jsp page via a FORM submit button, JBoss is
>extremely slow to send me a response (order 10s of
>seconds).  I repeated this test but this time while my
>browser waits for a reply, I gave focus (by clicking
>on the title bar) to the jboss console, then I get
>back my requested page right away... just like JBoss
>was 'HALF' asleep!
>
>any ideas...???
>
>Thanks
>Dovan
>
>--- Marko_©trukelj <[EMAIL PROTECTED]> wrote:
>
>>The behaviour of Windows console is not
>>unpredictable. 
>>
>>If Quick Edit mode is enabled than you can mark a
>>portion of the console
>>content and copy it to the clipboard by pressing
>>Enter.
>>
>>The marking part is the one that blocks the console.
>>All System.out is then
>>blocked until you unmark.
>>
>>Solutions: javaw, javant as service BUT ALSO
>>disabling Quick Edit Mode.
>>
>>To disable Quick Edit Mode click on the top-left
>>icon of the console and
>>select Properties in the pop-up that opens.
>>
>>Then in options tab find Edit Options group and
>>uncheck QuickEdit Mode.
>>
>>Now you won't be able to block the console any more.
>>
>>
>>Have fun,
>>
>>      Mare
>>
>>
>>
>>
>>>-----Original Message-----
>>>From: Adrian Brock [mailto:[EMAIL PROTECTED]]
>>>Sent: Tuesday, March 26, 2002 10:59 AM
>>>To: [EMAIL PROTECTED]
>>>Cc: [EMAIL PROTECTED]
>>>Subject: Re: [JBoss-user] Sleeping JBoss
>>>
>>>
>>>Hi,
>>>
>>>This has been reported many times before.
>>>The problems is the windows terminal. Sometimes it
>>>goes to sleep. When JBoss tries to log to the
>>>
>>console,
>>
>>>it blocks.
>>>You can see this easily, by holding the scroll bar
>>>during boot-up. This also causes to terminal to
>>>
>>stop
>>
>>>receiving input and jboss stops.
>>>The best thing, is NOT start jboss from a
>>>console on windows, or turn off logging to the
>>>console. You can still see the logging in
>>>
>>log/server.log
>>
>>>Regards,
>>>Adrian
>>>
>>>
>>>>From: dovan nguyen <[EMAIL PROTECTED]>
>>>>To: Dan Christopherson <[EMAIL PROTECTED]>
>>>>CC: [EMAIL PROTECTED]
>>>>Subject: Re: [JBoss-user] Sleeping JBoss
>>>>Date: Mon, 25 Mar 2002 15:26:27 -0800 (PST)
>>>>
>>>>Dan,
>>>>
>>>>it didn't pay attention to that.  what if there
>>>>
>>was 1
>>
>>>>cell selected, what could be the cause?  Has
>>>>
>>anyone
>>
>>>>reported this problem before?  Please let me
>>>>
>>know.
>>
>>>>Thanks,
>>>>Dovan
>>>>
>>>>--- Dan Christopherson <[EMAIL PROTECTED]> wrote:
>>>>
>>>>>When you switch to the console window that
>>>>>
>>JBoss is
>>
>>>>>running in, is
>>>>>anything selected? Like a one-character cell
>>>>>
>>inverse
>>
>>>>>video area?
>>>>>
>>>>>dovan nguyen wrote:
>>>>>
>>>>>>Hello,
>>>>>>
>>>>>>I use JBOSS 2.4.4 with Tomcat and mySQL on
>>>>>>
>>Win
>>
>>>>>2000
>>>>>
>>>>>>...
>>>>>>
>>>>>>I notice if there is no request from a
>>>>>>
>>client for
>>
>>>>>>awhile (maybe hours, maybe minutes??) JBOOS
>>>>>>
>>stops
>>
>>>>>>serving (stays idle or sleeping !!)
>>>>>>
>>>>>>For example i open a browser and request a
>>>>>>
>>>>>Test.jsp
>>>>>
>>>>>>page, the browser tells me the connection is
>>>>>>
>>made
>>
>>>>>BUT
>>>>>
>>>>>>waiting for reply (....forever!)
>>>>>>
>>>>>>i then clicked the JBoss console (black DOS
>>>>>>
>>>>>window),
>>>>>
>>>>>>hit the ctrl-C then JBoss wakes up and serve
>>>>>>
>>the
>>
>>>>>>Test.jsp page
>>>>>>
>>>>>>Please help.
>>>>>>Thanks,
>>>>>>
>>>>>>Dovan
>>>>>>
>>>>>>
>>__________________________________________________
>>
>>>>>>Do You Yahoo!?
>>>>>>Yahoo! Movies - coverage of the 74th Academy
>>>>>>
>>>>>Awards®
>>>>>
>>>>>>http://movies.yahoo.com/
>>>>>>
>>>>>>
>>_______________________________________________
>>
>>>>>>JBoss-user mailing list
>>>>>>[EMAIL PROTECTED]
>>>>>>
>>https://lists.sourceforge.net/lists/listinfo/jboss-user
>>
>>>>>
>>>>>
>>>>
>>>__________________________________________________
>>>
>>>>Do You Yahoo!?
>>>>Yahoo! Movies - coverage of the 74th Academy
>>>>
>>Awards®
>>
>>>>http://movies.yahoo.com/
>>>>
>>>>_______________________________________________
>>>>JBoss-user mailing list
>>>>[EMAIL PROTECTED]
>>>>
>>https://lists.sourceforge.net/lists/listinfo/jboss-user
>>
>>>
>>>
>>>
>>>
>_________________________________________________________________
>
>>>Chat with friends online, try MSN Messenger:
>>>
>>http://messenger.msn.com
>>
>>>
>>>_______________________________________________
>>>JBoss-user mailing list
>>>[EMAIL PROTECTED]
>>>
>https://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Movies - coverage of the 74th Academy Awards®
>http://movies.yahoo.com/
>
>_______________________________________________
>JBoss-user mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/jboss-user
>

-- 
Andrew Scherpbier, CTO ([EMAIL PROTECTED])
BlackBall Music (http://www.blackballmusic.com/)




_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to