Re: [EXTERNAL] Using CLIENT-CERT

2018-04-11 Thread Amit Pande
Thank you so much Chris and Mark! Sincerely appreciate the inputs. Sent from my iPhone > On Apr 11, 2018, at 8:16 AM, Christopher Schultz > wrote: > > Mark and Amit, > >> On 4/10/18 2:21 AM, Mark Thomas wrote: >>> On 9 April 2018 23:29:43 BST, Amit Pande wrote: >>> Some more debugging here a

RE: CrawlerSessionManagerValve only working with default host

2018-04-11 Thread Matt Cosentino
I first noticed it by the large number of sessions in the manager webapp, but then I verified it in my logs. Both of my sites are polled every minute by the UptimeRobot service. These requests are logged and I can see what session is being used. For the default host site, they reuse the same ses

Training material is now on-line

2018-04-11 Thread Mark Thomas
Hi all, Thanks to the magic of GitHub pages, the Tomcat training material that was used for the recent training session is now available on-line here: https://apache.github.io/tomcat-training/ The source code is here: https://github.com/apache/tomcat-training We plan to add more modules and c

Re: Virtual directories, PostResources, and DefaultServlet

2018-04-11 Thread Christopher Schultz
André, On 4/11/18 5:47 PM, André Warnier (tomcat) wrote: > On 11.04.2018 16:36, Christopher Schultz wrote: >> André, >> >> On 4/10/18 11:38 AM, André Warnier (tomcat) wrote: >>> Hi. >>> >>> On 10.04.2018 15:53, Christopher Schultz wrote: All, I've been asked to take some static file

Re: Virtual directories, PostResources, and DefaultServlet

2018-04-11 Thread tomcat
On 11.04.2018 16:36, Christopher Schultz wrote: André, On 4/10/18 11:38 AM, André Warnier (tomcat) wrote: Hi. On 10.04.2018 15:53, Christopher Schultz wrote: All, I've been asked to take some static files we already have on our (reverse-proxied) web servers and require authentication before

Re: Tomcat websocket server onclose failed( Tomcat 8.5)

2018-04-11 Thread Mark Thomas
On 11/04/18 09:50, Funian Li wrote: > Dear All, > > A problem happen when tomcat websocket server was used. Exact Tomcat version? If not 8.5.30, does the problem still occur if you upgrade to 8.5.30? Mark > >A sensor data chart with sampling freqency 50Hz is drawn. Tomcat > websocket

Re: CrawlerSessionManagerValve only working with default host

2018-04-11 Thread Christopher Schultz
Matt, On 4/11/18 2:03 PM, Matt Cosentino wrote: > I have CrawlerSessionManagerValve set up at the Engine level, but it only > seems to be working for the default host and not any other host. Is this > expected behavior? Should I put it at the host level for each host? > > Here is an example of

CrawlerSessionManagerValve only working with default host

2018-04-11 Thread Matt Cosentino
I have CrawlerSessionManagerValve set up at the Engine level, but it only seems to be working for the default host and not any other host. Is this expected behavior? Should I put it at the host level for each host? Here is an example of how I have it set up:

Re: Virtual directories, PostResources, and DefaultServlet

2018-04-11 Thread Christopher Schultz
Woonsan, On 4/10/18 11:11 AM, Woonsan Ko wrote: > On Tue, Apr 10, 2018 at 9:53 AM, Christopher Schultz > wrote: >> All, >> >> I've been asked to take some static files we already have on our >> (reverse-proxied) web servers and require authentication before allowing >> the resources to be fetched

Re: Virtual directories, PostResources, and DefaultServlet

2018-04-11 Thread Christopher Schultz
André, On 4/10/18 11:38 AM, André Warnier (tomcat) wrote: > Hi. > > On 10.04.2018 15:53, Christopher Schultz wrote: >> All, >> >> I've been asked to take some static files we already have on our >> (reverse-proxied) web servers and require authentication before allowing >> the resources to be fet

Re: [EXTERNAL] Using CLIENT-CERT

2018-04-11 Thread Christopher Schultz
Mark and Amit, On 4/10/18 2:21 AM, Mark Thomas wrote: > On 9 April 2018 23:29:43 BST, Amit Pande wrote: >> Some more debugging here and I got some stuff working here. >> >> Only one question: >> >> It is not really clear from the documentation of "clientAuth" >> >> "Set to true if you want the SS

Re: Is LDAP connection failing?

2018-04-11 Thread Felix Schumacher
Hi Luis, Am 05.04.2018 18:50, schrieb Luis Rodríguez Fernández: Hello Suvendu, May I ask you to share your JNDIRealm configuration? For me something like this works: roleBase="OU=BASE_ORGANIZATION_UNIT_FOR_MY_GROUPS,OU=Workgroups,DC=cern,DC=ch" roleSubtree="1" roleName="cn"

Re: Is LDAP connection failing?

2018-04-11 Thread Felix Schumacher
Am 05.04.2018 15:32, schrieb Suvendu Sekhar Mondal: Hello Everyone, Recently in one of our environments I am seeing following log in Catalina.out. It seems that LDAP connection is failing. This issue is sporadic and goes away with Tomcat recycle. One interesting thing is "localhost:389" part. I

Tomcat websocket server onclose failed( Tomcat 8.5)

2018-04-11 Thread Funian Li
Dear All, A problem happen when tomcat websocket server was used. A sensor data chart with sampling freqency 50Hz is drawn. Tomcat websocket server( Version 8.5) is used to push the data with 20ms interval. The server code is as following: @ServerEndpoint("/websocketendpoint")public class

Re: Connection closed error and certificateVerification="required"

2018-04-11 Thread Richard Tearle
On 5 April 2018 at 08:35, Richard Tearle wrote: > > On 4 April 2018 at 17:58, Mark Thomas wrote: > > On 26/03/18 08:25, Richard Tearle wrote: > > > > > > > > Thanks. I've got the test application and UI running but I haven't yet > > reproduced the problem. What parameters are you calling run-tes