Re: Best practices for shared classloader use?

2013-06-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chris, On 6/4/13 12:56 PM, chris derham wrote: >> I am considering using the Tomcat 7 shared classloader to reduce >> the memory footprint of my web apps. > > Can you provide some approximate numbers as to what the current > memory footprint is? Al

Re: Best practices for shared classloader use?

2013-06-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Daniel, On 6/4/13 12:44 PM, Daniel Mikusa wrote: > On Jun 4, 2013, at 11:36 AM, Don Asper wrote: > >> I am considering using the Tomcat 7 shared classloader to reduce >> the memory footprint of my web apps. > > IMHO, don't do this unless… > > 1.

Re: Best practices for shared classloader use?

2013-06-04 Thread chris derham
> I am considering using the Tomcat 7 shared classloader to reduce the memory > footprint of my web apps. Can you provide some approximate numbers as to what the current memory footprint is? Also some details of how many tomcat instances you have running and/or how many versions of the applicatio

RE: Best practices for shared classloader use?

2013-06-04 Thread Don Asper
Thanks for your example and advice, Daniel. -Original Message- From: Daniel Mikusa [mailto:dmik...@gopivotal.com] Sent: Tuesday, June 04, 2013 12:45 PM To: Tomcat Users List Subject: Re: Best practices for shared classloader use? On Jun 4, 2013, at 11:36 AM, Don Asper wrote: > I am cons

Re: Best practices for shared classloader use?

2013-06-04 Thread Daniel Mikusa
On Jun 4, 2013, at 11:36 AM, Don Asper wrote: > I am considering using the Tomcat 7 shared classloader to reduce the memory > footprint of my web apps. IMHO, don't do this unless… 1.) You are very, very sure what you are doing 2.) You've analyzed the memory savings that you'll achieve by

Re: Best practices for shared classloader use?

2013-06-04 Thread mailingl...@j-b-s.de
Hi Don! Usually each Webapp has its own classloader thus two webapps can have different versions of the same class. Classloaders are chained so if a class is not found search continues in the next classloader. Shared just means one classloader is used by different webapps thus you may run into

RE: Best practices for shared classloader use?

2013-06-04 Thread Don Asper
Sorry, I was not clear in my first post. I want to load the jars containing functionality that is common to my web apps using the shared classloader. I anticipate that there can be problems if different versions of the same class are on the shared classpath. I also suspect that any common jar

Re: Best practices for shared classloader use?

2013-06-04 Thread mailingl...@j-b-s.de
Hi Don! You can try to move only common libs shared by all yor different webapps to the shared classloader but leave the application core in seperate war files? Jens Sent from my iPhone On 04.06.2013, at 17:36, Don Asper wrote: > I am considering using the Tomcat 7 shared classloader to r

Best practices for shared classloader use?

2013-06-04 Thread Don Asper
I am considering using the Tomcat 7 shared classloader to reduce the memory footprint of my web apps. But, I'm afraid that loading my application jar files into a single classloader will cause lots of problems. I'm aware that the shared classpath should not specify multiple versions of the sam

RE: .net web service client calling Tomcat 7

2013-06-04 Thread Bean William R
> Is there a RFC that describes best behaviour of server and client in this > situation? My guess is that the disagreement comes somewhere in RFC 2616 section 8.2.3 - Use of the 100 (Continue) Status. http://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html > On my opinion Tomcat behaves correct

RE: IE 8 and before refusing to download files (I hate IE)

2013-06-04 Thread Jeffrey Janner
> -Original Message- > From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] > Sent: Tuesday, June 04, 2013 5:51 AM > To: Tomcat Users List > Subject: Re: IE 8 and before refusing to download files (I hate IE) > > 2013/6/4 Jeffrey Janner : > >> -Original Message- > >> From: Jeff

Re: SlowQueryReport

2013-06-04 Thread Daniel Mikusa
On Jun 4, 2013, at 6:26 AM, Lutischán Ferenc wrote: > Dear Users, > > Please help to me: > How to get SlowQueryReport statistics? Usually these are logged as WARN messages. Unless you use SlowQueryReportJmx and then they are logged and sent as JMX notifications. > > I tried: > > Map map =

Re: .net web service client calling Tomcat 7

2013-06-04 Thread Jan Vávra
Is there a RFC that describes best behaviour of server and client in this situation? On my opinion Tomcat behaves correctly. If client doesn't send proper credentials it is dangerous and useless to read all input data. I've switched off the connection keep alive at Connector config. And now cl

Re: IE 8 and before refusing to download files (I hate IE)

2013-06-04 Thread Konstantin Kolinko
2013/6/4 Jeffrey Janner : >> -Original Message- >> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] >> Sent: Monday, June 03, 2013 3:39 PM >> To: 'Tomcat Users List'; 'verlag.preis...@t-online.de' >> Subject: RE: IE 8 and before refusing to download files (I hate IE) >> >> > -O

SlowQueryReport

2013-06-04 Thread Lutischán Ferenc
Dear Users, Please help to me: How to get SlowQueryReport statistics? I tried: Map map = SlowQueryReport.getPoolStats("java:comp/env/jdbc/xxx"); and Map map = SlowQueryReport.getPoolStats("xxx"); The result in both case was a null map. Thanks, Ferenc ---

Re: Tomcat Native with APR/SSL

2013-06-04 Thread derri
I've found error . It was just wrong path to certificate and key. Thx at all. - Mail original - De: de...@cines.fr À: users@tomcat.apache.org Envoyé: Mardi 4 Juin 2013 10:35:40 Objet: Tomcat Native with APR/SSL Hi, For 2 or 3 days , I've had a problem with tomcat native.I

Tomcat Native with APR/SSL

2013-06-04 Thread derri
Hi, For 2 or 3 days , I've had a problem with tomcat native.I installed apr 1.4..6 , apr-util 1.5.2 and openssl 1.1.1e then tomcat native 1.1.27. When starting tomcat 7.0.40 , I've had this error : INFO: Loaded APR based Apache Tomcat Native library 1.1.27 using APR version 1.4.6. mai 3