----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/73048/#review222249 -----------------------------------------------------------
Mahesh - in addition to this fix in startup script, I suggest to update EmbeddedServer to handle absence of command-line argument log4j.configuration. - Madhan Neethiraj On Nov. 30, 2020, 3:24 p.m., Mahesh Bandal wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/73048/ > ----------------------------------------------------------- > > (Updated Nov. 30, 2020, 3:24 p.m.) > > > Review request for ranger, Dhaval Shah, Dineshkumar Yadav, Gautam Borad, > Kishor Gollapalliwar, Abhay Kulkarni, Madhan Neethiraj, Mehul Parikh, Pradeep > Agrawal, Ramesh Mani, Sailaja Polavarapu, and Velmurugan Periasamy. > > > Bugs: RANGER-3092 > https://issues.apache.org/jira/browse/RANGER-3092 > > > Repository: ranger > > > Description > ------- > > Ranger KMS setup.sh executes successfully, however when we try to start KMS > service with following command : > > ./ranger-kms start > It shows "Apache Ranger KMS Service failed to start" and only catalina.out > log file is created in ews/logs folder. > > Following error at ews/logs/catalina.out file : > > Exception in thread "main" java.lang.NullPointerException > at > org.apache.ranger.server.tomcat.EmbeddedServer.<init>(EmbeddedServer.java:94) > at > org.apache.ranger.server.tomcat.EmbeddedServer.main(EmbeddedServer.java:85) > > > Diffs > ----- > > kms/scripts/ranger-kms bfe7bd506 > > > Diff: https://reviews.apache.org/r/73048/diff/1/ > > > Testing > ------- > > 1. Ranger builds successfully. > 2. Ranger Admin and Ranger KMS started successfully > > > Thanks, > > Mahesh Bandal > >