db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "simmi iyer (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-450) dblook should be able to use Network Client driver to connect to Network server
Date Mon, 11 Jul 2005 04:51:10 GMT
    [ http://issues.apache.org/jira/browse/DERBY-450?page=comments#action_12315461 ] 

simmi iyer commented on DERBY-450:
----------------------------------

1. This is the dblook command

java  -Dderby.system.home=/export/home/user/derby/derbySystem org.apache.derby.tools.dblook
-d 'jdbc:derby://electra:1527/mydb;user=mydb_owner;password=owner_mydb' -verbose

2. This is derby.properties

derby.connection.requireAuthentication=true
derby.drda.logConnections=true
derby.drda.traceAll=true
derby.infolog.append=true
derby.authentication.provider=BUILTIN

3. CLASSPATH
/usr/local/derby_10/lib/derby.jar:/usr/local/derby_10/lib/derbytools.jar:/usr/local/derby_10/lib/derbynet.jar:/usr/local/derby_10/lib/derbyclient.jar:./


4. dblook output

java.sql.SQLException: No suitable driver
        at java.sql.DriverManager.getConnection(DriverManager.java:545)
        at java.sql.DriverManager.getConnection(DriverManager.java:193)
        at org.apache.derby.tools.dblook.go(dblook.java)
        at org.apache.derby.tools.dblook.main(dblook.java)
-- **--> DEBUG: No suitable driver

5. I am able to use client driver in java code with same derby.properties and CLASSPATH.

thanks


> dblook should be able to use Network Client driver to connect to Network server
> -------------------------------------------------------------------------------
>
>          Key: DERBY-450
>          URL: http://issues.apache.org/jira/browse/DERBY-450
>      Project: Derby
>         Type: New Feature
>   Components: Tools
>     Versions: 10.0.2.1
>     Reporter: simmi iyer

>
> Currently dblook can hook to Network server using IBM DB2 driver.
>  It does not support the database URL for Network Client driver whereas ij supports this.
> Support for drivers by all tools should be consistent.

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


Mime
View raw message