UDDI 유틸리티 도구 구성 파일

UDDI 유틸리티 도구에 대한 구성 데이터가 구성 특성 파일에 있고, 이는 참조된 엔티티를 가져오거나 겹쳐쓰거나, 혹은 둘 다를 수행할 수 있을지 여부를 제어하기 위해 런타임 환경, UDDI 및 데이터베이스 위치와 액세스 정보, 로깅 정보, 보안 구성, 엔티티 정의 파일 위치 및 기타 플래그에 대해 설명합니다.

샘플 구성 특성 파일(UDDIUtilityTools.properties)이 UDDI 유틸리티 도구와 함께 제공됩니다. 기본적으로 이 파일은 app_server_root/UDDIReg/scripts 디렉토리에 있습니다. 특성 경로를 지정하지 않으면 기본적으로 현재 디렉토리에서 구성 특성 파일이 검색됩니다.

구성 파일을 설정하고 사용하려면 다음 프로시저를 사용하십시오.
  1. [z/OS]샘플 구성 특성 파일을 사용자가 쓸 수 있는 위치로 복사하십시오.
  2. 샘플 구성 특성 파일을 수정하십시오.
    • 현재 디렉토리(.)를 포함해야 하는 클래스 경로, UDDI 유틸리티 도구 필수 소프트웨어에 나열된 것과 같은 UDDIUtilityTools.jar 및 모든 하위 JAR을 설정하십시오. 클래스 경로는 데이터베이스 드라이버 JAR 파일(예: db2java.zip)을 포함해야 합니다.
    • JSSE(Java™ Secure Socket Extension) 제공자를 구성 중이면 클래스 경로에 제공자를 포함하는 .jar 파일을 추가하십시오. JSSE 제공자를 구성하려면, jsse.provider 특성을 설정하십시오. 기본값은 com.ibm.jsse.IBMJSSEProvider입니다. FIPS(Federal Information Processing Standard) JSSE 제공자를 지정하려면 com.ibm.fips.jsse.IBMJSSEFIPSProvider에 jsse.provider 특성을 설정하십시오.
    • 필요에 따라 기타 특성을 설정하십시오. 세부사항은 샘플 UDDIUtilityTools.properties 파일에서 주석을 참조하십시오.
    • 서버의 이름으로 localhost를 변경하십시오.
    • 내부 HTTP로 포트 번호 9080을 변경하십시오.
  3. UDDI 유틸리티 도구를 실행할 때, 수정된 구성 특성 파일을 지정하십시오.
[Windows]참고: 경로에서 슬래시(/)를 사용하십시오. 백슬래시는 탭 간격과 같은 이스케이프 시퀀스로 해석될 수 있습니다. 예를 들어, 다음과 같습니다.
C:\temp\definitions\entities01.xml
은 다음과 같이 됩니다.
C:	emp\definitions\entities01.xml

다음 예제는 샘플 구성 특성 파일을 표시합니다.

[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

주제 유형을 표시하는 아이콘 참조 주제



시간소인 아이콘 마지막 업데이트 날짜: last_date
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rwsu_utility_tool_config
파일 이름:rwsu_utility_tool_config.html