Hi,
There is no particular setting for sequoia to be used with libMySequoia, you just have to get the controller running. Can you connect to it with java ?
Can you tell exactly where your perl program hangs, and possibly send the full controller logs ?
Nikolay Marchuk a écrit :

Hello. Please help me!

 

I use  libmysequoia version 0.9, carob version 0.5.3, Sequoia controller version 2.9

I write code:

 

use DBI;

use DBD::mysql;

my $dsn = "dbi:mysql:sequoia_cmhostdb;host=localhost";

 

my $dbh = DBI->connect($dsn, 'user',''); or die print $DBI::errstr;

my $sth = $dbh->prepare("select fild1 from cmtest1");

      $sth->execute;

my $fild;

        while(($fild)=$sth->fetchrow_array){

          print "  $fild\n";

   }

And compile

LD_PRELOAD=/usr/lib/libmysequoia.so perl test02.pl

 

But it not work.

 

Sequoia controller give the error

 

Exception in thread "VirtualDatabaseWorkerThread-sequoia_cmhostdb" java.lang.NullPointerException

        at org.continuent.sequoia.controller.requestmanager.RequestManager.openPersistentConnection(RequestManager.java:478)

        at org.continuent.sequoia.controller.virtualdatabase.VirtualDatabase.openPersistentConnection(VirtualDatabase.java:1037)

        at org.continuent.sequoia.controller.virtualdatabase.VirtualDatabaseWorkerThread.run(VirtualDatabaseWorkerThread.java:335)

 

What it this? May be need special setting for Sequoia controller?

 

 

Thank you for your help.

 

With best wishes

 


_______________________________________________ Carob mailing list [email protected] https://forge.continuent.org/mailman/listinfo/carob



_______________________________________________
Carob mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob

Reply via email to