Re: Tomcat 5.59 with jTDS, and SQL Server 2005

2009-10-20 Thread David kerber
ULS Tech Support wrote: Hi there, Let's try this again... I am using Tomcat 5.5.9, using jTDS, with SQL Server 2005 i am getting this issue. 2009/10/16 10:47:15 - sql exception:java.sql.SQLException: No current row in the ResultSet. This issue doesn't happen with TWFreeTDS (in fact, when i

Re: Alias URL

2009-10-05 Thread David Kerber
Pid Ster wrote: On 5 Oct 2009, at 23:47, "Johnson, Rob E" wrote: Andre thanks for all your help that worked. I can use the alias, and I can still hit the other webapps. Also thanks to Martin Gainty and his help. YDHTVO ??? Haven't seen that one before. D -

Re: Alias URL

2009-10-05 Thread David Kerber
André Warnier wrote: Caldarale, Charles R wrote: From: Johnson, Rob E [mailto:rob.john...@mms.gov] ... Usually also, MS products are designed to be configured primarily through a graphical interface, while many open-source products are mainly configured by means of text files (for Tomcat, i

Graphing packages

2009-10-01 Thread David kerber
I'm looking for a graphing (not graphics) package suitable for use in my Tomcat 5.5.x webapp, for generating on-the-fly data plots. Open-source preferable but not mandatory, though it has to be low cost. Any recommendations? TIA! D --

Re: [ANN] Compile Tomcat Web apps into native Windows/Linux executables (beta)

2009-09-23 Thread David kerber
Leon Rosenberg wrote: On Tue, Sep 22, 2009 at 1:41 PM, Excelsior Java Team wrote: Please help us beta test Apache Tomcat support in the forthcoming Excelsior JET 7.0 release. Excelsior JET is a compliant Java SE 6 implementation (JVM) with an ahead-of-time native code compiler. Version 7.0 w

Re: [ANN] Compile Tomcat Web apps into native Windows/Linux executables (beta)

2009-09-23 Thread David kerber
ramzi khlil wrote: Hi, I think it's not a good idea especially when application are subject to modification frequetly or if we plan to deploy a new application on the server. Tomcat has a very interesting feature which allows user to load application on fly without closing the server. But If I c

Re: Configuring second tomcat instance on same box

2009-09-17 Thread David kerber
Mark Thomas wrote: Please don't hijack threads. Mark I don't see a thread hijack here; it came through as a new post on my installation of Thunderbird. D Nagulapalli, Srinivas wrote: I am trying to create second Tomcat instance on same machine. Installed Tomcat into separate folder say

Re: Configuring second tomcat instance on same box

2009-09-17 Thread David kerber
It looks like you may have missed the shutdown port. Nagulapalli, Srinivas wrote: I am trying to create second Tomcat instance on same machine. Installed Tomcat into separate folder say c:\tomcat2 and changed the conf/server.xml port numbers to different values. Basically I bumped the Server po

Re: directory structure

2009-09-13 Thread David Kerber
Daniel Blumenthal wrote: If you're referring to during the development phase Yes, during the development phase. the IDEs I've worked with such as NetBeans and Eclipse does it for you automatically. I don't remember if NetBeans actually make a war or not but it does autodeploy. Ecl

Re: upgrade from 6.0.10 to 6.0.20 and retain conf and webapps.

2009-08-24 Thread David kerber
George Sexton wrote: ... This is also a good solution if you want to have multiple tomcats on one machine. You have one CATALINA_HOME directory and as many CATALINA_BASE directories as you need. Don't you mean the other way around? Multiple CATALINA_HOME directories, one for each TC install

Re: upgrade from 6.0.10 to 6.0.20 and retain conf and webapps.

2009-08-24 Thread David kerber
George Sexton wrote: The way I do this is by using a CATALINA_HOME/CATALINA_BASE structure. The tomcat distribution is the CATALINA_HOME directory. You create another directory structure that becomes CATALINA_BASE. In this directory structure, you would create: temp work conf conf// logs weba

Re: ECCN, License, URL, CCATS, Version

2009-08-07 Thread David kerber
PATEL Vandana wrote: Hello, I found 2 products, ECCN I was looking for. I still need help looking for other 2 . I checked everything. Didn't anything. 1. Apache Jasper (subset of Apache Tomcat 5) 2. Apache Jasper (subset of Apache Tomcat 5.x) They're included under Apache Tomcat's listin

Re: ECCN, License, URL, CCATS, Version

2009-08-07 Thread David kerber
PATEL Vandana wrote: Hello, Yes, I do know about the website but, I don't find whatever products on my list. Please, is there any way you able to find them. Thank you so much! ISTM that your items would all be included under the Tomcat project. D Cordialement / Best regards, Vandana P

Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development

2009-07-22 Thread David kerber
André Warnier wrote: ... Now, to redeem myself, here are my suggestions : - turn off any anti-virus or similar software that might be running - de-install whatever Tomcat software you have installed, using the installer/deinstaller package - verify that you do not have any "remainders" anywhe

Re: Photo gallery webapp for Tomcat

2009-07-16 Thread David kerber
Konstantin Kolinko wrote: 2009/7/16 David kerber : I'm looking for a free or low-cost photo gallery package suitable for hosting on tomcat, for use on my personal web site (which is on my home computer). Something along the lines of coppermine (http://coppermine-gallery.net), but

Photo gallery webapp for Tomcat

2009-07-16 Thread David kerber
I'm looking for a free or low-cost photo gallery package suitable for hosting on tomcat, for use on my personal web site (which is on my home computer). Something along the lines of coppermine (http://coppermine-gallery.net), but that doesn't require a separate http server like Apache or IIS.

Re: Tomcat server Not starting when symantec installed!

2009-07-08 Thread David kerber
I use SEP 11 with tomcat 5.5, and had no trouble. I installed SEP while TC was running, so maybe it detected that it needed to leave that port open? D Tim Funk wrote: Don't run Symantec ? :) Symantec is probably doing 1 of 2 things 1) Noticing tomcat is trying to bind to a socket (it is a we

Re: Cannot find any information on property 'x' in a bean of type 'bfs.beans.BFSInfo'

2009-07-02 Thread David kerber
Caldarale, Charles R wrote: From: Pid [mailto:p...@pidster.com] Subject: Re: Cannot find any information on property 'x' in a bean of type 'bfs.beans.BFSInfo' 25 public String getMidContent() { 26 return(midContent); 27 } wow. old school. Don't you love it when people think

Re: potential thread? and what should we do?

2009-06-24 Thread David kerber
Niki Diulgerov wrote: Hello there, recently I'm reading in the security news channels that there are discovered "multiple vulnerabilities" in tomcat and almost all versions are affected. For example these news from today: http://www.linuxsecurity.com/content/view/149201?rdf On the other side,

Re: Serving images from classes directory

2009-06-17 Thread David kerber
Susan G. Conger wrote: The template files are in the classes directory. This is a web app that is deploying it's own web app. So it is rather convoluted. The web app that gets deployed is my web app while the web app doing the developing is the third party tool. Thanks, Susan Self-modify

Re: deploy webapp to nfs shared drive

2009-06-16 Thread David kerber
André Warnier wrote: Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: deploy webapp to nfs shared drive This would only be a problem if Tomcat's "work" directory was shared, right? Or do I have things wrong thinking that WAR files are expa

Re: Simple DownloadFile sample

2009-06-12 Thread David kerber
siom...@portosdobrasil.gov.br wrote: Hello all, Does anyone know a link to a simple sample for downloading files? I found some but very confusing. The code is welcome too. Thanks Siomara Do you mean having your tomcat server d/l files from another server, or somebody downloading from you

Re: What to upgrade?

2009-06-12 Thread David kerber
hetan From: David Kerber To: Tomcat Users List Sent: Wednesday, June 10, 2009 8:58:37 PM Subject: Re: What to upgrade? Chetan Chheda wrote: We are going to regression test it in non - prod environments. I agree with going to the latest version, but our application is only support

Re: What to upgrade?

2009-06-10 Thread David Kerber
Chetan Chheda wrote: We are going to regression test it in non - prod environments. I agree with going to the latest version, but our application is only supported on 1.4.2 So I am thinking 1.5 would be a smaller jump than 1.6. I doubt it. If it will run on 1.5 (which it most likely will), it

Re: What to upgrade?

2009-06-10 Thread David Kerber
Leon Rosenberg wrote: actually no. 1.5 added many language features. 1.6 added administration and management features (and override annotation for interfaces). And they both added big performance improvements over older ones. D --

Re: Running tomcat 6!!!!!!!

2009-06-06 Thread David Kerber
Martin Gainty wrote: could you explain what 'notification area' is AKA the system tray. D ? Martin __ Note de déni et de confidentialité Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te d

Re: Running tomcat 6!!!!!!!

2009-06-06 Thread David Kerber
Sibusiso khoza wrote: Hi, I'm able to install and run tomcat 6. I installed it using the Windows Service Installer. After installation I get the tomcat Icon in the notification Area, which makes starting and stopping tomcat simple. After restarting my computer, how do I start tomcat 6? How d

Re: [SECURITY] CVE-2009-0580 UPDATED Apache Tomcat User enumeration vulnerability with FORM authentication

2009-06-05 Thread David kerber
Mark Thomas wrote: ... 5.5.x users should do one of the following: - upgrade to 5.5.28 when released - apply this patch http://svn.apache.org/viewvc?rev=781379&view=rev 4.1.x users should do one of the following: - upgrade to 4.1.40 when released - apply this patch http://svn.apache.org/viewv

Re: How to reference Shared Libraries with TOMCAT

2009-06-03 Thread David Kerber
Caldarale, Charles R wrote: From: Zeeshan Ahmad [mailto:zah...@i2cinc.com] Subject: RE: How to reference Shared Libraries with TOMCAT If you have multiple tomcats and multiple applications then you have to put the jars on a separate location As Peter pointed out, doing so is a really bad

Re: Tomcat Concurrent Requests

2009-06-01 Thread David kerber
CrystalCracker wrote: Given that each request takes 2 seconds on average. Among them, some of them take less than 500ms, and some take as long as 5 seconds or even a little more sometimes. How many such concurrent request would a tomcat server running on a double quad-core server handle? At

Re: hwllo.html

2009-05-26 Thread David Kerber
veena pandit wrote: I saw that the tomcat example has a servlet example and a jsp example but no html example. Put .html's in the same folder as .jsp's, and it should work. D - To unsubscribe, e-mail: users-unsubscr...@

Re: Tomcat Server can't load himself (without using localhost)

2009-05-26 Thread David kerber
I'll bet your router or firewall are doing address translation, so the DNS of sogetel.it is returning a public routable address, while the address of the machine itself is a different, non-routable one. Most routers won't do that kind of turn-around (routing a request from inside, back out th

Re: Performance: switch vs if ... else if

2009-05-22 Thread David kerber
Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Performance: switch vs if ... else if If you find that a tableswitch is /not/ being generated, The tableswitch is being generated for the enum switch (rtFields), but not the char swit

Re: Performance: switch vs if ... else if

2009-05-21 Thread David kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 5/19/2009 3:04 PM, David kerber wrote: I have a section of code in a frequently-called (~3.5 million times per day) servlet where I had to process based on a parameter that could take one of 6 different

Re: List operation question

2009-05-20 Thread David kerber
Mark Thomas wrote: David kerber wrote: How do I get the thread ID of a given thread in the mailing list, if I want to request all the posts from that thread? I got the instructions message of how to request the posts for a given thread, but it requires me to know the id of the thread, and I

List operation question

2009-05-20 Thread David kerber
How do I get the thread ID of a given thread in the mailing list, if I want to request all the posts from that thread? I got the instructions message of how to request the posts for a given thread, but it requires me to know the id of the thread, and I can't figure out where to get that. I've

Re: Performance: switch vs if ... else if

2009-05-20 Thread David kerber
Ronald Klop wrote: As with the tips about usage of char in the switch you can also test using a char in the if ... else. if (myChr.length() != 1) { throw new RuntimeException("invalid length"); } char ch = myChr.charAt(0); if (ch == 'c') { p += 1; } else if (ch == 'r') { p += 2; } ... Shou

Re: Performance: switch vs if ... else if

2009-05-19 Thread David kerber
Konstantin Kolinko wrote: ... 1. If you are doing tests with the classic VM, allow it some time to warmup and compile your code. That is, run the same test first with a smaller count of iterations. Server VM precompiles code before using it, while Classic one compiles heavily used parts of code

Re: Performance: switch vs if ... else if

2009-05-19 Thread David kerber
Konstantin Kolinko wrote: 2009/5/19 David kerber : Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Performance: switch vs if ... else if I had to process based on a parameter that could take one of 6 different single-character string values. I

Re: Deploy Tomcat Standalone - good idea or not?

2009-05-19 Thread David kerber
johnrock wrote: I am going to be deploying a webapp on CentOS (Spring/Hibernate/Tomcat) that is JSP based and has hardly any static content..I am planning to start out with 1 tomcat server and 1 db server. I think that I do not need an apache front end and can simply run tomcat standalone. Is th

Re: Performance: switch vs if ... else if

2009-05-19 Thread David kerber
Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Performance: switch vs if ... else if I had to process based on a parameter that could take one of 6 different single-character string values. I had been using an if .. else if construct. Interesting

Performance: switch vs if ... else if

2009-05-19 Thread David kerber
This isn't directly related to tomcat, but does relate to the performance testing people have done over the last couple of days. I have a section of code in a frequently-called (~3.5 million times per day) servlet where I had to process based on a parameter that could take one of 6 different s

Re: MAX Simultaneous connections with Tomcat on Windows XP Pro

2009-05-18 Thread David kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 5/18/2009 3:19 AM, Peter Crowther wrote: From: Arijit Sarkar Job Gmail [mailto:arijit.k.sar...@gmail.com] So If I have an web application deployed on tomcat and windows XP pro, theoretically, unlimited users

Re: Apache httpd vs Tomcat static content performance

2009-05-18 Thread David kerber
sewhere - often lock contention, as David Kerber has recently seen! Indeed! Getting rid of the extra locking took care of about 98% of the issues, and changing to the Server jvm got me to over 99%. D - To unsubscribe, e-

Re: MAX Simultaneous connections with Tomcat on Windows XP Pro

2009-05-15 Thread David Kerber
Arijit Sarkar Job Gmail wrote: WOW!! That was fast.. So If I have an web application deployed on tomcat and windows XP pro, theoretically, unlimited users can connect to the application simultaneously? Tomcat or Windows XP does not place any limits to that? The only limits are resource limits

Re: Performance on socket reads

2009-05-15 Thread David kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 5/15/2009 12:22 PM, David kerber wrote: But the code works; it just seems to be a little slow. Gotcha. How slow are we talking, here? I'm not sure whether the underlying InputStream, her

Re: Peformance on socket reads

2009-05-15 Thread David kerber
David kerber wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 5/14/2009 8:34 AM, David kerber wrote: len = req.getContentLength(); b = new byte[ len ]; Don't forget to check to see if getContentLength() returned zero. I do, it&#

Re: TC 5.5 with java -server mode in windows service

2009-05-15 Thread David kerber
Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Re: TC 5.5 with java -server mode in windows service I was just surprised the thread dump didn't say "Server mode" instead of "Mixed mode". Note that it says "Server VM&quo

Re: MAX Simultaneous connections with Tomcat on Windows XP Pro

2009-05-15 Thread David kerber
Arijit Sarkar Job Gmail wrote: All, This has been troubling me for some time now. and I don't have an answer to it. We all know that IIS and XP Pro have a 10 concurrent connection limit . If I am using Apache Tomcat on XP Pro, do I still have this limit on the connections? No, because they

Re: TC 5.5 with java -server mode in windows service

2009-05-15 Thread David kerber
x27;s the way I'm supposed to do it, then I guess I'm all set. I was just surprised the thread dump didn't say "Server mode" instead of "Mixed mode". David kerber wrote: How do I set the jvm to -server mode when running as a windows service? In tomcat5w.e

Re: Peformance on socket reads

2009-05-15 Thread David kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 5/14/2009 8:34 AM, David kerber wrote: len = req.getContentLength(); b = new byte[ len ]; Don't forget to check to see if getContentLength() returned zero. I do, it's just not in

TC 5.5 with java -server mode in windows service

2009-05-15 Thread David kerber
How do I set the jvm to -server mode when running as a windows service? In tomcat5w.exe, if I put -server in the java options box, tomcat doesn't start. Do I just specify the full path to the \Program Files\Java\jdk1.5.0_17\jre\bin\server\jvm.dll in the jvm box? That's what I have now, but I

Re: tomcat no longer writing to log files

2009-05-14 Thread David kerber
Michael A. Repucci wrote: Well, actually, I did this stupid thing under Ubuntu Linux. I've even now gone through the process of completely uninstalling and reinstalling the Tomcat packages, and it doesn't help. So now, not only does our application not work on my local machine, but I can't figure

Re: Peformance on socket reads

2009-05-14 Thread David kerber
Rainer Jung wrote: On 14.05.2009 14:34, David kerber wrote: ... req is my HttpServletRequest iStream is a ServletInputStream Then I have: len = req.getContentLength(); b = new byte[ len ]; iStream = req.getInputStream(); /* this is the line 198 that the above thread dump is

Peformance on socket reads

2009-05-14 Thread David kerber
This post is a follow-on to my "performance with many small requests" thread from a couple days ago. I have been watching my app, and taking thread dumps when things seem to be running a bit slower than I would like. Right now, the biggest bottleneck seems to be on the POST data read. Here i

Re: [OT] Performance with many small requests

2009-05-13 Thread David kerber
Christopher Schultz wrote: ... Since a String object is immutable, one should always use a StringBuffer (preferably a StringBuilder, these days) when you are constructing strings in a piecemeal fashion, then convert to String when complete. This advice is good when constructing a long str

Re: Performance with many small requests

2009-05-12 Thread David Kerber
Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Performance with many small requests When (what java version) did those string operation optimizations happen? Sun's web page that talks about this (and explicitly says that string buffers are us

Re: Performance with many small requests

2009-05-12 Thread David kerber
Christopher Schultz wrote: On May 12, 2009, at 13:09, "Caldarale, Charles R" wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Performance with many small requests From these tests, it looks like, under windows XP and java 1.5 any way, that atomics are always fa

Re: Performance with many small requests

2009-05-12 Thread David kerber
Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Performance with many small requests From these tests, it looks like, under windows XP and java 1.5 any way, that atomics are always faster Try it under 1.6; Sun made major improvements to

Re: Performance with many small requests

2009-05-12 Thread David kerber
Caldarale, Charles R wrote: From: Leon Rosenberg [mailto:rosenberg.l...@googlemail.com] Subject: Re: Performance with many small requests If you would share your test code, I would love to test it on some *nixes and darwins I have here; Here's the code I used to do the synch vs atomic tes

Re: Performance with many small requests

2009-05-12 Thread David kerber
Caldarale, Charles R wrote: From: Peter Crowther [mailto:peter.crowt...@melandra.com] Subject: RE: Performance with many small requests That said, if a client has multiple data items to send in rapid succession, does it accumulate those and batch them, or does it send each one as a different req

Re: Performance with many small requests

2009-05-12 Thread David kerber
Peter Crowther wrote: From: David kerber [mailto:dcker...@verizon.net] Just over 1000 total, 810 to the port that this application is using. "Should" be fine on Windows. That was my gut feeling too, but I'm glad to have it confirmed. The vast majority are show

Re: Performance with many small requests

2009-05-12 Thread David kerber
Peter Crowther wrote: From: David kerber [mailto:dcker...@verizon.net] In my original post, I posted a bunch of numbers about network and other possible bottlenecks, and what it boiled down to was that neither my firewall load, nor total internet connection bandwidth were close to their limits

Re: Performance with many small requests

2009-05-12 Thread David kerber
Peter Crowther wrote: From: David Kerber [mailto:dcker...@verizon.net] I definitely should hook a profiler to the app so I can be sure of what's taking the time, though. Yes. If you don't measure it, you don't know whether you're fixing the right problem! It w

Re: Performance with many small requests

2009-05-12 Thread David kerber
Leon Rosenberg wrote: On Tue, May 12, 2009 at 6:27 AM, Caldarale, Charles R wrote: From: David Kerber [mailto:dcker...@verizon.net] Subject: Re: Performance with many small requests Incrementing a counter can't be much of a synchronization bottleneck, and if I switch to an AtomicIn

Re: Performance with many small requests

2009-05-11 Thread David Kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 5/8/2009 7:26 AM, Peter Crowther wrote: Decrypt: parallel. Send ack: parallel. Increment counters: synced. Write to log file: synced (or you'll have some very odd stuff happening). I'd go further and s

Re: Trouble parsing datetime strings

2009-05-11 Thread David kerber
Konstantin Kolinko wrote: ... As the JavaDoc says http://java.sun.com/javase/6/docs/api/java/text/SimpleDateFormat.html "Date formats are not synchronized. It is recommended to create separate format instances for each thread" You may either create a new instance of SimpleDateFormat each time,

Re: Performance with many small requests

2009-05-11 Thread David kerber
Peter Crowther wrote: From: David kerber [dcker...@verizon.net] My cpu usage for tomcat has gone from bouncing between 0 and 1 in task manager, to a steady 2 since more threads are now actually doing work instead of waiting around for their turn at the code, my disk writes per sec in perfmon

Trouble parsing datetime strings

2009-05-11 Thread David kerber
This is related to the performance issues discussed in the thread "Performance with many small requests". When I reworked my servlet to synchronize only on pieces that needed to be synchronized, rather than on the entire request processing routine, I am now throwing an exception when parsing a

Re: Performance with many small requests

2009-05-08 Thread David kerber
Peter Crowther wrote: From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Strictly speaking, that's one thread per *servlet* object; if using the SingleThreadModel (let's hope not), the container is allowed to create multiple instances. Good point in the general case, but I rath

Re: Performance with many small requests

2009-05-08 Thread David kerber
Caldarale, Charles R wrote: From: Peter Crowther [mailto:peter.crowt...@melandra.com] Subject: RE: Performance with many small requests They look like spares in the pool, but my knowledge of Tomcat's internals is limited. Yes, they are just waiting for requests to show up. Only one t

Re: Performance with many small requests

2009-05-08 Thread David kerber
Peter Crowther wrote: From: David kerber [mailto:dcker...@verizon.net] Now that I've got a thread dump, what am I looking for? You found it first time :-). Now the hard part - fixing it. Yeah, that's what I figured! I've got a bunch of sections like this, pretty mu

Re: Performance with many small requests

2009-05-08 Thread David kerber
David kerber wrote: Caldarale, Charles R wrote: -Original Message- From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Performance with many small requests That said, any idea where that might leave the thread dump? After some experimentation, I found it in

Re: Performance with many small requests

2009-05-08 Thread David kerber
Peter Crowther wrote: From: David kerber [mailto:dcker...@verizon.net] Also, right now I'm doing a .flush() after the .write() to the log file. Is that usually necessary, other than to avoid losing data lines in case of a system failure? No, other than that. What disk subsystem ar

Re: Performance with many small requests

2009-05-08 Thread David kerber
Caldarale, Charles R wrote: -Original Message- From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Performance with many small requests That said, any idea where that might leave the thread dump? After some experimentation, I found it in jakarta_service_MMDD.log in

Re: Performance with many small requests

2009-05-08 Thread David kerber
Pid wrote: Peter Crowther wrote: From: David Kerber [mailto:dcker...@verizon.net] The synchronized section doesn't do a whole lot, so it doesn't take long to process. Indeed. So take a thread dump and see what's happening before making *any* changes to this key

Re: Performance with many small requests

2009-05-08 Thread David kerber
Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Performance with many small requests If you right-click on the icon in the system try, one of the items says "Thread dump". Right - sorry for forgetting that. I never install from the .ex

Re: Performance with many small requests

2009-05-08 Thread David kerber
Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Performance with many small requests if I use tomcat5w.exe to take a thread dump, where does it leave the file? If you can take a thread dump with tomct5w.exe, please let us know how, because I&#

Re: Performance with many small requests

2009-05-08 Thread David kerber
Peter Crowther wrote: From: David Kerber [mailto:dcker...@verizon.net] The synchronized section doesn't do a whole lot, so it doesn't take long to process. Indeed. So take a thread dump and see what's happening before making *any* changes to this key part. I

Re: Performance with many small requests

2009-05-08 Thread David kerber
your customer. That is a massive over complication for this use case. That was my thought as well, but I don't know enough about the subject of concurrency and synchronization to be sure. On 7-May-2009, at 19:05, David Kerber wrote: The synchronized section doesn&#

Re: Performance with many small requests

2009-05-07 Thread David Kerber
Andre-John Mas wrote: On 7-May-2009, at 17:28, Peter Crowther wrote: From: David kerber [mailto:dcker...@verizon.net] The tomcat application simply takes the post request, does a checksum verification of it, decrypts the lightly-encrypted data, and writes it to a log file with the timestamps

Performance with many small requests

2009-05-07 Thread David kerber
I'm having performance issues with my installation of TC 5.5.15, Java 1.5.0_12, on Windows 2003 server 32 bit, dual-cpu dual-core (4 cores total), 4GB physical RAM. Tomcat startup params: JvmMs = 256 JvmMx = 512 JvmSs = 0 This was the original entry in my server.xml, which has been running for t

Re: Why we need two servers (httpd and tomcat)

2009-04-27 Thread David kerber
Vinay Nagrik wrote: Hello Group, Can someone explain to me the basic difference between httpd and tomacat serer. What one can do so the other can not do. And why do we need these two servers in the first place. I will appreciate this. While there is some overlap in their functionality, th

Re: Apache HTTP before Tomcat

2009-04-23 Thread David kerber
Bart Ophelders wrote: Hi, If I put an Apache HTTP server in front of Tomcat, will this influence performance? Yes, but probably not in the way you are expecting. D Thanks in advance! Bart Ophelders - To unsubscr

Re: Port range

2009-03-25 Thread David kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vanky, On 3/25/2009 9:09 AM, Venky Vasant wrote: I am sure this is very simple question but i could not find a proper information Where do i find the official information about what port range can be used for tomcat s

Re: Port range

2009-03-25 Thread David kerber
Venky Vasant wrote: I am sure this is very simple question but i could not find a proper information Where do i find the official information about what port range can be used for tomcat server port and HTTP connector port for all windows servers. Regards Venkat You can use any po

Re: Tomcat for Dummies

2009-03-13 Thread David kerber
Edward Bicker wrote: This is a Fantastic request for Info. I am relieved to know there are some folks that can still frame a question in such a way to be a pleasure to read. Thanks, Ed Obviously the answerers agree; look at how much more detailed and useful the responses are!! Some of thi

Re: unwar and unjar an application

2009-01-29 Thread David kerber
Mihamina Rakotomandimby (R12y) wrote: Kirk True wrote: A developer gave me just a .war file to deploy on a tomcat. I read [w|j]ar files are just zipped. The .war contains some .jar... I would like to "explode" all the .war (and the contained jars) and have the full code source. I could do it ma

Re: Graceful Stop

2009-01-28 Thread David kerber
Mohit Anchlia wrote: tomcat 6: Is there a way to gracefully stop tomcat similar to apache? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org On win

Re: Tomcat Performance

2008-11-12 Thread David kerber
Peng Tuck Kwok wrote: Probably the reason why he's seeing one instance of tomcat moving quicker than 2 instances is the fact that there is some form of contention for resources on that single machine assuming that the 2 instances are configured identically in every aspect (other than ports). Y

Re: Tomcat threads, II

2008-11-12 Thread David kerber
Pid wrote: ... Having said that, parsing XML can be a memory intensive operation as well, so your old box could be experiencing problems there - check the garbage collection log. p I try to avoid XML for this exact reason. We found that our application could handle between 6 and 10 times m

Re: tomcat 5.5 memory

2008-11-11 Thread David kerber
ng is called). Also, you said the "platform" is 64 bit; is that the OS, or just the hardware? If the OS, do you have the 64-bit JVM installed? D 2008/11/12 David kerber <[EMAIL PROTECTED]>: Alberto Jesus La Rosa Agramonte wrote: Hi, I have installed apache tomcat

Re: tomcat 5.5 memory

2008-11-11 Thread David kerber
Alberto Jesus La Rosa Agramonte wrote: Hi, I have installed apache tomcat 5.5 and giving me problems with memory, this is the configuration that I have now, someone can help me to optimize this, or tell me if this right.The server have 3 gb of RAM. Thanks What kind of problems are you having?

Re: Appeal to Tomcat developers

2008-10-16 Thread David kerber
Mark H. Wood wrote: There is simple, and then there is SIMPLE. The typical daemon has ONE LINE for logging configuration: "log file goes there". Some might have one line for the error log and another for an activity log. Some might let you say whether to use syslog or files. If you supply NO

Re: Appeal to Tomcat developers

2008-10-16 Thread David kerber
Martin Gainty wrote: logging is as easy with SimpleLog http://commons.apache.org/logging/commons-logging-1.1.1/guide.html#A%20Quick%20Guide%20To%20Simple%20Log How long as SimpleLog been around? I don't recall ever seeing it before... D or as complex http://tomcat.apache.org/tomcat-6.0-d

Re: Appeal to Tomcat developers

2008-10-16 Thread David kerber
Leon Rosenberg wrote: On Thu, Oct 16, 2008 at 2:48 PM, David kerber <[EMAIL PROTECTED]> wrote: For my part, I generally agree with the OP. Specifically, the show stopper for me is that the documentation isn't detailed enough at the level of the application and administrator

Re: Appeal to Tomcat developers

2008-10-16 Thread David kerber
Peter Crowther wrote: From: André Warnier [mailto:[EMAIL PROTECTED] From earlier Tomcat expert's messages here, I understand that the previous logging methods were technically flawed, and that the new methods, technically, are far superior. But from tens of user's messages on this list, it is c

Re: Multiple Time Zones on one Tomcat instance?

2008-10-01 Thread David kerber
John Gardner wrote: Caldarale, Charles R wrote: From: John Gardner [mailto:[EMAIL PROTECTED] Subject: Multiple Time Zones on one Tomcat instance? Is there any way we can serve mutliple webapps from a single Tomcat instance, with mutliple timezones? Tomcat itself doesn't care about ti

Re: XP/Vista/Office 2007/IE Compatibility Question

2008-09-29 Thread David kerber
[EMAIL PROTECTED] wrote: Good afternoon. My company, Centocor, is in the process of upgrading its operating System from Windows 2000 to XP/Vista and its Office 2000 to Office 2007. They have installed on, I'm not sure how many, some computers Apache Tomcat, version 5.5. Please answer the follow

Re: Reading environment variable from Tomcat

2008-08-13 Thread David kerber
This was going to be my suggestion as well: have it start after a user logs in, via either the Run registry entry, or the startup group on the start menu. D David Smith wrote: Then I think you'll have to have tomcat startup in the Startup program group or equivalent in the registry and shutd

<    2   3   4   5   6   7   8   9   10   11   >