Re: nio connector

2016-05-24 Thread Igor Cicimov
On 24 May 2016 12:33 pm, "Christopher Schultz" wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Jakub, > > On 5/23/16 8:03 PM, Ja kub wrote: > > Christopher, Thx for response, pleas confirm or deny if I > > understand well. > > > > BIO uses thread per

Re: Job priority (AS/400s)

2016-05-24 Thread Daniel Baktiar
Hi James, Just out of curiosity, does JVM for Tomcat runs on PASE or as native in OS/400? Regards, Daniel On Fri, Apr 1, 2016 at 6:49 AM James H. H. Lampert wrote: > On 3/31/16, 2:30 PM, Christopher Schultz wrote: > > > Wild Googling has produced this page: > >

RE: tomcat8.0.33 classpath/classloader issues

2016-05-24 Thread Venkata Reddy P
Can anyone please help me on this? From: Venkata Reddy P Sent: 24 May 2016 14:44 To: Tomcat Users List Subject: tomcat8.0.33 classpath/classloader issues Hi, Currently I am migrating my existing tomcat6.0.x to tomcat8.0.33 version. 1) I have deployed four web applications inside webapps

Re: nio connector

2016-05-24 Thread Ja kub
Christopher, Great Thanks. BR Jakub On Tue, May 24, 2016 at 4:33 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Jakub, > > On 5/23/16 8:03 PM, Ja kub wrote: > > Christopher, Thx for response, pleas confirm or deny if I > >

Re: tomcat cluster questions

2016-05-24 Thread Keiichi Fujino
Hi, 2016-05-23 18:56 GMT+09:00 Hans-Joachim Kliemeck < hans-joachim.kliem...@hays.de>: > Hey, > > > If you do not set the LocalMember, > > the implementation class of local members will become MemberImpl rather > than the StaticMember. > > In addition, you can not explicitly specify the domain

Re: The connection was reset.

2016-05-24 Thread tomcat
On 24.05.2016 09:55, Bjørn T Johansen wrote: On Mon, 23 May 2016 15:25:54 +0200 André Warnier (tomcat) wrote: On 23.05.2016 15:08, Bjørn T Johansen wrote: On Mon, 23 May 2016 14:54:14 +0200 André Warnier (tomcat) wrote: On 23.05.2016 14:48, Bjørn T

Re: The connection was reset.

2016-05-24 Thread Bjørn T Johansen
On Mon, 23 May 2016 15:25:54 +0200 André Warnier (tomcat) wrote: > On 23.05.2016 15:08, Bjørn T Johansen wrote: > > On Mon, 23 May 2016 14:54:14 +0200 > > André Warnier (tomcat) wrote: > > > >> On 23.05.2016 14:48, Bjørn T Johansen wrote: > >>> On Mon, 23

tomcat8.0.33 classpath/classloader issues

2016-05-24 Thread Venkata Reddy P
Hi, Currently I am migrating my existing tomcat6.0.x to tomcat8.0.33 version. 1) I have deployed four web applications inside webapps folder, all these 4 web applications use the few common jars which I was (in tomcat6.0.x) setting as classpath variable in setclasspath.bat as below

[SECURITY] Java Deserialization, JMX and CVE-2016-3427

2016-05-24 Thread Mark Thomas
TL;DR If you use remote JMX, you need to update your JVM to address CVE-2016-3427 For the longer version, see the blog post I just published on this: http://engineering.pivotal.io/post/java-deserialization-jmx/ Mark - To

proper web application logging

2016-05-24 Thread Campbell, Lance
Tomcat 8.0.35 The below question is not about logging Tomcat internal activity. This is about logging web applications running within Tomcat. I have been using tomcat forever. I have been manually adding the Log4J 1.2 JAR file into my web application. Then using Log4J for web application

Problem with monitoring with JMX

2016-05-24 Thread Edwin Quijada
Hi! I am trying to monitor my Tomcat server using JMX remote when I configure the JMX protocol when I try to start Tomcat I get this Could not load Logmanager "org.apache.juli.ClassLoaderLogManager" java.lang.ClassNotFoundException: org.apache.juli.ClassLoaderLogManager at

