许鹏程
2023-06-30 3bbfaa3d7d416afbd154576453c8ee9e7e2f8899
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
                              IBM Informix
             Installation Notes for IBM Informix JDBC Driver
 
3.50.JC6, December 2009
 
This file contains instructions for installing and uninstalling
IBM® Informix® JDBC Driver 3.50.JC6.
 
 
JDK REQUIREMENT
_____________________________
 
To use IBM Informix JDBC Driver Version 3.50.JC6, you must use a 
JDK 1.4.2 or later package on your platform. 
 
 
 
OBTAINING THE JDBC DRIVER
_____________________________
 
You can obtain the IBM Informix JDBC Driver from the IBM Informix JDBC
Driver product CD, from the JDBC directory of the IBM Informix product
bundle CD, or you can download the driver
from http://www.ibm.com/software/data/informix/tools/jdbc
 
The CD or Web site download contain the following files:
 
*  setup.jar
*  doc/jdbcrel.htm
*  doc/install.txt (this file)
*  doc/patchinfo.htm
 
The setup.jar file is the IBM Informix JDBC Driver installation program.
 
The documentation directory, <dir>/doc, contains the release notes file in HTML
format. Refer to this document for any new information that is not
available in the manual.
 
 
 
INSTALLING THE JDBC DRIVER
_____________________________
 
Prerequisites:
 
If you downloaded the IBM Informix JDBC Driver as .zip file from the Web
site, unzip the file to a directory.
 
If you are installing the driver from a CD, load the CD into the CD-ROM
drive.
 
 
INSTALLING JDBC DRIVER IN GRAPHICAL OR CONSOLE MODE
 
1. From a command prompt, start the installation program by using one of
   the following commands:
   *  To start in graphical mode:
      java -cp <dir>/setup.jar run
 
   *  To start in console mode: 
      java -cp <dir>/setup.jar run -console
 
      Where <dir> is the location of the setup.jar file.
 
      If you want to log information during the installation, also
      specify the -log parameter. See LOGGING INSTALLATION EVENTS
      for information about the arguments that you can use with this
      parameter.
 
2. Read the license agreement and accept the terms. Respond to the
   prompts as the installation guides you.
 
3. When prompted, accept the default directory or specify a different
   directory.
 
   On a Windows platform, the default directory is:    
 
   C:\Program Files\IBM\Informix_JDBC_Driver
 
   To prevent errors in installation and uninstallation, do not use an
   exclamation point character (!) in the installation path.
 
4. When prompted, verify the location of the installation path.
 
   The installer installs the JDBC driver and notifies you that an
   uninstaller is being added to the installation directory.
 
   Note: If the installation stalls when connected to an NFS-mounted
         file system, you should first try resolving NFS issues. In some
         cases, unmounting and remounting the share can resolve the
         issue. Otherwise, forcefully terminate the installation, clean
         up any orphaned processes, and restart the installation.
 
5. Specify Finish when you see this message: 
   InstallShield Wizard has successfully installed IBM Informix JDBC Driver.
   
 
INSTALLING INFORMIX JDBC DRIVER IN SILENT MODE
 
From a command prompt, run the following command:
 
java -cp <dir>/setup.jar run -silent -P product.installLocation=<destination-dir> -G licenseAccepted=true
 
Where:
 
<dir> is the location of setup.jar file.
 
<destination-dir> is the directory where you want to install the JDBC
Driver.
 
The installation is complete when the command has finished executing.
 
If you want to log information during the installation, also specify the
-log parameter. See LOGGING INSTALLATION EVENTS for information
about the arguments that you can use with this parameter.
 
 
 
LOGGING INSTALLATION EVENTS
_____________________________
 
You can enable logging by specifying the -log option when you run the
command to install the driver. The -log option takes arguments for
file type, event type, and file location. For example, to install the
IBM Informix JDBC Driver in graphical mode and retain a log of the
events, run the following command:
 
