We have the following configuration
DB2 8.1 fix Pack 2
Solaris 9
Websphere Portal server 5
JDK 1.4
While installing the product we are facing a problem which seems to be
related to Java connectivity with DB2 through Websphere portal.
/websphere/WebSphere/AppServer/java/bin/native2ascii
.../config/wpconfig.proper ti
es ../config/wpconfig_ascii. properties
Setting cfg.file.name.o riginal to wpconfig.proper ties
Setting cfg.file.name to wpconfig_ascii. properties
Buildfile: wpconfig.xml
validate-database-connection-wmm:
[echo] DbDriver == COM.ibm.db2.jdb c.app.DB2Driver
[echo] WmmDbUrl == jdbc:db2:wmmdb
[echo] WmmDbUser == db2inst1
[echo] DbLibrary == /websphere/database/abp/test/db2java.zip
[echo] WpsInstallLocat ion == /websphere/WebSphere/PortalServer
[java] Could not connect to database
[java] java.sql.SQLExc eption: No suitable driver
BUILD FAILED
/websphere/WebSphere/PortalServer/config/wpconfig.xml:14 4: Java
returned: 2
There is no problem when testing the database connection from a Java
program.
Thanks
Atul Agarwal
at*****@vsnl.co m