Re: Turning off local access log

2011-09-01 Thread David kerber
On 9/1/2011 11:49 AM, Leo Donahue - PLANDEVX wrote: -Original Message- From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Turning off local access log On 9/1/2011 9:32 AM, Mark Thomas wrote: On 01/09/2011 14:10, David kerber wrote: Will removing this valve from my

Re: Performance for many small requests

2011-09-01 Thread David kerber
On 9/1/2011 11:36 AM, Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Performance for many small requests Are you using 64-bit java or 32-bit? 64-bit. Might want to try -XX:+UseCompressedOops, since you have a small heap on a 64-bit JVM. I&#x

Re: Performance for many small requests

2011-09-01 Thread David kerber
, the app does some quick integrity checks and write it to disk, then returns an "ok" response to the client. Regards, -Tony --- On Thu, 9/1/11, David kerber wrote: From: David kerber Subject: Re: Performance for many small requests To: "Tomcat Users List" Date: Thursday, Sep

Re: Performance for many small requests

2011-09-01 Thread David kerber
On 8/31/2011 12:25 PM, Tony Anecito wrote: Hi David, You need to not only look at the container but it's configuration and the jre that is being used. There have been a lot of improvements in all areas for performance. Also, understand the servlet model seems developers have completely forgot

Re: Turning off local access log

2011-09-01 Thread David kerber
On 9/1/2011 9:32 AM, Mark Thomas wrote: On 01/09/2011 14:10, David kerber wrote: Will removing this valve from my server.xml stop access logging? Right now it's trying to log every one of the 4M hits I get per day. Can I just comment it out? Yes, but it is a bad idea unles

Turning off local access log

2011-09-01 Thread David kerber
Will removing this valve from my server.xml stop access logging? Right now it's trying to log every one of the 4M hits I get per day. directory="logs" prefix="localhost_access_log." suffix=".txt" pattern="%h %l %u %t "%r" %s %b" /> Can I just comment it

Re: Performance for many small requests

2011-08-31 Thread David kerber
On 8/31/2011 10:16 AM, Mark Thomas wrote: On 31/08/2011 15:11, David kerber wrote: Has there been any comparison testing done in how the latest 7.x version of TC will compare to the latest 6.0.x version, in the case of tons (hundreds per second) of very small, quick-to-process requests? Not

Re: Performance for many small requests

2011-08-31 Thread David kerber
On 8/31/2011 10:18 AM, Francis GALIEGUE wrote: On Wed, Aug 31, 2011 at 16:11, David kerber wrote: Has there been any comparison testing done in how the latest 7.x version of TC will compare to the latest 6.0.x version, in the case of tons (hundreds per second) of very small, quick-to-process

Performance for many small requests

2011-08-31 Thread David kerber
Has there been any comparison testing done in how the latest 7.x version of TC will compare to the latest 6.0.x version, in the case of tons (hundreds per second) of very small, quick-to-process requests? I have a machine that's starting to croak and am moving to a new machine, and need to dec

Re: Exception Handling

2011-08-27 Thread David Kerber
On 8/27/2011 3:10 PM, Donald Jolley wrote: For days I have been playing around with trying to develop a general-purpose forwarding mechanism that I could use to forward to an errors page upon the occurrence of an exception. It has just been revealed to me that this approach is not going to work

Re: TC on Windows Server Core

2011-08-24 Thread David Kerber
On 8/24/2011 5:01 PM, André Warnier wrote: David kerber wrote: Will TC run on a Windows Server Core installation? For those of you not familiar with that term, it's a windows server installation with no GUI, and minimal other pieces. The idea is a reduced disk, memory and cpu foot

TC on Windows Server Core

2011-08-24 Thread David kerber
Will TC run on a Windows Server Core installation? For those of you not familiar with that term, it's a windows server installation with no GUI, and minimal other pieces. The idea is a reduced disk, memory and cpu footprint (rather Unix/Linux like). D ---

Re: Who ate my "Connection reset by peer" SocketException?

2011-08-04 Thread David kerber
On 8/4/2011 1:38 PM, Debashis Roy wrote: Nothing in between browser and tomcat... direct connection from IE to 8080. Not even a router? What about the windows firewall? Date: Thu, 4 Aug 2011 18:19:58 +0200 From: a...@ice-sa.com To: users@tomcat.apache.org Subject: Re: Who ate my "Connec

Re: Tomcat 7: Why is JDK needed ?

2011-08-01 Thread David Kerber
On 8/1/2011 7:18 PM, Bobi St wrote: --- Caldarale, Charles R schrieb am Mo, 1.8.2011: it is obsolete in a way, because setting JAVA_HOME to JRE gives the message : "NB: JAVA_HOME should point to a JDK not a JRE". The message is correct as stated; when JAVA_HOME is used, it *must* point to a

Re: Problems after updating from Tomcat 3.3 to 4.1: http tunneling servlet not working anymore

2011-07-26 Thread David kerber
On 7/26/2011 10:29 AM, Volker wrote: Hello, my current system configuration is like following: - FreeBSD 8.2 - apache-2.2.17_2 - mod_jk-ap2-1.2.31_1 Apache2 JK - tomcat 4.1.36_2 - diablo-jdk1.6.0 Since you have to upgrade any way, why not upgrade to a current version of TC, such as 6.0.x, or

Re: URL/ URI/ TC(?) puzzle -- wrong non-error?

2011-07-22 Thread David Kerber
You haven't given enough information to tell you any more detail. Post the rest of your configuration files. At a guess, you've got the same app deploying as ROOT and where you want it to be. But you definitely have it deploying twice. D On 7/22/2011 6:22 PM, Dennis de Champeaux wrote: Th

Re: Passing user id from web page to tomcat webapp

2011-07-14 Thread David kerber
On 7/14/2011 10:51 AM, David kerber wrote: On 7/14/2011 10:45 AM, André Warnier wrote: David kerber wrote: ... Tomcat 7 has SPNEGO support, which might enable cross-server SSO, but I'm speculating there. I'll see if that might help; I've never heard of it. That is

Re: Passing user id from web page to tomcat webapp

2011-07-14 Thread David kerber
On 7/14/2011 10:45 AM, André Warnier wrote: David kerber wrote: ... Tomcat 7 has SPNEGO support, which might enable cross-server SSO, but I'm speculating there. I'll see if that might help; I've never heard of it. That is the "the newly-released "authenticato

Re: Passing user id from web page to tomcat webapp

2011-07-14 Thread David kerber
On 7/14/2011 10:31 AM, André Warnier wrote: David kerber wrote: On 7/14/2011 9:50 AM, André Warnier wrote: David kerber wrote: I have a situation where my users will be logging into their pages on an IIS 5 web server, which authenticates them with their user ID and password as configured in

Re: Passing user id from web page to tomcat webapp

2011-07-14 Thread David kerber
On 7/14/2011 10:20 AM, Pid wrote: On 14/07/2011 15:04, David kerber wrote: On 7/14/2011 9:50 AM, André Warnier wrote: David kerber wrote: I have a situation where my users will be logging into their pages on an IIS 5 web server, which authenticates them with their user ID and password as

Re: Passing user id from web page to tomcat webapp

2011-07-14 Thread David kerber
On 7/14/2011 10:00 AM, André Warnier wrote: Savoy, Melinda wrote: David, You might try the following, instead of getRemoteUser, as we use this to get the USERID from IIS. I inherited this code so I really can't speak to it a lot but it's working. Regards. ' get user ID from header *

Re: Passing user id from web page to tomcat webapp

2011-07-14 Thread David kerber
On 7/14/2011 9:50 AM, André Warnier wrote: David kerber wrote: I have a situation where my users will be logging into their pages on an IIS 5 web server, which authenticates them with their user ID and password as configured in IIS. This works fine. Now I need to add some new functionality to

Passing user id from web page to tomcat webapp

2011-07-14 Thread David kerber
I have a situation where my users will be logging into their pages on an IIS 5 web server, which authenticates them with their user ID and password as configured in IIS. This works fine. Now I need to add some new functionality to the web site that will be using my tomcat webapp, and I don't

Re: Terminating Timer Thread Gracefully

2011-07-12 Thread David kerber
On 7/12/2011 9:59 AM, Kris Schneider wrote: On Tue, Jul 12, 2011 at 7:59 AM, Caldarale, Charles R wrote: From: Terence M. Bandoian [mailto:tere...@tmbsw.com] Subject: Terminating Timer Thread Gracefully Finally, in contextDestroyed, I inserted a call to Thread.sleep after canceling the time

Directory listing

2011-07-12 Thread David kerber
You know how IIS and httpd can be configured to let you simply get a directory listing in your browser? Can that be done simply with TC (any version), or do I need to fake it with a java.io.File object and create the listing display in code? D

Re: Terminating Timer Thread Gracefully

