Web-fragments when unpackWARs=false

2015-10-09 Thread Rob Gansevles
Hi, I am trying to use web-fragments on tomcat8, but get an error and the webapp does not start when i turn unpacking of wars off. Is this a supported combination? I can reproduce the error with a plain new tomcat8 install and a standard example. I am using a simple sample war to make sure the

Re: Web-fragments when unpackWARs=false

2015-10-09 Thread Mark Thomas
On 09/10/2015 09:33, Rob Gansevles wrote: > Hi, > > I am trying to use web-fragments on tomcat8, but get an error and the > webapp does not start when i turn unpacking of wars off. > > Is this a supported combination? > > I can reproduce the error with a plain new tomcat8 install and a standard

Re: Web-fragments when unpackWARs=false

2015-10-09 Thread Rob Gansevles
I submitted bug 58490. Thanks, Rob On Fri, Oct 9, 2015 at 10:38 AM, Mark Thomas wrote: > On 09/10/2015 09:33, Rob Gansevles wrote: > > Hi, > > > > I am trying to use web-fragments on tomcat8, but get an error and the > > webapp does not start when i turn unpacking of wars

Re: AW: Problems to configure tomcat as windows service

2015-10-09 Thread Aurélien Terrestris
OK good that it's finally working. There is a weakness in the documentation since it duplicates a big part of the original procrun doc, and it would more readable to just give a short explanation and give a link as you suggest. You can ask for an improvement in the bug database (

FarmWarDeployer in a dynamically changing cluster

2015-10-09 Thread Gintautas Sulskus
Hi, suppose I have a Tomcat 8 cluster coordinated via multicast. If I understand it right, any newly started server will be picked up automatically and any down servers will eventually be dropped out from the cluster. I was wondering, how does FarmWarDeployer cope with this dynamics? Say I have

AW: AW: Problems to configure tomcat as windows service

2015-10-09 Thread Arno Schäfer
Aurélien, > still investigating for you in the documentation ( > http://commons.apache.org/proper/commons-daemon/procrun.html ), can you try > again with --ServiceUser & --ServicePassword instead of --User & --Password ? thanks for that hint. I try it and it works now. :-) I miss the point,

Re: Demand CLIENT-CERT only on certain pages but demand SSL in all pages

2015-10-09 Thread Gael Abadin
@Mark Thomas: I have been going through the documentation on https://docs.oracle.com/cd/E19798-01/821-1841/bncbk/index.html trying to come up with a set of security constraints that allow me to force SSL without asking for a client certificate except on a single login page, but there is nothing

RE: [OT] Tomcat 7.0.55/Jre 7u67: SEND TLSv1 ALERT: fatal, description = bad_record_mac

2015-10-09 Thread George Stanchev
Just for the record, https.protocols is a property used by the HttpsUrlConnection class. If your app is using a client that doesn't rely on the internal Oracle HTTP client, it's better to use " jdk.tls.client.protocols" which is read directly by the socket/SSL classes. Apache Http Client is one

RE: [OT] Tomcat 7.0.55/Jre 7u67: SEND TLSv1 ALERT: fatal, description = bad_record_mac

2015-10-09 Thread George Stanchev
One more clarification: on point [6] below I stated that Java is able to recover with a retry on a cached connection. Unfortunately that is only valid for higher level classes like HttpUrlConnection which makes 1 retry on IOException (and only on a GET and some other conditions). The

Re: Monitoring Connections

2015-10-09 Thread Jamie Jackson
Here's the stack trace dump: https://gist.github.com/jamiejackson/ca2a49d2c8afac496067 FWIW, I've been trying to come up with a reliable test case to trigger the problem, but I haven't nailed it yet. I've suspected that it's related to file (large or slow) HTTP file uploads, and that's what I was

Re: is there already a case for web-fragment.xml in the war and then unpack=false option to not extract the war?

2015-10-09 Thread Johan Compagner
a case is created: https://bz.apache.org/bugzilla/show_bug.cgi?id=58490 On 22 September 2015 at 11:37, Mark Thomas wrote: > On 22/09/2015 10:25, Johan Compagner wrote: > > Hi, > > > > when we have a webfragment in our war to enable i think that absolute > > ordering > > we

Re: Monitoring Connections

2015-10-09 Thread Jamie Jackson
Thanks, so far, everyone. I do already have a JVM monitoring tool in action--FusionReactor. I'm not very familiar with some of the other offerings, but FR has seemed full-featured to me, so I'm going to continue with FR until I find out if/that it's missing some key aspect. I managed to trigger

JDBC PoolExhaustedException

2015-10-09 Thread Nathan Boyce
Does the tomcat jdbc pool use its own executor or does it share the executor that's calling it? Reason I ask is the pool size is set to 320 but only 84 show busy. The default tomcatThreadPool executor has been removed from this config and executor with the name AJPThreadPool has been added

Re: Tomcat bad char issue with new cluster

2015-10-09 Thread Saurav Maulick
Hi Christopher, On Thu, Oct 8, 2015 at 5:11 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Saurav, > > On 10/8/15 4:45 PM, Saurav Maulick wrote: > > URIEncoding setting is present in both the HTTP Connector and AJP > >