Re: tomcat ant test failure due to java exception.

2017-05-01 Thread Arjit Gupta
Hi Mark, Below is the full stack trace of errors. java.lang.AssertionError: Option not found at sun.nio.ch.Net.setSocketOption(Net.java:352) at sun.nio.ch.SocketChannelImpl.setOption(SocketChannelImpl.java:179) at

Re: /.well-known Hidden directory url returns 404

2017-05-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ian, On 5/1/17 3:11 PM, Ian Brown wrote: > I am trying to https/SSL enable my tomcat application server and > have a problem when I request verification from the CA. > > Let's Encrypt requires the certificate request to be placed in >

Re: /.well-known Hidden directory url returns 404

2017-05-01 Thread Mark Thomas
On 01/05/17 20:11, Ian Brown wrote: > I am trying to https/SSL enable my tomcat application server and have > a problem when I request verification from the CA. Let's Encrypt > requires the certificate request to be placed in > mydomain.tld/.well-known/acme-challenge/ which they query to check >

Re: http to https redirect 301

2017-05-01 Thread Mark Thomas
On 01/05/17 14:23, Yuval Schwartz wrote: > Tomcat version: 8.0.22 > jdk: 1.8.0_05 > > I have a webapp that uses a tomcat server behind a load balancer. > > I recently added a the option to connect to my webapp via https. > > I would like to redirect all http requests to https. > I achieved this

Re: Fwd: Identifying 64k size violation for __jspService methods loaded by Tomcat

2017-05-01 Thread Mark Thomas
On 01/05/17 20:24, Mohammed Manna wrote: > Hi, > > May be i didn't explain the issue clearly. I am using the same compiler as > Tomcat (JDT compiler, not ANT). Ant isn't a complier. It is a build tool. Ant uses javac (i.e. tools.jar) to build with. > When doing a standalone *ant build*, my >

Re: Fwd: Identifying 64k size violation for __jspService methods loaded by Tomcat

2017-05-01 Thread Mohammed Manna
Hi, May be i didn't explain the issue clearly. I am using the same compiler as Tomcat (JDT compiler, not ANT). When doing a standalone *ant build*, my pre-compilation doesn't show any 64k size error for __jspService(). But when I launch the application, it *does* throws error on 64k size on

/.well-known Hidden directory url returns 404

2017-05-01 Thread Ian Brown
I am trying to https/SSL enable my tomcat application server and have a problem when I request verification from the CA. Let's Encrypt requires the certificate request to be placed in mydomain.tld/.well-known/acme-challenge/ which they query to check that I control the site. Tomcat does not

http to https redirect 301

2017-05-01 Thread Yuval Schwartz
Tomcat version: 8.0.22 jdk: 1.8.0_05 I have a webapp that uses a tomcat server behind a load balancer. I recently added a the option to connect to my webapp via https. I would like to redirect all http requests to https. I achieved this by implementing the instruction outlined here: