This seems like a class path problem. Try specifying the class path to the
jar with that class in it via: CLASSPATH=/foo/bar.jar jruby ...
On Wednesday, December 2, 2015, Josh Harrison
wrote:
> Hi Guys,
>
> We’re trying to spin up a testing version of Phoenix and
Thanks for your help Samarth, unfortunately I’ve still got the same error after
these steps, to give the full error:
NameError: cannot link Java class org.apache.phoenix.jdbc.PhoenixDriver,
probable missing dependency: Could not initialize class
org.apache.phoenix.jdbc.PhoenixDriver
Josh,
One step worth trying would be is to register the PhoenixDriver instance
and see if that helps. Something like this:
DriverManager.registerDriver(PhoenixDriver.INSTANCE)
Connection con = DriverManager.getConnection("jdbc:phoenix:localhost:2181”)
- Samarth
On Wed, Dec 2, 2015 at 3:41 PM,
Hi ,
We are using Phoenix 4.4.0 in our project and apache commons pool.
We are facing an intermittent issue , sometimes we don't get the phoneix
connection and the thread continue to be in the waiting state for ever,
below is one such thread trace,
Stack trace:
sun.misc.Unsafe.park(Native
I've seen this before in jruby, but I can't recall the fix. Maybe try the
JRuby list if nobody knows?
On Wednesday, December 2, 2015, Josh Harrison
wrote:
> Thanks for your help Samarth, unfortunately I’ve still got the same error
> after these steps, to give the