2011-07-12 Thread David kerber
On 7/12/2011 4:11 AM, Pid wrote: On 12/07/2011 02:06, Terence M. Bandoian wrote: Hi- I've been testing a web application on: Tomcat 6.0.32 (32-bit) Sun/Oracle JRE 1.6.0_25 (32-bit) Windows Server 2008 R2 The web application includes a ServletContextListener which creates a Timer in the cont

Re: [OT] webapps and TCP/UDP listening sockets

2011-07-01 Thread David kerber
On 7/1/2011 2:39 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 7/1/2011 11:03 AM, David kerber wrote: I don't know anything about x11, but if it's similar to Citrix or Microsoft RDP No, it's Citrix and RDP that are like X11 :) Like

Re: webapps and TCP/UDP listening sockets

2011-07-01 Thread David kerber
On 6/30/2011 11:45 PM, Tim Judd wrote: Hi Christopher, all 'machine' was meant to indicate one of two choices, the computer that is running the tomcat server, or the computer who is the client in a client-server relationship. I don't know the intricities of webapps yet in how they run. This thr

Re: fail to download large static files in tomcat

2011-06-27 Thread David kerber
On 6/27/2011 9:56 AM, Michal Singer wrote: This is the error I get: wget http://172.18.206.103/bundles/vacc-AOS701b318-fl.tgz --08:27:06-- http://172.18.206.103/bundles/vacc-AOS701b318-fl.tgz => `vacc-AOS701b318-fl.tgz.1' Connecting to 172.18.206.103:80... connected. HTTP request s

Re: Classpath issue *only* when starting tomcat 6 as a service

2011-06-10 Thread David kerber
On 6/10/2011 8:15 AM, Patrick Guillot - Genigraph wrote: Hi Martin, It does start as administrator already: The tomcat service GUI used to start the service is executed via the "Run as administrator" contextual menu command. That doesn't mean the service itself is using the administrator acct.

Re: ***SPAM*** Re: ***SPAM*** maxPostSize syntax

2011-06-02 Thread David kerber
On 6/2/2011 7:52 AM, Mark Thomas wrote: On 02/06/2011 02:37, Olivier Lefevre wrote: You guys have a chip on your shoulder. This is Java. "M", "m", "G" and "g" are accepted as sizes by all the -Xm? options, so why not by Tomcat. M and G are size units, too. Other than dudes with an attitude like

Re: Tomcat latency

2011-05-26 Thread David kerber
On 5/26/2011 10:17 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 5/23/2011 10:45 PM, tom...@r322.com wrote: I have a problem where a simple wget call to docs/config/valve.html can sometimes take up to 15 seconds to process. :( I hav

Re: Hosting a website

2011-05-25 Thread David Kerber
On 5/25/2011 8:10 PM, abdelghni belfkih wrote: I just don't know what to say or how to thank u André. But i should say it;thank you so much for the attention u showed for this matter and the time u spent to write the email. I do agreed with u that I didn't make myself clear so that people could

Re: Hosting a website

2011-05-25 Thread David kerber
they must have some other mechanism for you to install your applications, and nobody here will know about that. On Wed, May 25, 2011 at 3:10 PM, David kerber wrote: On 5/25/2011 10:01 AM, abdelghni belfkih wrote: ah ok, i thought he meant support guys here You already have contacte

Re: Hosting a website

2011-05-25 Thread David kerber
On 5/25/2011 10:01 AM, abdelghni belfkih wrote: ah ok, i thought he meant support guys here You already have contacted them, by posting here... What is DirectAdmin, btw? On Wed, May 25, 2011 at 2:32 PM, David kerber wrote: On 5/25/2011 9:13 AM, abdelghni belfkih wrote: tks

Re: Hosting a website

2011-05-25 Thread David kerber
On 5/25/2011 9:13 AM, abdelghni belfkih wrote: tks Mikolaj, so plz give me their mail :) I believe he meant the support guys at your hosting service! On Wed, May 25, 2011 at 2:10 PM, abdelghni belfkih wrote: i have a track.war and i deploy it in my local tomcat server. but to do it via Di

Re: Tomcat5w GUI application

2011-05-19 Thread David kerber
On 5/19/2011 4:55 AM, Venky Vasant wrote: Chris Microsoft does call it as a type 4 driver, i am not sure though why there are some dll files in the installation folder. http://www.microsoft.com/downloads/en/details.aspx?FamilyID=99b21b65-e98f-4a61-b811-19912601fdc9 Placing only sqljdbc.jar f

Re: how to track tomcat throughput?

