DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=40887>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40887 Summary: copy task & sql task not working for DB2 license jar Product: Ant Version: 1.6.2 Platform: Other OS/Version: Windows 2000 Status: NEW Severity: normal Priority: P2 Component: Core tasks AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] we need db2jcc_license_cu.jar to connect to DB2 which on linux. Now On my win2k m/c, I browse this file from ANTInstaller using File select & copy it to required lib directory.After that i set my classpath also. Now when installation progresses it tries to connect to DB2 using sql task.It gives me follwing error:- S:\eRefFE\StreetStation\dist\build.xml:199: com.ibm.db2.jcc.b.SqlException: The version of the IBM Universal JDBC driver in use is not licensed for connectivity to QDB2/LINUX databases. To connect to this DB2 server, please obtain a licensed copy of the IBM DB2 Universal Driver for JDBC and SQLJ. An appropriate license file db2jcc_license_*.jar for this target platform must be installed to the application classpath. Connectivity to QDB2/LINUX databases is enabled by any of the following license files: { db2jcc_license_cu.jar, db2jcc_license_cisuz.jar } Error indicationtes that it's not getting mentioned jar file. build.xml:199 is location of <sql ...> task The same Installation runs second time PROPERLY or If i copy this jar file MANUALLY into the lib dir. So does copy task keeps handle to jar file engaged ? why it fails first time and runs second time? I tried with specifying <sleep> and <waitFor> options in copy and sql tag but useless. please help -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]