No Suitable driver
------------------

         Key: SEQUOIA-952
         URL: https://forge.continuent.org/jira/browse/SEQUOIA-952
     Project: Sequoia
        Type: Bug
  Components: JDBC Driver  
    Versions: Sequoia 3.0 beta2    
 Environment: OS-Mandriva Linux 2007 - Java1.4 - Perl 5.8.8 - DBI 1.5.6 - 
DBD:JDBC 0.70 - log4j-1-213
    Reporter: Paulo Nievierowski


Hello,

I am getting the error 'No suitable driver'. Already I tried of some forms, 
searched in the Internet and I am not obtaining to solution. Below it copies it 
of the archives bash and Perl and the reply of it java. Please I ask for 
orientation.

Regards,

Paulo Nievierowski

#!/bin/bash
cd /opt/j_perl
export CLASSPATH=/opt/j_perl/dbd_jdbc.jar:/opt/j_perl/log4j-1.2.13.jar:
$SEQUOIA_HOME/drivers/sequoia-driver.jar:$CLASSPATH
DRIVERS=org.continuent.sequoia.driver.Driver
java -classpath $CLASSPATH -Djdbc.drivers=$DRIVERS -Ddbd.port=9001
 -Ddbd.trace=tedious com.vizdom.dbd.jdbc.Server


#!/usr/bin/perl -w
use DBI;
use DBD::JDBC;
my $dbh = DBI->connect("dbi:JDBC:hostname=localhost;port=9001;
url=jdbc:sequoia//csq_matriz:25322,csq_casa:25322/vDBPG",
"sequser", "userpassw") or die print $DBI::errstr;


[Server] 09:45:33,700 INFO  - [Server] accepting connections
[Server] 09:45:57,282 INFO  - [Server] received a connection from /127.0.0.1
[Thread-0] 09:45:57,310 INFO  - Client started
[Thread-0] 09:45:57,311 DEBUG - Request: Connect
[Thread-0] 09:45:57,312 DEBUG - Setting character encoding to ISO8859_1
[Thread-0] 09:45:57,313 DEBUG - url = 
jdbc:sequoia//csq_matriz:25322,csq_casa:25322/vDBPG
[Thread-0] 09:45:57,313 DEBUG - user = sequser
[Thread-0] 09:45:57,352 WARN  - Error
java.sql.SQLException: No suitable driver
        at java.sql.DriverManager.getConnection(DriverManager.java:532)
        at java.sql.DriverManager.getConnection(DriverManager.java:171)
        at com.vizdom.dbd.jdbc.Connection.handleRequest(Connection.java:378)
        at com.vizdom.dbd.jdbc.Connection.run(Connection.java:197)
        at java.lang.Thread.run(Thread.java:534)
[Thread-0] 09:45:57,378 DEBUG - Closed 0 Statements on disconnect
[Thread-0] 09:45:57,378 INFO  - Client done


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to