2011-05-18 Thread David kerber
On 5/18/2011 8:21 AM, Dan Checkoway wrote: Gotcha...yeah, it would be trivial to slap an AtomicLong counter in a filter, but I'd hate to double the synchronization hit if tomcat already has this counter available centrally. I'd like to hear an authoritative answer from the tomcat devs, if possib

Re: Application crash after Migrate to different ESX

2011-05-17 Thread David kerber
On 5/17/2011 2:39 PM, הילה wrote: I know that after migrate, a disconnection is expected, but in my case - it crashes completely, or alternately until it works (but don't know if it's stable now). It is not a problem, it is a feature. What is your question? what is the feature here exa

Re: TomCat 7 + Socket & Java Version

2011-05-17 Thread David kerber
On 5/17/2011 10:12 AM, Micka wrote: Well because I thought that hosting a java server application by Tomcat is just perfect ! You can control a lot of thing, and you can create jsp page for administration purpose. Do you have better than Tomcat for hosting a java server application ? I thin

Re: Deployment problem on Tomcat 7.0.12

2011-05-06 Thread David kerber
On 5/6/2011 10:24 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dmitri, On 5/6/2011 10:19 AM, Dmitri Pissarenko wrote: Now I found the error. It was a malformed context.xml file. Perhaps next time you won't be so anxious to flame the members of this community b

Re: storing images

2011-05-05 Thread David kerber
On 5/5/2011 2:19 PM, alexis wrote: Hello all, im facing an issue, ive been testing for a while different approaches without success. I have a servlet that basically does . creates an image . store the image on disk . returns an html tag pointing to the stored image. reason why the servlet do

Re: Problem with connection pool

2011-04-30 Thread David Kerber
On 4/30/2011 6:58 AM, chris derham wrote: All, What do you mean by "swapped out"? Idle speculation in the face of a problem that I didn't really understand :-( 69% of all threads are sleeping on a monitor. Fully expected, since that's what they do when waiting for work to show up. This m

Re: Problem with connection pool

2011-04-29 Thread David kerber
On 4/29/2011 12:57 PM, chris derham wrote: All, I am having a weird problem with an app. We were having concurrency issues, so we setup some simple pessimistic locking - we lock a single table using select for update. We have developed a jmeter script that allows us to test the app when loaded.

Re: Connection pool race condition

2011-04-28 Thread David kerber
On 4/28/2011 8:36 AM, Peter Crowther wrote: You could use Windows' service dependency management ( http://support.microsoft.com/kb/193888) to start Tomcat only after Oracle reports that it's running. This might still cause problems if Oracle does the same as SQL Server and continues recovering a

Re: Tomcat Configuration in Multi Core Systems

2011-04-24 Thread David Kerber
time taken to handle single request. 32Gb shared among 116 processors isn't very much RAM for each process (that's why I assumed it was 16, not 116). You'll likely get a performance boost if you can give it more RAM. Regards, Sujeet David Kerber wrote: On 4/23/2011 2:31 P

Re: Tomcat Configuration in Multi Core Systems

2011-04-23 Thread David Kerber
On 4/23/2011 2:31 PM, Sujeet Singh wrote: Hi, I have two servers which has below configuration, Server A has 32 GB RAM, 4 processors each of 2.8 GHz Server B has 32 GB RAM, 116 processors each of 1.6 GHz. Both servers has tomcat installed having same configuration. Tomcat of server B is at

Re: Restarting Tomcat & Threads

2011-04-19 Thread David kerber
On 4/19/2011 10:34 AM, Zbynek Vavros wrote: - How do you kill Tomcat ? I stop its service. - You say "after start" and "I didnt [sic] start anything" in the same sentence; you're contradicting yourself. I start Tomcat which starts my webapp but connection to Lotus is started separatedlly. = I

Re: Tomcat manager fails and can't tell why.

2011-04-12 Thread David kerber
On 4/12/2011 11:52 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 4/12/2011 11:28 AM, David kerber wrote: On 4/12/2011 11:17 AM, Yucca Nel wrote: Indeed :D, Seems to be an issue when I add an ampersand to the password! That doesn't surprise me

Re: Tomcat manager fails and can't tell why.

2011-04-12 Thread David kerber
x27;re using it. D -Original Message- From: David kerber Sent: Tuesday, April 12, 2011 5:07 PM To: Tomcat Users List Subject: Re: Tomcat manager fails and can't tell why. On 4/12/2011 11:04 AM, Yucca Nel wrote: I do.. :) It confuses the heck out of me. Seems to fail because I change

Re: Tomcat manager fails and can't tell why.

