Fichier de configuration des utilitaires UDDI

Les données de configuration des utilitaires UDDI se trouvent dans un fichier de propriétés de configuration qui décrit l'environnement d'exécution, l'emplacement des registres UDDI et de la base de données, les informations d'accès et de consignation, la configuration de la sécurité, l'emplacement du fichier de définition des entités et d'autres indicateurs permettant de contrôler si les entités référencées peuvent être importées et/ou remplacées.

Les utilitaires UDDI sont fournis avec un exemple de fichier de propriétés de configuration nommé UDDIUtilityTools.properties. Par défaut, ce fichier se trouve dans le répertoire racine_serveur_app/UDDIReg/scripts. Si vous n'indiquez pas de chemin, le fichier des propriétés de configuration est recherché par défaut dans le répertoire courant.

Pour définir et utiliser le fichier des propriétés de configuration, procédez comme suit :
  1. [z/OS]Copiez le modèle de fichier de propriétés de configuration dans un emplacement accessible en écriture.
  2. Modifiez le fichier des propriétés comme suit :
    • Définissez le chemin d'accès aux classes en incluant le répertoire courant (.),le fichier UDDIUtilityTools.jar et tous les fichiers .jar dépendants, comme indiqué dans Prérequis des utilitaires UDDI. Le chemin d'accès aux classes doit inclure le fichier JAR du pilote de base de données (par exemple, db2java.zip).
    • Si vous configurez un fournisseur Java™ Secure Socket Extension (JSSE), ajoutez le fichier .jar qui contient le fournisseur au chemin de classe. Pour configurer un fournisseur JSSE, définissez la propriété jsse.provider. La valeur par défaut est com.ibm.jsse.IBMJSSEProvider. Pour indiquer le fournisseur Federal Information Processing Standard (FIPS) JSSE, affectez à la propriété jsse.provider la valeur com.ibm.fips.jsse.IBMJSSEFIPSProvider.
    • Définissez les autres propriétés de manière appropriée. Pour plus d'informations, voir les commentaires contenus dans le modèle de fichier UDDIUtilityTools.properties.
    • Remplacez le nom de votre système hôte local par celui de votre serveur.
    • Remplacez le numéro de port 9080 par votre port HTTP interne.
  3. Quand vous démarrez les utilitaires UDDI, indiquez le fichier des propriétés de configuration modifié.
[Windows]Remarque : Utilisez des barres obliques dans les chemins. Les barres obliques inversées ^peuvent être interprétées comme des séquences d'échappement comme les espaces de tabulation. Exemple,
C:\temp\definitions\entities01.xml
devient
C:	emp\definitions\entities01.xml

L'exemple suivant illustre le modèle de fichier des propriétés de configuration.

[AIX Solaris HP-UX Linux Windows]
##############################################
# Runtime environment                        #
# (if invoking using java -jar...)           #
# "X Y" required around paths with spaces.   #
# Replace WAS_HOME with your WebSphere       #
# Application Server home path.              #
# Replace DB2_HOME with the locations of DB2 #
# db2java.zip is for DB2 - replace this with #
# appropriate database driver file.          #
##############################################
classpath=.;WAS_HOME/UDDIReg/scripts/UDDIUtilityTools.jar;
WAS_HOME/plugins/com.ibm.ws.runtime.jar;WAS_HOME/plugins/com.ibm.uddi.jar;
WAS_HOME/dev/javaEE/j2ee.jar;"DB2_HOME/SQLLIB/java/db2java.zip"

##############################################
# SOAP entry points for source UDDI          #
############################################## 
fromInquiryURL=http://localhost:9080/uddisoap/inquiryapi
fromGetURL=http://localhost:9080/uddisoap/get

##############################################
# SOAP entry points for target UDDI          #
############################################## 
toInquiryURL=http://localhost:9080/uddisoap/inquiryapi
toPublishURL=http://localhost:9080/uddisoap/publishapi

