Configuring access to an external directory

2012-11-24 Thread Baron Von Awsm
Our web app may be deployed to a Tomcat version 6 or higher, hence Java version 5 or higher. It may be deployed to a Tomcat running on a Windows-derivative OS or Unix-derivative OS. We have a requirement that can be stated as follows, * The web app needs to be able to read from and write to a dir

Re: Tomcat performance problem

2012-11-24 Thread Tony Anecito
Hi Alex,   Typically I have found the first issue is the response time of the database queries. Threads and sockets will start to reach a limit when this happens. Then after that is looked at then the next issue will be understanding what is really possible with the system. Just going from EJB co

Re: get the incoming TCP protocol type

2012-11-24 Thread Mark Eggers
On 11/24/2012 2:47 PM, André Warnier wrote: Ooops, sorry, wrong list. Please ignore. André Warnier wrote: Torsten Förtsch wrote: On 11/24/2012 08:11 PM, Fred Moyer wrote: On Sat, Nov 24, 2012 at 7:58 AM, André Warnier wrote: etc... -

Re: get the incoming TCP protocol type

2012-11-24 Thread André Warnier
Ooops, sorry, wrong list. Please ignore. André Warnier wrote: Torsten Förtsch wrote: On 11/24/2012 08:11 PM, Fred Moyer wrote: On Sat, Nov 24, 2012 at 7:58 AM, André Warnier wrote: etc... - To unsubscribe, e-mail: users-un

HttpServletReponse#sendError(int) behavior in ErrorReportValve

2012-11-24 Thread Terence M. Bandoian
On 11/23/2012 3:09 PM, Michael-O wrote: Hi, I've been struggling recently with this builtin valve and some Spring-based REST services. I some cases I do return states like 404 or 400. SendError seems to be the right thing to do but Tomcat alters the response with the HTML page. Which is highl

Re: get the incoming TCP protocol type

2012-11-24 Thread André Warnier
Torsten Förtsch wrote: On 11/24/2012 08:11 PM, Fred Moyer wrote: On Sat, Nov 24, 2012 at 7:58 AM, André Warnier wrote: Inside a mod_perl2 request handler, how can I find out if the current request was received via HTTP or HTTPS ? Torsten is the author of this module, so he can explain it in m

RE: TC 7.0.33 startup performance...

2012-11-24 Thread Tony Anecito
Thanks Chuck I will try that.   -Tony --- On Sat, 11/24/12, Caldarale, Charles R wrote: From: Caldarale, Charles R Subject: RE: TC 7.0.33 startup performance... To: "Tomcat Users List" Date: Saturday, November 24, 2012, 12:52 PM > From: Tony Anecito [mailto:adanec...@yahoo.com] > Subject:

RE: TC 7.0.33 startup performance...

2012-11-24 Thread Caldarale, Charles R
> From: Tony Anecito [mailto:adanec...@yahoo.com] > Subject: TC 7.0.33 startup performance...   > Is there some tuning I can try to improve the startup? You can try playing with the startStopThreads attribute on : http://tomcat.apache.org/tomcat-7.0-doc/config/host.html If you have multiple ele

Re: How do I know if native plugin in use?

2012-11-24 Thread Zorro
Op 24-11-2012 20:37, Tony Anecito schreef: Hi All, I downloaded and installed TC 7.0.33 64-bit and was wondering how do I know the native plugin is being used? Thanks, -Tony If you see in your catalina log a line like this: INFO: The APR based Apache Tomcat Native library which allows opt

RE: How do I know if native plugin in use?

2012-11-24 Thread Caldarale, Charles R
> From: Tony Anecito [mailto:adanec...@yahoo.com] > Subject: How do I know if native plugin in use?   > I downloaded and installed TC 7.0.33 64-bit and was wondering how do > I know the native plugin is being used? Rather depends on what you mean by "native plugin". If you're referring to the

TC 7.0.33 startup performance...

2012-11-24 Thread Tony Anecito
Hi All,   I noticed from my logs that when upgrading from 7.0.27 to 7.0.33 my startup time went from 19.8 to 17.5 seconds. Is there some tuning I can try to improve the startup? I am not sure how much it improved my web service requests yet. It has 5 web services and a blog app.   Regards, -Tony

Re: Upgrading from Apache Tomcat 7.0.22 to 7.0.32

2012-11-24 Thread Pid
On 23/11/2012 11:50, Aditi Sinha wrote: > Hi, > > What is the best way to upgrade from Tomcat version 7.0.22 to 7.0.32? > I have gone through the link http://tomcat.apache.org/migration.html but not > sure what steps should be followed for upgrade. > We are installing Tomcat using the zip way. In

Re: Using the Tomcat Native Library can only connect over ipv6 But not over ipv4

2012-11-24 Thread Zorro
Op 23-11-2012 23:00, André Warnier schreef: Zorro wrote: Op 23-11-2012 22:04, André Warnier schreef: Zorro wrote: Op 23-11-2012 20:06, Christopher Schultz schreef: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zorro, On 11/22/12 5:07 PM, Zorro wrote: Hi, I tried to use the Apache Tomcat N

Re: How to stop mod_jk.log in apache 2.2

2012-11-24 Thread Felix Schumacher
Hi Lokesh, Am Freitag, den 23.11.2012, 18:12 +0530 schrieb lokesh borse: > Hi Felix, > > Thanks for the link however I could not find how to stop mod_jk logs on > Windows. There is a command line parameter given for Linux --disable-trace > but could not find anything for windows. Can I set JKLogl