If your JDBC Driver contains more than one JAR, you'll probably have to modify properties.xml so it has:
<fileset dir="${db2.dir}" includes="*.jar"/> instead of: <pathelement location="${database.jar}"/> Here's some old instructions I wrote for DB2 a couple of years ago: http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseOnDB2 HTH, Matt On 2/13/07, ranjini <[EMAIL PROTECTED]> wrote:
Hi, I am trying to connect AppFuse with DB2 version 9. I found that to change the database connectivity, we need to change the build.properties and the properties.xml file. Although it is working for Oracle database, it is not working for DB2. I modified the lib.properties file to include the DB2 jar files, but the DB2 license jar file is not detected.How do I add the DB2 license jar file to the classpath? If the lib.properties file is not modified to include the DB2 jar files, then it throws an error that the DB2 driver class cannot be loaded. Since my application requires connectivity with DB2, I need some assistance. Any kind of help would be valued. Thanks & Regards, Ranjini -- View this message in context: http://www.nabble.com/DB2-Driver-Class-cannot-be-loaded-error-in-AppFuse-tf3219609s2369.html#a8941346 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]