Re: Flushing issue with tomcat from 7.0.39 onwards

2014-03-10 Thread Prashant Kadam
On Fri, Mar 7, 2014 at 6:09 PM, Prashant Kadam prashantkada...@gmail.comwrote: Let me start with some history, During upgrade to 7.0.52, I was facing the IOException: Stream closed error. but everything was working fine with old tomcat version 7.0.33 so I started looking from which version

Re: Tomcat 7 Session Persistence disable not working as expected

2014-03-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Akash, On 3/10/14, 1:03 AM, Akash Jain wrote: As documented in https://tomcat.apache.org/tomcat-5.5-doc/config/manager.html#Disable_Session_Persistence, I added the following code piece to disable session persistence in Tomcat 7. Manager

Re: Tomcat 7 Session Persistence disable not working as expected

2014-03-10 Thread Akash Jain
Christopher, I have changed in server.xml. Below is the server.xml part - Context path= docBase=ROOT sessionCookieName=mycookie sessionCookieDomain=myapp.mydomain.com

Re: simple way to access application in multi instance envirnoment

2014-03-10 Thread Daniel Mikusa
On Mar 9, 2014, at 11:05 AM, Neven Cvetkovic neven.cvetko...@gmail.com wrote: Ahmed, On Sun, Mar 9, 2014 at 10:14 AM, Ahmed Dalatony ahmed.dalat...@gmail.comwrote: hello, can you help me little more with example or simpler doc i'm new to tomcat config and i don't understand virtual

RE: simple way to access application in multi instance envirnoment

2014-03-10 Thread Jeffrey Janner
-Original Message- From: Ahmed Dalatony [mailto:ahmed.dalat...@gmail.com] Sent: Sunday, March 09, 2014 2:16 PM To: Tomcat Users List Subject: Re: simple way to access application in multi instance envirnoment On Sun, Mar 9, 2014 at 7:48 PM, Neven Cvetkovic

Re: simple way to access application in multi instance envirnoment

2014-03-10 Thread Neven Cvetkovic
On Mon, Mar 10, 2014 at 9:03 AM, Daniel Mikusa dmik...@gopivotal.comwrote: On Mar 9, 2014, at 11:05 AM, Neven Cvetkovic neven.cvetko...@gmail.com wrote: Thus, if you run multiple instances of Tomcat - alone, virtual hosting will not help you , since only one process can bind to a single

RE: The Service Component

2014-03-10 Thread Jeffrey Janner
-Original Message- From: Leo Donahue [mailto:donahu...@gmail.com] Sent: Friday, March 07, 2014 9:44 AM To: users@tomcat.apache.org Subject: The Service Component Who uses more than one Service in their server.xml and why? I get that you can have multiple Connectors if you have

RE: Tomcat7w.exe

2014-03-10 Thread Jeffrey Janner
-Original Message- From: Leo Donahue [mailto:donahu...@gmail.com] Sent: Friday, March 07, 2014 11:10 AM To: users@tomcat.apache.org Subject: Tomcat7w.exe Did I miss something in the documentation about renaming this if one is running multiple windows services of Tomcat? ex:

CorsFilter denying some same-origin requests.

2014-03-10 Thread Richard Hart
(Tomcat 7.0.50, Linux) Having recently enabled CORS support for our Tomcat-based web app using the provided CorsFilter, we have discovered a problem where some same-origin (i.e. non-CORS) requests from certain browsers (e.g. Chrome) are denied. This is due to the browser setting the Origin

Re: CorsFilter denying some same-origin requests.

2014-03-10 Thread Mark Thomas
On 10/03/2014 14:30, Richard Hart wrote: (Tomcat 7.0.50, Linux) Having recently enabled CORS support for our Tomcat-based web app using the provided CorsFilter, we have discovered a problem where some same-origin (i.e. non-CORS) requests from certain browsers (e.g. Chrome) are denied. This

Re: The Service Component

2014-03-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeffrey, On 3/10/14, 10:26 AM, Jeffrey Janner wrote: -Original Message- From: Leo Donahue [mailto:donahu...@gmail.com] Sent: Friday, March 07, 2014 9:44 AM To: users@tomcat.apache.org Subject: The Service Component Who uses more than

Re: NIO connector - connections and threads

2014-03-10 Thread John Smith
Thanks for your reply. So are the open HTTP connections that use my web application code waiting in line to be processed by the available threads specified in maxThreads? Best, John On Sun, Mar 9, 2014 at 12:44 PM, Konstantin Kolinko knst.koli...@gmail.comwrote: 2014-03-09 2:08 GMT+04:00 John

RE: The Service Component

