ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40887] New: - copy task & sql task not working for DB2 license jar
Date Fri, 03 Nov 2006 14:04:37 GMT
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: shrirangm@rediffmail.com
                CC: shrirangm@rediffmail.com


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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message