Re: Tomcat and Spring Framework

2014-03-10 Thread Rossen Stoyanchev
On Mon, Mar 10, 2014 at 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. > Indeed there is no such specification. The point is that Java enterprise development is not always define

Re: Tomcat and Spring Framework

2014-03-10 Thread Neven Cvetkovic
On Mon, Mar 10, 2014 at 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. Mark, you are right - there is no specification named "full-fledged enterprise JEE server". There is only o

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 f

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

Re: Tomcat7w.exe

2014-03-10 Thread Howard W. Smith, Jr.
On Sun, Mar 9, 2014 at 3:53 PM, Leo Donahue 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 comman

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 org.apache.catalina.realm.Use

Re: The Service Component

2014-03-10 Thread Leo Donahue
On Mon, Mar 10, 2014 at 7: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 one Service in their serv

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 10:15 AM, André Warnier wrote: > > It is particularly nice to know that it works, and that the > element really (apparently) corresponds to "something real" at the Tomcat > level. So it is apparently not just an "element of order" allowing to > group Connectors with Engi

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 > wrote: > >> On Mon, Mar 10, 2014 at 12:58 PM, Mark H. Wood >> wrote: >> >>> It's probably worth asking what "full-fledged enterprise >>> applications"

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, becaus

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 > : >> 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, Christo

Re: Tomcat and Spring Framework

2014-03-10 Thread Daniel Mikusa
On Mar 10, 2014, at 4:16 PM, Leo Donahue wrote: > On Mon, Mar 10, 2014 at 12: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. >> >> > That was a "Spring" term from the page I w

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 : > 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, comp

Re: Tomcat and Spring Framework

2014-03-10 Thread Leo Donahue
On Mon, Mar 10, 2014 at 12: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. > > That was a "Spring" term from the page I was reading, and the reason I asked the question. Tomcat itsel

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

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/1

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 signatur

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

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, >>> restar

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: >> 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 ApacheCon

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.

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 a

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 Compon

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 m

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: 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 so

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: 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. > > - C

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 J

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 > : >> >> 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 >>>

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: > > protocol="org.apache.coyote.http11.Http11NioProtocol" > connectionTimeou

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: > connectionTimeout="2" >redirectPort="8443"

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.ap

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

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 wai

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

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 To

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: Assuming ~2000 simultaneous connections. Tomcat 7.0.42. RHEL6. Best, John

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 N

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

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 wrote: > 2014-03-09 2:08 GMT+04:00 John Smith : > > Sorry, fo

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 m

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.

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 header

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? >

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

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 wrote: > On Mar 9, 2014, at 11:05 AM, Neven Cvetkovic > 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 IP address to > > one port (e.g. port 80)

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 > wrote: > > > O

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 wrote: > Ahmed, > > On Sun, Mar 9, 2014 at 10:14 AM, Ahmed Dalatony > wrote: > >> hello, >> > can you help me little more with example or simpler doc >> i'm new to tomcat config >> and i don't understand virtual host >> >> thank you >> > > Ultim

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 - WEB-INF/web.xml As indicated above, I write JSESSIONID in "mycookie" cookie. Even after restart, the JSESSIONID is not getting invalidated. Befo