Re: Tomcat 6 NIO connector/CometProcessor goes to 100% CPU usage

2007-04-06 Thread Rémy Maucherat
On 4/7/07, Elias Naur <[EMAIL PROTECTED]> wrote: No. Compiling and enabling the APR connector instead of the NIO connector made the problem go away. There were still no ERROR events sent after the client disconnect (I guess the connection might timeout sometime later), but the original problem of

Re: Make Tomcat run slow

2007-04-06 Thread Shankar Unni
L.W. van Braam van Vloten wrote: So my question is: would there be an easy way to make Tomcat on my iSeries machine run rediculously slow? Lots of funny replies come to mind, but the simplest is: * Run a process that just spins forever: while (1) ; Run as many of these as you have CPU

Re: Tomcat 6 NIO connector/CometProcessor goes to 100% CPU usage

2007-04-06 Thread Elias Naur
On 4/7/07, Rémy Maucherat <[EMAIL PROTECTED]> wrote: On 4/6/07, Elias Naur <[EMAIL PROTECTED]> wrote: > I'm aware that a correct implementation must empty the buffer on a > READ event, but as I stated in the original post, a READ event is > never received (not even when the client forces a discon

Re: Tomcat documentation suggestion - for installs and config, please also link to this web page.

2007-04-06 Thread Hassan Schroeder
On 4/6/07, Anil Philip <[EMAIL PROTECTED]> wrote: I was trying to install and run Tomcat 6, but could not proceed because the build.xml in the documentation over here was broken due to the new directory structure. It's perfectly possible (and typical) to "install and run" Tomcat without any re

Re: Tomcat 6 NIO connector/CometProcessor goes to 100% CPU usage

2007-04-06 Thread Rémy Maucherat
On 4/6/07, Elias Naur <[EMAIL PROTECTED]> wrote: I'm aware that a correct implementation must empty the buffer on a READ event, but as I stated in the original post, a READ event is never received (not even when the client forces a disconnect), only the initial BEGIN event, so had I included a re

Re: Tomcat 6 NIO connector/CometProcessor goes to 100% CPU usage

2007-04-06 Thread Elias Naur
On 4/6/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: Elias Naur wrote: > On 4/6/07, Rémy Maucherat <[EMAIL PROTECTED]> wrote: >> On 4/6/07, Elias Naur <[EMAIL PROTECTED]> wrote: >> > Hi, >> > >> > I'm experimenting with the new tomcat 6 NIO connector to get a >> > CometProcessor servlet

RE: Re: Not sure how I disable manager webapp

2007-04-06 Thread Srinivas Visvanathan
Hi David Thanks for replying. Yes the manager.xml file is there. I checked the log files and do see these msgs: Apr 6, 2007 11:31:08 AM org.apache.catalina.startup.ContextConfig applicationWebConfig INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[local

Tomcat documentation suggestion - for installs and config, please also link to this web page.

2007-04-06 Thread Anil Philip
Hello, I was trying to install and run Tomcat 6, but could not proceed because the build.xml in the documentation over here was broken due to the new directory structure. (http://tomcat.apache.org/tomcat-6.0-doc/appdev/build.xml.txt). I found that this website (by Marty Hall) provides exceptionall

Re: Tomcat 6 NIO connector/CometProcessor goes to 100% CPU usage

2007-04-06 Thread Filip Hanik - Dev Lists
Elias Naur wrote: On 4/6/07, Rémy Maucherat <[EMAIL PROTECTED]> wrote: On 4/6/07, Elias Naur <[EMAIL PROTECTED]> wrote: > Hi, > > I'm experimenting with the new tomcat 6 NIO connector to get a > CometProcessor servlet running. I've run into a problem that I hope > you guys can help me with. I'm

Re: Urgent: The Tomcat 5.5 Monitor could not work properly

2007-04-06 Thread Rashmi Rubdi
There are 2 ways to install Tomcat on Windows XP 1) Windows Service Installer 2) Unzip the install file to any directory for example C:\dev\tomcat\ I tried Windows Service Installer a while ago, but I think you can start it from Control Panel --> Administrative Services > Enable or Auto Sta

Re: Urgent: The Tomcat 5.5 Monitor could not work properly

2007-04-06 Thread Erica Zhang
I could not find the two files. Additionally, if I Delete the service, should I reinstall and configure the service? Thanks, Erica Rashmi Rubdi wrote: Starting with startup.bat and shutting down with shutdown.bat is normal :-) -Rashmi -

Re: Tomcat 6 NIO connector/CometProcessor goes to 100% CPU usage

2007-04-06 Thread Filip Hanik - Dev Lists
Elias Naur wrote: Hi, I'm experimenting with the new tomcat 6 NIO connector to get a CometProcessor servlet running. I've run into a problem that I hope you guys can help me with. I'm testing a servlet that looks like this: public final class QueryEvent extends HttpServlet implements CometProc

Re: Tomcat 6 NIO connector/CometProcessor goes to 100% CPU usage

2007-04-06 Thread Elias Naur
On 4/6/07, Rémy Maucherat <[EMAIL PROTECTED]> wrote: On 4/6/07, Elias Naur <[EMAIL PROTECTED]> wrote: > Hi, > > I'm experimenting with the new tomcat 6 NIO connector to get a > CometProcessor servlet running. I've run into a problem that I hope > you guys can help me with. I'm testing a servlet t

