Re: Shutting down contexts: Serial or parallel?

2016-12-23 Thread Jesse Barnum
> startStopThreads only applies to the immediately nested component. So using > the setting on the Engine will try to start your one host in parallel. Not > helpful. Try moving that setting to the Host. > > Mark I did that and I can now see them starting in parallel. Thank you. —Jesse Barnum, President, 360Works

Re: Shutting down contexts: Serial or parallel?

2016-12-22 Thread Jesse Barnum
use to start child Host > <https://tomcat.apache.org/tomcat-7.0-doc/config/host.html> elements in > parallel Do I need to configure one webapp per Host element in order to utilize multiple threads? I just have a single Host element. —Jesse Barnum, President, 360Works

Re: Shutting down contexts: Serial or parallel?

2016-12-22 Thread Jesse Barnum
> ... > > ... > > That setting should use 6 threads and start/stop all your applications > simultaneously. Perfect, that’s just what I needed! Thank you! —Jesse Barnum, President, 360Works

Re: Shutting down contexts: Serial or parallel?

2016-12-22 Thread Jesse Barnum
> On Dec 22, 2016, at 10:39 AM, Christopher Schultz > <ch...@christopherschultz.net> wrote: > > On 12/22/16 10:20 AM, Jesse Barnum wrote: >> I am running multiple webapps on Tomcat 7, and I’ve noticed that >> when shutting down Tomcat, the ContextListeners ar

Shutting down contexts: Serial or parallel?

2016-12-22 Thread Jesse Barnum
and prevent lengthy shutdowns, which in turn would reduce downtime for maintenance. —Jesse Barnum, President, 360Works - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h

Re: Is there a way to abruptly force a connection closed without returning anything?

2015-01-16 Thread Jesse Barnum
then consult a lookup table (hard-coded into Java) to see whether to reject the request or respond to it. I would assume that is beyond the scope of configurable filters in Apache, maybe I’m wrong? --Jesse Barnum, President, 360Works

Re: Is there a way to abruptly force a connection closed without returning anything?

2015-01-16 Thread Jesse Barnum
requests. I originally designed it as a single server-wide setting for all clients to adjust overall server bandwidth, but by detecting the old buggy clients and sending them an Integer.MAX_VALUE for that frequency, I am able to effectively disable them. This has solved my problem. --Jesse Barnum

Re: Is there a way to abruptly force a connection closed without returning anything?

2015-01-15 Thread Jesse Barnum
On Jan 14, 2015, at 12:29 AM, Konstantin Kolinko knst.koli...@gmail.com wrote: 2015-01-14 6:28 GMT+03:00 Christopher Schultz Jesse, On 1/13/15 6:29 PM, Jesse Barnum wrote: I need the ability to examine the POST data from a request, examine it, and either respond to it or close

Is there a way to abruptly force a connection closed without returning anything?

2015-01-13 Thread Jesse Barnum
without sending a response? --Jesse Barnum, President, 360Works

Re: Is there a way to abruptly force a connection closed without returning anything?

2015-01-13 Thread Jesse Barnum
On Jan 13, 2015, at 6:46 PM, Mark Eggers its_toas...@yahoo.com.INVALID wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/13/2015 3:29 PM, Jesse Barnum wrote: I need the ability to examine the POST data from a request, examine it, and either respond to it or close the connection

Reverse proxy with ARR and HTTPS

2014-12-11 Thread Jesse Barnum
not correct from the user’s standpoint, who is using HTTPS. Is there a recommended way to configure ARR with Tomcat so that the original HTTPS protocol can be recognized by Tomcat? --Jesse Barnum, President, 360Works

Re: Reverse proxy with ARR and HTTPS

2014-12-11 Thread Jesse Barnum
, Jesse Barnum wrote: I have IIS 7 running with an SSL certificate. It receives HTTPS requests, and using ARR, it proxies them over HTTP to Tomcat. This works fine. The problem is that when we call HttpServletRequest.isSecure(), it returns false. This makes sense, since the request to tomcat