java -cp setup.jar run -log #![filename] @[event type];[event type]
 
Where:
 
# echoes the display to standard output.
 
![filename] is the name for the log file. You can omit the [filename]
argument to save the log information to the default file name.
 
@<event type> is the event type that you want to log.
 
Following are the arguments and their associated event types:
 
Argument          Event Type
 
err               Errors
 
wrn               Warning
 
msg1              Primary events
 
msg2              Secondary events
 
dbg               Debug events
 
ALL               All events
 
NONE              Disables logging and clears the log file
 
 
LOGGING EXAMPLES
 
The following command installs IBM Informix JDBC Driver in the graphical
mode and logs all events to /tmp/jdbcinstall.log: 
 
java -cp setup.jar run -log  !/tmp/jdbcinstall.log  @ALL
 
The following command installs IBM Informix JDBC Driver in silent mode
and logs error events to /tmp/jdbcinstall.log: 
 
java -cp setup.jar run -silent -P product.installLocation=< > -log
!"/tmp/jdbcinstall.log" @err
 
 
 
UNINSTALLING THE JDBC DRIVER
_____________________________
 
When you install IBM Informix JDBC Driver, the installation program
creates an uninstall package in the directory in which you installed the
JDBC Driver. Uninstalling IBM Informix JDBC Driver completely removes
the driver and all of its components from your computer.
 
The following section describes how to uninstall IBM Informix JDBC
Driver on all platforms.
 
Tip: If the <destination-dir> in which you installed the IBM Informix
      JDBC Driver includes spaces in its pathname, enclose the entire
      pathname in quotation marks when executing the uninstall command.
      
 
UNINSTALLING IN GRAPHICAL OR CONSOLE MODE
 
Run one of the following commands to start the uninstall program, where
<destination-dir> is the directory in which you installed the IBM
Informix JDBC Driver:
 
To start in graphical mode:
 
java -cp <destination-dir>/_uninst/uninstall.jar run
 
To start in console mode:
 
java -cp <destination-dir>/_uninst/uninstall.jar run -console
 
Follow the prompts to uninstall the JDBC driver.
 
 
UNINSTALLING IN SILENT MODE
 
Run the following command to start the uninstall program in silent mode,
where <destination-dir> is the directory in which you installed the IBM
Informix JDBC Driver:
 
java -cp <destination-dir>/_uninst/uninstall.jar run -silent
 
The Uninstall program does not send you any messages but uninstalls the
driver in silent mode.
 
_____________________________
 
CONTACT SUPPORT: 
http://www.ibm.com/software/data/informix/ids/support/
 
_____________________________
 
NOTICES:
This information was developed for products and services offered in the U.S.A.
 
IBM® may not offer the products, services, or features discussed in this document in other countries. 
Consult your local IBM representative for information on the products and services currently available in your area. 
Any reference to an IBM product, program, or service is not intended to state or imply that only that IBM product, 
program, or service may be used. Any functionally equivalent product, program, or service that does not infringe 
any IBM intellectual property right may be used instead. However, it is the user's responsibility to evaluate and 
verify the operation of any non-IBM product, program, or service. IBM may have patents or pending patent applications 
covering subject matter described in this document. The furnishing of this document does not grant you any license to 
these patents. You can send license inquiries, in writing, to:
 
IBM Director of Licensing
IBM Corporation
North Castle Drive
Armonk, NY 10504-1785
U.S.A.
For license inquiries regarding double-byte (DBCS) information, contact the IBM Intellectual Property Department 
in your country or send inquiries, in writing, to:
 
Intellectual Property Licensing
Legal and Intellectual Property Law
IBM Japan Ltd.
1623-14, Shimotsuruma, Yamato-shi
Kanagawa 242-8502 Japan
 
The following paragraph does not apply to the United Kingdom or any other country where such provisions are 
inconsistent with local law: 
 
INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, 
EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, 
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or 
implied warranties in certain transactions, therefore, this statement may not apply to you.
 