Re: Urgent: The Tomcat 5.5 Monitor could not work properly

2007-04-06 Thread Rashmi Rubdi
Starting with startup.bat and shutting down with shutdown.bat is normal :-) -Rashmi - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

Re: Urgent: The Tomcat 5.5 Monitor could not work properly

2007-04-06 Thread Martin Gainty
Zhang- If your monitor a webapplication which you had built previously then use Manager (http://localhost:8080/manager/html) to re-deploy? M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is add

Urgent: The Tomcat 5.5 Monitor could not work properly

2007-04-06 Thread Erica Zhang
Hi, I have installed Tomcat 5.5 on Windows XP. It has worked properly. Today, I found the monitor icon could not be displayed. So now I just use tomcat command to stop and start the service. Could anyone help me about it ? Thanks, Erica -

Re: [OT] GET-then-redirect 'reload' behavior

2007-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Len, Len Popp wrote: > That's not the behaviour I'm seeing with Firefox 1.5 (I haven't tried 2.0). So weird... I observed this the other day and it's not doing it anymore (i.e. it is working as I expected, without the re-GET). I have the same procedu

Re: [OT] GET-then-redirect 'reload' behavior

2007-04-06 Thread Martin Gainty
Hi Len-- Netbeans has a HTTPMonitor that comes pre-packaged If you look at messageID generation from Servlet doPost() I would have Servlet DoGet() method implement the same MessageID generation to uniquely identify each and every HTTP GET request Documentation is available at http://www.prescod.

Re: [OT] GET-then-redirect 'reload' behavior

2007-04-06 Thread Rashmi Rubdi
Me too. I tired this on Firefox 2.0.0.3 The only time it re-GETs or re-POSTs the original request is when HTTP Forward is used. If HTTP Redirect is used , it never re-GETs or re-POSTs the original request. -Rashmi On 4/6/07, Len Popp <[EMAIL PROTECTED]> wrote: That's not the behaviour I'm see

Re: [OT] GET-then-redirect 'reload' behavior

2007-04-06 Thread Len Popp
That's not the behaviour I'm seeing with Firefox 1.5 (I haven't tried 2.0). I have a page that responds to a GET with a 302 redirect. The browser then automatically GETs the redirect page, and the redirect URL is shown in the address bar, and if I reload the page it re-GETs the second page, not t

Re: Tomcat 6 NIO connector/CometProcessor goes to 100% CPU usage

2007-04-06 Thread Rémy Maucherat
On 4/6/07, Elias Naur <[EMAIL PROTECTED]> wrote: Hi, I'm experimenting with the new tomcat 6 NIO connector to get a CometProcessor servlet running. I've run into a problem that I hope you guys can help me with. I'm testing a servlet that looks like this: public final class QueryEvent extends Ht

[OT] GET-then-redirect 'reload' behavior

2007-04-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I have many form handlers that redirect-after-POST so that executing a RELOAD/REFRESH on the client side doesn't end up repeating the transaction (and potentially creating two new database records, etc.). I recently discovered that a redirect-af

Re: Tomcat hiding director

2007-04-06 Thread Leon Rosenberg
or just move the folder under WEB-INF. On 4/6/07, Rashmi Rubdi <[EMAIL PROTECTED]> wrote: Great suggestion. I should take some time to read the spec too. On 4/6/07, Hassan Schroeder <[EMAIL PROTECTED]> wrote: > On 4/4/07, Hoa Doan <[EMAIL PROTECTED]> wrote: > > Is there a way to hid some direc

Tomcat 6 NIO connector/CometProcessor goes to 100% CPU usage

2007-04-06 Thread Elias Naur
Hi, I'm experimenting with the new tomcat 6 NIO connector to get a CometProcessor servlet running. I've run into a problem that I hope you guys can help me with. I'm testing a servlet that looks like this: public final class QueryEvent extends HttpServlet implements CometProcessor { public vo

Re: Tomcat hiding director

2007-04-06 Thread Rashmi Rubdi
Great suggestion. I should take some time to read the spec too. On 4/6/07, Hassan Schroeder <[EMAIL PROTECTED]> wrote: On 4/4/07, Hoa Doan <[EMAIL PROTECTED]> wrote: > Is there a way to hid some directory from user access? Read the servlet spec section on security, and configure your app's web

Make Tomcat run slow

2007-04-06 Thread L.W. van Braam van Vloten
Hello group, I am using a Tomcat webservice to send data from an application under IBM Websphere on a Windows 2003 server to a DB2 database on an iSeries. Tomcat runs on the iSeries, version is 5.5.4, java version is 1.4.2. In the setup of one customer an error occurs in the Websphere appli

Re: High cpu on Apache 2.2.3/Tomcat 5.5.20/APJ1.3 - Windows Server 2003 R2 SP1 SE

2007-04-06 Thread Mirko Viviani
On 4/5/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: if you are already using mod_proxy, why use AJP, mod_proxy in particular, has a more solid implementation in HTTP than AJP I wasn't aware of the problems of the AJP implementation. With mod_proxy and without the html base tag it wo

Re: IDE

2007-04-06 Thread Johnny Kewl
Ah... get a chance to tell you how cool Netbeans is, love love love it. Does most any Java programming, and it excels with Tomcat. Use a wizard to make your JSP or Servlet, then debug it in the editor, and then deploy, all very easy. Apache is all text configuration... it actually could do with