2014-03-10 Thread Jeffrey Janner
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Monday, March 10, 2014 10:15 AM To: Tomcat Users List Subject: Re: The Service Component -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeffrey, On 3/10/14, 10:26 AM, Jeffrey Janner

RE: ApacheCon North America, Denver, April 7-11

2014-03-10 Thread Jeffrey Janner
-Original Message- From: Rich Bowen [mailto:rbo...@rcbowen.com] Sent: Tuesday, March 04, 2014 2:59 PM To: d...@tomcat.apache.org; users@tomcat.apache.org Subject: ApacheCon North America, Denver, April 7-11 Hello Tomcat enthusiasts, as you are no doubt aware, ApacheCon North

Executor thread pool

2014-03-10 Thread John Smith
How dumb am I being by not using an Executor with a named thread pool? Currently I just have a Connector in server.xml: Connector port=8080 protocol=org.apache.coyote.http11.Http11NioProtocol connectionTimeout=2 redirectPort=8443 / Assuming ~2000

Re: ApacheCon North America, Denver, April 7-11

2014-03-10 Thread Nick Williams
On Mar 10, 2014, at 10:40 AM, Jeffrey Janner wrote: -Original Message- From: Rich Bowen [mailto:rbo...@rcbowen.com] Sent: Tuesday, March 04, 2014 2:59 PM To: d...@tomcat.apache.org; users@tomcat.apache.org Subject: ApacheCon North America, Denver, April 7-11 Hello Tomcat

RE: NIO connector - connections and threads

2014-03-10 Thread Caldarale, Charles R
From: John Smith [mailto:tomcat.ran...@gmail.com] Subject: Re: NIO connector - connections and threads Don't top post. So are the open HTTP connections that use my web application code waiting in line to be processed by the available threads specified in maxThreads? The connections won't

Re: NIO connector - connections and threads

2014-03-10 Thread John Smith
On Mon, Mar 10, 2014 at 11:48 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: John Smith [mailto:tomcat.ran...@gmail.com] Subject: Re: NIO connector - connections and threads Don't top post. So are the open HTTP connections that use my web application code waiting in

RE: NIO connector - connections and threads

2014-03-10 Thread Caldarale, Charles R
From: John Smith [mailto:tomcat.ran...@gmail.com] Subject: Re: NIO connector - connections and threads If you're implying are 200 people simultaneously, hitting the same page at the same time, or making the same HTTP POST at the same time, the answer is, yes, probably. Collecting some peak

Re: ApacheCon North America, Denver, April 7-11

2014-03-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nick, On 3/10/14, 11:43 AM, Nick Williams wrote: On Mar 10, 2014, at 10:40 AM, Jeffrey Janner wrote: -Original Message- From: Rich Bowen [mailto:rbo...@rcbowen.com] Sent: Tuesday, March 04, 2014 2:59 PM To: d...@tomcat.apache.org;

RE: Executor thread pool

2014-03-10 Thread Caldarale, Charles R
From: John Smith [mailto:tomcat.ran...@gmail.com] Subject: Executor thread pool How dumb am I being by not using an Executor with a named thread pool? Currently I just have a Connector in server.xml: Connector port=8080 protocol=org.apache.coyote.http11.Http11NioProtocol

Re: Executor thread pool

2014-03-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 John, On 3/10/14, 11:43 AM, John Smith wrote: How dumb am I being by not using an Executor with a named thread pool? Currently I just have a Connector in server.xml: Connector port=8080 protocol=org.apache.coyote.http11.Http11NioProtocol

Re: Problem with jmxproxy / Tomcat 8.0.3

2014-03-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Konstantin, On 3/5/14, 5:35 PM, Konstantin Kolinko wrote: 2014-03-06 1:40 GMT+04:00 Christopher Schultz ch...@christopherschultz.net: On 3/5/14, 4:20 PM, Christopher Schultz wrote: All, For some reason, I'm not able to access my Tomcat's

Re: NIO connector - connections and threads

2014-03-10 Thread John Smith
Collecting some peak usage data might be interesting. You definitely want your max thread limit to be a bit above the number of concurrent requests you're handling. Of course, that has to be balanced against limits on other resources, such as memory and data base connections. - Chuck

Re: Problem with jmxproxy / Tomcat 8.0.3

2014-03-10 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/03/2014 16:27, Christopher Schultz wrote: Okay. Someone should tell Tomcat that it has been removed. +1. I guess you are volunteering :) This exception is being thrown when I call jmxproxy?qry and let it list everything available via JMX.

Not able to connect to Tomcat via jconsole

2014-03-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I have two instances of Tomcat 8 running locally. One of them happens to have a JNDI DataSource configured and the other does not. They are both out-of-the-box 8.0.3 installations. One of them has no problem connecting via jconsole to observe

