Re: Shutting down contexts: Serial or parallel?

2016-12-23 Thread Jesse Barnum
lies 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
<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 > 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 are called in >> serial, instead

Shutting down contexts: Serial or parallel?

2016-12-22 Thread Jesse Barnum
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
the product (even old ones) have a frequency setting that I forgot about that can be used to limit how often they make 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

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

2015-01-16 Thread Jesse Barnum
is, as well as a version parameter to see which version of the product it is. We 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 conf

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

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

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: Reverse proxy with ARR and HTTPS

2014-12-11 Thread Jesse Barnum
> On Dec 11, 2014, at 4:46 PM, Christopher Schultz > 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

Re: Reverse proxy with ARR and HTTPS

2014-12-11 Thread Jesse Barnum
> On Dec 11, 2014, at 3:14 PM, Mark Thomas 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 --Jes

Re: Reverse proxy with ARR and HTTPS

2014-12-11 Thread Jesse Barnum
them, and then configure ARR to send to HTTPS requests to the secure one? It seems like there should be a simpler solution. Could we instead configure ARR to include some header that Tomcat would recognize? > On Dec 11, 2014, at 2:18 PM, Mark Thomas wrote: > > On 11/12/2014 19:12, Jes

Reverse proxy with ARR and HTTPS

2014-12-11 Thread Jesse Barnum
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: JNDIRealm doesn't work when binding as non-admin user

2014-10-01 Thread Jesse Barnum
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,

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 wrote: > On 30/09/2014 20:24, Mark Thomas wrote: >> On 30/09/2014 15:19, Jesse Barnum wrote: > > > >>> By the way, I've noticed that I get a NPE if I don't define roleBase with >>> an empty string (i

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 wrote: > On 30/09/2014 20:24, Mark Thomas wrote: >> On 30/09/2014 15:19, Jesse Barnum wrote: > > > >>> By the way, I've noticed that I get a NPE if I don't define roleBase with >>> an empty string (i

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

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

2014-09-29 Thread Jesse Barnum
ng, as of 7.0.9 and onwards. https://issues.apache.org/bugzilla/show_bug.cgi?id=19444 I am running 7.0.52. Is there some 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 upd

Re: Help with CMSClassUnloadingEnabled

2014-03-26 Thread Jesse Barnum
r level, but if you load it inside your webapp, you need to call 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

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

2014-03-12 Thread Jesse Barnum
e 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 unsu

Automatic deployment with TCD deletes customized context.xml file

2014-03-12 Thread Jesse Barnum
same 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://36

Re: retain context.xml across war updates

2014-03-02 Thread Jesse Barnum
es 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: retain context.xml across war updates

2014-03-02 Thread Jesse Barnum
; Mark > I can't find any way to navigate to that URL from within the Tomcat documentation. Maybe a link needs to be added somewhere on this page? http://tomcat.apache.org/tomcat-7.0-doc/deployer-howto.html --Jesse Barnum, President, 360Works http://w

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

2014-02-11 Thread Jesse Barnum
ng APR with SSL and directly serving connections, instead of using Apache as a front-end. * Setting the org.apache.tomcat.util.net.NioSelectorShared attributer to false, and increasing the selectorPool.maxSelectors property * The suggestion made here about using disablereuse with mod_proxy If

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

2014-02-10 Thread Jesse Barnum
olling. If I do 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 Bar

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

2014-02-10 Thread Jesse Barnum
This would be a lot of work, and seems like it should not be necessary. * Ditch the NIO connector and Apache/SSL front-end and move to APR/SSL with a whole lot of threads. Also seems like it should not be necessary; I thought my use case is exactly what NIO is made for. I'm open to

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 wrote: > Jesse Barnum 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 the time like "I ins

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 F

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

2014-02-06 Thread Jesse Barnum
any benefits by increasing the number of sockets opening and closing between ajp_mod_proxy and the NIO AJP connector. Maybe it's already running at optimal performance and I just need to throw hardware at it, but it seems like a solvable problem, because the actual worker threads are not

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 S

Name log files based on Context name?

2014-01-09 Thread Jesse Barnum
in Tomcat 6, with a few who have 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 26, 2013, at 6:22 PM, Mark Thomas 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

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

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

Re: Request Timeout and empty post data issue

2013-12-26 Thread Jesse Barnum
g. 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, 360Work

Re: EOFException in AjpNioProcessor

2013-12-26 Thread Jesse Barnum
;)); > 359 } else { > 360 return 0; > 361 } > > Line 358 throws the EOFException because there was no more data to read on > the AJP connection although (I think) the AJP connector expected the client > to send further data (the request body). > > > Regards,