Re: Reverse proxy with ARR and HTTPS

2014-12-11 Thread Jesse Barnum
On Dec 11, 2014, at 3:14 PM, Mark Thomas ma...@apache.org wrote: Could we instead configure ARR to include some header that Tomcat would recognize? Yes. Look into the RemoteIp[Filter|Valve] Thanks Mark, I’ll look into that --Jesse Barnum, President, 360Works

Re: Reverse proxy with ARR and HTTPS

2014-12-11 Thread Jesse Barnum
On Dec 11, 2014, at 4:46 PM, Christopher Schultz ch...@christopherschultz.net wrote: On 12/11/14 2:42 PM, Jesse Barnum wrote: I should have mentioned in my original post - IIS receives both HTTP as well as HTTPS requests. Both types of requests are proxied to a single HTTP connector

Re: JNDIRealm doesn't work when binding as non-admin user

2014-10-01 Thread Jesse Barnum
On Sep 30, 2014, at 4:06 PM, Mark Thomas ma...@apache.org wrote: On 30/09/2014 20:24, Mark Thomas wrote: On 30/09/2014 15:19, Jesse Barnum wrote: snip/ By the way, I've noticed that I get a NPE if I don't define roleBase with an empty string (it should be optional, since I've specified

Re: JNDIRealm doesn't work when binding as non-admin user

2014-10-01 Thread Jesse Barnum
On Sep 30, 2014, at 4:06 PM, Mark Thomas ma...@apache.org wrote: On 30/09/2014 20:24, Mark Thomas wrote: On 30/09/2014 15:19, Jesse Barnum wrote: snip/ By the way, I've noticed that I get a NPE if I don't define roleBase with an empty string (it should be optional, since I've specified

Re: JNDIRealm doesn't work when binding as non-admin user

2014-10-01 Thread Jesse Barnum
for the double-posting. I tried building from the repository trunk, but I got errors on the DBCP library. I'm not proficient enough with ant to troubleshoot it. If you could either give me advice on the dbcp errors or send a snapshot build that would be great. --Jesse Barnum, President, 360Works http://www

Re: JNDIRealm doesn't work when binding as non-admin user

2014-09-30 Thread Jesse Barnum
On Sep 30, 2014, at 2:43 AM, Mark Thomas ma...@apache.org wrote: On 30/09/2014 01:11, Jesse Barnum wrote: I'm trying to configure Tomcat to authenticate against our Active Directory server. I do not want to configure an administrative account to bind with; I want to bind as the user

JNDIRealm doesn't work when binding as non-admin user

2014-09-29 Thread Jesse Barnum
configuration I need to do to tell Tomcat to use the user's credentials when getting a list of roles? --Jesse Barnum, President, 360Works http://www.360works.com Product updates and news on http://facebook.com/360Works (770) 234-9293 == Don't lose your data! http://360works.com/safetynet

Re: Help with CMSClassUnloadingEnabled

2014-03-26 Thread Jesse Barnum
a static method AbandonedConnectionCleanupThread.shutdown(); Once I fixed these things, I am able to repeatedly reload my application in the Tomcat manager without running out of memory in the PermGenSpace. --Jesse Barnum, President, 360Works http://www.360works.com Product updates and news

Automatic deployment with TCD deletes customized context.xml file

2014-03-12 Thread Jesse Barnum
behavior that I had with Tomcat 6. I am running Tomcat 7.0.52 on Amazon Linux ( 3.4.76-65.111.amzn1.x86_64 ), Java 6. --Jesse Barnum, President, 360Works http://www.360works.com Product updates and news on http://facebook.com/360Works (770) 234-9293 == Don't lose your data! http://360works.com

Re: Automatic deployment with TCD deletes customized context.xml file

2014-03-12 Thread Jesse Barnum
the behaviour seems reasonable here. I suggest you open a bugzilla issue for this. Mark Thanks for checking into that, Mark. I've filed it under issue #56248. --Jesse Barnum, President, 360Works - To unsubscribe, e-mail: users

Re: retain context.xml across war updates

2014-03-02 Thread Jesse Barnum
/deployer-howto.html --Jesse Barnum, President, 360Works http://www.360works.com Product updates and news on http://facebook.com/360Works (770) 234-9293 == Don't lose your data! http://360works.com/safetynet/ for FileMaker Server

Re: retain context.xml across war updates

2014-03-02 Thread Jesse Barnum
in the configuration doc. - Chuck Thanks, I missed that. --Jesse Barnum, President, 360Works http://www.360works.com Product updates and news on http://facebook.com/360Works (770) 234-9293 == Don't lose your data! http://360works.com/safetynet/ for FileMaker Server ==

Re: What is the best connector configuration for thousands of mostly idle users?

2014-02-11 Thread Jesse Barnum
, and increasing the selectorPool.maxSelectors property * The suggestion made here about using disablereuse with mod_proxy If there are any other suggestions, please let me know so that I can try them out. --Jesse Barnum, President, 360Works http://www.360works.com Product updates and news on http

Re: What is the best connector configuration for thousands of mostly idle users?

2014-02-10 Thread Jesse Barnum
not be necessary; I thought my use case is exactly what NIO is made for. I'm open to any other ideas, thank you for all of your help! --Jesse Barnum, President, 360Works http://www.360works.com - To unsubscribe, e-mail: users-unsubscr

Re: What is the best connector configuration for thousands of mostly idle users?

2014-02-10 Thread Jesse Barnum
this, can I keep a long keep-alive time on Apache? I need to preserve that, because renegotiating SSL connections for every request grinds the web server to a halt. Also, I thought mod_jk and mod_ajp were two different things - how can I use them both together? --Jesse Barnum, President, 360Works

Re: What is the best connector configuration for thousands of mostly idle users?

2014-02-07 Thread Jesse Barnum
On Feb 7, 2014, at 2:38 AM, Mark Thomas ma...@apache.org wrote: Jesse Barnum jsb_tom...@360works.com wrote: Thanks for such a well written question. All the relevant information is available and presented clearly and logically. Glad I could help. I get error reports from my users all

Re: retain context.xml across war updates

2014-02-06 Thread Jesse Barnum
Mark, which version of Tomcat 7 implemented the behavior described in that document? --Jesse Barnum, President, 360Works http://www.360works.com Product updates and news on http://facebook.com/360Works (770) 234-9293 == Don't lose your data! http://360works.com/safetynet/ for FileMaker Server

Re: retain context.xml across war updates

2014-02-06 Thread Jesse Barnum
Thanks, that explains why it's not working for me (I have 7.0.35). --Jesse Barnum, President, 360Works http://www.360works.com Product updates and news on http://facebook.com/360Works (770) 234-9293 == Don't lose your data! http://360works.com/safetynet/ for FileMaker Server == On Feb 6, 2014

What is the best connector configuration for thousands of mostly idle users?

2014-02-06 Thread Jesse Barnum
performance and I just need to throw hardware at it, but it seems like a solvable problem, because the actual worker threads are not doing much at all. --Jesse Barnum, President, 360Works http://www.360works.com Product updates and news on http://facebook.com/360Works (770) 234-9293 == Don't lose

Name log files based on Context name?

2014-01-09 Thread Jesse Barnum
upgraded to 7. --Jesse Barnum, President, 360Works http://www.360works.com Product updates and news on http://facebook.com/360Works (770) 234-9293 == Don't lose your data! http://360works.com/safetynet/ for FileMaker Server ==

Re: Tomcat auto deployer not working for ROOT applications

2013-12-27 Thread Jesse Barnum
On Dec 27, 2013, at 3:28 AM, Mark Thomas ma...@apache.org wrote: On 27/12/2013 05:32, Jesse Barnum wrote: I ran apt-get today and I got version 7.0.35, not 7.0.47. Maybe this is more of a Linux question then Tomcat, but shouldn't apt-get get me the latest version? Do I need to do something

Re: Tomcat auto deployer not working for ROOT applications

2013-12-27 Thread Jesse Barnum
On Dec 26, 2013, at 6:22 PM, Mark Thomas ma...@apache.org wrote: On 26/12/2013 19:33, Jesse Barnum wrote: Any ideas here? It sounds like a bug in the deployer. Can you confirm the behaviour with the latest 7.0.x release? If so, please create a Bugzilla entry. Mark I verified that it's

Tomcat auto deployer not working for ROOT applications

2013-12-26 Thread Jesse Barnum
from the command line using the 'unzip' command, and as I pointed out in #2 above, everything works fine when it is uploaded using the manager HTML interface. --Jesse Barnum, President, 360Works http://www.360works.com Product updates and news on http://facebook.com/360Works (770) 234-9293

Re: EOFException in AjpNioProcessor

2013-12-26 Thread Jesse Barnum
Konstantin - it doesn't sound like this is a problem that I can do anything about, other than to catch the exception and ignore it. --Jesse Barnum, President, 360Works http://www.360works.com Product updates and news on http://facebook.com/360Works (770) 234-9293 == Don't lose your data! http

Re: Request Timeout and empty post data issue

2013-12-26 Thread Jesse Barnum
. The limit can be disabled by setting this attribute to a value less than or equal to 0. If not specified, this attribute is set to 2097152 (2 megabytes). It would also make sense that these larger POSTs would take longer, so it fits the evidence. --Jesse Barnum, President, 360Works http://www

Re: Tomcat auto deployer not working for ROOT applications

2013-12-26 Thread Jesse Barnum
I ran apt-get today and I got version 7.0.35, not 7.0.47. Maybe this is more of a Linux question then Tomcat, but shouldn't apt-get get me the latest version? Do I need to do something on my end, or is this something that the Tomcat team needs to publish somewhere? --Jesse Barnum, President

Re: EOFException in AjpNioProcessor

2013-12-23 Thread Jesse Barnum
. AbortException, SocketException) corresponding to that problem. Throwing the EOFException without an associated cause sounds like there is something wrong with the state of the data being received, not with the underlying network socket itself. --Jesse Barnum, President, 360Works http://www

Re: EOFException in AjpNioProcessor

2013-12-21 Thread Jesse Barnum
On Dec 18, 2013, at 1:40 PM, André Warnier a...@ice-sa.com wrote: Jesse Barnum wrote: On Dec 18, 2013, at 12:27 PM, Jesse Barnum jsb_tom...@360works.com wrote: I'm seeing this error a lot in my log files. It happens when I am trying to read from the request InputStream. Should I be concerned

EOFException in AjpNioProcessor

2013-12-18 Thread Jesse Barnum
) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) --Jesse Barnum, President, 360Works http://www.360works.com Product updates and news on http://facebook.com/360Works (770) 234-9293 == Don't lose your data

