Documente Academic
Documente Profesional
Documente Cultură
13.1
January 2012
Copyright
Oracle Primavera Contract Management Web Services Administrator's Guide
Copyright 2011, 2012, Oracle and/or its affiliates. All rights reserved.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks
of their respective owners.
This software and related documentation are provided under a license agreement containing restrictions
on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in
your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify,
license, transmit, distribute, exhibit, perform, publish or display any part, in any form, or by any means.
Reverse engineering, disassembly, or decompilation of this software, unless required by law for
interoperability, is prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free.
If you find any errors, please report them to us in writing.
The platform-specific hardware and software requirements included in this document were current when
this document was published. However, because new platforms and operating system software versions
might be certified after this document is published, review the certification matrix on the My Oracle
Support Web site for the most up-to-date list of certified hardware platforms and operating system
versions. The My Oracle Support Web site is available at the following URL:
http://support.oracle.com/
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it
on behalf of the U.S. Government, the following notice is applicable:
U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software,
any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users
are commercial computer software pursuant to the applicable Federal Acquisition Regulation and
agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation
of the programs, including any operating system, integrated software, any programs installed on the
hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the
programs. No other rights are granted to the U.S. Government.
This software or hardware is developed for general use in a variety of information management
applications. It is not developed or intended for use in any inherently dangerous applications, including
applications that may create a risk of personal injury. If you use this software or hardware in dangerous
applications, then you shall be responsible to take all appropriate failsafe, backup, redundancy, and other
measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages
caused by use of this software or hardware in dangerous applications.
This software or hardware and documentation may provide access to or information on content, products
and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly
disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle
Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your
access to or use of third-party content, products, or services.
Copyright
To view the list of third party technology disclosures related to this product, please see the Commercial
Notices and Disclosures document for the release.
Contents
Copyright ........................................................................................................................................... 2
Preface.............................................................................................................................................. 7
Using this Administrators Guide ...................................................................................................... 7
Contract Management (v13.1) Media Pack .................................................................................... 7
Contract Management Documentation for v13.1 ........................................................................... 8
Contacting Customer Support .......................................................................................................... 9
Preparing for Installation ................................................................................................................ 11
Before you install Contract Management Web Services 13.1 ..................................................... 11
Create a domain for Contract Management Web Services ............................................................ 12
Installing Contract Management Web Services.............................................................................. 13
Prerequisites for Installing Contract Management Web Services 13.1....................................... 13
Install Contract Management Web Services 13.1 ........................................................................ 13
Configuring the WebLogic Application Server for Contract Management Web Services 13.1 ....... 14
Configure the WebLogic Application Server for Contract Management Web Services on Windows
.......................................................................................................................................................... 15
Set the Application Server Memory Parameters on Windows ...................................................... 16
Configuring the WebLogic Domain for Contract Management Web Services ................................ 17
Configuring an Oracle Database Data Source............................................................................... 17
Overview ..................................................................................................................................... 17
Configure JDBC Properties for an Oracle Database Data Source ........................................... 17
Configuring the MicroSoft SQL Server Database Data Source..................................................... 19
Overview ..................................................................................................................................... 19
Configure JDBC Properties for a Microsoft SQL Server Database Data Source..................... 19
Deploying Contract Management Web Services to a WebLogic Application Server ....................... 23
Deploying the WebLogic Domain for Contract Management Web Services ................................ 25
Deploy Contract Management Web Services ........................................................................... 25
Create an Endorsed Folder ........................................................................................................ 25
Configuring Contract Management for a WebLogic Cluster ........................................................... 27
Clustering: Configuring the Environment in Windows ................................................................... 27
Clustering: Start the WebLogic Domains on Windows .................................................................. 28
Clustering: Configure the Data Sources......................................................................................... 29
Clustering: Configure JDBC Properties for an Oracle Database Data Source ........................ 29
Clustering: Configure JDBC Properties for a Microsoft SQL Server Database Data Source .. 31
Clustering: Deploy Contract Management Web Services ............................................................. 32
Clustering: Considerations for Using Contract Management Web Services in a Clustered
Environment .................................................................................................................................... 33
Deploying Contract Management Web Services to a JBoss Application Server.......................... 35
Preface
Contract Management is contract-control software designed to help you manage your projects more
easily. From submittals to change orders, all the facts about contracts and project documentation are at
your fingertips. Contract Management Web Services is an integration technology that extends Contract
Management business objects and functionality. Based on open standards including SOAP, XML and WSDL,
Contract Management Web Services enables developers to leverage standard interfaces to create
integrated software solutions that interoperate with a wide variety of enterprise software applications
running on a diversity of hardware and operating system platforms
This manual describes how to install and configure Contract Management Web Services.
In This Section
Using this Administrators Guide ............................................................................................................ 7
Contract Management (v13.1) Media Pack ........................................................................................... 7
Contract Management Documentation for v13.1 ............................................................................... 8
Contacting Customer Support ................................................................................................................ 9
All manuals and technical documents related to the installation, administration, and use of Primavera
Contract Management.
The Primavera Contract Management Media Pack is delivered on the Oracle E-Delivery Web site.
Tested_Configurations.xls Lists the configurations that have been tested and verified to work with
Contract Management 13.1. The network administrator/database administrator and Contract
Management administrator should read this document.
The Oracle Primavera Contract Management P6 Web Services Configuration Guide provides information on
setting up Contract Management Web Services.
The Oracle Primavera Contract Management Web Services Reference Manual provides information on the
services and operations supported by Contract Management Web Services.
The Oracle Primavera Contract Management Web Services Programmer's Guide provides information on
how to use Contract Management Web Services.
Preface
Contract Management 13.1 is installed and configured against the database you intend to use.
Contract Management 13.1 is deployed on a WebLogic 10.3.3 (11gR1) or JBoss 5.01 domain.
Refer to the following guides for further information these items:
Before installing Contract Management Web Services, you need to install the Java Development Kit
(JDK), version 1.6.x, also known as J2SE 6.0. While Contract Management Web Services is compatible
with any 1.6 version, Oracle recommends that you use Update 14 or later. The Integrated
Development Environment (IDE) you use to create code must work with this version.
You can download the Java JDK from the Sun Microsystems Web site
(http://www.oracle.com/technetwork/java/archive-139210.html).
The EAR file should be deployed in a supported application server running a supported JDK. For a list
the supported versions, see the Tested_Configurations.xls document in the Documentation folder of
the Contract Management physical media or download.
Supported Operating Systems
11
12
a.
b.
c.
d.
Contract Management. Refer to Contract Management 13.1 Installation and Configuration Guide for
Oracle and the Contract Management 13.1 Installation and Configuration Guide for Microsoft SQL Server
guides detailed information.
Java 1.6.X. on the server on which you are installing Contract Management Web Services.
A WebLogic 11g or JBoss 5.0.1 domain for Contract Management Web Services.
The wsdl4j-1.6.2.jar file. This is a third party file. At the time of this writing, this file was available
at http://mirrors.ibiblio.org/pub/mirrors/maven2/wsdl4j/wsdl4j/1.6.2/. To download the jar:
Go to http://mirrors.ibiblio.org/pub/mirrors/maven2/wsdl4j/wsdl4j/1.6.2/.
Select the wsdl4j-1.6.2.jar.
Save the file to your machine.
Note the location where you save the jar file.
Follow the instructions in this section to install Contract Management Web Services.
13
14
Configuring the WebLogic Application Server for Contract Management Web Services 13.1
Configure the WebLogic Application Server for Contract Management Web Services on
Windows
Do the following to configure the WebLogic server for Contract Management Web Services:
1) On the server where you installed WebLogic, in the
<Contract_Management_Web_Services_Domain_Home>\bin directory, open the
startWebLogic.cmd file in a text editor (such as Notepad).
2) Update the SAVE_CLASSPATH variable as follows:
Windows Operating System with an Oracle Database
Enter a line similar to the following (all one line):
set
SAVE_CLASSPATH=%DOMAIN_HOME%\lib\mail.jar;%DOMAIN_HOME%\lib\pbjdbc12120.jar;%D
OMAIN_HOME%\lib\ojdbc6.jar;%CLASSPATH%;.
Note: The preceding is case-sensitive, and should be all on the same line.
Because of the format restrictions of this document, it may be displayed on
multiple lines.
3) Update the JAVA_OPTIONS variable as follows:
set JAVA_OPTIONS=%SAVE_JAVA_OPTIONS%
-Djavax.xml.soap.MessageFactory=com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMes
sageFactory1_1Impl
-Djavax.xml.soap.SOAPConnectionFactory=weblogic.wsee.saaj.SOAPConnectionFactor
yImpl -Dcmws.install.home=<CM_WS_HOME>
Notes:
The preceding is case-sensitive, and should be all on the same line. Because of
the format restrictions of this document, it may be displayed on multiple
lines.
Replace <CM_WS_HOME> in the preceding line with the location in which
Contract Management Web Services is installed. For example
c:/CMWebServices_1.
15
3) If you are using Sun JDK, make the following edits to the setDomainEnv.cmd file:
a. Search for the following line:
set MEM_ARGS_32BIT=%WLS_MEM_ARGS_32BIT%
4) If you are using JRockit, make the following edits to the setDomainEnv.cmd file:
a. Search for the following line:
set MEM_ARGS_32BIT=%WLS_MEM_ARGS_32BIT%
16
Note: JNDI field names are case sensitive, and must match the name you
used for JNDI.
6) Set the JNDI Name field to jdbc/<database_name>. For example, <database_name> might be:
17
18
In the left hand Change Center pane, click Activate Changes at the top of the pane.
Configure JDBC Properties for a Microsoft SQL Server Database Data Source
Complete the following steps in the JDBC Data Source Properties dialog box for each database:
Note: JNDI field names are case sensitive, and must match the name you
used for JNDI.
6) Set the JNDI Name field to jdbc/<database_name>. For example, <database_name> might be:
CMPROJ for the CMPROJ database
EXPADMIN for the EXPADMIN database
7) Set the Database Type field to MS SQL Server and click Next.
8) Set the Database Driver field to:
Microsoft's MS SQL Server Driver (Type 4) Versions: 2005 and later.
19
20
In the left hand Change Center pane, click Activate Changes at the top of the pane.
21
23
5)
6)
7)
8)
9)
25
26
27
JRocket JDK
set BEA_JAVA_HOME=
For example:
Admin server is configured as adminserver.us.oracle.com
Managed servers are configured as follows:
managedserver1.us.oracle.com with friendly name managed1
managedserver2.us.oracle.com with friendly name managed2
To start managed servers with this configuration:
a. On managedserver1.us.oracle.com, execute the following command:
28
startManagedWebLogic.cmd
managed1
http://adminserver.us.oracle.com:7001
managed2
http://adminserver.us.oracle.com:7001
Note: JNDI field names are case sensitive, and must match the name you
used for JNDI.
6) Set the JNDI Name field to jdbc/<database_name>. For example, <database_name> might be:
CMPROJ for the CMPROJ database
EXPADMIN for the EXPADMIN database
7) Set the Database Type field to Oracle and click Next.
8) Set the Database Driver field:
Oracle's Driver (Thin) for Instance connections: Versions:9.0.1,9.2.0,10,11
9) Click Next.
Set Transaction Options
Do the following in the Transaction Options screen:
1. If you are configuring the admin database, clear the Supports Global Transactions check box,
and click Next.
29
30
In the left hand Change Center pane, click Activate Changes at the top of the pane.
Clustering: Configure JDBC Properties for a Microsoft SQL Server Database Data Source
Complete the following steps in the JDBC Data Source Properties dialog box for each database:
Note: JNDI field names are case sensitive, and must match the name you
used for JNDI.
6) Set the JNDI Name field to jdbc/<database_name>. For example, <database_name> might be:
CMPROJ for the CMPROJ database
EXPADMIN for the EXPADMIN database
7) Set the Database Type field to MS SQL Server and click Next.
8) Set the Database Driver field to:
Microsoft's MS SQL Server Driver (Type 4) Versions: 2005 and later.
9) Click Next.
Set Transaction Options
Do the following in the Transaction Options screen:
1) If you are configuring the admin database, clear the Supports Global Transactions check box, and
click Next.
2) If you are configuring the group database, do the following:
a. Select the Supports Global Transactions option.
b. Select the One-Phase Commit option.
c. Click Next.
Set the Connection Properties
Do the following in the Connection Properties screen:
31
In the left hand Change Center pane, click Activate Changes at the top of the pane.
32
Project Delete
Modifying, adding, or deleting custom fields
Modifying, adding, or deleting cost code definitions
33
35
Add the autoDeploy, deployOnStartup and deployXML attributes and values to the Host tag:
<Host name="localhost"
deployXML="false" >
autoDeploy="false" deployOnStartup="false"
7) Follow the steps below to comment out the <application-policy name="other"> element in the
login-config.xml file:
a. Open the <JBOSS_HOME>\server\<CMWS_DOMAIN_HOME>\conf\login-config.xml file in a
text editor.
b. Search for the following line:
<application-policy name="other">
36
<!-<application-policy name="other">
-->
37
39
Valid
Ranges/Values
Default
Web Services/Security/Authentication/Mode
Username Token
Profile
Username Token
Profile, SAML Token
Profile, Cookies
true
true/false
10m
5m-24d
true
true/false
10m
5m-24d
1.1
true/false
40
Default
Valid
Ranges/Values
5m-24d
5m-24d
JKS
Keystore type.
Web Services/Security/Authentication/SAML Token c:\keystore\keystor
e.jks
Profile/Signed SAML tokens/File Location
Absolute path to the key store file. This file must
exist on the local filesystem.
Web Services/Security/Authentication/SAML Token
Profile/Signed SAML tokens/Keystore Password
Keystore password.
Web Services/Security/Authentication/SAML Token alias
Profile/Signed SAML tokens/Certificate Alias
true/false
41
Default
Valid
Ranges/Values
true/false
true/false
JKS
JKS
c:\keystore\keystor
e.jks
alias
42
Default
Valid
Ranges/Values
To disable SSL with LDAP, this parameter needs to be removed from the startweblogic.cmd \ sh file along
with the corresponding settings in the Contract Management Administrator application relating to the SSL
password.
43