Re: Problem with jmxproxy / Tomcat 8.0.3

2014-03-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 3/10/14, 12:31 PM, Mark Thomas wrote: On 10/03/2014 16:27, Christopher Schultz wrote: Okay. Someone should tell Tomcat that it has been removed. +1. I guess you are volunteering :) Actually, yes. I just didn't want to break

Re: Not able to connect to Tomcat via jconsole

2014-03-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I stopped Tomcat, completely removed my web application, restarted Tomcat and I can connect without a problem. AFAIK, my application isn't doing anything with JMX. I'll try using my context.xml without any actual code involved. - -chris On

Re: Not able to connect to Tomcat via jconsole

2014-03-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, On 3/10/14, 12:52 PM, Christopher Schultz wrote: I stopped Tomcat, completely removed my web application, restarted Tomcat and I can connect without a problem. AFAIK, my application isn't doing anything with JMX. I'll try using my

Re: The Service Component

2014-03-10 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeffrey, On 3/10/14, 10:26 AM, Jeffrey Janner wrote: -Original Message- From: Leo Donahue [mailto:donahu...@gmail.com] Sent: Friday, March 07, 2014 9:44 AM To: users@tomcat.apache.org Subject: The Service

Re: Not able to connect to Tomcat via jconsole

2014-03-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, On 3/10/14, 12:58 PM, Christopher Schultz wrote: All, On 3/10/14, 12:52 PM, Christopher Schultz wrote: I stopped Tomcat, completely removed my web application, restarted Tomcat and I can connect without a problem. AFAIK, my

Re: ApacheCon North America, Denver, April 7-11

2014-03-10 Thread Nick Williams
On Mar 10, 2014, at 11:17 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nick, On 3/10/14, 11:43 AM, Nick Williams wrote: On Mar 10, 2014, at 10:40 AM, Jeffrey Janner wrote: -Original Message- From: Rich Bowen [mailto:rbo...@rcbowen.com]

Re: ApacheCon North America, Denver, April 7-11

2014-03-10 Thread Mark Thomas
On 10/03/2014 17:28, Nick Williams wrote: On Mar 10, 2014, at 11:17 AM, Christopher Schultz wrote: snip/ Specifically, there is an Apache Tomcat summit on Friday the 11th. We hope to see as many of you there as can make it. Did anyone mention that there is a ton of free beer at ApacheCons?

Re: Not able to connect to Tomcat via jconsole

2014-03-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, On 3/10/14, 1:20 PM, Christopher Schultz wrote: All, On 3/10/14, 12:58 PM, Christopher Schultz wrote: All, On 3/10/14, 12:52 PM, Christopher Schultz wrote: I stopped Tomcat, completely removed my web application, restarted Tomcat

Re: Not able to connect to Tomcat via jconsole

2014-03-10 Thread Konstantin Kolinko
2014-03-10 22:11 GMT+04:00 Christopher Schultz On 3/10/14, 1:20 PM, Christopher Schultz wrote: On 3/10/14, 12:58 PM, Christopher Schultz wrote: All, On 3/10/14, 12:52 PM, Christopher Schultz wrote: I stopped Tomcat, completely removed my web application, restarted Tomcat and I can connect

Re: Tomcat and Spring Framework

2014-03-10 Thread Mark H. Wood
It's probably worth asking what full-fledged enterprise applications means. I'm not aware of any specification with that title. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature

RE: The Service Component

2014-03-10 Thread Jeffrey Janner
-Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Monday, March 10, 2014 12:15 PM To: Tomcat Users List Subject: Re: The Service Component Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeffrey, On 3/10/14, 10:26 AM,

RE: Executor thread pool

2014-03-10 Thread Jeffrey Janner
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Monday, March 10, 2014 11:22 AM To: Tomcat Users List Subject: Re: Executor thread pool -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 John, On 3/10/14, 11:43 AM, John Smith wrote:

Re: Tomcat and Spring Framework

2014-03-10 Thread Leo Donahue
On Mon, Mar 10, 2014 at 12:58 PM, Mark H. Wood mw...@iupui.edu wrote: It's probably worth asking what full-fledged enterprise applications means. I'm not aware of any specification with that title. That was a Spring term from the page I was reading, and the reason I asked the question.

Re: Not able to connect to Tomcat via jconsole

2014-03-10 Thread Konstantin Kolinko
2014-03-10 23:51 GMT+04:00 Konstantin Kolinko knst.koli...@gmail.com: 2014-03-10 22:11 GMT+04:00 Christopher Schultz On 3/10/14, 1:20 PM, Christopher Schultz wrote: On 3/10/14, 12:58 PM, Christopher Schultz wrote: All, On 3/10/14, 12:52 PM, Christopher Schultz wrote: I stopped Tomcat,