Re: EOFException in AjpNioProcessor

2013-12-18 Thread Jesse Barnum
On Dec 18, 2013, at 12:27 PM, Jesse Barnum jsb_tom...@360works.com wrote: I'm seeing this error a lot in my log files. It happens when I am trying to read from the request InputStream. Should I be concerned about this, or is it just the equivalent of the user clicking 'stop' in their browser

Re: Modify content in META-INF/context.xml

2013-12-17 Thread Jesse Barnum
new versions ship). --Jesse Barnum, President, 360Works http://www.360works.com Product updates and news on http://facebook.com/360Works (770) 234-9293 == Don't lose your data! http://360works.com/safetynet/ for FileMaker Server

Re: APR connector does not work with SSL for Java 6 clients?

2013-08-25 Thread Jesse Barnum
How come Java 6 can connect to SSL running on Apache without this setting, but not to Tomcat running APR/SSL? On Aug 24, 2013, at 12:15 PM, Michael-O 1983-01...@gmx.net wrote: I had this problem months ago too. APR Connector ist fine. The problem with Java 6 is that the URLConnection -- JSSE

Re: APR connector does not work with SSL for Java 6 clients?

2013-08-25 Thread Jesse Barnum
TLSv1 is (very) old too but it is the best match at the moment. Michael --Jesse Barnum, President, 360Works http://www.360works.com Product updates and news on http://facebook.com/360Works (770) 234-9293 == Don't lose your data! http://360works.com/safetynet/ for FileMaker Server ==