Re: Problem with monitoring with JMX

2016-05-24 Thread Edwin Quijada
What are shared apps? I use JAVA_OPTS and it works ! But now I dont know if it is correct From: Niranjan Babu Bommu Sent: Tuesday, May 24, 2016 8:31 PM To: Tomcat Users List Subject: Re: Problem with monitoring with JMX make

Re: Problem with monitoring with JMX

2016-05-24 Thread tomcat
To both : Do not guess. Read the start of the "bin/catalina.sh" script (Linux) or the "bin/catalina.bat" script (Windows). It explains the difference between JAVA_OPTS and CATALINA_OPTS. It also recommends that you should not modify either catalina.sh/bat or startup.bat/sh or

Re: Problem with monitoring with JMX

2016-05-24 Thread Niranjan Babu Bommu
I think this would be JAVA_OPTS. CATALINA_OPTS="-Xms512M -Xmx1024M -server -XX:+UseParallelGC" On Tue, May 24, 2016 at 2:50 PM, Edwin Quijada wrote: > Hi! > I am trying to monitor my Tomcat server using JMX remote when I configure > the JMX protocol when I try to

Re: Problem with monitoring with JMX

2016-05-24 Thread Niranjan Babu Bommu
can you try putting config in startup script? CATALINA_OPTS="-Xms512M -Xmx1024M -server -XX:+UseParallelGC" CATALINA_OPTS="$CATALINA_OPTS -Dcom.sun.management.jmxremote \ -Dcom.sun.management.jmxremote.port= \ -Dcom.sun.management.jmxremote.authenticate=false \

Re: Problem with monitoring with JMX

2016-05-24 Thread Edwin Quijada
I read that is better use CATALINA_OPTS instead of JAVA_OPTS From: Niranjan Babu Bommu Sent: Tuesday, May 24, 2016 7:44 PM To: Tomcat Users List Subject: Re: Problem with monitoring with JMX I think this would be JAVA_OPTS.

JNDI DataSource in Tomcat 8: maxTotal and maxWaitMillis

2016-05-24 Thread Woonsan Ko
Hi, Since 8.0, I think we should use maxTotal instead of maxActive and maxWaitMillis instead of maxWait. [1,2] However, if I use maxTotal for instance, the jmx console doesn't show it but show the old maxActive value (100, probably the default value?). Browsing the source,

Re: Problem with monitoring with JMX

2016-05-24 Thread Edwin Quijada
I didnt want to put on startup script because it is not correct I read this From: Niranjan Babu Bommu Sent: Tuesday, May 24, 2016 8:36 PM To: Tomcat Users List Subject: Re: Problem with monitoring with JMX can you try putting

Re: Problem with monitoring with JMX

2016-05-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Edwin, On 5/24/16 5:03 PM, Edwin Quijada wrote: > What are shared apps? I use JAVA_OPTS and it works ! But now I dont > know if it is correct CATALINA_OPTS should be the right one. JAVA_OPTS is used for multiple tools, and will configure every JVM

Re: Problem with monitoring with JMX

2016-05-24 Thread Niranjan Babu Bommu
make sense, if you are not using shared apps better to use CATALINA_OPTS. On Tue, May 24, 2016 at 4:07 PM, Edwin Quijada wrote: > I read that is better use CATALINA_OPTS instead of JAVA_OPTS > > > From: Niranjan Babu Bommu

Resetting mod_jk balancer worker errors stat only

2016-05-24 Thread Christopher Schultz
All, I haven't yet tried the obvious -- to just slam this value into the balancer working using a FORM POST -- but I was wondering if it was possible to "reset" the "errors" stat for a balancer worker without resetting all of the stats. For example, I have these two workers here:

Re: Problem with monitoring with JMX

2016-05-24 Thread Edwin Quijada
Tomcat 8.0.33 Java 1.8 Debian 8 From: Christopher Schultz Sent: Tuesday, May 24, 2016 9:45 PM To: Tomcat Users List Subject: Re: Problem with monitoring with JMX -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Edwin, On