phoenix-Hbase-client jar web application issue

2016-11-23 Thread pradeep arumalla
hello group , when I try to connect to hbase using *phoenix-4.8.1-HBase-1.2-client.jar *in my web application on tomcat* , *I see the jar is getting rejected because of javax/servlet/Servlet.class package being present in the jar, is there an other jar to use ?.Please advice. INFO: validateJarFil

Re: phoenix-Hbase-client jar web application issue

2016-11-23 Thread Josh Elser
Hi Pradeep, No, this is one you will likely have to work around on your own by building a custom Phoenix client jar that does not include the javax-servlet classes. They are getting transitively pulled into Phoenix via Hadoop (IIRC). If your web application already has the classes present, yo

Re: phoenix-Hbase-client jar web application issue

2016-11-23 Thread pradeep arumalla
thanks josh looking into it. On Wed, Nov 23, 2016 at 1:48 PM, Josh Elser wrote: > Hi Pradeep, > > No, this is one you will likely have to work around on your own by > building a custom Phoenix client jar that does not include the > javax-servlet classes. They are getting transitively pulled into

Re: phoenix-Hbase-client jar web application issue

2016-11-24 Thread pradeep arumalla
finally success, just exclude the offending classes, mine were, so yours would be too, if you are trying to connect jdbc driver from a web server.Please exclude the classes below from the pom file in phoenix-client folder. org.apache.phoenix:phoenix-client x

Re: phoenix-Hbase-client jar web application issue

2016-11-26 Thread Josh Elser
Great, glad you got it working. pradeep arumalla wrote: finally success, just exclude the offending classes, mine were, so yours would be too, if you are trying to connect jdbc driver from a web server.Please exclude the classes below from the pom file in phoenix-client folder. org.apache.pho