APR connector does not work with SSL for Java 6 clients?

2013-08-24 Thread Jesse Barnum
/secure2.360works.com.key SSLCertificateChainFile=/etc/apache2/ssl.crt/secure2.360works.com.chcrt / --Jesse Barnum, President, 360Works http://www.360works.com Product updates and news on http://facebook.com/360Works (770) 234-9293 == Don't lose your data! http://360works.com/safetynet/ for FileMaker

Re: Why is context.xml no longer copied to Catalina/localhost/myapp.xml?

2013-05-07 Thread Jesse Barnum
on the developer), would you agree that the current approach (leaving the context.xml file in the web app) is not fulfilling one of its intended purposes, which is allowing the deployer to customize the application behavior? --Jesse Barnum, President, 360Works http://www.360works.com

Re: Why is context.xml no longer copied to Catalina/localhost/myapp.xml?

2013-05-06 Thread Jesse Barnum
default to true? Or is it a done deal? --Jesse Barnum, President, 360Works http://www.360works.com

Re: Why is context.xml no longer copied to Catalina/localhost/myapp.xml?

2013-05-06 Thread Jesse Barnum
for end user customization, which is stored separately. --Jesse Barnum, President, 360Works http://www.360works.com

Why is context.xml no longer copied to Catalina/localhost/myapp.xml?

