Kbase 21140: No Suitable Driver Error from Java Application on Solaris and Compaq Tru64
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  14/06/2002 |
|
Status: Unverified
FACT(s) (Environment):
Progress 9.1x
Compaq Tru64 UNIX
Sun Solaris SPARC
SYMPTOM(s):
Error when connecting from a Java Application with the SQL-92 JDBC Driver to a Progress Database.
java.sql.SQLException: No suitable driver
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(Compiled Code)
at java.sql.DriverManager.getConnection(Compiled Code)
at java.sql.DriverManager.getConnection(Compiled Code)
at javabug.main(Compiled Code)
CAUSE:
System shared library path not including the runtime shared library.
FIX:
Set the system shared library path to include the runtime shared library $DLC/ lib:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DLC/lib
export LD_LIBRARY_PATH