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

2017-08-08 Thread Martynas Jusevičius
Hmm, strange. I tried "ping jenkins" from shell and it worked. On Tue, 8 Aug 2017 at 04.19, Zemian Deng wrote: > 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 di

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