Before you use the UDDI Utility Tools, ensure that the
required .jar files are available.
Ensure that the following .jar files are available
to the UDDI Utility Tools. You must specify the locations of the .jar
files in the class path in the UDDI Utility Tools properties file:
- UDDIUtilityTools.jar
- This file is the UDDI Utility Tools .jar file and is in the app_server_root/UDDIReg/scripts
directory.
- com.ibm.uddi_1.0.0.jar
- This file contains the UDDI4J classes and is in the app_server_root/plugins
directory.
- j2ee.jar
- This file contains some required J2EE classes and is in the app_server_root/lib
directory.
- com.ibm.ws.runtime_6.1.0.jar
- This is the Apache SOAP implementation and is in the app_server_root/plugins
directory.
- DbDriver
- This driver is needed for the UDDIUtilityTool to connect to your
target database. See the following table for the values you must specify
for your chosen database:
|
DB2 |
Cloudscape (Derby) |
Oracle |
DBDriverLocation for class path |
DB2_HOME/db2java.zip |
app_server_root/derby/lib/derbyclient.jar |
ORACLE_HOME/jdbc/lib/ojdbc14.jar |
Driver |
com.ibm.db2.jdbc.app.DB2Driver, or com.ibm.db2.jcc.DB2Driver
for a remote DB2 database.
You can also set up a local alias
to the remote database using the DB2® client.
|
com.ibm.db2.jcc.DB2Driver |
oracle.jdbc.OracleDriver |
URL |
jdbc:db2://host:database_name |
jdbc:db2j:net://host:1527/database_name |
jdbc:oracle:thin:@host:1521:database_name |
where:
- app_server_root is
the directory location of WebSphere Application Server.
- DB2_HOME is the directory location of DB2,
for example c:\Program Files\SQLLIB\java12\
- ORACLE_HOME is the
directory location of Oracle, for example c:\oracle\ora92\
- database_name is the name
of the database. For Cloudscape (Derby),
make sure that database_name includes the path
to the database, for example profile_root/databases/com.ibm.uddi/UDDI30
Notes:
- For Cloudscape (Derby), make the database
network-enabled so that it can handle multiple connections. Refer
to the section about managing the Derby network server in the Cloudscape information center .
- For DB2, add DB2_HOME/sqllib/lib to your
LD_LIBRARY_PATH and LIBPATH environment variables.
The Security provider configuration section
in the above properties file shows the location of the default DummyClientTrustFile.jks
file. If you are using your own truststore, ensure that the location
is placed here.
The UDDI Utility Tools use UDDI Version 2 SOAP
inquiry and publish interfaces. These APIs are protected, as described
in Access
control for UDDI registry interfaces. The UDDI Utility Tools
also access the UDDI registry database through the database driver,
and access to the database is controlled by the database management
system.