Re: Tomcat scalability setting - need help please

2010-04-08 Thread Leon Rosenberg
On Fri, Apr 9, 2010 at 2:28 AM, wrote: > As what I meant by exhaustive, I went to the extent of building my own cache > scheme and it worked, the process still long, but at least it does not kill > the other user, but if two or more user doing the >same huge process at the > same time it will

Fragmented delivery of servlet request

2010-04-08 Thread Doug Herbert
Thoughts welcomed on the following problem : Centos 5.4, http 2.2.3, tomcat5-5.5.23-0jpp.7.el5_3.2, java-1.6.0-openjdk-1.6.0.0-1.7.b09.el5 A large servlet request, POST'ed from client to apache, connected using proxy_ajp to ajp://localhost:8009. reassembled on server eth0 as 10766 bytes but o

Re: Having difficulty using keytool -genkey to get a key with blank OU (instead of unknown)

2010-04-08 Thread Goo Sam Kong
Hi Eric, Try to put the subject DN (with OU equal to blank) in -dname field as below. keytool -genkey -keystore -storepass -alias -dname "CN=your cn,OU=,O=your company,C=SG" On 9 April 2010 06:51, Eric DuToit wrote: > I need to generate a keypair with the OU having a NULL value / blank > (in

Re: Tomcat scalability setting - need help please

2010-04-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rendra, On 4/8/2010 8:28 PM, cinl...@gmail.com wrote: > I stored the result bean in the http request object, NOT IN THE > SESSION OBJECT, hoping that once the result is delivered, the beans > will die with the request object since request object. The

Re: Tomcat does not honor acceptCount configuration variable

2010-04-08 Thread Caldarale, Charles R
On Apr 8, 2010, at 13:37, "Timir Hazarika" wrote: > How would this configuration look like in server.xml ? - Chuck - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...

Re: Avoiding random JMX port on tomcat

2010-04-08 Thread Caldarale, Charles R
On Apr 8, 2010, at 12:59, "emerson cargnin" wrote: > I would be great if that could be configured directly in the > properties I suspect that you can. Most attribute values in server.xml can be encoded as ant-style system property references: attr="${my.property}" - Chuck >> >> -

Re: URLs with '../' and 404s

2010-04-08 Thread Caldarale, Charles R
On Apr 8, 2010, at 18:24, "Nikita Tovstoles" mailto:nikita.tovsto...@gmail.com>> wrote: Without asserting that Wicket's is NOT breaking an RFC, I would appreciate a clarification on which RFC do you think the framework (or the app) is breaking? Since I'm sitting in a terminal at JFK right now,

Re: Which native library?

2010-04-08 Thread Caldarale, Charles R
On Apr 8, 2010, at 17:49, "Christopher Schultz" wrote: > Sounds like it's not loading no matter what version you try. Maybe you > don't have the java.library.path you think you do, or maybe you just > haven't put the DLL in the right place. Or perhaps there's a 32/64-bit mismatch. The JVM will

Re: Tomcat scalability setting - need help please

2010-04-08 Thread cinlung
Hi Chris I stored the result bean in the http request object, NOT IN THE SESSION OBJECT, hoping that once the result is delivered, the beans will die with the request object since request object. I also called the necessary .close() methods and then set the conn, statement, rs, object itself t

Having difficulty using keytool -genkey to get a key with blank OU (instead of unknown)

2010-04-08 Thread Eric DuToit
I need to generate a keypair with the OU having a NULL value / blank (instead of "Unknown"). If I leave the field blank, it results in an unknown value. I've googled several different things but I may just not be using the right search. Any help is appreciated. -

Re: tomcat 5.5.28

2010-04-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 William, On 4/8/2010 6:32 PM, William wrote: > I just installed ubuntu and netbeans 6.7.1 . My web hosting use 5.5.28 I > need to download the zip ver. of 5.5.28 for netbeans . Where do I > download the ver for ubuntu ? Apache does not provide OS- or

Re: Tomcat 6.0.24 requires me to log on twice

2010-04-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Terry, On 4/8/2010 9:12 AM, Terry Horner wrote: > I am having a problem with Tomcat - if I log on to a page which contains > a restricted resource, it shows me the page (and any unrestricted > images, etc), but doesn't show the restricted resource (I

tomcat 5.5.28

2010-04-08 Thread William
I just installed ubuntu and netbeans 6.7.1 . My web hosting use 5.5.28 I need to download the zip ver. of 5.5.28 for netbeans . Where do I download the ver for ubuntu ? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.or

Re: URLs with '../' and 404s

2010-04-08 Thread Nikita Tovstoles
Chuck, Without asserting that Wicket's is NOT breaking an RFC, I would appreciate a clarification on which RFC do you think the framework (or the app) is breaking? HttpServletResponse.sendRedirect allows relative URLs explicitly. From 1.4 EE Javadoc: "Sends a temporary redirect response to the cl

Re: Tomcat scalability setting - need help please

2010-04-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rendra, On 4/8/2010 12:53 PM, Cin Lung wrote: > Your remark is almost correct. What I did is that I store the result of the > resultset (which can go up to million lines of rows) in a batch of Java > beans. Then I set the beans to the HTTP Request and

Re: Tomcat scalability setting - need help please

2010-04-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rendra, At the risk of getting sucked into the insanity... On 4/8/2010 7:19 AM, Cin Lung wrote: > It's running 32 Bit windows 2003 only With 8GB Ram. 32-bit Microsoft Windows can access 8GiB of RAM (much more, in fact), but each process is still lim

Re: URLs with '../' and 404s

2010-04-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nikita, On 4/8/2010 4:03 PM, Nikita Tovstoles wrote: > Response.java in Tomcat src: > http://kickjava.com/src/org/apache/catalina/connector/Response.java.htm Hmm... a non-Apache site without a version reference? :( How about http://svn.apache.org/r

Re: Which native library?

2010-04-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeffrey, On 4/8/2010 4:35 PM, Jeffrey Janner wrote: > Allow me to answer my own question: 1.1.18 > I just started downloading from the archive until I found one that > worked. Generally, the latest is always the best. > Any clue what happened betwe

Re: Tomcat 6.0.26 startup scripts changed from 6.0.18

2010-04-08 Thread Tobias Crefeld
Am Thu, 8 Apr 2010 15:16:36 -0400 schrieb "Eric B." : > So what my init.d script currently does is pre-create an empty pid > file in the /var/run directory, then changes ownership of it to > "tomcat" so that tomcat can then update it with the actual pid of the > tomcat process. > > Given that the

RE: Which native library?

2010-04-08 Thread Jeffrey Janner
Allow me to answer my own question: 1.1.18 I just started downloading from the archive until I found one that worked. Any clue what happened between 1.1.18 & 1.1.19? Note I've only had the "not found" errors on Windows 2003 & up with 5.5.27/28, but still had SSL support. If anyone is interested, h

Re: URLs with '../' and 404s

2010-04-08 Thread David Smith
I strongly advocate server relative URLs which get rid of the whole problem. All that means is the URL becomes everything after the servername & port in a full absolute URL. That way it just plain works and even minimizes the browser's understanding of how to compute an absolute URL from a relati

Re: URLs with '../' and 404s

2010-04-08 Thread Caldarale, Charles R
On Apr 8, 2010, at 14:53, "Christopher Schultz" wrote: > I see no toAbsolute method in the HttpServletResponse class. Are you > talking about some other toolkit? It's an internal Tomcat method that the OP seems to think should rectify the RFC violations his code is making. (I don't have a whol

Re: URLs with '../' and 404s

2010-04-08 Thread Nikita Tovstoles
Response.java in Tomcat src: http://kickjava.com/src/org/apache/catalina/connector/Response.java.htm On Thu, Apr 8, 2010 at 12:52 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Nikita, > > On 4/8/2010 11:14 AM, Nikita Tovstol

Re: URLs with '../' and 404s

2010-04-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nikita, On 4/8/2010 11:14 AM, Nikita Tovstoles wrote: > We use Wicket that periodically redirects to relative URLs starting with > '../'. I realize that's against the RFC (which says redirects are supposed > to be absolute), but I am not clear on why

Which native library?

2010-04-08 Thread Jeffrey Janner
I'm currently using Tomcat 5.5.17 on Windows 2000 32-bit on some servers. (I know, both old, but trying to stretch. Can upgrade tomcat soon but not soon enough.) Java dll is Sun JDK 1.6.0_18 server. I tried loading both 1.1.19 and 1.1.20 versions of the native dll, but apparently Tomcat cou

Tomcat 6.0.26 startup scripts changed from 6.0.18

2010-04-08 Thread Eric B.
Hi, I am trying to upgrade to 6.0.26 and noticed that the startup scripts have changed slightly. One of the issues that I am having is that the new catalina.sh startup script now checks for the existance of the CATALINA_PID file prior to starting up, and if it exists, it aborts. My problem

Re: URLs with '../' and 404s

2010-04-08 Thread Nikita Tovstoles
Actually it was pointed out to me that it is the container & not the app/framework that is generating the Location header, and so isn't the below a bug in toAbsolute()? On Thu, Apr 8, 2010 at 8:14 AM, Nikita Tovstoles wrote: > We use Wicket that periodically redirects to relative URLs starting w

RE: Tomcat scalability setting - need help please

2010-04-08 Thread George Sexton
Clearly instantiating millions of objects is not a strategy for scalability. You're going to have to re-structure your code to reduce the memory footprint of each session. Why is your result set returning a million rows? No human would want to see that much data. You need to restructure your que

Re: Tomcat does not honor acceptCount configuration variable

2010-04-08 Thread Timir Hazarika
You just lost me. How would this configuration look like in server.xml ? Timir On Thu, Apr 8, 2010 at 9:09 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Timir Hazarika [mailto:timir.hazar...@gmail.com] > > Subject: Re: Tomcat does not honor acceptCount configuration var

Re: Avoiding random JMX port on tomcat

2010-04-08 Thread emerson cargnin
Ops, I thought you were referring to the same page. My fault. I would be great if that could be configured directly in the properties, like the rest of the JMX stuff. On 8 April 2010 16:58, Caldarale, Charles R wrote: >> From: emerson cargnin [mailto:echofloripa.y...@gmail.com] >> Subject: Re: Av

RE: Tomcat scalability setting - need help please

2010-04-08 Thread Cin Lung
Hi George Your remark is almost correct. What I did is that I store the result of the resultset (which can go up to million lines of rows) in a batch of Java beans. Then I set the beans to the HTTP Request and pass them to the receiving JSP. But I do remember to return the connection to the pool.

RE: Tomcat scalability setting - need help please

2010-04-08 Thread George Sexton
> -Original Message- > From: Pid [mailto:p...@pidster.com] > Sent: Thursday, April 08, 2010 8:49 AM > To: Tomcat Users List > Subject: Re: Tomcat scalability setting - need help please > > When you run the query in your application how are you doing it, e.g. > by > calling a stored proced

JSP not updated before app reload

2010-04-08 Thread Søren Blidorf
Hi. I am working on a project and suddenly when I make a change in my JSP I have to reload my app before the code is updated in the browser. I can’t think of any changes I have made that should cause this. Any idears. Soren, DK

RE: Apache Tomcat 5 does not work on port 80

2010-04-08 Thread Sulaiman Paperwalla
Hi, Thanks for the suggestion. It resulted in PID 4 which is being used by "NT Kernel and System". I started randomly stopping services and it was being used by SQL Server Reporting Services. I'm now looking into how I can change this service's port to something other than port 80. Thanks f

RE: Avoiding random JMX port on tomcat

2010-04-08 Thread Caldarale, Charles R
> From: emerson cargnin [mailto:echofloripa.y...@gmail.com] > Subject: Re: Avoiding random JMX port on tomcat > > It is not in that page... I saw that in 5.5... ??? I beg to differ - what web site are you looking at? Both the US and EU Tomcat web sites have the correct 6.0 doc, including the s

Re: Apache Tomcat 5 does not work on port 80

2010-04-08 Thread Peter Crowther
On 8 April 2010 16:52, Caldarale, Charles R wrote: > Use netstat -ano, note the pid, and look it up in Task Manager. > > tcpview (http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx) should give you the process directly, but Chuck's suggestion is less invasive :-). - Peter

Re: Avoiding random JMX port on tomcat

2010-04-08 Thread emerson cargnin
It is not in that page... I saw that in 5.5... On 8 April 2010 16:51, Caldarale, Charles R wrote: >> From: emerson cargnin [mailto:echofloripa.y...@gmail.com] >> Subject: Avoiding random JMX port on tomcat >> >> I want to configure JMX on our servers, but I am having problems as >> JMX opens a se

RE: Apache Tomcat 5 does not work on port 80

2010-04-08 Thread Caldarale, Charles R
> From: Sulaiman Paperwalla [mailto:s...@fiu.edu] > Subject: RE: Apache Tomcat 5 does not work on port 80 > > I did netstat -a but it does not tell me the application that is > listening on port 80; Use netstat -ano, note the pid, and look it up in Task Manager. - Chuck THIS COMMUNICATION MAY

RE: Avoiding random JMX port on tomcat

2010-04-08 Thread Caldarale, Charles R
> From: emerson cargnin [mailto:echofloripa.y...@gmail.com] > Subject: Avoiding random JMX port on tomcat > > I want to configure JMX on our servers, but I am having problems as > JMX opens a second random port. > > Is there anyway to do this on tomcat 6? Looks like it's still there to me: http:

RE: Apache Tomcat 5 does not work on port 80

2010-04-08 Thread Sulaiman Paperwalla
Thanks! I did netstat -a but it does not tell me the application that is listening on port 80; I always assumed it was tomcat but I don't know for sure. Sorry I'm a newbie. Here is partial result of netstat -a: Active Connections Proto Local Address Foreign AddressState

RE: Apache Tomcat 5 does not work on port 80

2010-04-08 Thread Sulaiman Paperwalla
Thanks! IIS is not running on this machine. I checked the logs and they are virtually blank. The logs I checked were jacarta_service_, stderr, and stdout log files. I am using tomcat 5 because the application I am using is not supporting a higher version yet. I am working with the vendor o

Avoiding random JMX port on tomcat

2010-04-08 Thread emerson cargnin
Hi I want to configure JMX on our servers, but I am having problems as JMX opens a second random port. In tomcat 5.5 there was a way to override that port. Is there anyway to do this on tomcat 6? >From here: http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html#Enabling%20JMX%20Remote Note:T

Re: Apache Tomcat 5 does not work on port 80

2010-04-08 Thread Gregor Schneider
You can telnet port 80 without any problems? Well, that means there's some application running using port 80, otherwise you wouldn't be able to telnet on port 80. What gives "netstat -a"? Rgds Gregor -- just because you're paranoid, don't mean they're not after you... gpgp-fp: 79A84FA5268070267

RE: Tomcat does not honor acceptCount configuration variable

2010-04-08 Thread Caldarale, Charles R
> From: Timir Hazarika [mailto:timir.hazar...@gmail.com] > Subject: Re: Tomcat does not honor acceptCount configuration variable > > I would like tomcat to use a maximum of (say) 5 sockets on my system. > Further connection requests should be dropped. How may I achieve that ? There's no direct co

Re: Apache Tomcat 5 does not work on port 80

2010-04-08 Thread Peter Crowther
Check you don't already have IIS running on port 80. If you look in Tomcat's logs, there should be a bind exception if that's the case. Is there any reason you're using 5.0? It's very old, and is no longer supported. This means that, for example, it has known security holes and they will never

Apache Tomcat 5 does not work on port 80

2010-04-08 Thread Sulaiman Paperwalla
Hi, I have tomcat 5.0 installed on a windows server 2008 machine. Tomcat is the only web server installed. When I change the port to anything other than port 80, for example 8080, I can successfully access the website, but it does not work for Port 80. I have made sure the port is open in th

Re: Tomcat does not honor acceptCount configuration variable

2010-04-08 Thread Timir Hazarika
Chuck, I would like tomcat to use a maximum of (say) 5 sockets on my system. Further connection requests should be dropped. How may I achieve that ? > The acceptCount is the value used by the platform's TCP/IP stack > to limit the number of HTTP connection requests held in a queue. > The number a

URLs with '../' and 404s

2010-04-08 Thread Nikita Tovstoles
We use Wicket that periodically redirects to relative URLs starting with '../'. I realize that's against the RFC (which says redirects are supposed to be absolute), but I am not clear on why doesn't Tomcat collapse those URLs in Response.toAbsolute()? Specifically: -assume client is at http://loca

Re: Junit and Tomcat

2010-04-08 Thread Ken Bowen
In some cases, I've dealt with the datasources problem in testing by make use of a standalone connection pool, such as the opensource Primrose (http://www.primrose.org.uk/, which has worked well for me. --Ken On Apr 8, 2010, at 10:42 AM, Malcolm Warren wrote: Thank you for your reply. I'

Re: Junit and Tomcat

2010-04-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, http://memoryjndi.sourceforge.net/ On 4/8/2010 10:49 AM, Christopher Schultz wrote: > Malcolm, > > On 4/8/2010 9:08 AM, Malcolm Warren wrote: >> I've been going round in circles for about two weeks now trying to work >> out how to use Junit wit

Re: Tomcat scalability setting - need help please

2010-04-08 Thread Pid
On 08/04/2010 12:19, Cin Lung wrote: Hi Pid My task is a web-based ERP application. It uses database and the number of user connection to it is up to 200 users. I use MySQL for the database. Please post your DB config from server.xml, passwords should be omitted. I apply the -xmx1024m and -x

Re: Junit and Tomcat

2010-04-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Malcolm, On 4/8/2010 9:08 AM, Malcolm Warren wrote: > I've been going round in circles for about two weeks now trying to work > out how to use Junit with Tomcat effectively. Are you trying to test your webapp via it's /web/ interface, or are you tryi

Re: Junit and Tomcat

2010-04-08 Thread Malcolm Warren
Thank you for your reply. I'm more interested in testing common java classes: e.g. beans being used by .jsp files, but these java classes depend heavily on two things provided by Tomcat in its own virtual machine which Junit can't get at. 1) datasources 2) file paths regards, Malcolm Il 08/0