Re: Tomcat and Spring Framework

2014-03-10 Thread Daniel Mikusa
On Mar 10, 2014, at 4:16 PM, Leo Donahue donahu...@gmail.com wrote: On Mon, Mar 10, 2014 at 12:58 PM, Mark H. Wood mw...@iupui.edu wrote: It's probably worth asking what full-fledged enterprise applications means. I'm not aware of any specification with that title. That was a Spring

Re: Not able to connect to Tomcat via jconsole

2014-03-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Konstantin, On 3/10/14, 4:47 PM, Konstantin Kolinko wrote: 2014-03-10 23:51 GMT+04:00 Konstantin Kolinko knst.koli...@gmail.com: 2014-03-10 22:11 GMT+04:00 Christopher Schultz On 3/10/14, 1:20 PM, Christopher Schultz wrote: On 3/10/14, 12:58

Re: Tomcat and Spring Framework

2014-03-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 3/10/14, 3:58 PM, Mark H. Wood wrote: It's probably worth asking what full-fledged enterprise applications means. I'm not aware of any specification with that title. Those are applications you can charge more for. You know, because

Re: Tomcat and Spring Framework

2014-03-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Daniel, On 3/10/14, 4:57 PM, Daniel Mikusa wrote: On Mar 10, 2014, at 4:16 PM, Leo Donahue donahu...@gmail.com wrote: On Mon, Mar 10, 2014 at 12:58 PM, Mark H. Wood mw...@iupui.edu wrote: It's probably worth asking what full-fledged

Re: The Service Component

2014-03-10 Thread Leo Donahue
On Mon, Mar 10, 2014 at 10:15 AM, André Warnier a...@ice-sa.com wrote: It is particularly nice to know that it works, and that the Service element really (apparently) corresponds to something real at the Tomcat level. So it is apparently not just an element of order allowing to group

Re: Executor thread pool

2014-03-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeffrey, On 3/10/14, 4:15 PM, Jeffrey Janner wrote: -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Monday, March 10, 2014 11:22 AM To: Tomcat Users List Subject: Re: Executor thread pool

Re: The Service Component

2014-03-10 Thread Leo Donahue
On Mon, Mar 10, 2014 at 7:26 AM, Jeffrey Janner jeffrey.jan...@polydyne.com wrote: -Original Message- From: Leo Donahue [mailto:donahu...@gmail.com] Sent: Friday, March 07, 2014 9:44 AM To: users@tomcat.apache.org Subject: The Service Component Who uses more than one

Re: [OT] The Service Component

2014-03-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leo, On 3/10/14, 5:10 PM, Leo Donahue wrote: I have to change the following in server.xml when I add more Tomcat instances or upgrade: server shutdown port connector port for HTTP connector port for AJP realm

Re: Tomcat7w.exe

2014-03-10 Thread Howard W. Smith, Jr.
On Sun, Mar 9, 2014 at 3:53 PM, Leo Donahue donahu...@gmail.com wrote: On Fri, Mar 7, 2014 at 12:43 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Actually, i hate clicking on things... I use Windows keyboard shortcuts as much as possible. Even when you run the following

Re: Tomcat7w.exe

2014-03-10 Thread Howard W. Smith, Jr.
On Mon, Mar 10, 2014 at 10:37 AM, Jeffrey Janner jeffrey.jan...@polydyne.com wrote: -Original Message- From: Leo Donahue [mailto:donahu...@gmail.com] Sent: Friday, March 07, 2014 11:10 AM To: users@tomcat.apache.org Subject: Tomcat7w.exe Did I miss something in the

Re: [OT] The Service Component

2014-03-10 Thread Mark Eggers
On 3/10/2014 2:42 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leo, On 3/10/14, 5:10 PM, Leo Donahue wrote: I have to change the following in server.xml when I add more Tomcat instances or upgrade: server shutdown port connector port for HTTP connector port

Re: Tomcat and Spring Framework

2014-03-10 Thread Neven Cvetkovic
On Mon, Mar 10, 2014 at 3:58 PM, Mark H. Wood mw...@iupui.edu wrote: It's probably worth asking what full-fledged enterprise applications means. I'm not aware of any specification with that title. Mark, you are right - there is no specification named full-fledged enterprise JEE server. There

Re: Tomcat and Spring Framework

2014-03-10 Thread Rossen Stoyanchev
On Mon, Mar 10, 2014 at 3:58 PM, Mark H. Wood mw...@iupui.edu wrote: It's probably worth asking what full-fledged enterprise applications means. I'm not aware of any specification with that title. Indeed there is no such specification. The point is that Java enterprise development is not