Re: ranger startup exception

2015-08-07 Thread Alok Lal
r@ranger.incubator.apache.org>" Subject: Re: ranger startup exception Hafiz, thanks for confirming that it is working now. Alok, seems we have to roll-back your change till we know why have the other issue. Thanks Bosco From: Hafiz Mujadid mailto:hafizmujadi...@gmail.com>> R

Re: ranger startup exception

2015-08-07 Thread Don Bosco Durai
To: "user@ranger.incubator.apache.org" Subject: Re: ranger startup exception > solved issue on another machine and rolling back to previous commit > > thanks > > On Fri, Aug 7, 2015 at 2:41 PM, Don Bosco Durai wrote: >> Hafiz >> >> After rolling back the change, can you

Re: ranger startup exception

2015-08-07 Thread Hafiz Mujadid
e using > to build. > > Thanks > > Bosco > > > From: Hafiz Mujadid > Reply-To: "user@ranger.incubator.apache.org" < > user@ranger.incubator.apache.org> > Date: Friday, August 7, 2015 at 1:01 AM > > To: "user@ranger.incubator.apache.or

Re: ranger startup exception

2015-08-07 Thread Don Bosco Durai
To: "user@ranger.incubator.apache.org" Subject: Re: ranger startup exception > I have reopened the jira <https://issues.apache.org/jira/browse/RANGER-600> . > Kindly help me to get rid of these issues > > On Fri, Aug 7, 2015 at 12:56 PM, Hafiz Mujadid >

Re: ranger startup exception

