Re: Unable to logon to /manager/html - "TOMCAT6"

2014-03-05 Thread Mark Eggers
On 3/5/2014 10:08 PM, N, Ravikiran wrote: Hi, I have configured Tomcat6.0.24 on RHEL6.3 by installing the corresponding rpms. [root@happy16 /]# rpm -qa | grep tomcat tomcat6-lib-6.0.24-45.el6.noarch tomcat6-jsp-2.1-api-6.0.24-45.el6.noarch tomcat6-servlet-2.5-api-6.0.24-45.el6.noarch tomcat6-ad

Unable to logon to /manager/html - "TOMCAT6"

2014-03-05 Thread N, Ravikiran
Hi, I have configured Tomcat6.0.24 on RHEL6.3 by installing the corresponding rpms. [root@happy16 /]# rpm -qa | grep tomcat tomcat6-lib-6.0.24-45.el6.noarch tomcat6-jsp-2.1-api-6.0.24-45.el6.noarch tomcat6-servlet-2.5-api-6.0.24-45.el6.noarch tomcat6-admin-webapps-6.0.24-45.el6.noarch tomcat6-6.0

Re: Stream closed- IOException exception

2014-03-05 Thread Prashant Kadam
On Wed, Mar 5, 2014 at 9:34 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Prashant, > > On 3/5/14, 9:14 AM, Prashant Kadam wrote: > > On Wed, Mar 5, 2014 at 7:11 PM, Prashant Kadam > > wrote: > > > >> > >> > >> > >> On Mon, M

Re: understanding jdbc pool

2014-03-05 Thread Neven Cvetkovic
On Wed, Mar 5, 2014 at 3:15 PM, S Ahmed wrote: > Hi, > > With jdbc pool, is each socket connection in the pool handled by a separate > thread? > > Ahmed, thanks for asking this question - it is sometimes very confusing with all different kind of pools: connection pools, threadpools, etc... Chris

Re: Tomcat 6 vs. Tomcat 7 vs Cisco Load Balancer vs Java Applet

2014-03-05 Thread Bill Davidson
Isn't the applet supposed to send browser cookies regardless of if Javascript can see them? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat 6 vs. Tomcat 7 vs Cisco Load Balancer vs Java Applet

2014-03-05 Thread Bill Davidson
On 3/5/2014 2:28 PM, Konstantin Kolinko wrote: The HttpOnly flag is used by cookies sent by server to the client. There is no point checking it on request.getCookies(), as browsers do not send it back (neither do they send 'path', 'secure' etc.). 1. Isn't that what gets sent from the server

Re: Tomcat 6 vs. Tomcat 7 vs Cisco Load Balancer vs Java Applet

2014-03-05 Thread Bill Davidson
On 3/5/2014 2:28 PM, Konstantin Kolinko wrote: The HttpOnly flag is used by cookies sent by server to the client. There is no point checking it on request.getCookies(), as browsers do not send it back (neither do they send 'path', 'secure' etc.). Isn't that showing what the server is sending

Re: Problem with jmxproxy / Tomcat 8.0.3

2014-03-05 Thread Konstantin Kolinko
2014-03-06 1:40 GMT+04:00 Christopher Schultz : > > On 3/5/14, 4:20 PM, Christopher Schultz wrote: >> All, >> >> For some reason, I'm not able to access my Tomcat's JMX beans >> remotely using jconsole, etc. and so I figured I'd try using the >> jmxproxy servlet in the manager webapp. I've deployed

Re: Tomcat 6 vs. Tomcat 7 vs Cisco Load Balancer vs Java Applet

2014-03-05 Thread Konstantin Kolinko
2014-03-06 2:11 GMT+04:00 Bill Davidson : > On 3/5/2014 12:52 PM, Konstantin Kolinko wrote: >>Session cookie is HttpOnly in Tomcat 7. >> >>If you missed that in migration guide, it is here: >>http://tomcat.apache.org/migration-7.html#Session_cookie_configuration > > I added this to some code that i

