7-1-1 Metadata Library Users Guide
7-1-1 Metadata Library Users Guide
Cerebra, Glue, Infravio X‐Broker, Infravio X‐Registry, Infravio, My webMethods Server, My webMethods, webMethods Access, webMethods Administrator,
webMethods Broker, webMethods Central Configuration, webMethods Dashboard, webMethods Designer, webMethods Developer, webMethods Fabric,
webMethods Glue, webMethods Infrastructure Data Collector, webMethods Infravio X‐Broker, webMethods Infravio X‐Registry, webMethods Installer,
webMethods Integration Server, webMethods logo, webMethods Mainframe, webMethods Manager, webMethods Modeler, webMethods Monitor,
webMethods Optimize for Infrastructure, webMethods Optimize for Process, webMethods Optimize, webMethods Portal, webMethods Process Engine,
webMethods Servicenet, webMethods Task Engine, webMethods Trading Networks, webMethods Workflow, and webMethods are either registered
trademarks or trademarks of webMethods, Inc.
Acrobat, Acrobat, and Reader are registered trademarks of Adobe Systems Incorporated. Amdocs and ClarifyCRM are registered trademarks of Amdocs.
Ariba is a registered trademark of Ariba, Inc. BEA, BEA WebLogic Server, Jolt, and Tuxedo are registered trademarks, and BEA WebLogic Platform is a
trademark of BEA Systems, Inc. Action Request System, BMC Software, PATROL, and Remedy are registered trademarks of BMC Software, Inc. BroadVision
is a registered trademark of BroadVision, Inc. Chem eStandards and CIDX are trademarks of CIDX, The Chemical Industry Data Exchange. SiteMinder and
Unicenter are registered trademarks of CA, Inc. PopChart is a registered trademark of CORDA Technologies, Inc. Kenan and Arbor are registered trademarks
of Alcatel‐Lucent. Data Connection and SNAP‐IX are registered trademarks of Data Connection Corporation. D&B and D‐U‐N‐S are registered trademarks of
Dun & Bradstreet Corporation. Eclipse is a trademark of Eclipse Foundation, Inc. Entrust is a registered trademark of Entrust, Inc. papiNet is a registered
trademark of the European Union and the United States. Financial Information eXchange, F.I.X, and F.I.X Protocol are trademarks of FIX Protocol Ltd.
UCCnet and eBusinessReady are registered trademarks, and 1SYNC and Transora are trademarks of GS1 US. Hewlett‐Packard, HP, HP‐UX, OpenView, PA‐
RISC, and SNAplus2 are trademarks of Hewlett‐Packard Company. i2 is a registered trademark of i2 Technologies, Inc. AIX, AS/400, CICS, ClearCase, DB2,
Domino, IBM, Informix, Infoprint, Lotus, Lotus Notes, MQSeries, OS/390, OS/400, RACF, RS/6000, SQL/400, S/390, System/390, VTAM, and WebSphere, and
z/OS are registered trademarks; and Communications System for Windows NT, DB2 Universal Database, IMS, MVS, and SQL/DS are trademarks of IBM
Corporation. InnoDB is a trademark of Innobase Oy. Itanium is a registered trademark of Intel Corporation. Linux is a registered trademark of Linus
Torvalds. W3C is a registered trademark, and X Window System is a trademark of the Massachusetts Institute of Technology. MetaSolv is a registered
trademark of Metasolv Software, Inc. ActiveX, Microsoft, Outlook, Visual Basic, Visual SourceSafe, Windows, Windows NT, and Windows Server are
registered trademarks of Microsoft Corporation. Six Sigma is a registered trademark of Motorola, Inc. Firefox and Mozilla are registered trademarks of the
Mozilla Foundation. MySQL is a registered trademark of MySQL AB. nCipher is a trademark of nCipher Corporation Ltd. Eclipse is a trademark of Eclipse
Foundation, Inc. Entrust is a registered trademark of Entrust, Inc. papiNet is a registered trademark of the European Union and the United States. Financial
Information eXchange, F.I.X, and F.I.X Protocol are trademarks of FIX Protocol Ltd. UCCnet and eBusinessReady are registered trademarks, and 1SYNC and
Transora are trademarks of GS1 US. Hewlett‐Packard, HP, HP‐UX, OpenView, PA‐RISC, and SNAplus2 are trademarks of Hewlett‐Packard Company. i2 is a
registered trademark of i2 Technologies, Inc. AIX, AS/400, CICS, ClearCase, DB2, Domino, IBM, Informix, Infoprint, Lotus, Lotus Notes, MQSeries, OS/390,
OS/400, RACF, RS/6000, SQL/400, S/390, System/390, VTAM, and WebSphere, and z/OS are registered trademarks; and Communications System for Windows
NT, DB2 Universal Database, IMS, MVS, and SQL/DS are trademarks of IBM Corporation. InnoDB is a trademark of Innobase Oy. Itanium is a registered
trademark of Intel Corporation. Teradata is a registered trademark of NCR Corporation. Netscape is a registered trademark of Netscape Communications
Corporation. ServletExec is a registered trademark, and New Atlanta is a trademark of New Atlanta Communications, LLC. SUSE is a registered trademark
of Novell, Inc. Appia is a registered trademark and Javelin Technologies is a trademark of NYFIX, Inc. CORBA is a registered trademark of Object
Management Group, Inc. JD Edwards, OneWorld, Oracle, PeopleSoft, Siebel, and Vantive are registered trademarks; and Infranet, PeopleSoft Pure Internet
Architecture, Portal, and WorldSoftware are trademarks of Oracle Corporation. Perforce is a trademark of Perforce Software. JBoss and Red Hat are
registered trademarks of Red Hat, Inc. PIP and RosettaNet are trademarks of RosettaNet, a non‐profit organization. SAP and R/3 are registered trademarks
of SAP AG. PVCS is a registered trademark of Serena Software, Inc. SWIFT and SWIFTNet are registered trademarks of Society for Worldwide Interbank
Financial Telecommunication SCRL. SPARC and SPARCStation are registered trademarks of SPARC International, Inc. BAAN and SSA are registered
trademarks; and SSA Global is a trademark of SSA Global Technologies, Inc. EJB, Enterprise JavaBeans, Java, JavaServer, JDBC, JSP, J2EE, Solaris, Sun, and
Sun Microsystems are registered trademarks; and Java Naming and Directory Interface, JavaServer Pages, SOAP with Attachments API for Java, and SunSoft
are trademarks of Sun Microsystems, Inc. Sybase is a registered trademark of Sybase, Inc. VERITAS is a registered trademark, and VERITAS Cluster Server is
a trademark of Symantec Corporation. UNIX is a registered trademark of The Open Group. Unicode is a trademark of Unicode, Inc. VeriSign is a registered
trademark of Verisign, Inc.
Software AG and all Software AG product names are either trademarks or registered trademarks of Software AG.
Other product and company names mentioned herein may be the trademarks of their respective owners.
Copyright © 2004—2007 webMethods, Inc. All rights reserved.
Copyright © 2004—2007 Software AG and/or its suppliers, Uhlandstrasse 12, 64297 Darmstadt, Germany. All rights reserved.
Contents
Chapter 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
How to Use this Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Metadata Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Designer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
CentraSite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Integration Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Installing and Uninstalling Metadata Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Starting and Stopping the Metadata Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Restarting the Metadata Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Running the Metadata Library as a Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Configuration Agent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Defining and Mapping Hosts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Database Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Validating and Deploying a Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Metadata Library Built-In Users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Using My webMethods Server to Authenticate Metadata Library Users . . . . . . . . . . . . . . . . . . . 53
Using My webMethods Server to Grant Access to the Metadata Library . . . . . . . . . . . . . . . . . . 55
Using SSL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Enabling the Metadata Library to use SSL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Configuring Designer to Connect to the Metadata Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Enabling CentraSite Metadata Extraction without Using Central Configuration . . . . . . . . . . . . . . . . . 67
This guide explains how to configure and manage webMethods Metadata Library. It
also contains information about how to use the Metadata Library with webMethods
Designer 7.1.x, webMethods Integration Server 7.1.x, My webMethods Server 7.1.x,
CentraSite GE 7.1 SP1, and CentraSite EE 3.1.7.
Document Conventions
Convention Description
Bold Identifies elements on a screen.
Italic Identifies variable information that you must supply or
change based on your specific situation or environment.
Identifies terms the first time they are defined in text.
Also identifies service input and output variables.
Narrow font Identifies storage locations for services on the
webMethods Integration Server using the convention
folder.subfolder:service.
Typewriter font Identifies characters and values that you must type
exactly or messages that the system displays on the
console.
UPPERCASE Identifies keyboard keys. Keys that you must press
simultaneously are joined with the “+” symbol.
\ Directory paths use the “\” directory delimiter unless
the subject is UNIX‐specific.
[] Optional keywords or values are enclosed in [ ]. Do not
type the [ ] symbols in your own code.
Additional Information
The webMethods Advantage Web site at http://advantage.webmethods.com provides you
with important sources of information about webMethods products:
Troubleshooting Information. The webMethods Knowledge Base provides
troubleshooting information for many webMethods products.
Documentation Feedback. To provide feedback on webMethods documentation, go to
the Documentation Feedback Form on the webMethods Bookshelf.
Additional Documentation. Starting with 7.0, you have the option of downloading the
documentation during product installation to a single directory called
“_documentation,” located by default under the webMethods installation directory. In
addition, you can find documentation for all webMethods products on the
webMethods Bookshelf.
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Note: You only need to follow the instructions in Chapter 2 once. After you have
established the default configuration, you should refer to Chapter 3, “Configuring the
Metadata Library” for instructions on making any future configuration changes.
Overview
Metadata Library
Metadata is data about assets in webMethods components (for example, assets modeled in
Designer, Integration Server packages, or CentraSite services).
A Metadata Library provides metadata storage and retrieval features to webMethods
components. A Metadata Library operates as a shared database of metadata. The main
purpose of a Metadata Library is to allow reuse of assets among users. A user can publish
metadata about an asset to the Metadata Library. Other users will be able to see the
published metadata and incorporate the asset into their own projects.
A user does not directly access the Metadata Library. Rather it is accessed by other
webMethods components, namely webMethods Designer, Integration Server, and
CentraSite.
Designer
Designer can publish metadata about assets to the Metadata Library. It can also browse
the Metadata Library and use metadata in projects.
Designer has an extensive online Help system. Refer to the online Help for instructions on
using Designer.
CentraSite
The Metadata Library itself receives metadata from CentraSite. There is no separate
metadata publisher that must be configured and no configuration is required in
CentraSite.
Metadata extraction from CentraSite is configured in the Metadata Library Configuration
environment in Central Configuration. For more information, see “CentraSite Asset
Publisher” on page 34.
Integration Server
Integration Server can publish metadata about packages to the Metadata Library. For
more information, see Chapter 4, “Using the Metadata Library in Integration Server”.
Note: If you are using DB2 for Metadata Library’s database components, check DB2’s
transaction log configuration parameters before running MLIVP. The parameters must be
set to at least the recommended minimums (not defaults), namely LOGFILSZ = 1000,
LOGPRIMARY = 10, and LOGSECOND = 2. Consult your database administrator for help.
To run MLIVP
Note: By default, MLIVP assumes the Metadata Library is running on port 8090 (which
is the default provided during installation). If you chose to install it to run on a
different port, edit the setup.sh or setup.bat file before running it. In the file, there is a
-port flag. Change the -port value to the correct port number. Save the file and then
run it as instructed above.
3 When asked if you want to continue, type “y” and press Enter.
Wait for the program to finish. It might take a few minutes to complete.
4 You can now begin using the Metadata Library.
Important! Do not close the Metadata Library command prompt or console. Closing it
will shut down the Metadata Library.
If the Metadata Library is installed as a Windows service and has been stopped,
start it using the Windows Services management console (Start > Programs >
Administrative Tools > Services). The service name is webMethods Metadata Library.
Note: “manage” is the default password for the Administrator user. For security
reasons, your system administrator might have changed it. If so, ask him or her for the
password.
4 Click OK.
5 Under SERVER FUNCTIONS, click Stop Server.
“Server shutdown in progress” appears.
6 Close the Web browser.
7 The Metadata Library command prompt or console remains open. Close it.
If the Metadata Library is installed as a Windows service, stop the service using
the Windows Services management console (Start > Programs > Administrative Tools >
Services). The service name is webMethods Metadata Library.
Note: “manage” is the default password for the Administrator user. For security
reasons, your system administrator might have changed it. If so, ask him or her for the
password.
4 Click OK.
5 Under SERVER FUNCTIONS, click Restart Server.
“Server restart in progress” appears.
6 Close the Web browser.
7 The Metadata Library command prompt or console displays status messages about
the Metadata Library. Wait for the following messages to appear (which indicate the
Metadata Library is running again):
[com.webmethods.fabric.server.logging.LoggingService] <date‐time> FATAL:
===========================================
[com.webmethods.fabric.server.logging.LoggingService] <date‐time> FATAL:
Build information:
[com.webmethods.fabric.server.logging.LoggingService] <date‐time> FATAL:
cerebra-owlapi-svc.war -- Build <build number> (<date>)
[com.webmethods.fabric.server.logging.LoggingService] <date‐time> FATAL:
cerebra-reasoning-svc.war -- Build <build number> (<date>)
[com.webmethods.fabric.server.logging.LoggingService] <date‐time> FATAL:
uddi-extractor.war -- Build <build number> (<date>)
[com.webmethods.fabric.server.logging.LoggingService] <date‐time> FATAL:
Server Started
[com.webmethods.fabric.server.logging.LoggingService] <date‐time> FATAL:
===========================================
Important! Do not close the Metadata Library command prompt or console. Closing it
will shut down the Metadata Library.
Note: You can run Metadata Library as a service in Windows only. You cannot run it as a
service on Unix‐based systems.
Note: Since it is no longer installed as a Windows service, you must manually start the
Metadata Library as an application from now on. See “Starting and Stopping the
Metadata Library” on page 11.
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Introduction
To use webMethods Central Configuration to configure the Metadata Library, follow the
instructions in this chapter. You will create a Metadata Library Configuration
environment in Central Configuration and initialize it with default options. Once
established you can use this environment to make future changes to the Metadata
Library’s configuration.
Most, but not all, Metadata Library features are enabled and configured in this chapter. If
you want to enable features not covered here, complete this default configuration and
then see Chapter 3, “Configuring the Metadata Library”. Chapter 3 provides information
about setting options to values other than the defaults provided in this chapter.
Important! After installing the Metadata Library, MLIVP (Metadata Library Install and
Verification Program) must be run once before you start using the Metadata Library. If
MLIVP has not been run, you must do so before following the instructions in this chapter.
See “Installing and Uninstalling Metadata Library” on page 9.
Note: You must log in as Administrator or as a user with administrator privileges. For
more information, see Getting Started with My webMethods or the My webMethods Server
Administrator’s Guide.
Note: There are two database components for the Metadata Library: Repository
and Reasoner. If they were installed to two different databases, you should create
two database pools, one for each component. If they are installed to the same
database, you can use the same, single database pool. You can determine if they
were installed to different databases by looking at the cerebraRepo.xml and
cerebraReso.xml files. For more information, see the note following the table
below.
The following are sample URLs for the supported relational database
management systems:
Important! For DB2, if you are installing in a schema other than the
default schema for the specified database user, you must specify these
connection options:
AlternateId=schema;InitializationString="SET CURRENT
PATH=schema"
AlternateID is the name of the default schema that is used to qualify
unqualified database objects in dynamically prepared SQL
statements.
Note: The database connection URL was initially set during installation of the
Metadata Library. You can find the URL specified during installation by viewing
the cerebraRepo.xml and cerebraReso.xml files. The files are located in: Metadata
Library_directory\library\server\library\conf\JDBC\pools. In each file, the <url>
element specifies the database connection URL. For example:
<connection>
<url>jdbc:wm:sqlserver://localhost;DatabaseName=mdl</url>
</connection>
The <url> element in the cerebraRepo.xml file specifies the URL for the Metadata
Repository. The <url> element in the cerebraReso.xml file specifies the URL for the
Metadata Reasoner. Typically, both <url> elements will specify the same database.
c For Database User, enter a valid user for accessing the Metadata Library database.
If you used the default during Metadata Library installation, the database user is
mdluser.
d For Database Password, enter the password for the database user. If you used the
default during Metadata Library installation, the password is mdluserpass.
e Click Test to make sure you can connect to the Metadata Library database with the
connection settings you just specified.
“Test Passed!” should appear at the bottom of the screen.
Note: If the test fails, make sure the Metadata Library is running. For information
about starting the Metadata Library, see “Starting and Stopping the Metadata
Library” on page 11.
Option Value
Minimum Connections 4
Connection Tries 8
Allow Statement Caching (clear the check box, which disables statement
caching)
8 Click Save.
9 You are returned to the Database Pool Configuration page. MDL appears under POOL.
Note: You can choose any name you want for the environment. However, Software AG
recommends you use the name suggested above. The rest of this guide refers to this
name. If you choose a different name, substitute it whenever you see the
recommended name used in this guide.
5 Click Save.
The Metadata Library Configuration environment appears under ENVIRONMENT NAME.
What type of information will be written to the Metadata Library’s log file.
Whether the Metadata Library connects to the My webMethods Server for user
authentication.
What port the Metadata Library is listening to.
Option Setting
Registry User [email protected] (default)
Option Setting
Registry Security URL For these options, do not change anything but
localhost or port number if necessary. If
Registry Inquiry URL CentraSite is located on another computer, replace
Registry Publish URL localhost with the host name or IP address of the
computer. If CentraSite is listening to a different
Registry Taxonomy URL port, replace the default 2020 with the correct port.
Registry Subscription URL
Note: Registry Taxonomy URL is optional.
c Click Save.
4 Set logging options:
These options control how system or error information about the Metadata Library is
logged and displayed.
a Select MDL Journal Logging.
Journal Loggers for Metadata Library options appear.
With these settings, logging information will be saved to the following file:
Metadata Library_directory\library\server\library\log\server.log.
For more information, see “Logging” on page 37.
c Click Save.
5 Select Metadata Library Configuration.
6 Set Metadata Library options:
These options control how the Metadata Library exposes itself for access by other
applications and how it runs.
a For Host, leave the default value of localhost.
b For Port, enter the port the Metadata Library is listening to. By default, this is
8090.
The port number is initially set during installation of the Metadata Library. If the
default was chosen, the port is 8090. If you are unsure what port number was
entered during installation you can find it in the server.xml file. The file location
is: Metadata Library_directory\library\server\library\deploy\fabric‐
tomcat.sar\server.xml. In that file, the port attribute of the Connector element
specifies the port number. For example:
<Connector
port=”8090” Metadata Library port number
address=”${jboss.bind.address}”
maxThreads=”250”
strategy=”ms”
maxHttpHeaderSize=”8192”
emptySessionPath=”true”/>
Note: If you specify a port that is already in use by another application or service
and deploy the Metadata Library configuration, Central Configuration will no
longer be able to communicate with the Metadata Library. If this occurs, see “To
fix the Metadata Library port” on page 42.
c For MwS Location (Specify to enable MwS authentication), enter the URL of a My
webMethods Server.
The Metadata Library can authenticate users on its own. Entering the URL of a
My webMethods Server here means the Metadata Library should also rely on the
My webMethods Server to authenticate users (in addition to its own
authentication services). You can leave this option blank if you want users
authenticated only by the Metadata Library itself. For more information, see
“Using My webMethods Server to Authenticate Metadata Library Users” on
page 53.
By default, MwS Location (Specify to enable MwS authentication) is
http://localhost:8585. If the My webMethods Server is running on another
computer, enter that computer’s host name or IP address in place of “localhost”. If
the My webMethods Server is listening to a different port, enter it in place of
“8585”.
Note: If the My webMethods Server requires SSL, enter https instead of http in
the MwS Location (Specify to enable MwS authentication) URL. Also, you must specify a
trust store and password; see step g below.
Note: A truststore allows the Metadata Library to verify that it can trust
communication from the My webMethods Server. The truststore file contains
certificates obtained from a certificate authority (for example, VeriSign), and is
provided and installed by your system administrator.
What you enter in the Trust Store box is interpreted as a relative path off Metadata
Library_directory/library/server/library/conf/. Typically, the truststore file is placed
Important! You must use Unix path syntax (for example, “/” instead of “\”) in the
this box even if you are on a Windows system.
h If you specified a truststore above, for Trust Store Password, enter a password to
access it.
Your system administrator should provide you with this password.
i Click Save.
Note: The password fields might show a different number of mask characters than
the number of actual characters in the password. This is intentionally done to hide
the number of characters in the password.
Note: Enter only the host name or IP address. Do not include a protocol prefix like
“http://”.
The Edit Host Mapping For: Metadata Library dialog box appears.
3 Under AVAILABLE HOSTS TO MAP, select the host you defined earlier (see “Defining a
Metadata Library Host” on page 25).
To map an endpoint
Note: The port number you enter here must match the port number you entered for
Port on page 23.
The Edit Configuration Agent Credential Metadata Library dialog box appears.
Note: The user name and password you enter here must be for a valid Metadata
Library user, not a My webMethods Server user. The Metadata Library maintains its
own internal list of users. By default, the Metadata Library has a user named
“Administrator” with password “manage”.
1 Make sure all tabs (except Validate) in the environment have green check marks,
indicating they have been configured. See the following illustration.
Note: The configuration options you have selected will not be reflected in the Metadata
Library until you deploy the configuration.
1 Under ACTIONS, click the (Deploy) icon for Metadata Library Configuration.
2 Click Deploy All.
“Successfully deployed environment” appears.
Note: For more information about deploying a configuration environment, see the
webMethods Central Configuration and Deployment Guide.
3 Click Close.
You are returned to the Define Environments page. You are done using Central
Configuration; you can logout of My webMethods if you want.
Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Important! This chapter assumes you have created the Metadata Library Configuration
environment in Chapter 2, “Default Configuration”.
To make configuration changes to the Metadata Library, you will use the Metadata
Library Configuration environment in Central Configuration.
Almost all configuration is performed using the configuration tabs in this environment:
Typically, the general steps in making configuration changes to the Metadata Library are:
1 Make changes in the configuration tabs.
2 Validate and deploy the configuration.
3 Restart the Metadata Library.
The remaining sections of this chapter describe how to perform these tasks.
Note: The Metadata Library you want to configure must be running. For instructions, see
“Starting and Stopping the Metadata Library” on page 11.
Note: You must log in as Administrator or as a user with administrator privileges. For
more information, see Getting Started with My webMethods or the My webMethods Server
Administrator’s Guide.
Note: You can enable metadata extraction from CentraSite without using Central
Configuration. See “Enabling CentraSite Metadata Extraction without Using Central
Configuration” on page 67.
1 In the Metadata Library Configuration environment, select the Configure Servers tab.
For instructions on accessing the environment, see “Accessing the Configuration
Environment” on page 33.
2 Under CONFIGURATION, expand Metadata Library 7.1.0.0.
3 Select CentraSite Asset Publisher.
CentraSite Asset Publisher for Metadata Library options appear.
4 To enable extraction, enter a valid user name as the Registry User value.
Fill in the other CentraSite Asset Publisher options as well, see “To set CentraSite
Asset Publisher options” on page 35.
5 To disable extraction, delete the current user name so it is blank.
1 In the Metadata Library Configuration environment, select the Configure Servers tab.
For instructions on accessing the environment, see “Accessing the Configuration
Environment” on page 33.
2 Under CONFIGURATION, expand Medata Library v7.1.0.0.
3 Select CentraSite Asset Publisher.
CentraSite Asset Publisher for Metadata Library options appear.
The following table describes the options you can set.
Important! If you do not want to change a setting, leave it at its current value; do not
blank it out. All values are required for metadata extraction from CentraSite to work
properly.
Note: The URLs (that is, Registry Security, Inquiry, Publish, and Subscription) in the
following table show the correct paths to the various services. The paths in these
URLs should not change. Only change localhost or the port number if necessary. If
CentraSite is running on another server, replace localhost with the host name or IP
address of the server. If CentraSite is listening to a different port, replace the default
with the correct port. By default, CentraSite is installed to listen to port 2020. Unless a
different port was chosen during installation, you should use the default port of 2020
for these options.
Note: To connect to CentraSite using SSL, change the protocol prefix in the Registry
Security, Inquiry, Publish, and Subscription URLs to https instead of http. Make sure
the Metadata Library is set up as an SSL client to CentraSite; see “Enabling the
Metadata Library to use SSL” on page 58.
Option Description
Registry User A valid CentraSite user name. A default user name
initially installed in the system is:
[email protected]
Option Description
Registry Password The password for the user name you entered above.
The initial, default password for the
[email protected] user is: manage
Registry Security URL The URL for fetching UDDI authentication tokens
from CentraSite. An authentication token is required
for inquiry access to CentraSite.
Example URL:
http://localhost:2020/registry/uddi/
security
Registry Inquiry URL The URL for accessing the inquiry API of CentraSite.
Web service details are fetched from CentraSite using
this URL.
Example URL:
http://localhost:2020/registry/uddi/
inquiry
Registry Publish URL The URL for accessing the publish API of CentraSite.
Example URL:
http://localhost:2020/registry/uddi/
publish
Registry Taxonomy URL The URL for accessing the taxonomies of CentraSite.
This field is optional.
Example URL:
http://localhost:2020/registry/uddi/
taxonomy
Registry Subscription URL The URL for accessing the subscription API of
CentraSite.
Example URL:
http://localhost:2020/registry/uddi/
subscription
Registry Subscription Interval How often CentraSite is checked for changes to Web
services. This is a numeric value, interpreted in
minutes. Recommended setting: 2.
Option Description
Registry Subscription Name This option controls which business in CentraSite will
have metadata extracted about its services. You can
extract metadata from only one business at a time.
“Business” is a level in the data hierarchy in
CentraSite. By convention, it usually represents an
actual business entity. For more information, see the
CentraSite Governance Edition User’s Guide.
Recommended setting: webMethods
OverviewURL Loader Class The class that is used to load the WSDL content using
the WSDL URL of the service. If no value is specified,
the following default value is used:
com.webmethods.uddi.extractor.XRegistryURLLoader
4 Click Save.
Logging
A text log file is created and updated with system and error information about the
Metadata Library. If you experience any problems with the Metadata Library, looking in
the log file might help diagnose their nature.
The log file is located in Metadata Library_directory\library\server\library\log\. The
name of the log file is server.log. This is a daily file that is rolled over at midnight, local
time. Previous days’ files have the date appended to their names, in the format
server.log.YYYY‐MM‐DD (for example, server.log.2007‐04‐15). The current day’s file is
always named server.log.
You can control the type of information and level of detail that is written to the log file and
whether the information is also displayed to the Metadata Library console or command
prompt.
1 In the Metadata Library Configuration environment, select the Configure Servers tab.
For instructions on accessing the environment, see “Accessing the Configuration
Environment” on page 33.
2 Under CONFIGURATION, expand Medata Library v7.1.0.0.
There are different loggers for various components of Metadata Library. Each logger
is responsible for adding information about its component to the server.log file. Root
is the main logger. It serves as the default. It specifies whether logging in general is
enabled and provides the logging threshold for any component not represented by
one of the other loggers. It also can override the threshold for the other loggers. If
root’s threshold is more stringent than any of the others, the other loggers will adhere
to root’s threshold regardless of what is set individually for them.
3 To enable logging, select the check box for Console or DailyFile or both.
Note: If you do not see DailyFile or Console targets listed, you must create them. For
instructions, see “To create a DailyFile target” on page 40 or “To create a Console
target” on page 40.
Each logger has a “threshold” which determines the level of detail that will be logged for
its component. You can choose from a range of thresholds that goes from least to most
severe messages.
1 Navigate to the JOURNAL LOGGERS FOR METADATA LIBRARY panel.
For instructions, see “To access logging options” on page 37.
2 For each logger, under THRESHOLD, select the level of messages you want written to
the server.log file and displayed to the command prompt or console.
The threshold levels range from TRACE to FATAL (least to most severe). Generally,
TRACE provides the most amount of information while FATAL provides the least.
TRACE will log everything including tracing messages produced by the software.
FATAL will log only fatal error messages. The threshold levels in between correspond
to information levels in between TRACE and FATAL.
Setting a logger’s threshold to none means you do not want logging information from
that logger’s component.
Note: A “none” option is not available for the root logger. If you want to disable
logging entirely, see “To enable or disable logging” on page 38.
The threshold level for root can override the other loggers’ thresholds. If a logger’s
threshold is less severe than root’s, then root’s threshold overrides it. For example, if
root threshold is set to ERROR and com.webmethods is set to TRACE, only those
com.webmethods messages ERROR or more severe will be logged. Any message less
severe than ERROR will not be logged even though com.webmethods threshold is set
to TRACE.
3 Click Save.
Note: If you change the port of a Metadata Library, you will have to update any instances
of Designer or Integration Server that connects to it. In their connection configurations,
change the port for Metadata Library to the new port. For more information, see
“Configuring Designer to Connect to the Metadata Library” on page 66 or “Configuring
Integration Server to Connect to the Metadata Library” on page 71.
1 In the Metadata Library Configuration environment, select the Configure Servers tab.
For instructions on accessing the environment, see “Accessing the Configuration
Environment” on page 33.
2 Under CONFIGURATION, expand Medata Library v7.1.0.0.
3 Select Metadata Library Configuration.
4 For Host, leave the default value of localhost.
Note: Leave Host set to localhost even if the Metadata Library is running on a
different server. The Host setting on this screen is not currently used by Central
Configuration.
5 For Port, enter the port the Metadata Library should listening to. By default, this is
8090.
Important! The port you enter must not be in use by another program on the same
server. It is recommended you use the default port of 8090. If you enter a port that is
already in use and deploy the Metadata Library configuration, Central Configuration
will no longer be able to communicate with the Metadata Library. If this occurs, see
“To fix the Metadata Library port” on page 42.
6 Click Save.
Important! The Configuration Agent must also be set to the same port. See “To change
Configuration Agent settings” on page 43.
If a bad port was configured for the Metadata Library (for example, one already in use),
Central Configuration might no longer be able to communicate with the Metadata
Library. Complete these steps to have the Metadata Library listen to a different, unused
port. Once this is done, Central Configuration should be able to communicate with the
Metadata Library.
1 Open the following file in a text editor:
Metadata Library_directory\library\server\library\conf\
MetadataProperties.xml
2 In this file, the following element controls which port the Metadata Library is
listening to:
<entry key="Port" type="Long">
<rendering-properties>
<property name="label" value="Port"/>
<property name="size" value="10"/>
<property name="type" value="textfield"/>
</rendering-properties>
<value>8090</value>
</entry> Change this value to an unused port
Configuration Agent
Central Configuration does not directly configure the Metadata Library. Instead it sends
configurations to the Configuration Agent. The Configuration Agent is a Web service that
is part of a Metadata Library. It handles configuration changes to the Metadata Library.
There are two settings you must specify for the Configuration Agent:
Port: the port the agent listens to; this must be the same as the Metadata Library port
(see “Metadata Library Port” on page 41).
User name and password: the user name and password Central Configuration sends to
the Configuration Agent. This is used to verify that Central Configuration is allowed
to send configuration changes to the Metadata Library.
1 In the Metadata Library Configuration environment, select the Map Endpoints tab.
For instructions on accessing the environment, see “Accessing the Configuration
Environment” on page 33.
2 Under ENDPOINT CONFIGURATION, expand Medata Library v7.1.0.0.
3 For Configuration Agent, under INCOMING CONNECTIONS, enter the port protocol and
number. In the following illustration, the port protocol is http and the port number is
8090.
Important! The port number you enter here must match the port number you entered
on the Configure Server tab. See “To change the Metadata Library port” on page 41.
The Edit Configuration Agent Credential Metadata Library dialog box appears.
5 For User Name, type Administrator.
6 For User Password, enter the password for the Administrator user that is built into the
Metadata Library (default: manage).
Note: The user name and password you enter here must be for a valid Metadata
Library user, not a My webMethods Server user. The Metadata Library maintains its
own internal list of users. By default, the Metadata Library has a user named
“Administrator” with password “manage”.
For more information about the Administrator user, see “Metadata Library Built‐In
Users” on page 52.
7 Click Save.
If a Metadata Library has been moved so it is now running on a different server, you must
change its host definition in Central Configuration to match. Otherwise, you will not be
able to deploy configuration changes to it.
1 In the Metadata Library Configuration environment, select the Define Hosts tab.
For instructions on accessing the environment, see “Accessing the Configuration
Environment” on page 33.
2 Under DISPLAY NAME, select the name of the host server.
The Add/Edit Host dialog appears.
3 For Host Name or IP Address, enter the new host name or IP address.
Note: Enter only the host name or IP address. Do not include a protocol prefix like
“http://”.
4 Click OK.
Note: The host‐to‐logical‐server mapping, on the Map Servers tab, will automatically
update to reflect the new host name or IP address you entered.
You can create multiple host definitions and mappings if you have multiple Metadata
Libraries. This allows you to set configuration options in Central Configuration and
deploy them to multiple Metadata Libraries at once. Repeat the following instructions for
each Metadata Library.
1 In the Metadata Library Configuration environment, select the Define Hosts tab.
For instructions on accessing the environment, see “Accessing the Configuration
Environment” on page 33.
2 Click Add Host.
The Add/Edit Host dialog appears.
3 For Display Name, enter a name for the host server.
Enter a name that will distinguish it from other hosts.
4 For Host Name or IP Address, enter the host name or IP address of the server.
Note: Enter only the host name or IP address. Do not include a protocol prefix like
“http://”.
5 Click OK.
6 Select the Map Servers tab.
The Edit Host Mapping For: Metadata Library dialog box appears.
8 Under AVAILABLE HOSTS TO MAP, select the host you just defined.
2 Select the check box for the host definition you want to delete.
If you wantwant to delete more than one host definition, select the check boxes for the
other host definitions to be deleted.
3 Click Delete Host.
4 You are asked if you want to delete the physical server(s). Click OK.
Note: The host‐to‐logical‐server mapping, on the Map Servers tab, will automatically
update to reflect the deletion.
Database Connection
In Central Configuration, a database connection pool specifies the parameters for a
Metadata Library’s connection to its databases which are managed by a relational
database management system (Oracle, SQL Server, or DB2).
Complete the following procedure to change or create a database connection pool for the
Metadata Library.
1 If you are changing the settings for an existing database pool, find the names of the
pools currently used by the Metadata Library:
a In the Metadata Library Configuration environment, select the Map DB Pools tab.
For instructions on accessing the environment, see “Accessing the Configuration
Environment” on page 33.
b In the POOL column, note the pool currently selected for each Metadata Library
component. They might all be the same (by default: MDL).
2 Select System-Wide > Environments > Database Pool Configuration.
3 If you are creating a new pool, click Add Pool and skip to step 5.
4 If you are changing settings for an existing pool, under POOL, select a database
connection pool (the one you found on the Map DB Pools tab).
5 If you are creating a new pool, for Name, click Other. Then enter a name for the pool
and click OK.
6 For RDBMS, select the relational database management system used by the Metadata
Library to store data.
7 For URL, enter the URL needed to access the Metadata Library database.
Note: There are two database components for the Metadata Library: Repository and
Reasoner. If they were installed to two different databases, you should create two
database pools, one for each component. If they are installed to the same database,
you can use the same, single database pool. You can determine if they were installed
to different databases by looking at the cerebraRepo.xml and cerebraReso.xml files.
For more information, see the note following the table below.
The following are sample URLs for the supported relational database management
systems:
Important! For DB2, if you are installing in a schema other than the default
schema for the specified database user, you must specify these
connection options:
AlternateId=schema;InitializationString="SET CURRENT
PATH=schema"
AlternateID is the name of the default schema that is used to qualify
unqualified database objects in dynamically prepared SQL statements.
Note: The database connection URL was initially set during installation of the
Metadata Library. You can find the URL specified during installation by viewing the
cerebraRepo.xml or cerebraReso.xml files. The files are located in: Metadata
Library_directory\library\server\library\conf\JDBC\pools. In each file, the <url>
element specifies the database connection URL. For example:
<connection>
<url>jdbc:wm:sqlserver://localhost;DatabaseName=mdl</url>
</connection>
The <url> element in the cerebraRepo.xml file specifies the URL for the Metadata
Repository. The <url> element in the cerebraReso.xml file specifies the URL for the
Metadata Reasoner. Typically, both <url> elements will specify the same database.
8 For Database User, enter a valid user for accessing the Metadata Library database. If
you used the default during Metadata Library installation, the database user is
mdluser.
Note: During installation of the Metadata Library, if you specified a different database
user in the DCI scripts, enter that user instead.
9 For Database Password, enter the password for the database user. If you used the
default during Metadata Library installation, the password is mdluserpass.
Note: During installation of the Metadata Library, if you specified a different database
user password in the DCI scripts, enter that password instead.
10 Click Test to make sure you can connect to the Metadata Library database with the
connection settings you just specified.
“Test Passed!” should appear at the bottom of the screen.
Option Value
Minimum Connections 4
Connection Tries 8
Allow Statement Caching (clear the check box, which disables statement
caching)
For more information about these parameters, see the webMethods Central
Configuration and Deployment Guide.
12 Click Save.
You are returned to the Database Pool Configuration page.
If you created a new pool, it will not be used unless a database component is mapped to it.
See “To map Metadata Library database components to a database pool” below.
If you changed an existing pool, database components mapped to it will automatically use
the new settings once the configuration is deployed.
4 For the three database components, select the pool you created. See the following
illustration.
Note: Since RepositoryDB and SnapshotDB refer to the same database, you should
select the same pool for both.
5 Click Save.
1 Make sure all tabs (except Validate) in the environment have green check marks,
indicating they have been configured. See the following illustration.
1 Under ACTIONS, click the (Deploy) icon for Metadata Library Configuration.
2 Click Deploy All.
“Successfully deployed environment” appears.
Note: For more information about deploying a configuration environment, see the
webMethods Central Configuration and Deployment Guide.
3 Click Close.
You are returned to the Define Environments page.
4 Restart the Metadata Library.
The configuration changes do not take effect until the Metadata Library is restarted.
For instructions, see “Restarting the Metadata Library” on page 13.
Security
Applications (for example, Designer and Integration Server) must provide a user name
and password to access a Metadata Library. When a user name and password are
supplied to a Metadata Library, it checks whether the user can be authenticated by its
built‐in authentication services.
If the Metadata Library cannot authenticate the user itself, it can be configured to allow a
My webMethods Server to authenticate the user. If the My webMethods Server can
authenticate the user as a valid Metadata Library user, the Metadata Library allows the
application access.
Additionally, SSL (Secure Sockets Layer) can be used for secure communication to and
from the Metadata Library. The Metadata Library can act as either SSL server or client
depending on the situation. For more information, see “Using SSL” on page 57.
Note: For better security, it is recommended you change the default passwords for the
built‐in users. See “To change the password for a built‐in user” below.
Important! You can change the passwords of the built‐in users. However, you should not
remove the users.
1 On the server running the Metadata Library, log into the Server Administration tool:
a In a Web browser, go to http://localhost:8090/fabric‐admin.
If the Metadata Library is on a different port replace 8090 above with the correct
port number.
b For User Name, type Administrator.
Note: The built‐in Administrator user is used to log into the Server Administration
tool. While in the Server Administration tool, if you change Administrator’s
password you will have to supply the new password the next time you log into
the Server Administration tool.
d Click OK.
2 For the user whose password is to be changed, type the new password twice.
Important! Be sure to note the new password you have entered. Do not lose it.
1 In the Metadata Library Configuration environment, select the Configure Servers tab.
For instructions on accessing the environment, see “Accessing the Configuration
Environment” on page 33.
2 Under CONFIGURATION, expand Medata Library v7.1.0.0.
3 Select Metadata Library Configuration.
4 For MwS Location (Specify to enable MwS authentication), enter the URL of the My
webMethods Server.
By default, this is http://localhost:8585. If the My webMethods Server is running
on another computer, enter that computer’s host name or IP address in place of
“localhost”. If the My webMethods Server is listening to a different port, enter it in
place of “8585”.
If the My webMethods Server requires SSL, enter https instead of http in the MwS
Location (Specify to enable MwS authentication) URL. Also, you must specify a trust store
and password; see step 8 below.
5 For MwS User, type Administrator.
Note that this is the Administrator user on the My webMethods Server and not the
Administrator user built into the Metadata Library.
6 For MwS Password, enter Administrator’s password (default: manage).
7 For Key Store (Specify to enable SSL) and Key Store Password, leave them blank. If Key
Store has a value entered for it, delete it.
8 If the My webMethods Server requires SSL, specify the truststore file in Trust Store
(Specify if accessing MwS via SSL). (If SSL is not required, leave Trust Store blank.)
a
Note: A truststore allows the Metadata Library to verify that it can trust
communication from the My webMethods Server. The truststore file is obtained from
a certificate authority (for example, VeriSign) and installed by your system
administrator.
What you enter in the Trust Store box is interpreted as a relative path off Metadata
Library_directory/library/server/library/conf/. Typically, the trust store file is placed in
the ../conf/security/ directory (in which case you would enter ./security/filename).
Important! You must use Unix path syntax (for example, “/” instead of “\”) in the Trust
Store box even if you are on a Windows system.
9 If you specified a truststore above, for Trust Store Password, enter a password to access
it.
Your system administrator should provide you with this password.
10 Click Save.
Note: The password fields might show a different number of mask characters than the
number of actual characters in the password. This is intentionally done to hide the
number of characters in the password.
Note: Use the LibraryUser role to grant Metadata Library access to users when you do not
want them to use the Metadata Library built‐in users. For more information, see
“Metadata Library Built‐In Users” on page 52.
Note: You must log in as Administrator or as a user with administrator privileges. For
more information, see Getting Started with My webMethods or the My webMethods Server
Administrator’s Guide.
Note: If you do not see the LibraryUser role listed, you must create it. See “To create
the LibraryUser role” below.
Note: For more information about users and roles, such as creating users, see the My
webMethods Server Administrator’s Guide.
Note: To configure Designer or Integration Server to use one of the users assigned the
LibraryUser role, see “To configure Designer to Connect to the Metadata Library” on
page 66 or “To configure Integration Server to connect to the Metadata Library” on
page 71.
Note: You must log in as Administrator or as a user with administrator privileges. For
more information, see Getting Started with My webMethods or the My webMethods Server
Administrator’s Guide.
6 For Role Provider, click the icon for Static Role Provider.
Static Role Provider appears under Selected Items.
7 Click Create Role.
Using SSL
SSL (Secure Sockets Layer) can be used for secure communication to and from the
Metadata Library. The Metadata Library can act as either SSL server or client depending
on the situation.
The Metadata Library acts as SSL server in these cases:
Designer (client) connects to Metadata Library (server) to read, publish, and
retract metadata.
Integration Server (client) connects to Metadata Library (server) to publish and
retract metadata.
My webMethods Server (client) connects to Metadata Library (server) to send
configuration changes.
The Metadata Library acts as SSL client in these cases:
Metadata Library (client) connects to My webMethods Server (server) for user
authentication.
Metadata Library (client) connects to CentraSite (server) to extract metadata.
Note: Inform your system administrator that the keystore must be generated using the
RSA algorithm. Also, the keystore file must be in the *.jks or *.p12 format.
Alternatively, but not generally recommended, you can generate a keystore and truststore
yourself with a self‐signed certificate. For more information, see “To generate a self‐signed
keystore and truststore” on page 65.
Note: If you chose to generate self‐signed certificate, keystore, and truststore files,
place them in this folder or directory.
Note: The Metadata Library is now able to use SSL, however you must still configure it for
the particular scenarios in which it will be used (that is, as SSL server and/or client). See
the procedures below.
Note: You must log in as Administrator or as a user with administrator privileges. For
more information, see Getting Started with My webMethods or the My webMethods Server
Administrator’s Guide.
6 In the Metadata Library Configuration environment, select the Configure Servers tab.
7 Under CONFIGURATION, expand Medata Library v7.1.0.0.
8 Select Metadata Library Configuration.
9 To enable the Metadata Library to act as an SSL server:
a In the Key Store (specify to enable SSL) box, enter the location of the keystore file.
What you enter in this box is interpreted as a relative path off Metadata
Library_directory/library/server/library/conf/. Typically, the keystore file is placed
in the ../conf/security directory (in which case you would enter
/security/filename on a Windows system or./security/filename on a Unix‐
based system, where filename is the name of the keystore file).
Important! You must use Unix path syntax (for example, “/” instead of “\”) in the
this box even if you are on a Windows system.
b For Key Store Password, enter the password for the keystore file you specified
above.
Note: The password fields might show a different number of mask characters than
the number of actual characters in the password. This is intentionally done to hide
the number of characters in the password.
c Click Save.
10 If you enabled the Metadata Library to act as SSL server in the preceding step, you
must configure My webMethods Server to connect to the Metadata Library as an SSL
client:
Note: This is necessary for Central Configuration to send configuration changes to the
Metadata Library. The Metadata Library does not support running in both SSL and
non‐SSL at the same time. If it is set up to act as an SSL server, any connections to it,
including from Central Configuration, must use SSL.
Note: Completing this step allows the Metadata Library to securely connect to My
webMethods Server for user authentication (for more information, see “Using My
webMethods Server to Authenticate Metadata Library Users” on page 53). If you do
not want to enable the Metadata Library to act as SSL client to My webMethods
Server, leave Trust Store (Specify if accessing MwS via SSL) and Trust Store Password blank
and skip to step 12.
a Use the Java keytool utility to import My webMethods Server’s certificate into the
Metadata Library’s truststore:
1 Obtain a certificate file from your system administrator for My webMethods
Server.
2 Copy the My webMethods Server certificate file to
Metadata Library_directory\library\server\library\conf\security\
3 In a command prompt or console, navigate to Metadata
Library_directory\library\server\library\conf\security\
4 Execute the command:
keytool -keystore truststore -import -alias serverkeys
-file certificate
Important! You must use Unix path syntax (for example, “/” instead of “\”) in the
this box even if you are on a Windows system.
d For Trust Store Password, enter the password for the truststore file you specified
above.
Note: The password fields might show a different number of mask characters than
the number of actual characters in the password. This is intentionally done to hide
the number of characters in the password.
e Click Save.
12 To enable the Metadata Library to act as SSL client to CentraSite:
Note: Completing this step allows the Metadata Library to securely connect to
CentraSite to extract metadata from it. If you do not want to enable the Metadata
Library to act as SSL client to CentraSite, skip to step 10 now.
a Use the Java keytool utility to import CentraSite’s certificate into the Metadata
Library’s truststore:
1 Obtain a certificate file from your system administrator for CentraSite.
2 Copy the CentraSite certificate file to
Metadata Library_directory\library\server\library\conf\security\
3 In a command prompt or console, navigate to Metadata
Library_directory\library\server\library\conf\security\
4 Execute the command:
keytool -keystore truststore -import -alias serverkeys
-file certificate
d Click Save.
13 Restart the Metadata Library.
For instructions, see “Restarting the Metadata Library” on page 13.
14 You are done enabling the Metadata Library as SSL server and/or client.
If you enabled the Metadata Library as an SSL server, be sure to enable Designer and
Integration Server to connect to it using SSL. See “To enable Designer to connect to the
Metadata Library using SSL” below and “To enable Integration Server to connect to
the Metadata Library using SSL” on page 65.
1 Copy the Metadata Library’s truststore file to the folder or directory in which
Designer is installed (by default C:\webMethods7\Designer in Windows).
This is the recommended location. However, the file can be placed anywhere.
2 Start Designer.
3 Select Window > Preferences > webMethods > Metadata Library.
4 Select Use SSL.
5 Click the Browse next to the Truststore File box.
6 Navigate to the location of the truststore file you chose in step 1 and click Open.
7 For Truststore Password, enter the password for the truststore file (provided by your
system administrator).
8 Click Test Connection.
“Success!” should appear.
Note: If you have configured Integration Server to use another JDK instead of
webMethod’s default one, import the certificate into that JDK’s truststore.
3 Configure the Integration Server Asset Publisher to use SSL by changing the protocol
to HTTPS on it configuration page in the Integration Server Administrator.
See “Configuring Integration Server to Connect to the Metadata Library” on page 71.
These instructions are provided in case you want you create a self‐signed certificate and
generate a keystore and truststore from it. It is recommended, however, that you obtain a
certificate from a certificate authority (like VeriSign) rather than self‐sign one.
These steps use the Java keytool utility which should be installed on your system as part
of the JDK.
1 In a command prompt or console, generate a keystore by executing the command:
keytool -genkey -keyalg RSA -alias serverkeys -keystore server.jks -
storepass password -storetype jks -keypass password -dname CN=MDL,
O=webMethods Inc
Note: If you want to use SSL to connect to the Metadata Library, see “To enable
Designer to connect to the Metadata Library using SSL” on page 64.
Note: The password for the CentraSite user can be modified by using Metadata Library’s
Server Administration tool. See “To change the password for a built‐in user” on page 52.
Note: To disable metadata extraction from CentraSite, reverse the action you took in the
procedure above: remove the user name you entered in the <value></value> element. That
is, the line should read <value></value> with nothing in between the tags.
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
WmAssetPublisher.pub.asset:publish . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Introduction
Integration Server can extract and publish metadata about user‐selected integration assets
to the Metadata Library.
These assets include most Integration Server namespace assets as well as webMethods
Trading Networks Document Types and Partner Profiles.
The extraction and publication of Integration Server and Trading Networks metadata is
performed by the Integration Server Asset Publisher, which is provided by the
WmAssetPublisher package. Using Integration Server Asset Publisher, you configure the
connection from Integration Server to the Metadata Library, select the assets whose
metadata you intend to publish, and perform manual publish operations. Once
configured, you can schedule public services to perform regular incremental publish or
retract operations.
For Integration server assets, the unit of publishing is the package. The first time a
package’s metadata is published, a complete publish of all its metadata is performed. In
subsequent publishes, only metadata that has changed is published.
If the server were running on port 4040 on a machine called QUICKSILVER, you
would type:
http://QUICKSILVER:4040
3 Log on to the server with a user name and password that has administrator privileges.
If you just installed the Integration Server, you can use the following default values:
User Name: Administrator
Password: manage
Important! Use the exact combination of upper‐ and lowercase characters shown
above; user names and passwords are case sensitive.
Note: If you do not see Asset Publisher under Solutions, it might not be enabled. To enable it,
see “To enable Asset Publisher” below.
3 Click Configuration.
4 Click Edit Configuration.
5 Enter the following information:
For this
parameter... Specify...
IS Host Name A name you assign to this Integration Server to identify it to
Designer. The default name is IntegrationServer.
Protocol Communication protocol. HTTP is the default. If you want to
use SSL to connect to the Metadata Library, select HTTPS.
Note: To use SSL, the Integration Server must be properly
configured so its truststore contains the Metadata Library’s
certificate. For more information, see “Using SSL” on page 57.
Host Host name or IP address of the server that hosts the Metadata
Library.
Port Port number on which the Metadata Library listens for
incoming requests from this Integration Server. The Metadata
Library is initially configured to listen to 8090 by default.
User Name The name of the user account on the Metadata Library that
will be used for publishing and retracting metadata.
The default user name is Developer.
Password Password for User Name.
The default password is develop.
Note: If you perform publish operations by calling the pub.asset:publish service from a flow
service, you must still select packages in the Asset Selection and Publish screens, which
are described in this section and in “Publishing Metadata to the Metadata Library”. For
instructions on using the pub.asset:publish service to publish metadata, see
“WmAssetPublisher.pub.asset:publish” on page 78
Note: Deselection does not delete an asset’s metadata from the Metadata Library. For
instructions on deleting an asset’s metadata, see “Retracting an Asset’s Metadata from the
Metadata Library” on page 77.
Note: The first time metadata is published for assets and packages, it might take
substantial time and computer memory. You can schedule publish operations to run at
off‐peak hours or at regular intervals. For instructions on scheduling jobs, see “Scheduling
Metadata Publish Operations” on page 76.
Note: If you perform publish operations by calling the pub.asset:publish service from a flow
service, you must still select packages in the Asset Selection and Publish screens, which
are described in this section and in “Selecting Assets for Metadata Publishing” on page 73.
For instructions on using the pub.asset:publish service to publish metadata, see
“WmAssetPublisher.pub.asset:publish” on page 78
To publish metadata
Note: To see which assets had metadata published during the last publish operation,
click Latest Publish. For more information, see “To view information about the last
metadata publish operation” on page 76.
Integration Server displays a list of assets that were previously checked on the Asset
Selection screen. Packages disabled in the Integration Server are not displayed.
4 Select assets and packages:
If you selected Trading Network assets for metadata publishing, Doc Types, Partner
Profiles appear under Selected Trading Networks Assets. To publish metadata about these
assets, check the box to the right of Doc Types, Partner Profiles.
Under Selected Integration Server Packages, check the box to the right of each package
for which you want to publish metadata.
Note: If you do not see the assets or packages you want to publish metadata about, be
sure they have been selected for metadata publishing. See “Selecting Assets for
Metadata Publishing” on page 73.
5 Click Publish.
The Published Metadata screen appears. The Published Details section shows the status
(Status), number of assets being published (Assets), and elapsed time of the entire
publishing operation (Duration).
Below the Published Details section, the publishing status of individual packages or
Trading Network assets (TN Assets) is shown.
You can leave the Published Metadata screen at any time, even if the publish operation is
not complete. The publish operation will continue. You can check the status of the
Important! If you are using Internet Explorer, on the Internet Explorer menu: Tools >
Internet Options > General tab. Under Temporary Internet Files, click Settings. Under Check
for Newer Versions of Stored Pages, select Every visit to the page. If you do not adjust these
settings, the Published Metadata screen will not update the status of the publish
operation correctly.
After you write your service, you can schedule it to run using the scheduling facility in
Integration Server Administrator. To prevent one publish operation from beginning
before the previous one has completed, be sure to select the Repeat from End of Invocation
option when scheduling the job. For more information about scheduling services to run,
see the “Managing Services” chapter in the webMethods Integration Server Administrator’s
Guide.
Note: The retract operation does not prevent the asset’s metadata from being published
during the next publish operation. To prevent the metadata from being published again,
see “Deselecting Assets for Metadata Publishing” on page 74.
Note: If a package’s metadata has been published to the Metadata Library and that package
is later removed from the Integration Server, its metadata still remains in the Metadata
Library. To remove the metadata from the Metadata Library, you must retract it even
though the package no longer exists in the Integration Server.
on the Retract screen, click Latest Retract. For more information, see “To view
information about the last metadata retract operation” on page 78.
Important! If you are using Internet Explorer, on the Internet Explorer menu: Tools >
Internet Options > General tab. Under Temporary Internet Files, click Settings. Under Check
for Newer Versions of Stored Pages, select Every visit to the page. If you do not adjust these
settings, the Retracted Assets screen will not update the status of the retract operation
correctly.
WmAssetPublisher.pub.asset:publish
In addition to the Integration Server Administrator screens that allow you to configure
Integration Server to connect to the Metadata Library and to manage the publishing of
metadata, the WmAssetPublisher package provides a built‐in service that you can use to
automate metadata publishing operations. Use this service, instead of the Integration
Server Administrator, if you want to schedule publish operations. For more information
about this service, see the webMethods Integration Server Built‐In Services Reference.
Note: Before you can use this service, you must configure Integration Server to connect to
the Metadata Library; see the instructions in “Configuring Integration Server to Connect
to the Metadata Library” on page 71.