##############################################
# UDDI registry user information             #
#                                            #
# Note: This information must match the user #
# information that was used to publish the   #
# entities on the target UDDI registry.      #
############################################## 
userID=UNAUTHENTICATED
password=NONE

##############################################
# Configuration for destination UDDI DB      #
############################################## 
dbDriver=COM.ibm.db2.jdbc.app.DB2Driver
dbUrl=jdbc:db2:uddi30
dbUser=db2admin
dbPasswd=db2admin

##############################################
# Security provider configuration            #
##############################################
# Indicates whether security is required on the target registry
secure.connection=true

# The location of the truststore if security is required
trustStore.fileName=TrustFile.jks

# The password for the trust store
trustStore.password=WebAS

# The JSSE Provider class name
jsse.provider=com.ibm.jsse.IBMJSSEProvider

##############################################
# Trace and message logging configuration    #
############################################## 
# detail level of message output (all functions)
verbose=true

# detail level of trace output.
# 1: severe
# 2: normal
# 3: detail
traceLevel=3

# path to message log file (relative or absolute)
messageLogFileName=logs/messages.log

# path to trace log file (relative or absolute)
traceLogFileName=logs/trace.log

############################################## 
# Miscellaneous Options                      #
############################################## 
# indicates whether existing entities are overwritten (import/promote)
# Note: tModels in referencedTModels section are never overwritten, 
#       regardless of this setting. To overwrite tModels, they must 
#       be present in the tModels section.
overwrite=false   

# indicates whether referenced entities are imported (import/promote)
importReferencedEntities=true

# location of entity definition file, used for (export/import)
UddiEntityDefinitionFile=definitions/entities01.xml

# namespace prefix to use in definition file (export)
namespacePrefix=promote
[IBM i]
##############################################
# Runtime environment                        #
# (if invoking using java -jar...)           #
# "X Y" required around paths with spaces.   #
# Replace WAS_HOME with your WebSphere       #
# Application Server home path.              #
# db2java.zip is for DB2 - replace this with #
# appropriate database driver file.          #
##############################################
classpath=.:WAS_HOME/UDDIReg/scripts/UDDIUtilityTools.jar:
WAS_HOME/plugins/com.ibm.ws.runtime.jar:WAS_HOME/plugins/com.ibm.uddi.jar:
WAS_HOME/dev/javaEE/j2ee.jar:/QIBM/UserData/Java400/ext/db2_classes.jar

##############################################
# SOAP entry points for source UDDI          #
############################################## 
fromInquiryURL=http://localhost:9080/uddisoap/inquiryapi
fromGetURL=http://localhost:9080/uddisoap/get

##############################################
# SOAP entry points for target UDDI          #
############################################## 
toInquiryURL=http://localhost:9080/uddisoap/inquiryapi
toPublishURL=http://localhost:9080/uddisoap/publishapi

##############################################
# UDDI registry user information             #
#                                            #
# Note: This information must match the user #
# information that was used to publish the   #
# entities on the target UDDI registry.      #
############################################## 
userID=UNAUTHENTICATED
password=NONE

##############################################
# Configuration for destination UDDI DB      #
# Userid and Password must have authority to #
# the iSeries server and DB                  #
############################################## 
dbDriver=com.ibm.db2.jdbc.app.DB2Driver
dbUrl=jdbc:db2:localhost/ibmudi30
dbUser=iSeriesUserProfile
dbPasswd=iSeriesUserPassword

##############################################
# Security provider configuration            #
##############################################
# Indicates whether security is required on the target registry
secure.connection=true

# The location of the truststore if security is required
trustStore.fileName=TrustFile.jks

# The password for the trust store
trustStore.password=WebAS

# The JSSE Provider class name
jsse.provider=com.ibm.jsse.IBMJSSEProvider

##############################################
# Trace and message logging configuration    #
############################################## 
# detail level of message output (all functions)
verbose=true

# detail level of trace output.
# 1: severe
# 2: normal
# 3: detail
traceLevel=3