Re: Tomcat 6 vs. Tomcat 7 vs Cisco Load Balancer vs Java Applet

2014-03-05 Thread Bill Davidson
On 3/5/2014 12:52 PM, Konstantin Kolinko wrote: >Session cookie is HttpOnly in Tomcat 7. > >If you missed that in migration guide, it is here: >http://tomcat.apache.org/migration-7.html#Session_cookie_configuration I added this to some code that is executed by most requests that we use to track o

RE: tomcat 6 refuses mod_jk connections after server runs for a couple of days

2014-03-05 Thread Isaac Gonzalez
-Original Message- From: Daniel Mikusa [mailto:dmik...@gopivotal.com] Sent: Tuesday, March 04, 2014 12:42 PM To: Tomcat Users List Subject: Re: tomcat 6 refuses mod_jk connections after server runs for a couple of days On Mar 4, 2014, at 1:55 PM, Isaac Gonzalez wrote: > Dan, > > ___

Re: Performance drop under load for Tomcat8/DBCP2 with respect to Tomcat 7/DBCP1

2014-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, On 3/5/14, 10:01 AM, Christopher Schultz wrote: > Oddly enough, things seem to work with only an updated > configuration: setting maxInitial and maxTotal instead of maxActive > and maxWaitMillis instead of maxWait (actually, I have both sets of

Re: understanding jdbc pool

2014-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ahmed, On 3/5/14, 3:15 PM, S Ahmed wrote: > With jdbc pool, is each socket connection in the pool handled by a > separate thread? Why would a JDBC connection need a thread? > Say you have 20 connections set to be open at minimum, does that > mean

Re: Problem with jmxproxy / Tomcat 8.0.3

2014-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, On 3/5/14, 4:20 PM, Christopher Schultz wrote: > All, > > For some reason, I'm not able to access my Tomcat's JMX beans > remotely using jconsole, etc. and so I figured I'd try using the > jmxproxy servlet in the manager webapp. I've deployed

Problem with jmxproxy / Tomcat 8.0.3

2014-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, For some reason, I'm not able to access my Tomcat's JMX beans remotely using jconsole, etc. and so I figured I'd try using the jmxproxy servlet in the manager webapp. I've deployed the manager webapp in the same way I've done in many other inst

Re: Tomcat 6 vs. Tomcat 7 vs Cisco Load Balancer vs Java Applet

2014-03-05 Thread Konstantin Kolinko
2014-03-06 0:30 GMT+04:00 Bill Davidson : > The Java version wasn't it. Recompiled and redeployed with 1.7.0_25 > and it had no effect. > > The SSL handshake problem went away when we disabled TLS 1.1/1.2 in the > JCP on the client side and clicked "Restore Security Prompts" in the JCP. > > There

Re: Tomcat 6 vs. Tomcat 7 vs Cisco Load Balancer vs Java Applet

2014-03-05 Thread Bill Davidson
The Java version wasn't it. Recompiled and redeployed with 1.7.0_25 and it had no effect. The SSL handshake problem went away when we disabled TLS 1.1/1.2 in the JCP on the client side and clicked "Restore Security Prompts" in the JCP. There was also a problem with JSESSIONID not being sent to

understanding jdbc pool

2014-03-05 Thread S Ahmed
Hi, With jdbc pool, is each socket connection in the pool handled by a separate thread? Say you have 20 connections set to be open at minimum, does that mean there will be 20 threads? If not, then there is a degree of serialization then right?

Re: Optimization on simple requests

2014-03-05 Thread Howard W. Smith, Jr.
On Tue, Mar 4, 2014 at 1:54 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > John, > > On 3/4/14, 1:17 PM, John Smith wrote: > > Tomcat 7.0.42 on RHEL6. > > > > Assume that Tomcat is serving only one jsp page. Say it just > > re

Re: Problem with mod_proxyajp and Tomcat 7

2014-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Theresa, On 3/5/14, 12:05 PM, Teresa Fasano wrote: > Il 05/03/2014 17:51, Christopher Schultz ha scritto: >> >> This kind of thing works without a problem for me. Can you give >> us some more information? There must be more in the log file. >> >>

Re: Can I use jmx to see jdbc pool variables/properties in Tomcat 6?

2014-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Charles, On 3/5/14, 12:07 PM, Charles Richard wrote: > On Tue, Mar 4, 2014 at 8:57 PM, Neven Cvetkovic > wrote: > >> On Tue, Mar 4, 2014 at 2:56 PM, Charles Richard < >> charle...@thelearningbar.com> wrote: >> >>> On Tue, Mar 4, 2014 at 3:17 PM,

Re: Trouble shooting refused connections

2014-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bruce, On 3/5/14, 1:11 PM, Bruce Weertman wrote: > We have a load balancer talking with tomcat’s running on multiple > backend tomcat servers. The tomcats are running web service > applications. In doing testing, and as reported by customers, we

Re: Optimization on simple requests

2014-03-05 Thread John Smith
Chris, Thanks! Very helpful advice. Best, John On Tue, Mar 4, 2014 at 1:54 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > John, > > On 3/4/14, 1:17 PM, John Smith wrote: > > Tomcat 7.0.42 on RHEL6. > > > > Assume that Tomc

Trouble shooting refused connections

2014-03-05 Thread Bruce Weertman
Hey All: We have a load balancer talking with tomcat’s running on multiple backend tomcat servers. The tomcats are running web service applications. In doing testing, and as reported by customers, we occasionally see refused connections. Not real often, but enough to be a head ache. We’re not

Re: java: src/network.c:441: Java_org_apache_tomcat_jni_Socket_send: Assertion failed

2014-03-05 Thread Howard W. Smith, Jr.
On Mar 5, 2014 11:09 AM, "Christopher Schultz" wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Howard, > > On 3/5/14, 9:45 AM, Howard W. Smith, Jr. wrote: > > Chris, > > > > On Tue, Mar 4, 2014 at 4:18 PM, Christopher Schultz < > > ch...@christopherschultz.net> wrote: > > > >> Dmi

Re: Can I use jmx to see jdbc pool variables/properties in Tomcat 6?

2014-03-05 Thread Charles Richard
On Tue, Mar 4, 2014 at 8:57 PM, Neven Cvetkovic wrote: > On Tue, Mar 4, 2014 at 2:56 PM, Charles Richard < > charle...@thelearningbar.com> wrote: > > > On Tue, Mar 4, 2014 at 3:17 PM, Christopher Schultz < > > ch...@christopherschultz.net> wrote: > > > Can we still use Hibernate in our Spring app

Re: Problem with mod_proxyajp and Tomcat 7

2014-03-05 Thread Teresa Fasano
Il 05/03/2014 17:51, Christopher Schultz ha scritto: This kind of thing works without a problem for me. Can you give us some more information? There must be more in the log file. - -chris Hi Cris, the complete log of Apache reports: [Wed Mar 05 17:54:16 2014] [debug] mod_proxy_ajp.c(45): prox

Re: Problem with mod_proxyajp and Tomcat 7

2014-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Teresa, On 3/5/14, 11:38 AM, Teresa Fasano wrote: > Il 05/03/2014 17:34, Jim Jagielski ha scritto: >> On Mar 5, 2014, at 11:23 AM, Teresa Fasano >> wrote: >> >>> Hi, I have a communication problem between Apache and Tomcat >>> with mod_proxy_ajp.

Re: Problem with mod_proxyajp and Tomcat 7

2014-03-05 Thread Teresa Fasano
Il 05/03/2014 17:34, Jim Jagielski ha scritto: On Mar 5, 2014, at 11:23 AM, Teresa Fasano wrote: Hi, I have a communication problem between Apache and Tomcat with mod_proxy_ajp. The Apache version is 2.2.15. The problem occurred only with Tomcat 7 ( the same problem occurred with various vers

Re: Problem with mod_proxyajp and Tomcat 7

2014-03-05 Thread Jim Jagielski
On Mar 5, 2014, at 11:23 AM, Teresa Fasano wrote: > Hi, > I have a communication problem between Apache and Tomcat with mod_proxy_ajp. > The Apache version is 2.2.15. > The problem occurred only with Tomcat 7 ( the same problem occurred with > various version 7.0.x ), while it works with Tomcat

Re: [OT] secure reverse proxy to my tomcat server HELP NEEDED

2014-03-05 Thread Jeff Haferman
André Warnier wrote: > > Jeff Haferman wrote: >> Jeff "Top-Posting is not Bad because you have to scroll to the bottom to see >> what you're after" Haferman wrote: >> > [...] > > quote : > > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad t

Problem with mod_proxyajp and Tomcat 7

2014-03-05 Thread Teresa Fasano
Hi, I have a communication problem between Apache and Tomcat with mod_proxy_ajp. The Apache version is 2.2.15. The problem occurred only with Tomcat 7 ( the same problem occurred with various version 7.0.x ), while it works with Tomcat 6. The configuration of mod_proxy_ajp is ProxyPass / share

Re: Configuring mod_jk with multiple Apache HTTPD Virtual Hosts

2014-03-05 Thread Rainer Jung
On 04.03.2014 23:09, Doug Strick wrote: > The F5 issues were just due to poor environment configuration. Each F5 VIP > was sending traffic to the same pool and that pool was only configured for > 1 member. That 1 member IP/port was used by several apache virtual hosts. > So basically I never kne

Re: java: src/network.c:441: Java_org_apache_tomcat_jni_Socket_send: Assertion failed

2014-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Howard, On 3/5/14, 9:45 AM, Howard W. Smith, Jr. wrote: > Chris, > > On Tue, Mar 4, 2014 at 4:18 PM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > >> Dmitry, >> >> On 3/4/14, 2:48 AM, Dmitry Batiyevskiy wrote: >>> Howard, My con

Re: Stream closed- IOException exception

2014-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Prashant, On 3/5/14, 9:14 AM, Prashant Kadam wrote: > On Wed, Mar 5, 2014 at 7:11 PM, Prashant Kadam > wrote: > >> >> >> >> On Mon, Mar 3, 2014 at 10:55 PM, Christopher Schultz < >> ch...@christopherschultz.net> wrote: >> > Prashant, > > On 3

Re: Tomcat 7.0.52 NIO + Atmospere 1.0.18 damaged responses

2014-03-05 Thread Howard W. Smith, Jr.
On Wed, Mar 5, 2014 at 8:35 AM, Jan Dosoudil wrote: > Hi, > we have application running on Tomcat 7.0.52 with Nio connector (a lot > older versions too), it uses MyFaces (2.1.12), RichFaces (4.3.5), > Atmosphere framework (1.0.18). Atmosphere framework is configured to use > long-polling with Tom

Re: Performance drop under load for Tomcat8/DBCP2 with respect to Tomcat 7/DBCP1

2014-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 3/5/14, 9:48 AM, Christopher Schultz wrote: > Mark, > > On 3/5/14, 8:56 AM, Mark Thomas wrote: >> On 05/03/2014 13:38, Christopher Schultz wrote: > My DataSource configuration: > > type="javax.sql.DataSource" maxActive="1" ma

Re: Performance drop under load for Tomcat8/DBCP2 with respect to Tomcat 7/DBCP1

2014-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 3/5/14, 8:56 AM, Mark Thomas wrote: > On 05/03/2014 13:38, Christopher Schultz wrote: My DataSource configuration: > >>> type="javax.sql.DataSource" maxActive="1" maxIdle="1" maxWait="1" url="[url]" username="[user]" >>

Re: java: src/network.c:441: Java_org_apache_tomcat_jni_Socket_send: Assertion failed

2014-03-05 Thread Howard W. Smith, Jr.
Chris, On Tue, Mar 4, 2014 at 4:18 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > Dmitry, > > On 3/4/14, 2:48 AM, Dmitry Batiyevskiy wrote: > > Howard, My connector config is the following (i've already posted > > that): > > > > > enableLookups="false" disableUploadTimeout="tru

Re: Stream closed- IOException exception

2014-03-05 Thread Prashant Kadam
On Wed, Mar 5, 2014 at 7:11 PM, Prashant Kadam wrote: > > > > On Mon, Mar 3, 2014 at 10:55 PM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >> >> Prashant, >> >> On 3/3/14, 6:04 AM, Prashant Kadam wrote: >> > please help ... I

Re: java: src/network.c:441: Java_org_apache_tomcat_jni_Socket_send: Assertion failed

2014-03-05 Thread Dmitry Batiyevskiy
Thanks Regards, Dmitry Batiyevskiy Ardas Group Inc. www.ardas.dp.ua 2014-03-05 16:04 GMT+02:00 Martin Gainty : > FYI If you are using NIO Connector you will want to supply these NIO > Connector attributes > > > https://tomcat.apache.org/tomcat-7.0-doc/config/http.html#Standard_Implementation

RE: java: src/network.c:441: Java_org_apache_tomcat_jni_Socket_send: Assertion failed

2014-03-05 Thread Martin Gainty
FYI If you are using NIO Connector you will want to supply these NIO Connector attributes https://tomcat.apache.org/tomcat-7.0-doc/config/http.html#Standard_Implementation If you are using SSL on NIO read SSL on NIO for that capability APR Native SSL would use these parameters Attri

Re: Performance drop under load for Tomcat8/DBCP2 with respect to Tomcat 7/DBCP1

2014-03-05 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/03/2014 13:38, Christopher Schultz wrote: > Mark, > > On 3/5/14, 3:32 AM, Mark Thomas wrote: >> On 05/03/2014 01:50, Christopher Schultz wrote: > >> > >>> When I run under Tomcat 8.0.3, a couple of the images are >>> loaded, and then the who

Re: Stream closed- IOException exception

2014-03-05 Thread Prashant Kadam
On Mon, Mar 3, 2014 at 10:55 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Prashant, > > On 3/3/14, 6:04 AM, Prashant Kadam wrote: > > please help ... I have removed whitespaces by adding > > *.jsp > > true > > but still

Re: Performance drop under load for Tomcat8/DBCP2 with respect to Tomcat 7/DBCP1

2014-03-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 3/5/14, 3:32 AM, Mark Thomas wrote: > On 05/03/2014 01:50, Christopher Schultz wrote: > > > >> When I run under Tomcat 8.0.3, a couple of the images are >> loaded, and then the whole ... thing ... just ... stops. If I >> watch my log4j l

Tomcat 7.0.52 NIO + Atmospere 1.0.18 damaged responses

2014-03-05 Thread Jan Dosoudil
Hi, we have application running on Tomcat 7.0.52 with Nio connector (a lot older versions too), it uses MyFaces (2.1.12), RichFaces (4.3.5), Atmosphere framework (1.0.18). Atmosphere framework is configured to use long-polling with Tomcat Nio comet support. Sometimes simple request takes a lo

Re: java: src/network.c:441: Java_org_apache_tomcat_jni_Socket_send: Assertion failed

2014-03-05 Thread Dmitry Batiyevskiy
Atmosphere upgrade didn't help Regards, Dmitry Batiyevskiy Ardas Group Inc. www.ardas.dp.ua 2014-03-05 9:39 GMT+02:00 Dmitry Batiyevskiy : > We are ok with tomcat 7.0.42 and old tcnative now, and may be next > tcnative update will work appropriately > We will try updating atmosphere before t

Re: Performance drop under load for Tomcat8/DBCP2 with respect to Tomcat 7/DBCP1

2014-03-05 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/03/2014 01:50, Christopher Schultz wrote: > When I run under Tomcat 8.0.3, a couple of the images are loaded, > and then the whole ... thing ... just ... stops. If I watch my > log4j log file, every so often a flurry of activity occurs: severa