SQL Problems : No suitable driver



Hi all



I have a problem with java application.



My shell script uses some jar files and calls a class

I have set up the DBAccessor.properties with

driver=COM.ibm.db2.jdbc.app.DB2Driver

# specify connection url

url=jdbc:db2:dev_cms

But iam getting SQL Problems : No suitable driver



I have changed the driver to .net.DB2Driver also but still the problem
persists.



Could any body help me out ..



Since the same file is working in one server (AIX)- java version "1.4.0"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0)

Classic VM (build 1.4.0, J2RE 1.4.0 IBM AIX 5L for PowerPC (64 bit JVM)
build ca

ix641401-20021126 (JIT enabled: jitc))

And is throwing error on another server(AIX)- java version "1.4.1"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1)

Classic VM (build 1.4.1, J2RE 1.4.1 IBM AIX build ca1411-20040301 (JIT
enabled: jitc))





Thanks

Vamsi







DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.


Relevant Pages

  • File Association for JARS
    ... The problem is that Java JAR files are both Archives and Executables. ... Ubuntu seems to be set up so that a JAR looks like a ZIP file. ...
    (Ubuntu)
  • Re: package and jar files
    ... > I am new to Java. ... This class is placed in the package nl.opk, ... can also include source code, ... .jar files are created using the jar tool supplied with the JDK/SDK. ...
    (comp.lang.java.programmer)
  • Re: [OT] java classpath
    ... constantly cursed the java classpath because instead of being able to just list ... That hasn't been my experience -- for all the Java programs I've ... there were some issues concerning jar files). ... directories - each jar file has a fully qualified entry. ...
    (comp.text.tex)
  • does anyone use ident on jar files?
    ... literal generated from the expanded $Id$ keyword from CVS. ... enable the ident command to be used on the jar files. ... (subversion does not have the $Id$ keyword). ... parts no longer build with java 5 or java 6 due to language changes ...
    (comp.lang.java.programmer)
  • Re: What happened? My "https applets" stopped working
    ... I will look at the Java encryption thing now. ... They don't work in either browser, ... I can work around one of the applets, and not see wht I'm posting to ... > contains two JAR files. ...
    (comp.lang.java.help)