2011-04-12 Thread David kerber
On 4/12/2011 11:04 AM, Yucca Nel wrote: I do.. :) It confuses the heck out of me. Seems to fail because I change to alphanumeric password that is longer than 4 chars long. I also make sure to close all browser tabs so that I Do you close the entire browser? I don't think just closing tabs wil

Re: Trouble with jdbc drivers in TC 7 - fixed

2011-04-07 Thread David Kerber
On 4/7/2011 8:02 PM, Konstantin Kolinko wrote: 2011/4/8 David Kerber: On 4/7/2011 5:57 PM, Konstantin Kolinko wrote: 2011/4/8 David kerber: To close this loop, I got it fixed. The issue was a (apparently very slightly) corrupt jodbc.jar file. I say very slightly because I could open it with

Re: Trouble with jdbc drivers in TC 7 - fixed

2011-04-07 Thread David Kerber
On 4/7/2011 5:57 PM, Konstantin Kolinko wrote: 2011/4/8 David kerber: To close this loop, I got it fixed. The issue was a (apparently very slightly) corrupt jodbc.jar file. I say very slightly because I could open it with windows explorer's .zip handling functionality and everything l

Re: Trouble with jdbc drivers in TC 7 - fixed

2011-04-07 Thread David kerber
e software update got me a good .jar file, and now it all works. Thanks for your patience! D On 4/7/2011 5:05 PM, David kerber wrote: On 4/7/2011 5:01 PM, Filip Hanik - Dev Lists wrote: The config has changed from to I don't use any of those, because TC isn't managing the pool;

Re: Trouble with jdbc drivers in TC 7

2011-04-07 Thread David kerber
ubtle difference I'm not seeing. that could be your culprit On 4/7/2011 12:08 PM, David kerber wrote: System: Windows Server 2008 R2 Standard (64-bit) JRE: 1.6.0_24 x64 TC: 7.0.11, installed in c:\Program Files\..., so it detected an x64 installation DB: Sybase ASA 9.0.2.3951, x64 vers

Re: Trouble with jdbc drivers in TC 7

2011-04-07 Thread David kerber
On 4/7/2011 3:35 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 4/7/2011 2:08 PM, David kerber wrote: System: Windows Server 2008 R2 Standard (64-bit) JRE: 1.6.0_24 x64 TC: 7.0.11, installed in c:\Program Files\..., so it detected an x64 installation

Re: Trouble with jdbc drivers in TC 7

2011-04-07 Thread David kerber
On 4/7/2011 3:28 PM, Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Trouble with jdbc drivers in TC 7 Was something changed in 7 from previous versions wrt database connections? Even if it had been changed, it shouldn't matter in your case,

Re: Trouble with jdbc drivers in TC 7

2011-04-07 Thread David kerber
On 4/7/2011 2:16 PM, Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Trouble with jdbc drivers in TC 7 All my database pooling is done in the application, so I thought putting the jodbc.jar in the WEB-INF/lib of the app would work with no need to edit my

Trouble with jdbc drivers in TC 7

2011-04-07 Thread David kerber
System: Windows Server 2008 R2 Standard (64-bit) JRE: 1.6.0_24 x64 TC: 7.0.11, installed in c:\Program Files\..., so it detected an x64 installation DB: Sybase ASA 9.0.2.3951, x64 version DB server and TC are both installed on this same machine. I'm trying to port my app from tc 5.5.someth

Re: Tomcat hardware requirments

2011-04-05 Thread David Kerber
On 4/5/2011 2:27 PM, Caldarale, Charles R wrote: From: bfackrell [mailto:bradly.h.fackr...@saic.com] Subject: Re: Tomcat hardware requirments since I only have 512 MB of RAM will have to be Windows XP. Do yourself a favor and use Linux. - Chuck Or Windows 2000, if you can get a hold of a copy

Re: Tomcat hardware requirments

2011-04-05 Thread David kerber
On 4/5/2011 12:46 PM, bfackrell wrote: What are the hardware requirements for Tomcat 7? I looked (Google and on the Apache website) I’m just finishing a college course that taught Java technologies that interact with Tomcat but I want to know more so I’ve decided to try to build my own Tomcat

Re: How to access MyWebApp from another computer through the internet

2011-04-04 Thread David kerber
On 4/4/2011 2:56 PM, Yvan Hurtado wrote: Hello, I have my web application working correctly with http://localhost:8080. Yet, I cannot access it from another computer trough internet. I've change 'localhost' to the computer's ip where tomcat 5.5.33 is installed: http://192.168.1.111:8080/myWebAp

Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s)