This information could include technical inaccuracies or typographical errors. Changes are periodically made 
to the information herein; these changes will be incorporated in new editions of the publication. IBM may make 
improvements and/or changes in the product(s) and/or the program(s) described in this publication at any time without notice.
 
Any references in this information to non-IBM Web sites are provided for convenience only and do not in any 
manner serve as an endorsement of those Web sites. The materials at those Web sites are not part of the materials 
for this IBM product and use of those Web sites is at your own risk.
 
IBM may use or distribute any of the information you supply in any way it believes appropriate without incurring 
any obligation to you.Licensees of this program who wish to have information about it for the purpose of enabling: 
(i) the exchange of information between independently created programs and other programs (including this one) and 
(ii) the mutual use of the information which has been exchanged, should contact:
 
IBM Corporation
J46A/G4
555 Bailey Avenue
San Jose, CA 95141-1003
U.S.A.
 
Such information may be available, subject to appropriate terms and conditions, including in some cases, payment of a fee.
 
The licensed program described in this document and all licensed material available for it are provided by IBM under 
terms of the IBM Customer Agreement, IBM International Program License Agreement or any equivalent agreement between us.
 
Any performance data contained herein was determined in a controlled environment. Therefore, the results obtained 
in other operating environments may vary significantly. Some measurements may have been made on development-level 
systems and there is no guarantee that these measurements will be the same on generally available systems. 
Furthermore, some measurements may have been estimated through extrapolation. Actual results may vary. 
Users of this document should verify the applicable data for their specific environment.
 
Information concerning non-IBM products was obtained from the suppliers of those products, their published 
announcements or other publicly available sources. IBM has not tested those products and cannot confirm the 
accuracy of performance, compatibility or any other claims related to non-IBM products. Questions on the capabilities 
of non-IBM products should be addressed to the suppliers of those products.
 
All statements regarding IBM's future direction or intent are subject to change or withdrawal without notice, 
and represent goals and objectives only.
 
All IBM prices shown are IBM's suggested retail prices, are current and are subject to change without notice. 
Dealer prices may vary.
 
This information is for planning purposes only. The information herein is subject to change before the products 
described become available.
 
This information contains examples of data and reports used in daily business operations. To illustrate them as 
completely as possible, the examples include the names of individuals, companies, brands, and products. All of these 
names are fictitious and any similarity to the names and addresses used by an actual business enterprise is entirely coincidental.
 
COPYRIGHT LICENSE:
 
This information contains sample application programs in source language, which illustrate programming techniques 
on various operating platforms. You may copy, modify, and distribute these sample programs in any form without 
payment to IBM, for the purposes of developing, using, marketing or distributing application programs conforming 
to the application programming interface for the operating platform for which the sample programs are written. 
These examples have not been thoroughly tested under all conditions. IBM, therefore, cannot guarantee or imply 
reliability, serviceability, or function of these programs. The sample programs are provided "AS IS", without 
warranty of any kind. IBM shall not be liable for any damages arising out of your use of the sample programs.
 
Each copy or any portion of these sample programs or any derivative work, must include a copyright notice as follows:
 
© (your company name) (year). Portions of this code are derived from IBM Corp. Sample Programs.
 
© Copyright IBM Corp. _enter the year or years_. All rights reserved.
 
If you are viewing this information softcopy, the photographs and color illustrations may not appear.
 
_____________________________
 
TRADEMARKS:
 
IBM, the IBM logo, and ibm.com® are trademarks or registered trademarks of International Business Machines Corp., 
registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. 
A current list of IBM trademarks is available on the Web at “Copyright and trademark information” at http://www.ibm.com/legal/copytrade.shtml.
 
Java™ and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.
 
Other company, product, or service names may be trademarks or service marks of others.
 
Contact support: http://www.ibm.com/software/data/informix/ids/support/
 
© Copyright IBM Corp. 1996, 2009