2015-08-07 Thread Hafiz Mujadid
b/*:/usr/local/ranger-0.5.0-admin/ews/ranger_jaas/*:/usr/local/ranger-0.5.0-admin/ews/webapp/WEB-INF/classes/conf/ranger_jaas:/usr/lib/jvm/java-7-openjdk-amd64//lib/*: >>>>>>> /home/jsp-api-6.0.20.jar' >>>>>>> org.apache.ranger.server.tomcat.Emb

Re: ranger startup exception

2015-08-07 Thread Hafiz Mujadid
>> org.apache.ranger.server.tomcat.EmbeddedServer >>>>>> >>>>>> >>>>>> I guess this could be because you have CLASSPATH environment variable >>>>>> set to /home/jsp-api-6.0.20.jar. I don’t think this should result in the &

Re: ranger startup exception

2015-08-07 Thread Hafiz Mujadid
think this should result in the >>>>> error you face; but perhaps you can try to start after clearing CLASSPATH >>>>> environment variable? >>>>> >>>>> Also, ServletException class (which seems to be not found - per the >>>>>

Re: ranger startup exception

2015-08-07 Thread Gautam Borad
t;>> >>>> Also, ServletException class (which seems to be not found - per the >>>> error) should be in file >>>> /usr/local/ranger-0.5.0-admin/ews/lib/tomcat-embed-core–7.0.55.jar. Can you >>>> run the following commands and send i

Re: ranger startup exception

2015-08-06 Thread Hafiz Mujadid
ception class (which seems to be not found - per the >>> error) should be in file >>> /usr/local/ranger-0.5.0-admin/ews/lib/tomcat-embed-core–7.0.55.jar. Can you >>> run the following commands and send its output: >>> >>> find /usr/local/ranger-0.5.0-admin -name &quo

Re: ranger startup exception

2015-08-06 Thread Gautam Borad
the following commands and send its output: >> >> find /usr/local/ranger-0.5.0-admin -name "*.jar" -exec fgrep -H >> ServletException {} \; >> >> Madhan >> >> From: Hafiz Mujadid >> Reply-To: "user@ranger.incubator.apache.org" < >

Re: ranger startup exception

2015-08-06 Thread Hafiz Mujadid
r-0.5.0-admin -name "*.jar" -exec fgrep -H > ServletException {} \; > > Madhan > > From: Hafiz Mujadid > Reply-To: "user@ranger.incubator.apache.org" < > user@ranger.incubator.apache.org> > Date: Thursday, August 6, 2015 at 12:28 PM > > To: &

Re: ranger startup exception

2015-08-06 Thread Madhan Neethiraj
.0-admin -name "*.jar" -exec fgrep -H ServletException {} \; Madhan From: Hafiz Mujadid Reply-To: "user@ranger.incubator.apache.org" Date: Thursday, August 6, 2015 at 12:28 PM To: "user@ranger.incubator.apache.org" Subject: Re: ranger startup exception Hi

Re: ranger startup exception

2015-08-06 Thread Hafiz Mujadid
es-start.out. Please >>note attachments would not work in this email thread; so you might need to >>create a JIRA and attach the file. If the file is small enough, you can >>copy/paste the contents in the email. >> >> Thanks, >> Madhan >> >&g

Re: ranger startup exception

2015-08-06 Thread Hafiz Mujadid
gh, you can >copy/paste the contents in the email. > > Thanks, > Madhan > > From: Hafiz Mujadid > Reply-To: "user@ranger.incubator.apache.org" < > user@ranger.incubator.apache.org> > Date: Thursday, August 6, 2015 at 10:58 AM > To: "

Re: ranger startup exception

2015-08-06 Thread Madhan Neethiraj
Mujadid Reply-To: "user@ranger.incubator.apache.org" Date: Thursday, August 6, 2015 at 10:58 AM To: "user@ranger.incubator.apache.org" Subject: Re: ranger startup exception Hi Waiting for help!!! On Thu, Aug 6, 2015 at 12:37 PM, Hafiz Mujadid wrote: > Hi Gautam

Re: ranger startup exception

2015-08-06 Thread Hafiz Mujadid
Hi Waiting for help!!! On Thu, Aug 6, 2015 at 12:37 PM, Hafiz Mujadid wrote: > Hi Gautam! > > OS Details > DISTRIB_ID=Ubuntu > DISTRIB_RELEASE=14.04 > DISTRIB_CODENAME=trusty > DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS" > > Ranger version > > master branch version 0.5 compiled manually > > to st

Re: ranger startup exception

2015-08-06 Thread Hafiz Mujadid
Hi Gautam! OS Details DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.04 DISTRIB_CODENAME=trusty DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS" Ranger version master branch version 0.5 compiled manually to start ranger I am using following command as root user /usr/local/ranger-admin/ews/ranger-admin-services.

Re: ranger startup exception

2015-08-06 Thread Gautam Borad
Thanks Hafiz for verifying. Can you send across the following info: 1. The OS flavor/version that you are using. 2. The Ranger version that you are using and whether it is manually installed OR Ambari based. 3. The command you are using to start Ranger Admin and whether its run as r

Re: ranger startup exception

2015-08-05 Thread Hafiz Mujadid
Here is output of java -version command *ava version "1.7.0_79"* *OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu0.14.04.2)* *OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)* On Thu, Aug 6, 2015 at 11:50 AM, Gautam Borad wrote: > java 1.7.0_79 should work. Just to confir

Re: ranger startup exception

2015-08-05 Thread Gautam Borad
java 1.7.0_79 should work. Just to confirm whether the right java is in your PATH can you send the output of the following command: $ java -version On Thu, Aug 6, 2015 at 11:28 AM, Hafiz Mujadid wrote: > I am using java version 1.7.0_79 > > Which version should I use? > > On Thu, Aug 6, 2015

Re: ranger startup exception

2015-08-05 Thread Hafiz Mujadid
I am using java version 1.7.0_79 Which version should I use? On Thu, Aug 6, 2015 at 10:40 AM, Gautam Borad wrote: > Hafiz, this can be a java issue. Can you let us know which java version > are you using? > > Ranger currently uses the 'java' that will be present in the PATH. > Relevant code tha

Re: ranger startup exception

2015-08-05 Thread Gautam Borad
Hafiz, this can be a java issue. Can you let us know which java version are you using? Ranger currently uses the 'java' that will be present in the PATH. Relevant code that start Ranger Admin : start() { *java* -Dproc_rangeradmin ${JAVA_OPTS} -Dlogdir=${XAPOLICYMGR_EWS_DIR}/logs/ -Dcatalina.b

ranger startup exception

2015-08-05 Thread Hafiz Mujadid
hi I have installed ranger and and started it but it is failing. no ui page is displayed and only catalina.out log file is being generated. In this file following exception is logged. Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/ServletException at java.lang.Cl