2011-03-14 Thread David kerber
On 3/14/2011 1:31 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 3/14/2011 1:22 PM, David kerber wrote: On 3/14/2011 1:01 PM, Christopher Schultz wrote: ... We are going into a production upgrade cycle and I'd like to plan for the OS type: if w

Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s)

2011-03-14 Thread David kerber
On 3/14/2011 1:01 PM, Christopher Schultz wrote: ... We are going into a production upgrade cycle and I'd like to plan for the OS type: if we get no benefit from running a 64-bit OS then I won't bother installing one. If you're using windows server machines, Server 2008 R2 (and maybe Server

Re: Performance 5.5 vs 6 vs 7

2011-03-14 Thread David kerber
On 3/14/2011 8:21 AM, Peter Crowther wrote: On 14 March 2011 12:08, David kerber wrote: Dave, could you give us any more information about your network? What is the piece that's at 80% utilisation when you see the trouble? Is it a point-to-point connection, or an Ethernet LAN, or what

Re: Performance 5.5 vs 6 vs 7

2011-03-14 Thread David kerber
On 3/14/2011 3:12 AM, Peter Crowther wrote: On 13 March 2011 21:01, Tony Anecito wrote: As someone mentioned the network can imit you. If your bandwidth utilization is at 60% or over you are in trouble since collisions start to become a serious issue. Collisions may or may not be an issue, de

Re: Performance 5.5 vs 6 vs 7

2011-03-13 Thread David Kerber
not Tomcat. Regards, -Tony - Original Message ---- From: David Kerber To: Tomcat Users List Sent: Sat, March 12, 2011 6:41:30 AM Subject: Re: Performance 5.5 vs 6 vs 7 I've thought about that, but I would think I would be maxing out the cpu if tomcat's processing were the limit. I&#x

Re: Performance 5.5 vs 6 vs 7

2011-03-12 Thread David Kerber
ny - Original Message ---- From: David kerber To: Tomcat Users List Sent: Fri, March 11, 2011 1:02:12 PM Subject: Performance 5.5 vs 6 vs 7 How might I expect the performance of 7 to compare to a late rev of 5.5 or 6.0.x, running under JRE 6? Specifically, my application has lots of small,

Performance 5.5 vs 6 vs 7

2011-03-11 Thread David kerber
How might I expect the performance of 7 to compare to a late rev of 5.5 or 6.0.x, running under JRE 6? Specifically, my application has lots of small, simple requests, and the app does nothing but de-obfuscate (it's not really sophisticated enough to call it encryption) the data and save it to

Re: Cannot create a link to a file - suspecting tomcat is the issue

2011-03-10 Thread David kerber
On 3/10/2011 10:57 AM, Mikolaj Rydzewski wrote: On Fri, 11 Mar 2011 04:44:27 +1300, John C wrote: Actually I have one more question that hopefully you can help with. How do you delete a file after a user downloads/views it or closes the browser window? Is there any way to track this or is the

Re: Cannot create a link to a file - suspecting tomcat is the issue

2011-03-10 Thread David kerber
On 3/10/2011 10:21 AM, John C wrote: In case I did not explain myself well. I am trying to create a link to a file in a webpage. The link works fine using Apache + Tomcat if the file and link are both relative. This means that the html file containing the link to the text file is located in t

Re: Tomcat NTLM Authentication

2011-03-07 Thread David kerber
for a few months now with no trouble, though we're not using NTLM authentication with it, and the SQL we're using isn't very demanding. 2011/3/7 David kerber On 3/7/2011 8:10 AM, הילה wrote: Hey, I cannot look for it in Microsoft, since the Java is of SUN, and the implementation

Re: Tomcat NTLM Authentication

2011-03-07 Thread David kerber
On 3/7/2011 8:10 AM, הילה wrote: Hey, I cannot look for it in Microsoft, since the Java is of SUN, and the implementation is on the Java side, not the SQL Microsoft side. Microsoft may have a jdbc driver you could use, though. D Option no' 1 :] User and password should not exist in clear t

Getting http connection status

2011-03-03 Thread David kerber
I should know this because I've done it before, but I'm drawing a blank on it now. How do I get a status on the http connection threads in tc 5.5.somethingLate? I'm looking for some performance bottlenecks that right now appear to be related to the number of concurrent connections it is hand

Re: IIS7/isapi/tomcat performance

2011-03-02 Thread David kerber
On 3/2/2011 12:03 PM, Tony Anecito wrote: As stated in my message I was using the -server option for the server jvm. -Tony My bad; I missed that. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: How to debug WAR package?

2011-03-02 Thread David kerber
On 3/2/2011 11:31 AM, ganu MailList wrote: I use a WAR package on tomcat to create a web service, this WAR package call JNI dll to do something. Now I want to debug this WAR package and JNI dll,How can I do it ? Visual Studio support debug JNI dll ? Are you debugging the .war, or the

Re: IIS7/isapi/tomcat performance

2011-03-01 Thread David kerber
On 3/1/2011 4:07 PM, Tony Anecito wrote: Thanks Chris I will take a look at it. I am just trying to figure out what is the fastest was to handle my app. I was shooting for less than 1msec at Tomcat which I not have done. Now I want to get to 100 microseconds. Years ago from an logical architectu

Re: programming question

2011-02-24 Thread David kerber
On 2/24/2011 11:35 AM, chris derham wrote: When I mention them that their programs should handle the situation resulting from the database bounce automagically and not the dba handling the web app or Tomcat shutdowns and restarts, they look at me like I came from Mars or Saturn :-) If you cod

