Re: Getting user role membership without context

2017-08-07 Thread Mark Thomas
Personally, I'd step through the JNDIRealm with a debugger (I use Eclipse) to see exactly what is going on. If you aren't set up for that, enabling debug logging for the JNDIRealm should provide some insight but it might not answer everything. Mark On 04/08/17 21:24, Alex O'Ree wrote: > Rehashin

Re: DeltaManager implementation

2017-08-07 Thread Mark Thomas
On 04/08/17 20:55, christop...@baus.net wrote: > We are still having an issue with some users losing session information. > I want to use synchronous updates for the DeltaManager. > To enable this should the channelSendOptions be set to 6? That isn't > clear to me from reading the documentation. C

Re: [8.0.44] NPE when deploying to /manager/text/list with RemoteHostValve

2017-08-07 Thread Zemian Deng
Hi Martynas, you are getting NPE because "request.getRemoteHost()" is returning null value after you enableLookups! Maybe you have problem resolving hostname in your env? Try to disable the valve and test "<%= request.getRemoteHost() %>" in a simple jsp until you can get the right value before re-e

[8.0.44] NPE when deploying to /manager/text/list with RemoteHostValve

2017-08-07 Thread Martynas Jusevičius
Hi, I'm deploying WAR from Jenkins Docker container to Tomcat Docker container. In server.xml I have enableLookups to enable DNS lookups and in conf/Catalina/localhost/manager.xml I have There is also manager-script role and user in tomcat-users.xml but I won't post it because authe