108 Lotus Workplace Web Content Management and Content Manager Working Together
<server> is the name of the server or database. This can be
followed by a connect string in parenthesis.
<userid> is the userid
<password> is the password
Examples:
java TConnect -displayname ICM icmnlsdb icmadmin password
java TConnect DB2 sample db2admin password
java TConnect Fed cmbdb cmbadmin password -displayname
java TConnect OD 9.112.20.3(ODPORT=2190) userid password
Example 6-4 shows the testing and the result of running TConnect to test in
our AIX system setup:
Example 6-4 TConnect run result in our AIX scenario
zaire|icmadmin>$ java TConnect ICM icmnlsdb icmadmin <password>
Connecting to server
Disconnecting from server
zaire|icmadmin>$
6.4 How LWWCM objects are stored in CM
After a new LWWCM server installation, when you call LWWCM’s AJPEGUI
module by entering the following URL from a browser, all the LWWCM objects
are created in Content Manager:
http://[HOST]:[PORT]/[CONTEXT_ROOT]/connect/?MOD=AJPEGUI
Two new Document item type classification objects are created in the Content
Manager Library Server,
AJPEData and AJPEResources, with the attributes as
shown in Figure 6-5. The item type properties of the two item types can be
viewed within the Content Manager System Administration Client window.
Figure 6-5 AJPEData and AJPEResources item type attributes
Chapter 6. Using CM as a repository for LWWCM 109
6.4.1 Viewing AJPEData and AJPEResources item types
You can view the values of AJPEData and AJPEResource item types by using
the Content Manager System Administration Client:
1. Select Start -> Programs -> IBM Content Manager for Multiplatforms V8.2
-> System Administration Client.
2. Log on to the Content Manager Library Server database as specified in the
aptrixjpe.properties file. In our example, it is cm.server=icmnlsdb.
3. Open the Library Server database folder and then select Data Modeling ->
Item Type.
4. Right-click AJPEResources and select Properties from the context menu.
5. On the item type properties screen, select a different panel, such as
Document Management (see Figure 6-6) to see how the item types are
defined.
Figure 6-6 AJPEResource document management definition
6.4.2 Storing LWWCM objects in AJPEData/AJPEResources objects
Each LWWCM object information is stored as a Content Manager AJPEData
item. LWWCM Component Library file resource or image component objects are
each stored in an Content Manager AJPEData item
and an AJPEResources
Note: All Content Manager system objects are stored in DB2 tables. In our
example, we use ICMNLSDB as the Library Server database and RMDB as
the Resource Manager database. All definitions you see in the Content
Manager System Administration Clients window are SQL queries to the
ICMNLSDB and RMDB tables. RMDB is queried when you navigate down the
Resource Manager tree. The client does an secure socket layer (SSL)
connect to RMDB to get the System Managed Storage (SMS) definitions.
110 Lotus Workplace Web Content Management and Content Manager Working Together
Content Manager item. In addition, the binary files or image objects are stored in
the Content Manager Resource Manager. See Figure 6-7 for details.
Figure 6-7 How LWWCM objects are stored in Content Manager
LWWCM objects which are stored as Content Manager AJPEData entity are:
򐂰 Library content, template, page design, file and image objects, search rules,
site, site area, site, site area, taxonomy, category, users and groups, workflow,
workflow stage, workflow action, syndication, subscriber and objects.
򐂰 Component library objects that include text, menu, navigator, rich text, HTML,
reference, taxonomy, user name, federated, JSP components.
LWWCM objects which have a Content Manager AJPEData, AJPEResources
and Resource Manager entries are the LWWCM Component Library objects:
򐂰 File resource component
򐂰 Image component
6.4.3 Viewing AJPEData and AJPEResources items
With the Content Manager Windows Client or eClient, you can do a basic search
for AJPEData item types. In Figure 6-8 on page 111, you can see the results of a
basic search.
Binary
Objects
File(s) + Image(s)
Non
binary
AJPEResources
item
AJPEData
item
LWWCM
object type
Content Manager entities
RM
object
Library Server
AJPEResources
item
AJPEData
item
RM
object
Library Server
Resource Manager

Get IBM Workplace Web Content Management Java Edition V2 and IBM DB2 Content Manager V8 Working Together now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.