Re: programming question

2011-02-24 Thread David kerber
On 2/24/2011 10:49 AM, János Löbb wrote: Hi, What is the very basic structure of a web application that is connected to a database through a connection pool, but would not require to restart itself or restart Tomcat when the database goes down - let say for maintenance ? Telling otherwise how

Re: Configuration of tomcat to use 64 bit jvm on 64 bit solaris

2011-02-17 Thread David kerber
On 2/17/2011 8:37 AM, Amol Puglia wrote: Hello Team, Kindly let me know how to configure tomcat to use 64 bit jvm on 64 bit solaris machine. Thanks in advance. Amol If you have the jvm already installed, TC should use it automatically. --

Re: hi

2011-02-16 Thread David kerber
On 2/16/2011 2:04 PM, Anup Niroula wrote: Hi, Thanx for the reply. Is there any way i can provide domain nameinstead of ip address to be accessed with in network. ? If your internal dns server will resolve it to the correct ip address, it will work. Sincerely, Anup On Wed, Feb 16, 20

Re: Tomcat 6 Memory Heap Limit

2011-02-15 Thread David kerber
9278 (Cell) -Original Message----- From: David kerber [mailto:dcker...@verizon.net] Sent: Tuesday, February 15, 2011 9:11 AM To: Tomcat Users List Subject: Re: Tomcat 6 Memory Heap Limit On 2/15/2011 10:57 AM, Johnson, Rob E wrote: It is a stand alone 32 bit server The most a 32-bit OS can g

Re: Tomcat 6 Memory Heap Limit

2011-02-15 Thread David kerber
On 2/15/2011 11:03 AM, Johnson, Rob E wrote: If I move to the 64 bit how high can I push the size? Higher than you can count (actually, whatever the OS and hardware will support). Microsoft's list: http://msdn.microsoft.com/en-us/library/aa366778%28v=vs.85%29.aspx ---

Re: Tomcat 6 Memory Heap Limit

2011-02-15 Thread David kerber
On 2/15/2011 10:57 AM, Johnson, Rob E wrote: It is a stand alone 32 bit server The most a 32-bit OS can give to any process is ~3GB, and anything over 2GB requires changing some boot settings. But you'll be able to run a bunch of tomcat instances, all with 2 or 3GB, with that much physical R

Re: Performance Tuning Tomcat 7...

2011-02-12 Thread David Kerber
On 2/12/2011 1:27 PM, Tony Anecito wrote: Right now for most of my transactions I get less than 5 microseconds and around 1.2msec is spent on getting to and out of Tomcat and out of to/out of the client call. So people were saying look at better parsers or replacing whatever does the parsing. I

Re: Is IBM Right About Java?

2011-02-08 Thread David kerber
On 2/8/2011 12:27 PM, Robinson, Eric wrote: I would like to set all JVMs to -Xms=32M -Xmx=512M and let the system figure out how much memory each instance really needs. That should work, at the expense of some thrashing of the heap size as the load waxes and wanes. As I understand it, it w

Re: Is IBM Right About Java?

2011-02-08 Thread David kerber
On 2/8/2011 11:27 AM, Robinson, Eric wrote: Saw this statement on an IBM web site: "Most JVMs grow towards the upper heap limit (-Xmx/-mx options) when more memory is required, and do not return memory to the operating system, even if the memory is no longer needed, until the JVM process termina

Re: cannot access welcome page on Windows Server 2003 R2 SP2

