HttpServletRequest.login & remoteUser null

2016-09-11 Thread Nicolas Clemeur
Hello, I am using HttpServletRequest.login to authenticate users on an ajax call. This is working fine and the relevant realm is queried. However, on subsequent requests, I have quite often the remote user being null despite having the correct JSESSION cookie set from the login call. This is not

Re: Practical to write code in webapp that can return metadata from current access log?

2016-09-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, On 9/9/16 3:40 PM, KARR, DAVID wrote: > I'm considering writing a secondary diagnostics service for my CXF > REST app running in Tomcat (TomEE) that can return some > information about the number of calls to the main service in a > particula

Re: tomcat8 unable to load the Resource/property file from jar

2016-09-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Venkata, On 9/9/16 2:48 PM, Venkata Reddy P wrote: > These jars are deployed in common folder to make use of my two web > applications. I have modified the catalina.properties file to load > these jars by tomcat server. What happens if you put th

Re: Header values when using HttpServletResponse.sendRedirect()

2016-09-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Joe, On 9/8/16 3:40 PM, Joe Tseng wrote: > I inherited a clusterf*** of a mess disguised as a > JSP/servlet-based MVC-ish app without the benefit of using Spring > or Struts or any sort of framework. No web services, but lots of > $.ajax() POST c

context.xml advice

2016-09-11 Thread Chris Gamache
WEB-INF/web.xml ${catalina.base}/conf/web.xml We're getting great results with this and for Tomcat connection pooling. The context.xml file is properly protected on our snowflake tomcat servers. But, we're looking to start using Docker to containerize our tomcat servers. The easy a