# path to message log file (relative or absolute)
messageLogFileName=logs/messages.log

# path to trace log file (relative or absolute)
traceLogFileName=logs/trace.log

############################################## 
# Miscellaneous Options                      #
############################################## 
# indicates whether existing entities are overwritten (import/promote)
# Note: tModels in referencedTModels section are never overwritten, 
#       regardless of this setting. To overwrite tModels, they must 
#       be present in the tModels section.
overwrite=false   

# indicates whether referenced entities are imported (import/promote)
importReferencedEntities=true

# location of entity definition file, used for (export/import)
UddiEntityDefinitionFile=definitions/entities01.xml

# namespace prefix to use in definition file (export)
namespacePrefix=promote
[z/OS]
##############################################
# Runtime environment                        #
# (if invoking using java -jar...)           #
# "X Y" required around paths with spaces.   #
# Replace WAS_HOME with your WebSphere       #
# Application Server home path.              #
# db2java.jar is for DB2 - replace this with #
# appropriate database driver file.          #
##############################################
classpath=.;WAS_HOME/UDDIReg/scripts/UDDIUtilityTools.jar;
WAS_HOME/plugins/com.ibm.ws.runtime.jar;WAS_HOME/plugins/com.ibm.uddi.jar;
WAS_HOME/dev/javaEE/j2ee.jar;/usr/lpp/db2810/db2810/jcc/classes/db2java.jar

##############################################
# SOAP entry points for source UDDI          #
# Replace localhost:9080 with the required   #
# values.                                    #
############################################## 
fromInquiryURL=http://localhost:9080/uddisoap/inquiryapi
fromGetURL=http://localhost:9080/uddisoap/get

##############################################
# SOAP entry points for target UDDI          #
# Replace localhost:9080 with the required   #
# values.                                    #
############################################## 
toInquiryURL=http://localhost:9080/uddisoap/inquiryapi
toPublishURL=http://localhost:9080/uddisoap/publishapi

##############################################
# UDDI Registry user information             #
#                                            #
# Note: This information must match the user #
# information that was used to publish the   #
# entities on the target UDDI registry.      #
############################################## 
userID=UNAUTHENTICATED
password=NONE

##############################################
# Configuration for destination UDDI DB      #
# Replace DB2LOCATION with the DB2 location  #
############################################## 
dbDriver=com.ibm.db2.jcc.DB2Driver
dbUrl=jdbc:db2:DB2LOCATION
dbUser=db2admin
dbPasswd=db2admin

##############################################
# Security provider configuration            #
##############################################
# Indicates whether security is required on the target registry
secure.connection=true

# The location of the truststore if security is required
trustStore.fileName=TrustFile.jks


# The password for the trust store
trustStore.password=WebAS

# The JSSE Provider class name
jsse.provider=com.ibm.jsse.IBMJSSEProvider

##############################################
# Trace and message logging configuration    #
############################################## 
# detail level of message output (all functions)
verbose=true

# detail level of trace output.
# 1: severe
# 2: normal
# 3: detail
traceLevel=3

# path to message log file (relative or absolute)
messageLogFileName=logs/messages.log

# path to trace log file (relative or absolute)
traceLogFileName=logs/trace.log

############################################## 
# Miscellaneous Options                      #
############################################## 
# indicates whether existing entities are overwritten (import/promote)
# Note: tModels in referencedTModels section are never overwritten, 
#       regardless of this setting. To overwrite tModels, they must 
#       be present in the tModels section.
overwrite=false   

# indicates whether referenced entities are imported (import/promote)
importReferencedEntities=true

# location of entity definition file, used for (export/import)
UddiEntityDefinitionFile=definitions/entities01.xml

# namespace prefix to use in definition file (export)
namespacePrefix=promote

Icône indiquant le type de rubrique Rubrique de référence



Icône d'horodatage Dernière mise à jour: last_date
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rwsu_utility_tool_config
Nom du fichier : rwsu_utility_tool_config.html