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.properti
es ../config/wpconfig_ascii.properties
Setting cfg.file.name.original to wpconfig.properties
Setting cfg.file.name to wpconfig_ascii.properties
Buildfile: wpconfig.xml
validate-database-connection-wmm:
[echo] DbDriver == COM.ibm.db2.jdbc.app.DB2Driver
[echo] WmmDbUrl == jdbc:db2:wmmdb
[echo] WmmDbUser == db2inst1
[echo] DbLibrary == /websphere/database/abp/test/db2java.zip
[echo] WpsInstallLocation == /websphere/WebSphere/PortalServer
[java] Could not connect to database
[java] java.sql.SQLException: No suitable driver
BUILD FAILED
/websphere/WebSphere/PortalServer/config/wpconfig.xml:144: Java
returned: 2
There is no problem when testing the database connection from a Java
program.
Thanks
Atul Agarwal
at*****@vsnl.com