2011-02-01 Thread David kerber
On 2/1/2011 12:40 PM, Brett Delle Grazie wrote: Hi, On 1 February 2011 16:50, Philip Anil-QBW348 wrote: I found, using netstat, that process with pid 4 opened port 80. I killed the process tree from Task Manager and the system shut down saying it was a system critical process (DCOM). Might b

Re: How to schedule events on Tomcat?

2010-12-02 Thread David kerber
On 12/2/2010 3:17 PM, Joseph Morgan wrote: Why can't you use process scheduling of your OS? -Original Message- From: Brian [mailto:bbprefix-tom...@yahoo.com] Sent: Thursday, December 02, 2010 1:52 PM To: users@tomcat.apache.org Subject: How to schedule events on Tomcat? Hi, I have a re

Re: Secondary instance of Tomcat on single server does not process requests

2010-11-04 Thread David kerber
On 11/4/2010 12:56 PM, Ari King wrote: Hi all, My secondary instance of Tomcat 6 does not process requests -- it simply times out for everything. The only log is catalina.out and there are not errors in it. Anyone know what could be wrong? I'm using Tomcat 6, Java 1.6.0_20, on Centos 5.5 Final.

Re: Deploying Tomcat app with Ant to non-webapps location (Windows)

2010-11-03 Thread David kerber
On 11/3/2010 1:02 PM, Vikram Vaswani wrote: Hi David, When you say "your script", which script do you mean? I'm using the standard Ant build.xml that's shown in the Tomcat online docs. That's the script you need to change; point it to where you want your app to end up. Can you suggest which

Re: Deploying Tomcat app with Ant to non-webapps location (Windows)

2010-11-03 Thread David kerber
On 11/3/2010 5:26 AM, Vikram Vaswani wrote: Hi Charles, I am able to do this manually, by creating a separate context file in Catalina/localhost/lcs.xml and specifying the C:\lcs path as the Context docbase. However, I would like this to happen automatically. What do you want to happen automa

Re: tomcat6.0.29 on debian lenny

2010-11-01 Thread David kerber
On 11/1/2010 11:05 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christoph, On 10/29/2010 4:51 AM, Christoph Kukulies wrote: I ran a tomcat 5.5 on an older debian formerly and after an upgrade to 5.0.6 (debian lenny) Wait, what? You "upgraded" from 5.5 to 5.0?

Re: tomcat6.0.29 on debian lenny

2010-10-29 Thread David kerber
On 10/29/2010 5:40 AM, Christoph Kukulies wrote: ... Ooops. Sorry, I noticed that I had already copied over my 5.5 system.xml into the conf directory. Using the original server.xml now works. Yeah, that bit me too, when I migrated from 5.5.x to 6.0.x. D ---

Re: Late start of context

2010-10-28 Thread David kerber
On 10/28/2010 11:04 AM, Pedro Rodrigo Cardiel wrote: El jue, 28-10-2010 a las 09:46 -0500, Caldarale, Charles R escribió: What do you expect to happen when requests arrive for the non-started webapp during the delay period? Tomcat returns the same as when you stop an application Generall

Ya gotta love it...

2010-10-01 Thread David kerber
When you can fix a long standing bug simply by deleting 60 or 80 lines of code and modifying 6 other lines. Of course, it's kind of embarrassing that I allowed that bug to creep in in the first place... D - To unsubscribe, e

Re: [OT] Why an email list, and not a forum?

2010-09-25 Thread David Kerber
On 9/25/2010 12:29 PM, Nicklas Holmgren wrote: I also prefer forums very very much to email lists. Now I've got three or four email groups I've joined and it feels like my inbox is filled with spam rather than info or stuff I'd want to read/answer even tho it's related to stuff I really should b

Re: Why an email list, and not a forum?

2010-09-24 Thread David kerber
On 9/24/2010 4:06 AM, Wesley Acheson wrote: ... The point is once your involved in something, doing more than just looking for answers a Mailing list is much better, it involves you much more directly. I don't have to check 10 sites for my 10 subscribed mailing lists. The emails are just there

Re: [OT] Tomcat on Linux

2010-09-16 Thread David kerber
On 9/16/2010 2:36 PM, André Warnier wrote: David kerber wrote: On 9/16/2010 12:57 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 9/16/2010 11:32 AM, André Warnier wrote: The load average is not particularly impressive however. One could almost suspect

Re: [OT] Tomcat on Linux

2010-09-16 Thread David kerber
On 9/16/2010 12:57 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 9/16/2010 11:32 AM, André Warnier wrote: The load average is not particularly impressive however. One could almost suspect that you keep this machine coddled away from any real network, ju

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