Tomcat auto deployer not working for ROOT applications

2013-12-26 Thread Jesse Barnum
ava:722) > Doing the exact same thing to a different server running Tomcat 6.0.24 works correctly as expected. Any ideas here? Here is what I've ruled out so far: * I don't think it's a file permission issue (webapps directory has permissions 777, and everything works fine when run through the manager HTML interface). * The "Child name '' is not unique" sounded promising, but I could not find any duplicate ROOT webapps - there is no ROOT.war file or directory in the webapps directory prior to running the auto-deploy; there is no ROOT.xml file in the conf/Catalina/localhost directory, nor are there any context elements defined in the server.xml file. * I don't think that the .war file is corrupt - I can manually unzip the .war file in the webapps 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 == Don't lose your data! http://360works.com/safetynet/ for FileMaker Server ==

Re: EOFException in AjpNioProcessor

2013-12-23 Thread Jesse Barnum
a.io.* exception (ie. 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, 360W

Re: EOFException in AjpNioProcessor

2013-12-21 Thread Jesse Barnum
On Dec 18, 2013, at 1:40 PM, André Warnier wrote: > Jesse Barnum wrote: >> On Dec 18, 2013, at 12:27 PM, Jesse Barnum 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 con

Re: EOFException in AjpNioProcessor

2013-12-18 Thread Jesse Barnum
On Dec 18, 2013, at 12:27 PM, Jesse Barnum 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 b

EOFException in AjpNioProcessor

2013-12-18 Thread Jesse Barnum
he.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) > at > org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1680) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util

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

2013-12-17 Thread Jesse Barnum
ep those customizations when 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/saf

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

2013-08-25 Thread Jesse Barnum
t; > Maybe you are running in a cypher mismatch too. What we do use is "TLSv1" and > "HIGH:!ADH". Everything below TLSv1 is outdated and insecure. Though TLSv1 is > (very) old too but it is the best match at the moment. > > Michael --Jesse Barnum, President, 360W

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

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

2013-08-24 Thread Jesse Barnum
java:234) at java.net.URL.openStream(URL.java:1010) at com.prosc.license.client.network.SSLConnectTest.testConnection(SSLConnectTest.java:22) at com.prosc.license.client.network.SSLConnectTest.main(SSLConnectTest.java:18) Here is the connector configuration in server.xml. I'

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

2013-05-07 Thread Jesse Barnum
r first paragraph (which places all responsibility for managing app preferences 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
ployed, and a different configuration file that is intended for end user customization, which is stored separately. --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
ttribute. Is there any point in filing a bug report to request that this attribute default to true? Or is it a done deal? --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
database 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...@tomcat.apache.org

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

Missing JMX.jar in Tomcat 5.5.23?

2007-07-04 Thread Jesse Barnum
.ServerToolboxModel.start (ServerToolboxModel.java:25) at com.prosc.servertoolbox.plugin.ServerToolboxModel.main (ServerToolboxModel.java:36) --Jesse Barnum, President, 360Works http://www.360works.com (770) 234-9293 - To

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

[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

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

2007-06-29 Thread Jesse Barnum
tion 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 t

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

2007-06-29 Thread Jesse Barnum
to store 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 s

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]