Re: Tomcat with NIO???

2010-04-08 Thread cinlung
Sorry about the importance level again - completely forgotten. I got used to press ctrl-s for quick send email :) GOD is GREAT! -Original Message- From: "Caldarale, Charles R" Date: Thu, 8 Apr 2010 08:16:57 To: Tomcat Users List Subject: RE: Tomcat with NIO??? > From: Cin Lung [mailto:

RE: Strange memory-behaviour using Tomcat Native

2010-04-08 Thread Caldarale, Charles R
> From: Gregor Schneider [mailto:rc4...@googlemail.com] > Subject: Re: Strange memory-behaviour using Tomcat Native > > That means, for those "administrative" stuff in the first example less > than 100M is used, but in the 2nd example it's more than double the > size - is such a common behaviour?

Re: Junit and Tomcat

2010-04-08 Thread Gregor Schneider
What do you wnat to test specifically? JSPs? Servlets? or just some common Java classes being used by a Servlet / JSP? Rgds Gregor -- just because you're paranoid, don't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de

Re: Strange memory-behaviour using Tomcat Native

2010-04-08 Thread Gregor Schneider
Hi Mark, On Thu, Apr 8, 2010 at 1:48 PM, Mark Thomas wrote: > On 08/04/2010 12:12, Gregor Schneider wrote: >> Anybody has an idea what I might be missing here? > > That Java Heap Space + Perm Gen Space < OS process Space > > You are missing the memory used for: > - native code > - gc > - thread s

RE: Tomcat with NIO???

2010-04-08 Thread Caldarale, Charles R
> From: Cin Lung [mailto:cinl...@gmail.com] > Subject: RE: Tomcat with NIO??? > Importance: High Hmmm... you seem to have forgotten to turn off the high importance setting - again. It's rather annoying. > Which setting should I use for my server.xml to get better performance > under heavy duty

Tomcat 6.0.24 requires me to log on twice

2010-04-08 Thread Terry Horner
Hi, I am having a problem with Tomcat - if I log on to a page which contains a restricted resource, it shows me the page (and any unrestricted images, etc), but doesn't show the restricted resource (I believe tomcat thinks the user is not authenticated as sends the 403 page, judging by the 3478

Junit and Tomcat

2010-04-08 Thread Malcolm Warren
Dear All, I've been going round in circles for about two weeks now trying to work out how to use Junit with Tomcat effectively. Any help or advice about how to do this would be very much appreciated. The main problems are probably well known, but what does everyone else do about it? But the od

RE: Tomcat with NIO???

2010-04-08 Thread Cin Lung
Let me rephrase: Which setting should I use for my server.xml to get better performance under heavy duty job (and under light duty as well if posible to get both): Or the standard setting that comes with tomcat installation: Mark: can you point any site that shows benchmark result for

RE: Tomcat does not honor acceptCount configuration variable

2010-04-08 Thread Caldarale, Charles R
> From: Timir Hazarika [mailto:timir.hazar...@gmail.com] > Subject: Tomcat does not honor acceptCount configuration variable > > What is the best way to limit connections in tomcat, if there is one ? Somewhat depends on what you think "connection" means. If you're actually referring to sessions

Re: Tomcat with NIO???

2010-04-08 Thread Mark Thomas
On 08/04/2010 13:41, Cin Lung wrote: > Oooohhh... I just found out that the protocol is bundled inside > tomcat-coyote.jar. I never looked into the tomcat lib folder. > > Has anyone benchmark which protocol is better performance? Yes. > The Http11NioProtocol or Http/1.1? That question makes no se

RE: Tomcat with NIO???

2010-04-08 Thread Cin Lung
Oooohhh... I just found out that the protocol is bundled inside tomcat-coyote.jar. I never looked into the tomcat lib folder. Has anyone benchmark which protocol is better performance? The Http11NioProtocol or Http/1.1? Thanks Rendra -Original Message- From: Mark Thomas [mailto:ma...@apa

RE: Regarding thread hi-jacking

2010-04-08 Thread Cin Lung
And that too. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Thursday, April 08, 2010 7:25 PM To: Tomcat Users List Subject: RE: Regarding thread hi-jacking > From: Cin Lung [mailto:cinl...@gmail.com] > Subject: Regarding thread hi-jacking > Impo

RE: Regarding thread hi-jacking

2010-04-08 Thread Caldarale, Charles R
> From: Cin Lung [mailto:cinl...@gmail.com] > Subject: Regarding thread hi-jacking > Importance: High > > I learn new rule today. Please be patient with me and I will submit my > question again using new thread. And stop setting high importance as well, please. - Chuck THIS COMMUNICATION MAY

Re: Tomcat with NIO???

2010-04-08 Thread Mark Thomas
On 08/04/2010 12:50, Cin Lung wrote: > Is this real? Yes. > I found this tomcat setting from the following site: > http://www.javalobby.org/java/forums/t92965.html > > Here is the setting (see the higlighted part): > maxThreads="150" connectionTimeout="2" acceptorThreadCount="2" > redirectP

Tomcat with NIO???

2010-04-08 Thread Cin Lung
Is this real? I found this tomcat setting from the following site: http://www.javalobby.org/java/forums/t92965.html Here is the setting (see the higlighted part): Is this mean that there is a tomcat version that uses NIO? Or maybe is this a tweak? Any comments. TIA Rendra

Re: Strange memory-behaviour using Tomcat Native

2010-04-08 Thread Mark Thomas
On 08/04/2010 12:12, Gregor Schneider wrote: > Anybody has an idea what I might be missing here? That Java Heap Space + Perm Gen Space < OS process Space You are missing the memory used for: - native code - gc - thread stacks to name a few. Mark --

RE: Tomcat scalability setting - need help please

2010-04-08 Thread Cin Lung
Hi Pid My task is a web-based ERP application. It uses database and the number of user connection to it is up to 200 users. I use MySQL for the database. I apply the -xmx1024m and -xms1024m because I once got a message about Java Heap Out Of Space, so I searched the web and some people suggested

Strange memory-behaviour using Tomcat Native

2010-04-08 Thread Gregor Schneider
Hi there, we do observer a strange behaviour of memory-consuption when running Tomcat within native mode (via jsvc). First, our configuration: Using CATALINA_BASE: /srv/someServer/catalina_base Using CATALINA_HOME: /srv/someServer/catalina_base Using CATALINA_TMPDIR: /srv/someServer/catalina

RE: Tomcat scalability setting - need help please

2010-04-08 Thread Cin Lung
Dear Leon Let me answer your question by the number of the questions: 1. My threadpool settings: are you talking about the java threadpool or the tomcat server setting for the thread pool. If this is tomcat, I am sorry I think I set it to standard from installation. I did not change any tomcat sta

Re: Tomcat scalability setting - need help please

2010-04-08 Thread Leon Rosenberg
Hello Rendra, comments inline. On Thu, Apr 8, 2010 at 11:00 AM, Cin Lung wrote: > Dear All Dev > > Sorry if repost, I got an error from the mailing list server. > Can anyone help me with my problem? I have two biggest problems as follow: > > 1. Multi Connection Problem: > I have a web applicatio

Re: Tomcat scalability setting - need help please

2010-04-08 Thread Pid
On 08/04/2010 10:00, Cin Lung wrote: Dear All Dev Sorry if repost, I got an error from the mailing list server. Can anyone help me with my problem? I have two biggest problems as follow: > 1. Multi Connection Problem: I have a web application that service to multiple users. Everytime the users

Re: isapi_redirect 1.2.30

2010-04-08 Thread Rainer Jung
Thanks for letting us know your solution. On 08.04.2010 02:50, Jordan Michaels wrote: Just after I sent this it occurred to me that I could map the / without it being global (IE: /=ajp13 instead of /*=ajp13), and things would work like I want them to. So I tried that, and guess what, things work

Tomcat scalability setting - need help please

2010-04-08 Thread Cin Lung
Dear All Dev Sorry if repost, I got an error from the mailing list server. Can anyone help me with my problem? I have two biggest problems as follow: 1. Multi Connection Problem: I have a web application that service to multiple users. Everytime the users accessing the server reach 100 users at

Regarding thread hi-jacking

2010-04-08 Thread Cin Lung
Dear all tomcat mailing list dev and users I apologize for accidentally hi-jacking a user email by using reply button. I did not realize that it is not allowed. So, please forgive me. I did that just out of convinience and I think I replaced the subject as well. I learn new rule today. Please b

Re: Tomcat scalability settings

2010-04-08 Thread Markus Schönhaber
08.04.2010 09:42, cinl...@gmail.com: > I am newbie here. I don't understand what you meant by hi-jacking this > thread. I simply asking tomcat user mailing lis of any solution to my issue. > Did I do something wrong? If so, please let me know what I did wrong. When you want to talk about a new

Re: Tomcat scalability settings

2010-04-08 Thread cinlung
Dear Thomas I am newbie here. I don't understand what you meant by hi-jacking this thread. I simply asking tomcat user mailing lis of any solution to my issue. Did I do something wrong? If so, please let me know what I did wrong. Thanks you n sorry if I made any mistakes. Rendra GOD is GREAT!

Tomcat does not honor acceptCount configuration variable

2010-04-08 Thread Timir Hazarika
Folks, What is the best way to limit connections in tomcat, if there is one ? I have tried acceptCount, maxThreads, even specifying explicit executor - but in vain. Thanks in advance, Timir

Re: Tomcat scalability settings

2010-04-08 Thread Mark Thomas
On 08/04/2010 04:55, Cin Lung wrote: > Dear All Dev > > Can anyone help me with my problem? I have two biggest problems as follow: Please don't hi-jack threads. Messages that hi-jack threads tend to get ignored. Mark - To uns

Re: unable to start Tomcat in Windows 7 prof - 64 bit

2010-04-08 Thread Mark Thomas
On 08/04/2010 04:24, Karthick Ragunath wrote: > > > Atlast, i am now able to start Tomcat 6.X > I have uninstalled 32 bit JDK and installed 64 bit JDK. > Then installed Tomcat 6.X > > For Tomcat6.x to run, if i have 64 bit OS, should i have 64 bit JDK? > > When i downloaded