2013-05-05 Thread Jesse Barnum
explaining why this change was necessary or beneficial. --Jesse Barnum, President, 360Works http://www.360works.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h

Re: Missing JMX.jar in Tomcat 5.5.23?

2007-07-05 Thread Jesse Barnum
Hey Johnny, thanks for the help. I fixed the problem - stupid mistake, I was running 1.4 instead of 1.5 --Jesse Barnum, President, 360Works http://www.360works.com (770) 234-9293 On Jul 5, 2007, at 3:58 AM, Johnny Kewl wrote: No, that stuff is not relevent, in the BAT (SH) files, the TC

Re: [SOLVED] Re: How do I set maxage on the JSESSIONID cookie?

2007-07-02 Thread Jesse Barnum
and is not specific to Tomcat) and 2) it seems like this will make it easy to to use with any other servlet app that I want. --Jesse Barnum, President, 360Works http://www.360works.com (770) 234-9293 On Jun 29, 2007, at 7:32 PM, Martin Gainty wrote: Curious as to why you're writing a Filter Are you

How do I set maxage on the JSESSIONID cookie?

2007-06-29 Thread Jesse Barnum
-1? --Jesse Barnum, President, 360Works http://www.360works.com (770) 234-9293 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How do I set maxage on the JSESSIONID cookie?

2007-06-29 Thread Jesse Barnum
the session ID's. I don't think that there is anything special about a 'session cookie' versus a 'regular cookie' --Jesse Barnum, President, 360Works http://www.360works.com (770) 234-9293 On Jun 29, 2007, at 1:16 PM, Len Popp wrote: Doesn't the session cookie disappear when the user closes

Re: How do I set maxage on the JSESSIONID cookie?

2007-06-29 Thread Jesse Barnum
to be accessible only to these certain people while minimizing the need for logins. --Jesse Barnum, President, 360Works http://www.360works.com (770) 234-9293 On Jun 29, 2007, at 2:50 PM, Eric Berry wrote: You will probably have to write a valve for this. I had to write one to set the session

[SOLVED] Re: How do I set maxage on the JSESSIONID cookie?

2007-06-29 Thread Jesse Barnum
Eric, that worked - your code was very helpful, thanks. I wound up doing it as a Filter instead of a Valve, so that it would not be tied to Tomcat. Here is the code in case anybody else would find it useful: --Jesse Barnum, President, 360Works http://www.360works.com (770) 234-9293