Thanks Alex. I was able to verify the issue by adding the rt file from the jre 
and it did not throw exceptions. 

-Tony
 

    On Thursday, May 26, 2016 2:25 PM, Alex Popescu <al...@datastax.com> wrote:
 

 Tony,
This thread will have much better chances to get answers and feedback if posted 
on the Java driver mailing list: 
https://groups.google.com/a/lists.datastax.com/forum/m/#!forum/java-driver-user

On Thursday, May 26, 2016, Tony Anecito <adanec...@yahoo.com> wrote:

Okay,  think I understand the issue. Seems netty/casandra driver expect the 
javax.security.cert.X509Certificate to be readily available which it is for 
normal standalone java clients but it is not for the server side. That class is 
in the rt.jar for the jre. But since the server side does not use the rt.jar it 
is not found. Some recent change in netty or the datastax driver expects the 
class but it can not be found on the server side.
I hate to use the client side rt.jar with all the javax classes but that is 
what is needed. I suspect the datastax testing did not take this into account? 
I am using cassandra driver with the Wildfly J2EE container so I am using the 
driver in that configuration not a standalone client. That by the way worked 
fine when I was testing some CQL through the driver.

Regards,-Tony
 

    On Wednesday, May 25, 2016 8:56 PM, Tony Anecito <adanec...@yahoo.com> 
wrote:
 

 Ok I found the additional handler file and I added but at runtime I am still 
getting the error message about the timer class not found and I looked in the 
jar and did not see that class. I was using netty-3.0.9.0.Final with Cassandra 
driver cassandra-driver-core-3.0.2.jar and netty-handler-4.0.33.jar.
So what is the right combination to not get this timer class missing exception?
Thanks.
 

    On Wednesday, May 25, 2016 8:26 PM, Tony Anecito <adanec...@yahoo.com> 
wrote:
 

 Hi All,
I downloaded the latest cassandra driver but when used I get an error about 
class io.netty.util.timer (netty-3.9.0.Final) not being found during runtime. 
If I get the latest netty-alll-4.0.46.Final.jar during runtime I get an 
exception about not having a java.security.cert.x509Certificate class.
So what to do?
Thanks!


   

   


-- 
Bests,
Alex Popescu | @al3xandruSen. Product Manager @ DataStax



» DataStax Enterprise - the database for cloud applications. «





  

Reply via email to