PS AdminGuide
PS AdminGuide
PS AdminGuide
ProSource
Administration Guide
Copyright © 1999-2015 Schlumberger. All rights reserved.
This work contains the confidential and proprietary trade secrets of
Schlumberger and may not be copied or stored in an information retrieval
system, transferred, used, distributed, translated, or retransmitted in any
form or by any means, electronic or mechanical, in whole or in part, without
the express written permission of the copyright owner.
Trademarks & Service Marks
"Schlumberger," the Schlumberger logotype, and other words or symbols
used to identify the products and services described herein are either
trademarks, trade names, or service marks of Schlumberger and its
licensors, or are the property of their respective owners. These marks may
not be copied, imitated or used, in whole or in part, without the express
prior written permission of Schlumberger. In addition, covers, page
headers, custom graphics, icons, and other design elements may be service
marks, trademarks, and/or trade dress of Schlumberger, and may not be
copied, imitated, or used, in whole or in part, without the express prior
written permission of Schlumberger. Other company, product, and service
names are the properties of their respective owners.
An asterisk (*) is used throughout this document to designate a mark of
Schlumberger.
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
Specify the Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
REXEC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
SSH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
‘External’ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
Specifying the ProSource Server Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
Specifying the ProSource Transfer Manager Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
Manage Datastores and Databases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
Manage Database Records . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-7
URL Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13
Configure Third-Party JDBC Compliant Database with ProSource . . . . . . . . . . . . . . . . . . . . 4-14
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
Getting Started with the IM Administration Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3
ProSource-Specific Roles in the IM
Administration Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-4
ProSource-Specific Entitleables in the IM Administration Console . . . . . . . . . . . . . . . . . . . . . 5-5
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2
Methods in Topic Web Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-3
encrypt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-3
getDatastore
Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-4
Contents vii
10 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
ProSource Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
Contents ix
In This Section
About Schlumberger is the leading oilfield services provider, trusted to deliver superior
Schlumberger results and improved E&P performance for oil and gas companies around the world.
Through our well site operations and in our research and engineering facilities, we
develop products, services, and solutions that optimize customer performance in a
safe and environmentally sound manner.
You must have Adobe® Reader® installed to read the PDF files. Adobe Reader
installation programs for common operating systems are available for a free
download from the Adobe Web site at www.adobe.com.
Alert Statements The alerting statements are Notes, Cautions, and Warnings. These statements are
formatted in the following style:
• • • • • •
Note: Information that is incidental to the main text flow, or to an important
point or tip provided in addition to the previous statement or instruction.
• • • • • •
Caution: Advises of machine or data error that could occur should the user fail
to take or avoid a specified action.
• • • • • •
Warning: Requires immediate action by the user to prevent actual loss of data
or where an action is irreversible, or when physical damage to the
machine or devices is possible.
Related Publications
The following publications supplement this guide:
Document Description
ProSource* Release PS_ReleaseNotes.pdf
Notes Provides an overview of the release, new features, system
requirements, and last-minute product information.
Included on the ProSource installation kit DVD, and
accessible, after installation, from the Schlumberger
Information Management (IM) Start page.
ProSource Installation PS_InstallGuide.pdf
Guide Provides instructions for installing and upgrading Seabed,
the Information Management Administration (IM
Administration) Console, and ProSource products
Included with the ProSource kit installation CD, and after
installation, accessible from the SIS Launch Page.
Note:
To access the current version of this document, refer to
the SIS Support Portal (https://support.slb.com).
ProSource ViewLoader PS_ViewLoaderGuide.pdf
Guide Provides information on the use and concepts of
ViewLoader, the utility that feeds the ProSource dictionary
information into the Oracle database
Included on the ProSource installation kit DVD, and
accessible, after installation, from the IM Start page.
ProSource Online Help Provides detailed information on ProSource end-user
workflows
Accessible from the ProSource Help menu, Help buttons
on certain dialogs, and by right-clicking on features and
selecting Help from the menu.
ProSource Transfer Provides context-sensitive information for ProSource
Manager Online Help Transfer Manager end-user workflows.
Accessible by clicking the Help button on the ProSource
Transfer Manager home page.
ProSource Data PS_EntitlementsGuide.pdf
Entitlements Guide Provides information about general entitlements concepts,
and configuring and using data entitlements in ProSource
products.
Included on the ProSource installation kit DVD, and
accessible, after installation, from the IM Start page.
Document Description
ProSource Extension PS_ArcGIS_InstallGuide.pdf
for ArcGIS Installation Provides information about the ProSource Extension for
and User Guide ArcGIS installation and workflows.
Included on the ProSource installation kit DVD, and
accessible, after installation, from the IM Start page.
Contacting Schlumberger
Technical Support Schlumberger has sales and support offices around the world. For information on
contacting Schlumberger, please refer to the information below.
For Technical Support for SIS software:
• Schlumberger Support Portal:
http://support.software.slb.com/Pages/Overview.aspx
• Customer Care Center e-mail: [email protected]
• Phone Support:
- SIS Support (main)
http://support.prod.software.slb.com/pages/SupportContacts.aspx
In This Chapter
Client Interfaces
This section describes the client sides of ProSource, ProSource Transfer Manager,
and the Information Management (IM) Administration Console. The ProSource client
interface is accessed via a Web browser. Both ProSource Transfer Manager and the
IM Administration Console can be launched from ProSource, or independently of the
ProSource extension.
ProSource Transfer One of the industry’s biggest challenges is moving data between petroleum E&P
Manager (PTM) data sources in a managed environment. ProSource Transfer Manager is a flexible,
configurable solution for deploying and running data transfer modules. PTM has a
simple data-model independent framework. Java-coded plug-ins provide data-model
specifics and/or data transfer rules. The PTM framework provides XML import/export
of a wide range of XML schemas. It can handle multiple file formats by creating
components that can be plugged in.
IM Administration The IM Administration Console provides Administrators with a single set of tools for
Console efficiently managing common administration tasks such as user management,
entitlements, and data access, across all Schlumberger Information Solutions (SIS)
IM extensions including Seabed, ProSource, and DecisionPoint.
The IM Administration Console allows the Administrator to:
• Manage Users and Security: You may create, edit, and delete users and roles;
assign objects (entitlements); and, reset passwords. Managing each option
depends on whether you are using an open LDAP or a corporate LDAP.
• Configuration: The configuration workflows allow you to configure the Seabed
database through the Seabed Oracle Database Manager tool; select and display
server log files; and, configure parameters for server software components that
are deployed through the IM Administration Console. To configure these
parameters, you must be in safe-start mode on the server on which the IM
Administration Console is installed.
• Manage DecisionPoint: You may register projects for defined data sources for
use in DecisionPoint components.
• Manage ProSource: The Manage ProSource workflow allows the Administrator
to create new data source connections for various adaptors which ProSource can
access.
System Requirements
• • • • • •
Note: ProSource 2013.1 supports the ALT32UTF8 internationalization character
set.
• • • • • •
Note: The Integrated Installer installs ProSource with all its extensions
(ProSource Enterprise, ProSource Logs, ProSource Seismic, ProSource
Results, ProSource Petrel Extension, ProSource Finder* and ProSource
Transfer Manager). For details on the administrative tasks, refer to the
Administration Guide of the respective extensions.
Information Your system must be compliant with the Information Management (IM) 2013.1
Management release. For a detailed list of IM 2013.1 release requirements, refer to ProSource
Installation Guide.
Connection Refer to ProSource Installation Guide for detailed list of version compatibilities.
Changes
Servers
This section discusses the ProSource server and its components. The server “layer”
consists of the server machine on which ProSource server software is installed (a
Red Hat Linux Enterprise Server release 6.2, Intel 64-bit machine) and the server on
which the IM Administrator is installed. Note that the IM Administrator must be
installed with either ProSource or DecisionPoint, depending upon which one is
installed first. Therefore, if ProSource is installed first, the IM Administrator will
reside on the same server as ProSource.
ProSource Seabed holds the metadata for the IM Administrator, including the user
and security settings for all Schlumberger Information Management extensions and
DecisionPoint configuration settings.
ProSource Server The ProSource server communicates with each federated data source configured in
ProSource (such as GeoFrame* and LogDB*), and sends the real-time data from
those repositories to the ProSource client interface. The ProSource metadata is
stored in Seabed*, and uses the FlexNet server for all license handling.
The following components are installed with ProSource:
• Tomcat Server: An HTTP server used for the ProSource and Transfer Manager
network protocols.
• ProSource Transfer Manager Framework: Components required for
transferring data via ProSource Transfer Manager.
• ViewLoader: The utility used to load ProSource metadata, and to alter or
customize the ProSource interface.
Software and Hardware For a detailed list of the software, hardware and configuration details required for
Requirements installing ProSource 2013.1, refer to ProSource Installation Guide.
Data Sources
Data sources are databases, data files or application data stores from which
ProSource retrieves information. When accessed from ProSource, you can enter,
compare, update, and transfer information to and between data sources, as
necessary. Some of these include:
• Seabed
• GeoFrame
• OpenWorks
• OpenSpirit
• eSearch
• Finder
• LogDB
• Spatial Index (ArcSDE)
• Shapefiles
Custom-defined data sources may include:
• Microsoft Excel spreadsheets
• CSV ASCII files
• CGM files (for maps)
• VRML files (for 3D views of Grid / Interpretation images)
• Related Information/Web Links (HTTP Get and Post)
• Data Transfer Manager
• Custom mechanism
In This Chapter
ActiveMQ Daemon For internal communications, the ProSource server uses a service called “ActiveMQ
daemon” which runs on port number 61616. This process is required and should not
be shut down when the ProSource server is running. Settings for the daemon are
contained within a parameter file: activeMQ.properties. An example is given below:
THREAD_SLEEP_TIME=2000
MAX_ALLOWED_PROCESS=10
RESPONSE_TIMEOUT=100000
JACTIVEMQ_URL=tcp://localhost:61616
MAX_SLEEP_COUNT=3O
CPLUS_WRAPPER=CurveDataTransformation.csh
CACTIVEMQ_URL=failover:(tcp://localhost: 61616)
If you require to change the port number you can do so by editing the file as
follows:
• • • • • •
Note: Please ensure that the port numbers specified for both parameters are
identical and not currently used by other services.
• • • • • •
Note: The parameter MAX_ALLOWED_PROCESS determines the amount of DLIS
files that can be processed concurrently. The number can be lowered to
improve performance or increased to carry out more simultaneous
requests.
ProSource Server Follow the procedure below to start and stop the ProSource server.
./prosource-server.sh { console|stop|start|restart }
<servername>
• • • • • •
Note: When attempting to shutdown the Tomcat server, you may receive the
following warning message in the catalina.out logfile:
"SEVERE: The web application [/dtmgui] registered the JDBC driver
[oracle.jdbc.OracleDriver] but failed to unregister it when the web
application was stopped. To prevent a memory leak, the JDBC Driver has
been forcibly unregistered"
This warning appears only when a user runs a web application (e.g., PTM,
IM Admin), and then attempts to shutdown Tomcat server. You receive this
message because memory leak detection feature has been introduced in
the latest version of Tomcat.
Parameter/ Description
Option
console Starts the server and displays logging output to the console.
This option may be useful when diagnosing server startup
problems, but it is not the normal mode of operation.
In this mode, the Ctrl+C command can be used to kill the server.
start Starts the server as a background process.
Logging output is written to a file.
restart Starts a new server instance, and puts the current instance in
“quiesce” mode.
Quiesce mode means that current users can continue to use the
current instance, but it will not accept any new connections. The
current server instance will stop when the last user disconnects.
New users will be connected to the new server instance. This
option starts the new instance on the next free RMI port, as
governed by the “Server Initial RMI Port” and “Number of Alternate
Ports” parameters. These parameters are defined at installation
and are editable using IM Administration Console in safe-start
mode.
Note: The “Restart Server” option in the ProSource user interface
(available only to administrators) uses this option to restart the
server.
stop Stops the server.
servername (Optional) Default is “prosource-server”. The default configuration
file is $PS_HOME/local/conf/prosource-server.conf. If
another configuration file is used, then the servername is
mandatory.
Each time the ProSource server is started, it generates a log file. This log file can be
very useful in troubleshooting. For more information on the log file, refer to the
section “View and Customize the ProSource Startup Log” on page 3-8.
Actions Requiring a All of the following actions require a ProSource server restart:
ProSource Server
• Loading new views
Restart
• Loading a new topic
• Modifying question attributes
• Creating new Quality Admin attributes
Set Server-Side Server-side Java memory allocation is set in the file $PS_HOME/conf/
Java Memory wrapper.conf:
Allocation
# Initial Java Heap Size (in MB)
wrapper.java.initmemory=128
# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=1024
Set Client-Side The guiOptions parameter ‘maximumMemory’ sets the Memory Meter to use the
Java Memory ‘maximumMemory’ value as its display limit (default value = 512 MB). Only the
Allocation memory meter uses this argument. You must also specify the maximum heap size
accordingly in the ProSource JNLP file ($PS_HOME/conf/prosource.xml):
JNLP: <j2se version="n.n" initial-heap-size="64m" max-heap-
size="512m"/>
Command Line: -Xms128m –Xmx512m
• • • • • •
Note: The Java virtual machine uses system threads to implement Java threads.
Because Linux threads are implemented as a cloned process, each Java
thread shows up in the process table if you run the ps command. This is
normal Linux behavior.
The prosource-server.sh script should always be used to start and stop the
ProSource server.
This script runs a wrapper application that starts the actual server application in
a separate child process. The wrapper application automatically restarts the server
in the event of a crash or if the server process is killed. Using the system “kill”
command to stop the main process (wrapper) will not stop the actual server process
(the child server process would have to be killed as well). Using the kill command to
stop the actual server process will cause the wrapper process to restart the server.
Below are the Linux combined commands to identify the main processes of the
ProSource and Tomcat servers:
View and When you start the ProSource server, a log file is generated in the directory
Customize the <prosource_extdir>/logs and named with the following syntax:
ProSource Startup <prosource_server_name>_[YYYYMMDD-hhmmss].log. This file is linked
Log with the log file <prosource_server_name>.log. Every start or restart of the
ProSource server creates a new log file. The old log files are preserved in the /logs
directory.
• • • • • •
Note: All log files are generated in a separate directory that is configured during
installation rather than under the ProSource_Home directory. This enables
you to lock and grant read-only access to the ProSource_Home directory,
thereby preventing it from being modified. To lock the ProSource_Home
directory, run the “prosource-read-only.sh” script from the
“$PS_HOME/bin/” directory.
The output generated to the ProSource server log is controlled by a logging package
called Log4j. You can control the output of the log file by editing the Log4j settings
in the $PS_HOME/conf/log4j-server.conf file.
Log4j Formatting Log4j was created for Java by the Apache project. (More about Log4j can be found
at http://logging.apache.org/log4j/docs/index.html).
This package is extremely flexible, both in controlling the amount of output and the
format of the output. Some basic examples are shown below, but for additional
information see the Log4j documentation. Options include logging to sockets, JMS,
and Unix syslog daemons. The installed configuration file shows how to have some
logging go to a different output. If running in Java Console Mode, the server will
write error messages in addition to the standard errors. These errors can then be
redirected to a syslog daemon or a designated file.
The Pattern Layout is powerful in formatting the output. Examples:
|%-5p|%4r| %m %n - |DEBUG| 12| Message text
|%-5p|%4r| %37c [%t] %d{ISO8601} %n - |DEBUG| 12|
com.slb.im.federator.server.main.SomeClass [NameofThread]
2003-11-27 15:49:37,459
The most useful patterns are listed in Table 3-2.
Table 3-2 Log4j Patterns
Pattern Description
c Used to output the category of the logging event. The category
conversion specifier can be optionally followed by precision
specifier, that is a decimal constant in brackets. If a precision
specifier is given, then only the corresponding number of right
most components of the category name will be printed. By default,
the category name is printed in full. For example, for the category
name “a.b.c” the pattern %c{2} will output “b.c”.
d Used to output the date of the logging event. The date conversion
specifier may be followed by a date format specifier enclosed
between braces. For example, %d{HH:mm:ss,SSS} or %d{dd
MMM yyyy HH:mm:ss,SSS}. If no date format specifier is given,
then ISO8601 format is assumed.
m Used to output the extension-supplied message associated with the
logging event.
n Outputs the platform dependent line separator character or
characters. This conversion character offers practically the same
performance as using non-portable line separator strings such as
“\n”, or “\r\n”. Thus, it is the preferred way of specifying a line
separator.
p Used to output the priority of the logging event.
r Used to output the number of milliseconds elapsed from the start
of the extension until the creation of the logging event.
t Used to output the name of the thread that generated the logging
event.
% The sequence %% outputs a single percent sign.
View the Tomcat For troubleshooting purposes, such as Tomcat server startup errors, you can consult
Server Startup Log the Tomcat server log file at <prosource_extdir>/tomcat/logs/catalina.out.
The exact URL for the Information Management (IM) Release Start Page is written
to the Tomcat Server log when the Tomcat server is started. The following is the
syntax for the URL:
http://<IM_Admin_Console_Server_IP_Address>:<Tomcat_port>/
imadmin/suite/index.html
GDI_DEBUG=Print
SLG_DEBUG_GFU=1
GF_DEBUG=Alot
ERR_LEVEL=0 # OpenWorks setting for max debug
LC_ALL=no
• • • • • •
Note: You can control the amount of output generated to the log files by adding
to or subtracting from the above example script. However, ensure, that
you monitor the size of the log files and do not exceed the server disk
space limitations.
Manage ProSource Each data transfer produces a log file. The content of the log file is decided by the
Transfer Manager level setting that is designated by the user while configuring the ProSource Transfer
Logs Manager. The default setting is WARN, which only provides information about a
limited number of events. In cases in which the transfer is returning errors, run the
transfer with the highest debug mode. Then, all of the files that are referenced from
the transfer monitor summary page can be submitted for analysis.
License Management
• • • • • •
Note: This section consolidates all the information about license management
changes for ProSource and all its extensions for easy reference.
Managing License
Changes for
ProSource
Managing License The ProSource Enterprise workflow has licenses related to ProSource and Seabed
Changes for components. If the license server changes for any of the applications, then you must
ProSource update the license information in the following places:
Enterprise
• If the ProSource/ProSource Enterprise or Seabed Database license server
changes, refer to “Change FlexNet License Server Configuration for ProSource
Stack” on page 3-12.
• ProSource Enterprise uses the Seabed license for Loaders and Exporters (General
ASCII, UKOOA, and LAS). If you want to change the license for these utilities, you
must change the LM_LICENSE_FILE variable in the $PS_HOME/ext_app/
psx/Seabed_Utilities/.seabed file on the ProSource server. Restart the
Tomcat server.
• If you use the Spreadsheet Loader (SSL) from the Seabed Utilities installed on
your ProSource Enterprise client, it uses the Seabed license. If you want to
change the license, you must change the LM_LICENSE_FILE Windows
environment variable on your ProSource Enterprise client machine. If the SSL
license is unreachable from your PC, you may need to add the license server ip-
address to your C:\%SYSTEMROOT%\system32\drivers\etc\hosts file.
• If the GeoFrame or OpenWorks license server changes, you must change the
licensing information in the scripts available in $PS_HOME/scripts. There is a
script corresponding to every GeoFrame or OpenWorks setup (e.g.,
env_GF44_LNX.sh or env_OW2003_12_SOL.sh).
For troubleshooting information about licensing, refer to “ProSource Enterprise
License Issue” on page 10-6.
Managing License If the license server changes for any of the applications, then you must update the
Changes for license information as described in the following steps. You must update license
ProSource Finder information when the following scenarios occur:
• The license server for ProSource or ProSource Finder License is modified.
• The license server for Finder is modified. These modifications can include Finder
license server changes required to launch Finder Loader Control Center, Carto
2 If the Finder License server changes are required for launching Finder Loader
Control Center, Carto Calculator, Deviation Survey Processing, Forms and
Reports:
a. Login to the Finder server and edit LM_LICENSE_FILE variable in the
$FINDER_HOME/.finder file.
b. Go to the home directory of all OS users used for launching Finder
applications and delete .flexlmrc file if it exists.
3 If the Finder License server changes are required for launching SSL and
SmartDoc, the finder_lm_license_file parameter of the URL variable must
be changed for each Finder datastore.
a. Login to ProSource as an administrator (sis_admin).
b. In TreeView, navigate to ProSource Admin> Database.
c. Edit the finder_lm_license_file=<lm_license> attribute of the URL
variable for the FINDER datastore.
d. Restart the ProSource server.
Managing License The ProSource Logs workflow has licenses related to ProSource and Seabed
Changes for components. If the license server changes for any of the applications, then you must
ProSource Logs update the license information in the following places:
• If the ProSource/ProSource Logs or Seabed Database license server changes,
refer to “Change FlexNet License Server Configuration for ProSource Stack” on
page 3-12.
• If the license server for DLIS Loader or Edited DLIS/LIS/LAS Export changes,
change the value of LM_LICENSE_FILE variable in $PS_HOME/ext_app/psl/
bin/logs_env.csh.
ProSource Logs uses the Seabed license for LAS Loader. If you want to change the
license for LAS Loader, you must change the LM_LICENSE_FILE variable in the
$PS_HOME/ext_app/psx/Seabed_Utilities/.seabed file on the
ProSource server. Restart the Tomcat server.
Managing License ProSource Seismic has licenses related to ProSource and Seabed components. If the
Changes for license server changes for any of the applications, then you must update the license
ProSource Seismic information in the following places:
• If the ProSource/ProSource Seismic or Seabed Database license server changes,
refer to “Change FlexNet License Server Configuration for ProSource Stack” on
page 3-12.
• Change the variable LM_LICENSE_FILE to point to the new license location in
the following files:
$SEISMAN_HOME/scripts/seismic_manager.dat
• Restart the ProSource and Tomcat server.
• • • • • •
Note: A co-located environment can also work on Windows platforms, but the
required batch file is not available with the ProSource installation. Check
with your local Schlumberger representative for an appropriate version of
this file.
Server Will Not If the ProSource server is not starting, take the following actions:
Start
1. Check the ProSource server parameters in the IM Administration Console (safe-
start mode) and make sure all parameter settings are correct:
a. Start the IM Administration Console in safe-start mode ($PS_HOME/
TomcatHome/webapps/imadmin/safe-start-imadmin.sh).
b. Double-click the FederatorConfigurationManagement component
group to open this component group’s list of parameters and values.
c. Edit the parameter values, if necessary.
d. Click OK to save the changes.
e. Exit the IM Administration Console.
2. Check the ProSource server parameters in the $PS_HOME/local/conf/
prosource-server.conf file. Edit the parameter values, if necessary:
• SERVER_ROOT_DIR
• SUBSERVER_ROOT_DIR
• JAVA_HOME
• LD_LIBRARY_PATH
• SERVERNAME - This parameter and the parameter RMI bind name in the
IM Administration Console (safe-start mode) should reflect one another. If
you change this value, ensure that you also change the value in the IM
Administration Console>FederatorConfigurationManagement
component group (see Step 1. page 18).
3. Consult the server log, which is located in the <prosource_extdir>/logs
directory and named with the following syntax:
<prosource_server_name>_[YYYYMMDD-hhmmss].log.
Check for indications of particular settings that are incorrect, in particular
conflicts with current running processes.
4. Check the licenses.
No Response From If there is no reply from the server (Example: client receives the message “Failed to
the Server connect to QbmServer”), it is likely that the server is not running properly. This could
be due to depleted resources (memory, file handles, or disk space). Check the server
log file for any indication of why the process is not starting. For more information on
log files, refer to “Manage the Log Files” on page 3-8.
Too Many Java On Linux ProSource server, you may notice that when you start the Tomcat Web
Processes server, several Java processes begin running on the server. Then, once ProSource is
started, the Java processes increase (up to 78 processes).
Linux servers show a process for each running Java thread. For details on how to
examine only the main ProSource and Tomcat Web server processes, refer to
“Monitor Server Memory/Processes” on page 3-7.
3-18 ProSource Administration Guide
In This Chapter
Introduction
The connections a ProSource Administrator maintains or creates are for the
datastores configured in ProSource and for other ProSource servers. The datastores
include GeoFrame, OpenWorks, LogDB, etc. The links to your federated repositories
are created using the configuration options in the IM Administration Console. This
section explains how to add or alter these links.
• • • • • •
Note: When referring to “connection management”, we are not referring to the
tool “Connection Manager”, which can be launched from the ProSource
interface.
• • • • • •
Note: This guide provides a brief overview of the REXEC, SSH, and External
protocols. Your System Administrator should determine the best protocol
method to use based on your company’s security guidelines.
REXEC By default, REXEC is enabled on a Unix type server but can be disabled. It is
considered insecure because account names and passwords are passed in clear text.
Although this solution is permissible by most corporate security guidelines, it may
not be preferred by System Administrators.
SSH SSH provides secure (encrypted) password-based login when creating local and
remote processes. The SSH daemon (SSHD) must be installed and running on the
host on which the process is created. For more information, consult your System
Administrator.
• • • • • •
Note: You can connect to a non-default ssh port by appending :port_num to
the host name. The example below would connect via ssh on port 2222
rather than on the default of 22:
host=noodle:2222 protocol=ssh
dir=prosource/is6b0a_202/bsl_install tokens=GF 44 url=TEST
‘External’ ‘External’ uses a script that you can use to control how processes are created. With
this method, each process can be configured to your specific environment.
Specifying the Since the default protocol that Prosource uses for database connections is SSH, this
ProSource Server section explains how to configure ProSource to use SSH or External.
Protocol
3 Select the database you wish to edit, then click the Edit icon in the
ProSource toolbar, or right-click the database line item and click Edit.
4 In the URL attribute—following the new URL convention—specify protocol =
SSH. For more details on the URL convention, refer to “To specify the database
URL” on page 4-12.
• • • • • •
Note: Once you perform steps 2, 3, and 4 below, the ProSource server will
search for the exec.sh script. Therefore, the script must be the above the
specified name and in the specified location.
3 Select the database you wish to edit, then click the Edit icon in the
ProSource toolbar, or right-click the database line item and click Edit.
4 In the URL field—following the new URL convention—specify protocol =
External. For more details on the URL convention, refer to “To specify the
database URL” on page 4-12.
Specifying the This section explains how to configure ProSource Transfer Manager to use REXEC or
ProSource Transfer External. There is another option for the ProSource Transfer Manager protocol called
Manager Protocol Default. If you set the ProSource Transfer Manager protocol to Default, ProSource
Transfer Manager will try (in this order) the SSH, REXEC, then the External protocol.
• • • • • •
Note: ProSource Transfer Manager uses the Tomcat server to create remote
processes; however, the user authentication also uses the protocol that is
specified in the Database URL field. Therefore, if you wish to use a single
protocol for ProSource Transfer Manager transfers, you must use the
following steps, then specify the protocol within the Database URL field.
For steps on how to specify the protocol within the database URL field,
refer to “To specify the database URL” on page 4-12.
<param-name>RemoteProtocol</param-name>
<param-value>[REXEC | DEFAULT]</param-value>
• • • • • •
Note: If you do not want to use SSH or REXEC, configure ProSource Transfer
Manager to use an external script.
1 Create a script that specifies how processes should be created, for example, by
using SSH public keys (Contact InTouch Support for example scripts). Name the
script “exec.sh” and place the script in the “<prosource_home/bin/”
directory.
• • • • • •
Note: Once you perform step 2, the ProSource server will search for the
“exec.sh” script. Therefore, the script must be the above specified name
and in the specified location.
To add a new subserver, the only required addition is a new database record.
The management tasks explained in the section include:
• • • • • •
Note: The following operations are now supported through the configuration
utility present in IM Administration Console under the
ProSource>Connections tab and should be performed using the IM
Administration Console only. However, this section remains since you can
perform the operations from the ProSource Admin node as well.
However, it is advisable to configure using the IM Administration
Console.
For more details, refer to “Manage ProSource>Manage Connections”
section in the IM Administration Console Online Help.
Manage Database A new database record needs to be created if, for instance, you need ProSource to
Records connect to a new repository such as a new GeoFrame instance. The database record
holds all of the parameters required for ProSource to connect to the database.
• • • • • •
Note: For information on generating metadata for JDBC databases, refer to
“Create JDBC Metadata” on page 6-48.
URL Syntax The URL syntax accepts space-separated keyword/value pairs. Keywords and values
are separated by an equal sign ('='). Supported keywords in the URL field are as
follows.
Table 4-11 URL Keywords
Keyword Value
host host IP address(es) - to use when creating remote process.
hostname host name(s) - optional; value(s) to display in Database Connection
dialog instead of host(s).
protocol (optional) protocol(s) for the corresponding host(s): SSH (default),
REXEC, or EXTERNAL (see “Specify the Protocol” on page 4-3 for
details of each type).
dir directory(s) on remote host(s) containing startup script.
token product-specific portion of script name to execute.
version (optional) value(s) to display in Database Connection dialog
instead of token(s).
url values for GeoFrame or OpenWorks/SeisWorks - see URL definition for
semicolon format - same.
Validation- (optional). If added, ProSource validates that the user has access to
Table this table during the login process. This can be used to prevent the
user from logging in with a valid Oracle account, which does not have
access to the required schema. As an example, for Finder projects, the
following keyword is added by default: “ValidationTable=WELL_HDR”.
Example URL The following shows the syntax for the URL field:
host=134.32.71.72,134.32.71.72 protocols=ssh,rexec
hostnames=SCAIMD72_SSH,SCAIMD72_REXEC dir=prosource/
Configure Third- This section explains how to configure a third-party JDBC compliant database with
Party JDBC ProSource.
Compliant
Database with
ProSource
• • • • • •
Note: Only JDBC-compliant Oracle databases are supported.
• • • • • •
Note: You can configure more than one JDBC database with ProSource. Make
sure that database names are unique.
In This Chapter
Introduction
All user and security management is configured using the IM Administration
Console.
The IM Administration Console provides Administrators with a single set of tools to
efficiently manage common administration tasks such as user management,
entitlements, and data access across all Schlumberger Information Solutions (SIS)
IM extensions such as Seabed, ProSource, and DecisionPoint.
The IM Administration Console allows the Administrator to do the following:
• Manage Users and Security - Create, edit, and delete Users and Roles, assign
Objects (entitlements), and reset passwords (each option is dependent on
whether you are using an OpenLDAP or a Corporate LDAP).
Users can be granted access to standard ProSource workflows and features by
adding the user to a predefined role. Users can also be granted access to plug-in
applications to create, read, update, and delete “capabilities” used to access
datastores. As delivered, ProSource adds read capabilities for standard datastores
(OpenWorks, GeoFrame, Finder) to the SIS_Public role. Entitleables (Entitleable
Objects in IM Administration Console) in the SIS_Public role are accessible to all
users. When a user logs into ProSource, the ProSource server retrieves and
caches the user's entitlements for the duration of the user's sessions.
• • • • • •
Note: A user has multiple sessions (connections to the server) when using the
ProSource extension and the PTM User Interface simultaneously. If a Role,
plug-in application, or capability entitlement is revoked (explicitly or by
expiration), the change does not take effect until the user logs out (all
sessions) and then logs into ProSource.
• • • • • •
Note: If you are configured against a corporate LDAP directory and you want to
configure to an OpenLDAP directory instead, you must configure and start
the UserManagement service to turn on the Create, Edit, and Delete User
workflows. Ensure that the password and manager account for your LDAP
installation are correct in the UserManagement component. Refer to
“Access Manage Servers” in IM Administration Console Online Help.
If you are configured against an OpenLDAP directory and you want to
configure against a corporate LDAP directory, you must stop the
UserManagement service to disable the Create, Edit, and Delete User
workflows.
ProSource-Specific The following Roles are created in the security management system by the
Roles in the IM ProSource installer:
Administration
Table 5-1 Default Roles in the IM Administration Console Specific to
Console
ProSource
• • • • • •
Note: The sis_public role is assigned to all newly created users by default and
cannot be removed. ProSource adds Read capabilities for datastore
adaptors bundled with ProSource to the sis_public role.
• • • • • •
Note: To restrict a user's access to all objects, you must remove the restricted
access objects from the sis_public role.
ProSource-Specific The dictionary defines different capabilities for all data types in the various data
Entitleables in the sources. The following are four capabilities for each topic (tree node) in ProSource,
IM Administration each representing an action that members of a Role can perform on a given topic:
Console
• Read (search, view)
• Create (new)
• Update (modify existing)
• Delete (remove)
Plug-in applications can be entitled to roles and users. Refer to the ProSource Data
Entitlements Guide for detailed information on roles and users.
In the IM Administration Console, plug-in applications can be viewed (but not
modified) by clicking Users and Security> Objects> Applications.
• • • • • •
Note: The Administrator Role is given access to all areas and functionalities of
ProSource.
• • • • • •
Note: An error will display, if you try to create users with the same name as the
Project Name.
2 The sis_admin account should only be used upon initial setup. Therefore, at
this point, log out of the IM Administration Console and log back on as the new
Administrator User or User with the Administrator Role.
• • • • • •
Note: Do not lock the SIS_Admin account after ProSource installation, as it is
used while starting up the ProSource server and for various administration
workflows.
3 Create the Roles that will be granted certain Capabilities, or, if you are in an
open LDAP, first create the Users and Groups, then create the Roles with
granted Capabilities.
• • • • • •
Note: An example workflow to create a Role for Finder Users is provided in the
IM Administration Console Online Help under Getting
Started>Example Role Workflow for ProSource.
In This Chapter
When logged on to ProSource as an Administrator, you can select the option Store
settings as the default public preferences.
The options through the Edit Preferences window are maintained in the file
$PS_HOME/conf/prosource.xml. You can set additional preferences by
modifying the prosource.xml file. Table 6-1 shows the values in the prosource.xml
file as well as their corresponding GUI locations (if applicable).
Table 6-1 Interface Parameters in the Configuration File
Corresponding
Parameter Edit Preferences Description Valid Value
Window Location
@@RMI_REGISTRY Not available (Do not edit) n/a
through GUI Placeholder for
actual registry
host/port,
replaced by the
server when
serving the jnlp
file to the clients.
@@SERVERNAME Not available (Do not edit) n/a
through GUI Placeholder for
actual server
name, replaced by
the server when
serving the jnlp
file to the clients.
maximumMemory Not available The maximum Max memory
through GUI amount of in MB
memory to be (Example:
used by the JVM 512)
on the client
addBackgroundLayer GisView tab > Add Adds a yes | no
background layer background
when GisView is ArcIMS service to
created the GISView
Corresponding
Parameter Edit Preferences Description Valid Value
Window Location
lookAndFeel Not available Java look and feel pointer to
through GUI that is used by the kunstoff file
extension
backgroundImage Not available Path to the n/a
through GUI background image
that is displayed
on the ProSource
desktop
If you are using a proxy server and would like to view or add a background layer to
the GisView map, add the following proxy specific variables in the file $PS_HOME/
conf/prosource.xml:
Table 6-2 Interface Parameters in the Configuration File for a Proxy Server
Parameter Description
proxyServer Proxy server IP address
proxyPort Proxy server Port Number
proxyDomain Proxy server domain value
proxyUser (optional) Proxy username
proxyPasswordEncrypted (optional) Encrypted proxy password
proxyPassword (optional) Plain text proxy password
proxyHttps (optional) Add this keyword if the proxy uses https
• • • • • •
Note: The name for the new attribute should be a unique name. Do not use the
same name as an existing attribute. You must assign the Picklist attribute
type to the new attribute in order to be able to select the external object
name and attribute name from a picklist. If you assign a different attribute
type to the attribute, the picklists will be blank.
• • • • • •
Note: To find out the topic name for a particular question in ProSource, navigate
to the question in TreeView, right-click on the question name, and select
Dictionary>Show Topic Information (must have read access to the
Dictionary). Use the Topic name shown in TableView for the External
object type name attribute.
c. Select an Attribute name from the picklist, typically the Attribute name
created in Step 1.
d. Enter Y (yes) or N (no) in the mandatory field. Entering “Y” forces users to
set the Quality Attribute for that topic if users try to manage the quality
attribute.
e. Click Save to link the Quality Attribute to the specified topic.
3 If the Quality Attribute type is a picklist, create the options for the picklist.
a. In TreeView, navigate to Federated Services>Quality
Admin>Reference Value>Create Reference Value .
b. For each picklist option, add a table row. For example, if you have one
Quality Attribute titled QC1 and you want the picklist options to be “Good’
and “Bad” (signifying good and bad data), create two Reference Value rows,
as in the following example:
• • • • • •
Note: The path should be relative to the ProSource installation directory
(or absolute). Do not use $PSHOME in the path name.
• • • • • •
Note: Changing this directory after populating the index will result in
creation of a new database which will not contain items in the database
associated with the old directory.
• • • • • •
Note: Enter Web Search Base URL below if you set web search to true.
• • • • • •
Note: Use a semi-colon to delimit values, for example:
“OPENWORKS2003=3;GEOFRAME=4;FINDER=5".
• • • • • •
Warning: The spatial data or shape attribute cannot be indexed if the alias of
the project coordinate system is either defined incorrectly or not
defined at all.
5 Click OK.
6 Start the IndexManager Component Group, if necessary, by clicking Start in
the IM Administration Console toolbar.
7 Double-click ProjectCoordinateSystem to open the Server Configuration
dialog box for the ProjectCoordinateSystem Component Group (Figure 6-
4).
• • • • • •
Note: The syntax of the value comprises a slash that delimits metadata in each
triple <datastore/topic/attribute>, and a semicolon that delimits metadata
in each triple. For example, Datastore_Others="GEOFRAME/GFProject/
coordinate_system;GEOFRAME/GFSeis_2D_Line/
coordinate_system;OPENWORKS2003/gdi_2003_project/
coordinate_system".
Customize ProSource 6-11
9 Click OK.
10 Start the ProjectCoordinateSystem Component Group, if necessary, by
clicking Start in the IM Administration Console toolbar.
11 If you edited any parameters, restart the ProSource server for the new settings
to take effect. If you started the IndexManager Component Group or the
ProjectCoordinateSystem Component Group, restart the Tomcat Web server.
Third-Party The Index Search is designed so that third-party crawling can be performed into the
Crawling same index. This allows for companies to use free open source tools such as Nutch
Integration from Apache organization (http://lucene.apache.org/nutch/) to crawl Web sites and
document repositories. The users can then search these data sources at the same
time they search databases indexed by ProSource.
ProSource can be used for the searching, but it is also possible to build Web pages
that will search the index and return the result on a Web page. You can either build
custom pages, or use the Search page that comes with tools such as ‘Nutch’.
If you intend to use the ProSource Client for searching, you do not need to perform
any special configuration. Simply, run the third-party tools to index data into the
same index (lucene directory) as the ProSource index. You will find the lucene
directory as a subdirectory of the ProSource Search Index directory, which is
configured for the Search Index component in the IM Administration Console.
When using the ProSource Client to present the result of third-party searches, it will
be useful to use the ProSource field names when populating your index. The default
values are “content” (for the main search field - include all searchable values in
here), “url” (for item lookup), “title”, and “summary”. These values can be
customized, if required. If you use these names, the ProSource Client will be able to
present the URL and summary to the user. If you use different names (without
notifying ProSource), ProSource will not know which values to present to the user.
If you intend to search the ProSource Index from a Web page, you need to turn on
a switch for the Search Index component which makes ProSource generate a URL
and a title for each item it indexes. This URL can then be used to look up the details
of a search hit (the user can click the URL to see all the cached attributes for the
selected item).
You can enable this URL generation by configuring the Search Index component
setting “enable_web_search” to true (default is false). You can then specify a base
URL under which the page is to be hosted. This optional setting is specified with the
“WEB_SEARCH_URL” parameter. Specify the base of the URL, and terminate it with
a “/”. In this case, you need to implement the URL handler as well. This is useful if
you have specific requirements on how you want to process the result. Your Web
page can then use the Lucene API to look up the URL and get the details for the hit.
The names of the external attributes in the ProSource Search Index (“title”, “url”)
have been chosen so that they will align with what Nutch uses. Normally, you are
not required to modify these attributes, but if you would like to customize these
attributes, you can do so by setting the server properties “IndexUrlAttribute”,
“IndexSubjectAttribute”, “IndexSummaryAttribute”, and “IndexContentAttribute” to
the desired values. If you would like to inspect the content of the Search Index, a
good and free OpenSource tool is “Luke” (http://www.getopt.org/luke/).
• • • • • •
Note: If you modify any of these attributes you will need to regenerate the index
in order for the changes to take effect. This also applies to the
“enable_web_search” and “WEB_SEARCH_URL” settings.
Manage the Index To make data available in the Index Search, schedule the corresponding ProSource
Search topic to be “indexed” at regular intervals.
• • • • • •
Note: Two servers cannot access the same index at the same time. Doing so will
cause an error message to display. If this situation occurs, confirm that all
users are disconnected from the servers, shut down all servers, and then
delete the .lock file from the index directory.
• • • • • •
Note: You can also add a topic to the index by selecting Edit>Search Index
Configuration on the menu bar, and then clicking Add.
The Add Topic(s) to Search Index dialog box appears (Figure 6-5).
4 Select the attributes you want to index, and then click OK.
5 Click Cached Attributes or keep the default cashed attributes.
The Cached Attributes dialog box appears (Figure 6-7).
• • • • • •
Note: Cached Attributes are mostly used by spatial features. You can cache
shapes and be able to display them directly on GisView without having to
re-query the source database. You can also cache grid images.
• • • • • •
Note: Also, if you want to build your own application on top of the index by
caching the data in the index, you will have access to it without having to
go back to the source database.
• • • • • •
Note: You can create multiple index jobs on any topic, but data for that topic will
only be stored in the index once and will be from the most recently run
job. Also, when you delete a job, the associated data is also deleted. For
example, if you have 3 jobs for the same topic, and you remove one of
them, the indexed data for that topic will be removed until one of the
remaining jobs runs. However, the presence of the other 2 jobs in the
Index Manager gives the impression that data from those jobs are
available. By deleting one of the jobs, the data is gone until the next job
runs.
6 Select the attributes you want to keep in the dictionary, and then click OK.
7 Click Connection or keep the default detected connection.
The Database Connection dialog box appears.
To search an index
There are two methods to perform a search. Use either of the following methods:
Method 1
1 Enter your search keyword in the navigator field, as illustrated in Figure 6-11,
and then press Enter.
Method 2
• • • • • •
Note: You must have at least one search constraint to use the Search Index. Do
not use the question icon to retrieve all indexes within a constraint.
2 Select the parameters for each attribute you would like to perform the search
on.
3 Select the type of View that you would like to display the results.
4 Click Search.
The search results appear on the right pane, displaying the results data in the
view type you selected (Tree, Table, Form). The search results allow you to drill
down to the original data and view the data directly on the map (for spatial
data) without having to connect back to the original database to query the
spatial data.
5 Select the spatial filter check box at the bottom of the search results window to
view an area of interest, as illustrated in Figure 6-13 above.
The Area of Interest dialog box appears.
• • • • • •
Note: Every Index Search result appears on the ProSource tree for easy access.
To delete an index
1 In the ProSource menu, select Edit>Search Index Configuration.
The Search Index Configuration window appears (Figure 6-9).
2 Select the index job(s) you want to remove, and then click Delete.
The following message opens, confirming whether you want to proceed with
the removal.
3 Click OK.
4 Click Show Log.
The log file appears in your Web browser.
Configure eSearch
eSearch is a powerful data management tool. It allows you to quickly and accurately
store, search, and order physical E&P data assets in corporate-wide, multi-site,
multi-repository environments. It employs easy-to-use interfaces with configurable
relational data structures for records management. eSearch facilitates SIS
Information Management suite integration.
• • • • • •
Note: eSearch data can be stored as case sensitive or in upper case (always),
depending on the option that is used when the table structure for loading
data is created. If the case sensitive option is not checked as “ON” when
the Datatype attribute is created, all the data that is loaded into that
attribute will be stored in upper case. In this scenario, when a user
searches using the eSearch adaptor, the item may or may not be found if
the attribute case in GeoFrame, OpenWorks, or Finder does not match the
case with the corresponding element Datatype in eSearch was created.
Generate and Load Before you begin, ensure that you have:
eSearch Metadata
• Write access to the ProSource installation directory on the server
• Write access to the ProSource topic ProSource Admin>Generate
Metadata>eSearch Metadata
• “esearch_api” feature in the license file being used by the eSearch installation
When the ProSource installation is completed, the Administrator must generate and
load the metadata for the eSearch DataTypes that are to be made accessible from
ProSource. To be able to generate the Metadata, you need to login with an eSearch
user who has privileges to access eSearch Metadata or data types.
1 Log onto the ProSource client as a user with administrative privileges.
2 In TreeView, expand ProSource Admin>Generate Metadata, click on
Search icon for, and select eSearch Metadata.
The Generate Metadata screen opens.
3 Select the Project and Datatype for which you want to generate metadata,
then select the appropriate Definition attribute, and click Search.
The results display in TreeView.
4 Select the Definition attribute.
5 On the TableView toolbar, right-click the Edit icon, and select Text Editor.
In the Text Editor, edit the metadata generated by default, if any changes are
needed.
6 Restart the ProSource server after defining the eSearch Metadata to see the
modifications.
• • • • • •
Note: Once you have created the new eSearch datatype, you or your ProSource
Administrator must assign access permissions to allow users to access the
datatype.
• • • • • •
Note: For further information on assigning capabilities to objects, refer to the
Information Management (IM) Administration Console Online Help.
Enable an E&P To enable a ProSource entity to search an eSearch attribute referred to by Link
Entity from Name, you must modify the ViewLoader file for the corresponding topic, and
ProSource to apply the USAGE rule below to the corresponding attribute in the topic.
Search an eSearch
USAGE=’eSearchMapLayerAttribute=LinkName’
DataType
Example:
DataStore=GeoFrame;
create VIEW gfwell IMPLEMENTS Well DATASTORE GEOFRAME
HOME=’id’
{
:
:
ATTRIBUTE uwi :PATH=UWI TYPE=’String’
NATURAL;
:
:
}
save view gfwell;
create TOPIC GFWell VIEW=gfwell
{
:
:
ATTRIBUTE uwi:USAGE=’eSearchMapLayerAttribute=PSUWI’;
:
:
}
• • • • • •
Note: It is not mandatory to load a specific dictionary modification via the
ViewLoader script. You can alternatively modify the topic definition in
ProSource using ProSource Admin Tree>Topic or right-click
Dictionary>Show ViewLoader information (for a specific question).
Setting eSearch To allow a normal user to set the eSearch Preferences, follow these steps:
Preferences
1 Launch IM Administration Console in the safe-start mode.
2 Change the Allow eSearch Preference Setting parameter of the
FederatorConfigurationManager to “true”, and click OK.
3 Restart the Tomcat and ProSource servers.
4 Go to IM Admin and assign the Esearch_Pref_Tab and
Esearch_Web_in_Context objects to that normal user.
Modifying eSearch Web To configure another eSearch Web Server or modify eSearch Web Server
Server Parameters parameters, follow these steps:
1 Launch IM Administration Console in the safe-start mode.
2 Go to ProSource>FederatorConfigurationManagement and modify the
eSearch Web Server Host and eSearch Web Server Port parameters as
required.
3 Click OK.
4 Restart the Tomcat and ProSource servers to apply the settings.
• • • • • •
Note: A user must have the Administrator role in order to manage coordinate
systems.
Synchronized When a custom coordinate system or coordinate system transform is created, edited
Coordinate System or deleted in ProSource, the definition is saved in all the required catalogs for
Catalogs ProSource, Seabed and ArcSDE. This keeps coordinate systems definitions
synchronized across IM workflows.
The coordinate system catalogs updated by ProSource are as follows:
• ProSource internal catalog used for coordinate system definitions (ProSource uses
the ArcSDE library to perform conversions).
• Map catalog used by the ProSource GIS Viewer to identify custom coordinate
systems.
To synchronize the map catalog, ProSource adds a custom coordinate system or
transform to the GeodeticDB.txt file in the slb_mo20_geodetic_db.jar file in
the ProSource/jars directory. The previous version of the jar is saved with a
date stamp.
• • • • • •
Note: Users must restart the ProSource client to use a new or updated custom
coordinate system or to transform it in the GIS View as in sending data
aliased to the new system to the GIS View or when selecting the system in
the GIS View.
Coordinate System In essence, if the coordinate system for your project has a direct mapping to an Esri
Management coordinate system, you will simply need to create the coordinate system alias in
ProSource that provides a mapping for the two coordinate systems. If there is no
direct mapping, or if the project uses a custom coordinate system, you will then
need to create the custom coordinate system in ProSource and then provide an alias
for the custom coordinate system. In addition, if your project uses a custom
transformation, the custom transformation needs to be created and identified in
ProSource as well.
The following diagram is an overview of the steps necessary to ensure ProSource
has all of the information associated with the coordinate system that your project
uses.
This section takes you through the steps in the above diagram for managing the
coordinate system mappings. Included in this section are the following topics:
• “Add a Custom Coordinate System” on page 6-31
• “Add a Transformation” on page 6-37
• “Add a Coordinate System Alias” on page 6-39
• “Edit a Custom Coordinate System, Alias or Projection” on page 6-41
• “Delete a Custom Coordinate System, Alias or Projection” on page 6-42
• “View the Properties of Coordinate System Objects” on page 6-43
Add a Custom Note: After creating a new coordinate system using the client interface, it is
Coordinate System necessary to restart the ProSource client in order to have the new CRS definition
available in Edit > Preferences > Projection and in GisView > Projection.
(Tip: Confirm that all users are logged off the server before shutting it down.)
If ProSource does not recognize the coordinate system that your project uses, you
will receive errors similar to the following:
“Could not determine which datum shift function to use when converting from
'Unknown - Clarke 1880' to 'GEODETIC-CL80__CL80'. Check your configuration for a
datum shift definition to WGS84.”
or
“Read project information (map) failed. See RowStatus for details.” The RowStatus
will show a message such as, “Coordinate system not found for European 1950,
Norway & Finland.”
Proceed with the following workflow to correct these errors.
Pre-Step 1: Get Details At this point, you need to add a coordinate in ProSource. Refer to
of Your Coordinate Edit>Coordinate System>View in “View the Properties of Coordinate System
System Objects” on page 6-43 to see the values you will need to provide, depending on
whether the coordinate system is a geographic or projected coordinate system, and
depending on the projection for your projected coordinate system. Make note of
your coordinate system values before proceeding to the next step.
Pre-Step 2: Try to Find If you are unsure what the Esri match is for your coordinate system, consult your
an Esri Code Match for geodesist who can provide the mapping.
Your Coordinate
System First try to find an Esri match for your coordinate system within ProSource. You can
view all coordinate systems in ProSource by selecting Edit>Coordinate
Systems>View. Refer to “View the Properties of Coordinate System Objects” on
page 6-43, which explains the view options. If you find a match for your coordinate
system, consider using the Well Known Text for the next step of creating a
coordinate system alias.
Alternatively, go to the EPSG http://www.epsg.org/ website and download the EPSG
code database. Within the database, try to find an Esri code match for your
coordinate system.
If you were able to find an Esri code match you do not have to add a custom
coordinate system in ProSource; you simply need to add a coordinate system alias.
Find instructions on how to add an alias on “Add a Coordinate System Alias” on page
6-39. If you did not find a match, follow the directions in the next section to add a
custom coordinate system in ProSource.
Adding the Custom If you were unable to find an Esri code match for your coordinate system, you will
Coordinate System need to add the coordinate system to ProSource, as explained within this section.
code will be in the Esri range for that coordinate system type.
Area and Tree Node - Area refers to the geographic area to which the
coordinate system belongs.The Tree Node represents the same information
in tree view. It indicates the node in the coordinate system tree (displayed
by geographic region), in which you want the new coordinate system to be
located.
In the Tree Node field, enter the location in which you want the coordinate
system to open. To create a new, custom location within the tree, type the
new tree location. The syntax is: <top tree node>/<2nd level tree node>.
Datum Name - Name of the datum to be used for the coordinate system.
The datum name changes according to the Coordinate System you
selected. Different Datum Names automatically populate the spheroid
values with default values for that datum.
Spheriod Name - Read-only name for the datum.
Semi-major Axis and Inverse Flattening - Change these values as
needed.
If the values of the Semi-major Axis and Inverse Flattening change,
and you click Save, the custom Datum is created and the Datum Name
gets reset. The same name is set to the Spheriod Name appear. The
information for the datum and the spheriod remain the same in View, Edit,
and in Well-Known Text.
Prime Meridian Name - Select the prime meridian for the coordinate
system.
Angle Unit Name - Select the angle unit for the coordinate system.
If the values of the Area, Prime Meridian, and Angle Unit are changed,
and you click Save, the same Datum Name and Spheriod Name appear.
The information for the datum and the spheriod remain the same in View,
Edit, and in Well-Known Text.
Target - To view the target, and in order to view its default transformation,
click the Target picklist to open a list of available targets from which to
choose. Select the target you would like to use and click OK.
b. If you do not see the target you would like to use, save the new geographic
coordinate system, and then create a custom transformation in ProSource.
For further details, refer to “Add a Transformation” on page 6-37.
Well Known Text - Click Well Known Text if you would like to compare
the well known text of the new coordinate system with one already created.
Transformations (button) - To see which transformations are defined for
the current coordinate system, click Transformation. If you do not see the
transformation you need, add the transformation in ProSource.
For further details, refer to “Add a Transformation” on page 6-37.
4 Once you have finished entering the coordinate system values, click Save.
5 Either click Close to exit the Coordinate System Add dialog box, or add
another coordinate system object.
Create Custom Use this section to create custom Datum and Spheroids.
Datum and
Spheroids
2 Enter the name of the GCS with the same name as that of the custom Datum
required.
For example, if Datum=CAM, then the GCS name is CAM.
3 Enter the semi-major axis and inverse flattening values.
Both the Datum name and the Spheriod name now display as CAM-H,
and the Spheriod name becomes editable.
4 Enter the custom Spheriod name (for example, RAC), and click Save.
A GCS is created with a custom Datum named (CAM-H) and a custom
Spheriod
named (RAC).
Add a Transformation Esri supports several transformations to convert from one geographic coordinate
system to another. When displaying project data in GisView, the default
transformation used by ProSource is WGS_1984. That is, any repository-side
coordinate system is instantly converted to WGS_1984 or the default map
coordinate system for ProSource (set by selecting Edit>Preferences>Projection
tab>Default Map Coordinate System) for display purposes.
When the coordinate system of a project in Finder, GeoFrame, OpenWorks, or any
federated data source is based on a coordinate system that does not have a
transformation defined in ProSource, ProSource returns an error message similar to
“Could not determine which datum shift function to use when converting from
'Unknown - Clarke 1880' to 'GEODETIC-CL80_CL80'. Check your configuration for a
datum shift definition to WGS84.” This error means that you need to add the
transformation for that coordinate system.
To add a transformation
1 From the ProSource menu, select Edit>Coordinate System>Add.
The Coordinate System Add dialog appears.
• Method Name - Select the Method Name from the drop-down list. Once
selected, the parameter options are automatically updated for that method
type.
• Parameters - Enter the values for the transformation.
• Well Known Text - Click Well Known Text if you would like to compare
the well known text of the new transformation with one already created.
4 Once you have finished entering the transformation values, click Save.
5 Either click Close to exit the Coordinate System Add dialog box, or add
another
coordinate system object.
Add a Coordinate If you were able to find a matching Esri coordinate system or if you have already
System Alias created the custom coordinate system, you are now ready to add the coordinate
system alias.
An alias maps the custom coordinate system or a coordinate system from a different
dataset - such as Mentor or Blue Marble - to the Esri coordinate system name.
In the Tree Node field, enter the location in which you want the coordinate
system to open. To create a new location within the tree, type the new tree
location. The syntax is: <top tree node>/<2nd level tree node>.
• Coordinate System - Select the corresponding Esri coordinate system
name. If you do not find the coordinate system you would like to use, it
means that you need to create a custom coordinate system.
For details, refer to “Add a Custom Coordinate System” on page 6-31.
• Comment - Enter a comment that will help you with future reference as to
why you created the alias.
• Target - To view the target, and in order to view its default transformation,
click the Target picklist that opens a list of available targets from which to
choose. Select the target you would like to use, and then click OK.
If you do not see the target you would like to use, save the new geographic
coordinate system, and then create a custom transformation in ProSource.
For details, refer to “Add a Transformation” on page 6-37.
• Well Known Text - Click Well Known Text if you would like to compare
the well known text of the new alias with one already created.
Transformations - To see which transformations are defined for the
current coordinate system, click Transformation. If you do not see the
transformation you need, add the transformation in ProSource.
For details, refer to “Add a Transformation” on page 6-37.
4 Once you have finished entering the Alias values, click Save.
5 Either click Close to exit the Coordinate System Add dialog box, or add
another coordinate system object.
Edit a Custom This section explains how to edit a coordinate system, alias, or projection once it has
Coordinate System, been added in ProSource.
Alias or Projection
All coordinate systems, aliases, and transformations that have been added in
ProSource are listed.
2 Select the item you would like to edit and click Edit. The Edit dialog
appropriate for the type of item you selected appears.
3 Change the values you would like to edit, and then click OK.
4 Either click Close to exit the Coordinate System Edit dialog box, or select
another item to edit and continue the process.
Delete a Custom This section explains how to delete a coordinate system, alias, or projection once it
Coordinate System, has been added in ProSource.
Alias or Projection
All coordinate systems, aliases, and transformations that have been added in
ProSource are listed.
2 Select the item you would like to delete, and then click Delete.
• • • • • •
Caution: Once you click Delete, you cannot undo the deletion. Ensure that you
have selected the correct item prior to clicking Delete.
3 ProSource confirms that the item has been deleted. Click OK.
4 Either click Close to exit the Coordinate System Delete dialog box, or select
another item to delete and continue the process.
View the Properties This section explains how to view the properties for an existing coordinate system,
of Coordinate alias, or projection or one that has been added in ProSource.
System Objects
2 Select the type of coordinate system object that you would like to view:
• Geographic - Lists all geographic coordinate systems configured with
ProSource (original and those that have been added)
• Projected - Lists all projected coordinate systems configured with
ProSource
(original systems and those that have been added)
• Transformation - Lists all transformations configured with ProSource
(original transformations and those that have been added)
• Custom - Those listed show all aliases, coordinate systems, and
transformations added to ProSource by the ProSource Administrator. Note
that these are also available in the list of their respective types (by choosing
Geographic, Projected, etc. from the Type drop-down list), but are not
shown in their respective trees (viewed according to geographic region). For
example, if you add a new geographic coordinate system, you can find that
coordinate system on the List tab, but if you click the Tree tab, you will not
see the custom coordinate system. To see the added geographic coordinate
system on the Tree tab, select Custom from the Type drop-down list, and
then click the Tree tab.
• Alias - Lists all aliases configured with ProSource (original aliases and those
that have been added).
3 To quickly find a coordinate system object:
• In the Name field, enter the name for which you are searching. This
automatically takes you to that name in the list.
6-44 ProSource Administration Guide
• • • • • •
Note: Those coordinate systems ranging in the 200,000 code or higher are
custom coordinate systems, aliases, or transformations created in
ProSource.
• • • • • •
Note: When importing external shapefiles to generate metadata in ProSource,
make sure that the name of the shapefile does not begin with a number
(example - 123_shapes). In the name begins with a number, following
error will be returned: “* Loading meta failed: Unexpected
token: (context:
com.slb.im.federator.server.viewmanager.ViewParser.new
ViewDef- (ViewParser.java:126)”
At this point, the shapefile format is not suitable for any action other than a
basic overview or map representation since all of the shapefile attributes are
condensed into a single attribute value. The following steps explain how to
define each attribute and how to create a directory structure (or a new
ProSource question and topic) for the shapefile.
2 Send the data in the ProSource topic ProSource Admin>Generate
Metadata>Any Shape to TableView.
3 Locate the shapefile in TableView, click the shapefile (to highlight), and then
click the Edit icon in the TableView toolbar.
4 Select the Definition attribute, right-click, and select Text Editor.
5 In the Text Editor, edit the CREATE QUESTION TOPIC section to specify
the
directory (question and topic) in which you want the shapefile stored. For
example, if you have a shapefile titled b_majorcities2, the default will look
like the following:
CREATE QUESTION TOPIC='b_majorcities2' '#110#Read b_majorcities2'
CAPABILITY='b_majorcities2 READ' REF='Shapefiles'.'#110#Shapes//
b_majorcities2';
• • • • • •
Note: The syntax for CREATE QUESTION TOPIC follows the ViewLoader
syntax for creating questions and topics. For further help on the
ViewLoader syntax, refer to “Create Question” in the ProSource
ViewLoader Guide.
• • • • • •
Note: Once you have created the new shapefile directory, be sure to assign the
access permissions (or have your ProSource Administrator assign
permissions) in order for users to access the shapefile. For further
information on assigning capabilities to objects, refer to the Information
Management Administration Console (IM Administration Console) Online
Help.
• • • • • •
Note: The eims_ds_jdbc license is required for non-Finder (i.e., general JDBC
data access).
ProSource provides the ability to generate JDBC metadata and then access this
metadata from TreeView. The same workflow is available for Finder using the
Finder Metadata question.
• • • • • •
Note: Only Oracle, JDBC compliant databases are supported.
• • • • • •
Note: For information on configuring a third-party JDBC database, refer to
“Configure Third-Party JDBC Compliant Database with ProSource” on page
4-14.
To Generate Metadata
1 Expand ProSource Admin>Generate Metadata in TreeView and click the
• • • • • •
Note: In the case of Finder, connect with project account credentials.
If you are connected with Analyst account credentials, only analyst tables
will be available for generating metadata.
4 Select the Table name for which you want to generate data.
5 Select the Definition and Definition xref attributes.
The Definition xref option is used to generate metadata for cross references,
such as picklists and related information links.
• • • • • •
Note: When saving cross references, you need to ensure that the referenced
topics exist first. Otherwise, the save operation will fail.
Customize ProSource 6-49
6 Click Search.
The results appear in TableView.
7 Select the Definition attribute and click Edit in the TableView toolbar.
The Definition window appears.
8 Edit the attributes, if necessary, and click Save in the FormView toolbar.
• • • • • •
Note: If you need to modify the attributes, you may want to modify the question
name, location and order.
9 Restart the ProSource server and client to see the new question and topic in
TreeView.
10 Query the ProSource Admin>Topic for the topic details. In this example, we
are querying for the Topic attributes because we added new attributes.
11 Verify that the new topic has been created correctly. This step is optional.
• • • • • •
Note: If the question appears in TreeView, your topic has been created
correctly.
• • • • • •
Note: Once you have generated the JDBC metadata, be sure to assign the
access permissions in order for users to access this metadata. For
information on assigning capabilities to objects, refer to the IM
Administration Console Online Help.
• • • • • •
Note: For information on valid date formats for attributes, refer to http://
docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html.
• • • • • •
Important: If you use custom font for well symbol, you will need to use font
with unicode encoding as font with symbol encoding cannot be
displayed in ProSource.
Attribute Description
Id This is a unique Id for this symbol mapping. You can check
existing IDs by querying ProSource>Well Symbol
Mappings>Search.
Classification name This is the name of this set of classifications (to be put in the
attribute usage rule in which the classification should be
used).
Attribute value This is the attribute value for which you want to specify a
symbol (Example: “OIL”). This value must be a single column.
Attribute Description
Symbol Index The symbol (index) to which this value should be mapped.
This is a decimal value for the character in the font. Open the
font in a font viewer utility to get the symbol codes. A good,
free font viewing utility for Windows is X-Fonter (http://
Users.pandora.be/eclypse/xfonter.html). Most operating
systems include a default font viewer. Example: In Windows,
it is charmap.exe.
Font name The font to which the symbol belongs. This is not the file
name of the font. To get the font name, open the font in a
font viewing utility such as Windows charmap.exe. If your font
viewer gives the font family, use that; otherwise, use the font
name.
Symbol size The default symbol size.
Foreground color The font color in RGB values.
Background color/ Not used.
Line Color
d. Click Save.
Option 2 - Configure with SQL
Example of how to map a value to a given symbol in the classifications table
using SQL:
insert into CLASSIFICATIONS (ID, CLASSIFICATION_NAME,
ATTRIBUTE_VALUE, SYMBOL_INDEX, FONT_NAME, SYMBOL_SIZE,
FOREGROUND_COLOR, BACKGROUND_COLOR, LINE_COLOR)
: values ('OW_1', 'OpenWorksWellStatus', 'A DRY (NO
SHOWS)', 58, 'ProSource Symbols', 0.6, '0,0,0',
'255,255,255', '0,0,0');
3 Configure ViewLoader
Having configured the CLASSIFICATIONS table, add a reference to your topic
that it should use the classifications mapping you created. Do this by adding a
reference to the classification name’s usage rule of the attribute that should
“drive” the well symbol mapping.
Set the usage rule to: “Classification=CLASSIFICATION_NAME”, where
CLASSIFICATION_NAME is the name of the classification from the
CLASSIFICATIONS table. If you have multiple classifications for a given topic
(driven by different attributes), also indicate the priority in the variable name.
Example:
ATTRIBUTE 'crstatus': PATH=crstatus
USAGE='Classification1=FinderWellStatus' ;
ATTRIBUTE 'well_type': PATH=well_type
USAGE='Classification2=FinderWellType' ;
In this example, if the user has selected the well status attribute in the query,
the well status attribute will determine which symbol is used. If the user does
not select the well status attribute, the well type is used (if it was selected).
• • • • • •
Note: The well symbols will not work if usage rule for an attribute has
parameters other than “Classification=CLASSIFICATION_NAME”. For such
attributes, specifying additional usage rules will not allow the well symbols
to appear.
Example:
If for an attribute 'crstatus' the viewloader is configured as
ATTRIBUTE 'crstatus': PATH=crstatus
USAGE='Classification1=FinderWellStatus MaxLength=64';
then the well symbols will not work.
It works for the below scenario
ATTRIBUTE 'crstatus': PATH=crstatus
USAGE='Classification1=FinderWellStatus’;
4 Restart the ProSource server and client to see the new well symbols.
The first time you access the Message Matches section, as shown in Figure 6-29,
you will see a set of messages that are already configured. These are standard
Oracle error messages that provide examples of how to create your own custom
messages.
Hierarchy of the Matches with no parent are tested first in order of the ID attribute. If a match has
Message Matching children, the children are processed in order of their ID. This cycle continues until all
children have been evaluated. If there are no children for the ID, the parent match is
used for formatting the message and that becomes the message that displays to the
user. The following diagram shows an example of this hierarchy.
ORA-001
ORA-001-001 ORA-001-005
ORA-001-005-001 ORA-001-005-002
Add a Message All messages reported from the database are formatted using the message matches.
Match This functionality is always active but depends on which matches are available in the
database. The matches are loaded to memory when the server or transfer starts and
are evaluated for each message.
Therefore, we now want to change the Row Status from “*FAIL: error adding
object to project (Instance exists, cannot insert)” to a more action driven
message that directs the user on how to fix the problem.
2 Add a new Error Match.
3 In ProSource, navigate to ProSource Admin>Message Matches>Create
New .
The Create Message Match form displays.
4 Create a new message match using the following attributes:
Table 6-4 Message Match Attributes
Attribute Description
Id Id of the match. Matches are ordered based on this ID. An ID
representing the hierarchy is useful (Example: ‘ora-003-005’). The ID
labeling and hierarchy are determined by the ProSource
Administrator.
Parent Id ID of the parent match. If the parent matches, all child matches are
tried in order. If none match, the parent is used.
Topic Topic name to match. To specify any topic, enter an asterisk (*).
Match Matching regular expression. For more information on creating
expressions, refer to: http://java.sun.com/docs/books/tutorial/extra/
regex/.
Format Replacement expression. Use “$n” to refer back to () in a match.
Format class Full name of specific class for formatting messages. This is only
invoked if regexp matched.
Format class Options to the format_class. Format depends on the format_class.
options
Description Comment or description on the match. Note that this attribute value
is not displayed to users.
In this example, the Message Match states that the error can be received from
any Topic (*) as long as the error matches “* error adding object to project.*”.
The asterisks on each side indicate that as long as the error contains the
specified text, display the message “The data object you are trying to create
already exists in the project. Please check.”
5 Verify the new message.
After you have created the Message Match, the new error text will display in
the Row Status. In this example, the new Row Status reads the following:
Add Specific Rules Specific rules can be configured if the message from the database does not contain
enough information to give meaningful feedback to the end users. These specific
rules can then be configured provide extra checking and reporting for a particular
case. For example, the following class can format the error message by evaluating
the data and the error message together:
com.slb.im.federator.server.messagematcher.MessageFormatterA
ttributeWidths
The parameter (format class option) needed for this class is the attribute width. For
example, if the given option is attr=12, it will then verify that the attribute named
attr has length <= 12.
Additional The following links provide additional information on configuring message matches:
References
Regexp Tutorial: http://java.sun.com/docs/books/tutorial/extra/regex/index.html
Plug-ins That Can Plug-ins can be configured to pass data from ProSource to other applications in
Be Configured various formats. Some formats include:
• 3rd-party applications that you frequently use, such as GeoFrame or OpenWorks
• Customized Microsoft Excel spreadsheets or CSV ASCII files of data accessed from
ProSource
• Shapefiles, ArcXML (for maps)
• VRML files (for 3D views of Grid/Interpretation images)
• A Web link
• A URL
• Custom mechanisms: You can also write your own Java processor, and then
register this code in ProSource to add a different type of plug-in. The base class
and utility methods for data access allow you to write the necessary code. You
can either run your entire utility within the ProSource Java Virtual Machine (JVM)
or launch your application as you wish from your Java code.
Where the Plug-ins You can configure the extension or plug-in to be launched from several locations in
Can Be Launched ProSource, including:
• The main ProSource menu
• A particular viewer’s menu
• The Send To menu (accessed when you right-click or MB3 objects)
• Various trigger points such as a pre-insert trigger (explained in section “Create
Custom Behavior Using Trigger Plug-ins” on page 6-81).
• A tree node in TreeView
• • • • • •
Note: Plug-ins should only be added to the main ProSource menu. (Example: the
Tools menu) if the plug-in is not intended to process data provided by
ProSource (Example: using CommandLineProcessor). If you require a
plug-in to process data selected in ProSource, use another entry point.
(Examples: a viewer menu such as TableView or the Send to menu).
The Processors are designed to act upon the data that is selected in the result set,
such as the data selected in TableView. If you want the extension that is to be
launched to act upon all rows in TableView, first select all rows by using the
keyboard combination of CTRL + A, and then select the desired extension in which
you plan to launch the data.
One exception to this is when an extension is launched from the Result Set Node
(Example: TreeView). In this case, it is assumed that the user wants to launch an
extension to act upon all rows in the result set. If the extension is launched from a
leaf node (a data item) it is assumed that only this single item should be included in
the launch.
How to Configure This section explains the basic process for configuring all plug-ins. Following this
the Plug-in section are specific examples of how to configure certain types of plug-ins (example
values you would provide).
You can either add a plug-in using the ProSource interface or add the plug-in
through SQL.
4 Click the Create a new item icon corresponding to the Applications tree
node.
The Applications Create form opens in RowView.
5 Enter the attribute values for the new plug-in. Table 6-5 explains the options
available.
Table 6-5 Application or Plug-in Attribute Descriptions
Attribute Description
Id Enter a unique string to identify the entry.
Tip: By adding “Plug-in” to the beginning of the ID, at a later date
you will be able to easily identify all plug-ins that have been added
as customizations to ProSource.
Display name Enter a unique name for the plug-in (as it will appear in the GUI).
Use the picklist only for examples, as you want to provide a
unique name that is not already used in another area of
ProSource.
Display Use the picklist to specify where you would like users to access
location the plug-in. For example, if you would like for the plug-in to be
accessed from the Send To menu (accessible when users right-
click MB3 objects), select that option.
Display order (optional) Enter the location in which the extension is to be
displayed in the menu. 1 = first entry in menu, 2 = second entry
in menu, and so on.
Display tooltip (optional) Enter the text you want displayed as a pop-up when a
user’s mouse hovers over the option for more than two seconds.
Display icon (optional) File name of GIF or JPG icon to display in the GUI for
this plug-in. The file must be in the CLASSPATH. If this value is not
entered, no icon is displayed.
GUI Viewer (optional) Enter a view such as TableView or GisView if you would
like to restrict the plug-in so that it is only an option for the user
when they are in that particular view. If no value is entered, the
plug-in will be available when the user is in all view types.
Attribute Description
Topic (optional) Enter a topic, which is the Dictionary-specific name for
the tree node name, if you would like to restrict the plug-in so that
it is only an option for the user when they are in that particular
topic. If no value is entered, the plug-in will be available when the
user is in all topics.
This field supports wildcards ‘*’.
For example, entering Well* enables the plug-in only when
viewing topics starting with “Well”.
Enter multiple topics by separating the topic names with a comma
(no spaces). Example: topic1,topic2
Tip: To find out the topic name for a tree node, right-click a node
in TreeView, and then select Dictionary>Show Topic
Information. The Topic name is the value to enter in this field.
Datastore (optional) Use the picklist to choose a datastore (data source)
name type, such as FINDER or GEOFRAME, if you would like to restrict
the plug-in so that it is only an option for the user when they are
in that particular datastore. If no value is entered, the plug-in will
be available when the user is in all datastores.
This field supports wildcards “*”.
For example, entering OPENWORKS* enables the plug-in when
viewing data for all OpenWorks extensions.
Enter multiple datastores by separating the datastore names with
a comma (no spaces). Example: datastore1,datastore2
Processor Use the picklist to choose the Java-based processor that will
name handle launching the plug-in. Commonly used processors are
explained further in this section.
Note: The Processor picklist options are not all inclusive, as the
picklist shows only those processors that have been previously
used for a plug-in. If you would like to use a processor that is not
listed in the picklist, simply enter the processor name in this field.
Note: It is also possible to write your own Java code that will plug
into ProSource. For information on this, contact the Schlumberger
Rapid Response Team (RRT).
Processor (optional) Enter extra parameters to be passed to the processor.
properties Enter quotes around the value if the value contains spaces;
otherwise, the quotes are not necessary. Separate the parameters
with a space.
Note: The picklist shows all previously entered parameters for all
processor types and is not specific for the type of processor that
was selected. Parameter options for commonly used processors
are explained further in this section.
6 Once you have entered the values for the new plug-in, click Save.
7 Grant permissions for access to the new plug-in.
a. When you click Save to save the new plug-in, ProSource asks “Would you
like to entitle users to your new plug-in application?”. Select Yes. The
Information Management (IM) Administration Console launches. Within the
Customize ProSource 6-65
IM Administration Console, define the users or groups whom you would like
to have access to the new plug-in. This is a mandatory step since, initially,
the Administrator who created the plug-in is the only user able to view the
new plug-in option.
b. The IM Administration Console opens to the Applications tab of the Objects
workflow. Locate and select (to highlight) your new plug-in on the list (the
Extension name is the ID you entered, and the Description is the Display
name you entered).
c. Grant permissions to the new plug-in by clicking Users, Groups, or Roles,
depending on the type of access you would like to provide. If you would like
to provide all users access to the new plug-in, click Roles to open the
Roles for Object window. Click Add to open the Add Role to Objects
window. Select the SIS_Public role, and then click OK. Enter the
entitlement options, and then click OK. You are then returned to the Roles
for Objects window, and the SIS_Public role should be listed. Click Close
to close out of the Roles for Objects window.
d. Once you have set the permissions, select File>Exit to exit the IM
Administration Console.
• • • • • •
Note: For further information on how to use the IM Administration
Console, such as how to set up users, groups, and roles and how to assign
permissions, refer to the IM Administration Console Online Help by
selecting Help>Help Contents.
8 Re-launch the ProSource client and sever to view and use the new plug-in.
VALUES
( 'Petrel Well Header', 'Petrel Well Header', 'Send To',
10.5, 'Create flat file in Petrel Well Header format' ,
NULL, NULL, 'Finder_Well_Location', 'FINDER',
'com.slb.im.federator.qbm.launchmanager.ExcelLaunchProcess
or' , 'format=csv
separator=tab saveOnly=yes useHeaderQuotes=no
useValueQuotes=no includeSourceInfo=no
forceNumberLocaleUS=yes
attributes=uwi,well_name,x_tophole,y_tophole,crstatus
uwi=Uwi well_name=WellName x_tophole=X-Coord y_tophole=Y-
Coord crstatus=Symbol');
COMMIT;
3 Grant permissions for access to the new plug-in. For more information, see
Step 7 page 65.
4 Re-launch the ProSource client (you do not have to re-launch the ProSource
server) in order to view and use the new plug-in.
Example Plug-In This section provides examples values for adding the following plug-in types:
Configurations
• “Example: Launch an External Extension” on page 6-67
• “Example: Launch a Web Page” on page 6-69
• “Example: Launch a URL” on page 6-71
• “Example: Launch a Custom Excel Report” on page 6-72
• “Example: Launch a CGM Command” on page 6-78
• “Example: Launch a Server-side Script with Context and Log-in Parameters” on
page 6-78
• “Example: Create a Custom Processor” on page 6-81
For each example, follow the steps as explained in the previous section “How to
Configure the Plug-in” on page 6-63, and use the example values below as guidance
when creating your plug-in.
Example: Launch an To launch an external application from within ProSource, such as Petrel or
External Extension GeoFrame, use the Command Line Processor. This section shows example values to
add a plug-in that uses the Command Line Launch Processor to launch Petrel from
the ProSource Extensions menu.
Enter the following values for the new plug-in on the Applications Create form.(For a
description of each attribute, refer to Table 6-5 on page 6-64):
• Id - Plug-in: Petrel
• Display name - Launch Petrel
• Display location - Extensions
• Display order - 2
• Display tooltip - Launch the Petrel extension
• Display icon - (Leave blank)
• GUI viewer - (Leave blank so that this option is available when the user is in all
views.)
• Topic - (Leave blank so that this option is available when the user is accessing all
topics.)
• Datastore name - (Leave blank so that this option is available when the user is
accessing topics.)
• Processor name -
com.slb.im.federator.qbm.launchmanager.CommandLineLaunchProc
essor
• Processor prop(erties) -
“Command=C:\Program Files\Schlumberger\Petrel 2005\Petrel 2005.exe”
• • • • • •
Note: The quotes are mandatory if the command value contains a space.
Table 6-6 shows the set of keywords available for the Command Line Processor.:
Table 6-6 Command Line Processor Parameter Options
Keyword Description
Command (mandatory) Enter the path to the executable file on the client
machine.
Note: You can specify platform-specific commands by appending the
operating system name returned by the Java method
System.getProperty(“os.name”). Example:
command-Windows_2000=d:\launch.bat command-SunOS=/app/
launch.csh
Parameters (optional) Enter any extra parameters appropriate for the chosen
command.
noWindow (optional) If this is set, the extension is launched with the start /B
option on Windows to avoid displaying a startup window. Note that
this does not work for most types of extensions; most extensions
need a startup window.
When you complete the configuration (save the new plug-in and provide user
access through the IM Administration Console), Petrel can then be launched
from the Extensions menu, as shown in Figure 6-35:
Example: Launch a Web To launch a Web page or any third party application from within ProSource, use the
Page URL Launch Processor.
This section shows an example of how to add a plug-in that uses the URL Launch
Processor to launch a URL from the Send To menu. The Send To menu option is
titled “Show Well Documents”. The URL points to a documentation system which can
display scanned documents, given the UWI value. ProSource supports two formats
for the URL including:
• www.mydocumentsystem.com/<uwi>.html - For this format, specify the UWI
directly in the URL quoted with percent (%) signs. For instance,
www.mydocumentsystem/%UWI%.com specifies that ‘UWI’ is the attribute name
you want to be populated in the target’s UWI. If you are in TableView, and you
select a well in which UWI=123456, and then you select Send To>Show Well
Documents, ProSource will launch the following URL:
www.mydocumentsystem.com/123456.html.
• www.mydocumentsystem.com?uwi=<uwi> - For this format, list the attributes in
the Attributes keyword, as specified in Table 6-7 on page 6-70. Using this format,
ProSource will launch the following URL: www.mydocumentsystem.com/
?uwi=123456. This format assumes that the documentation system can
parse the parameters passed in, while the first example format simply
looks up a document directly.
Enter the following values for the new plug-in on the Applications Create form. (For
a description of each attribute, refer to Table 6-5 on page 6-64):
• Id - Plug-in: Show Well Documents
• User -Database User name
• Pwd -Database User password
• DBURL - database connection url in format of <HOST:PORT:DATABASE NAME>
• Database - name of database
• Display name - Show Well Documents
• Project - name of project
Customize ProSource 6-69
Keyword Description
URL (mandatory) Enter the website address to launch.
Method If the method is set to “post”, a temporary HTML page is generated
with all the parameters specified and the URL is launched using this file
as a parameter. Enter the path to the executable file on the client
machine.
Options Any optional parameters to add to the HTML link.
Attributes A comma-separated list of attributes to send to the URL. Example:
“uwi,well_name,status”. Use to return all the selected attributes.
Generate =yes (Advanced). If this is set to “yes”, then a server ticket is
Ticket generated and the ticketID is sent to the URL (for the Web page to get
a connection to the server).
passCreden If the value is set to ‘Y’ or ‘y’, credentials can be passed.
tials
NoPwd If the value is set to ‘Y’ or ‘y’, password will not be sent to target
application. If the value is not set or set as ‘other’, password will be
sent to target application.
encrypt If the value is set to ‘Y’ or ‘y’, password will be encrypted and new
parameter will be added to list of other HTML, containing name of
encrypted parameter.
i.e. <input type="hidden" name="enc_params" value="Pwd">
separatorC If the value is not set, all selected value will be against keys i.e.
harForMulti key1=value1 and key1=value2.
Value If the value is set to a comma (,), all multiple values will be separated
by this character for a given key i.e. key1=value1,value2.
HTTP Get limits the amount of data passed as parameters to 2048 KB.
Use HTTP Post, if you need to support larger amounts.
You can use the HTTP Post method to do more advanced URL launching. ProSource
creates a temporary HTML file that contains all selected data, as well as the
following parameters:
• Client IP address (variable name: _SYSTEM_CLIENT_IP_ADDRESS)
• ProSource User name (variable name: _SYSTEM_CLIENT_User_NAME)
• Selected topic name (variable name: SYSTEM TOPIC_NAME)
• Capability key (variable name: SYSTEM CAPABILITY_KEY)
• Datastore type (variable name: SYSTEM DATA_STORE_TYPE)
• Datastore name (variable name: SYSTEM DATA_STORE _NAME)
• Database name (variable name: SYSTEM DATABASE_NAME)
• Dictionary name (variable name: SYSTEM DICTIONARY_NAME)
• Selected attributes as comma separated list (variable name: SYSTEM
ATTRIBUTES)
• • • • • •
Note: The attribute names are used as variable names for the actual data.
Example: Launch a URL To launch a URL from within ProSource, use the URL Launch Processor and register
topic specific plug-ins in the main TableView. This section shows an example of how
to add a plug-in that uses the URL Launch Processor to launch a URL from the
ProSource menu. The ProSource menu option is titled “View Related Documents”.
• • • • • •
Note: In this field, you can specify any attribute value to pass to the URL link. In
this example, we specified uwi as the type of attribute to pass.
Example: Launch a You can configure ProSource to export data selected in a viewer, such as TableView,
Custom Excel Report to a file recognized by Microsoft Excel, such as an XLS, a CSV, or a TXT file. In
addition, you can specify additional properties for the exported file, such as the
exact attributes you would like exported. This section shows an example of how to
add a plug-in that saves the selected data to a CSV file. In this example, the plug-in
option is confined to a specific topic and datastore type, since the plug-in’s output
relies on the data selected by the user.
• • • • • •
Note: You can also create custom Excel templates so that when users export
data to an Excel report, the report has pre-defined formats and/or
formulas. For more information on registering custom Excel templates with
ProSource, refer to “Register Excel Templates” on page 6-88.
Enter the following values for the new plug-in on the Applications Create form. (For
a description of each attribute, refer to Table 6-5 on page 6-64):
• Id: Plug-in - Petrel Well Header
• Display name: Petrel Well Header
• Display location: Send To
• Display order: 10.5
• Display tooltip: Create flat file in Petrel Well Header format
• Display icon: (Leave blank)
• Gui viewer: (Leave blank)
• Topic: Finder_Well_Location
• Datastore name: FINDER
• Processor name:
com.slb.im.federator.qbm.launchmanager.ExcelLaunchProcessor
• Processor prop: format=csv separator=tab saveOnly=yes
useHeaderQuotes=no useValueQuotes=no includeSourceInfo=no
forceNumberLocaleUS=yes
attributes=uwi,well_name,x_tophole,y_tophole,crstatus
uwi=Uwi well_name=WellName x_tophole=X-Coord y_tophole=Y-
Coord crstatus=Symbol
If you need to include depth, first be sure to form the query correctly (use KB as a
query constraint for elevation_ref). In this case, you would enter the following
information into the Processor properties value:
Processor prop: format=csv separator=tab saveOnly=yes
useHeaderQuotes=no useValueQuotes=no includeSourceInfo=no
forceNumberLocaleUS=yes
attributes=uwi,well_name,x_tophole,y_tophole,elevation,drill
ers_td,crstatus uwi=Uwi well_name=WellName x_tophole=X-Coord
y_tophole=Y-Coord elevation=KB drillers_td=BottomDepth
crstatus=Symbol
• • • • • •
Note: The keywords above are shown in blue for ease of mapping them to their
descriptions in Table 6-8 on page 6-74.
When you complete the configuration (save the new plug-in and provide user
access through the IM Administration Console), the Petrel Well Header report
can then be launched from the Send To menu when viewing data in the
Finder>Wellbores topic, as shown in Figure 6-36:
Fig. 6-36 New Plug-in to Save the Petrel Well Header Report
Selecting the Petrel Well Header option opens the Save Data File dialog box. You can
then enter a name for the report, and open the report in a text file that looks similar
to Figure 6-37:
Table 6-27 shows the set of keywords available for the Excel Processor:
Table 6-8 Excel Processor Keywords
Keyword Description
Format Control the output file type
The Excel launch processor can output data in an Excel or flat
file format. Accepted values are:
• CSV (comma separated value fields - flat file ASCII format)
• TXT (same as CSV, except you get a .txt extension by
default)
• XLS (Excel spreadsheet file)
separator Control which column separator to use (flat file only)
By default, ProSource uses semicolons to separate the
columns in a flat file. You can control this by specifying any
type of a seperator:
separator=tab (separate the columns with the tab)
or
separator=- (separate the columns with a dash “-”)
Command or Launch the associated extension or save to a file
saveOnly ProSource can optionally launch a utility once the output file
has been created. You control this with the following keyword:
“command=my executable name”
If your executable name contains spaces, make sure to use
quotes.
If you do not want to launch an executable, use the
“saveOnly=yes” keyword. It will invoke a file selection box
instead of generating a file name for you.
Keyword Description
useHeaderQuotes, Control whether to quote values (flat file only)
useValueQuotes By default, ProSource uses quotes for the values in the flat
and file.
useSpaceQuotes You can control this with the keywords:
• useHeaderQuotes=no (do not use quotes for header
values)
• useValueQuotes=no (do not use quotes for row values)
• useSpaceQuotes=yes (only use a quote if the value
contains a space - Example: “my well name”)
includeSourceInfo Specify whether to include the header
By default, the Excel or CSV file will include two context lines
with the date and the question name. You can choose not to
include these two lines by specifying:
includeSourceInfo=no
forceNumberLocal Force U.S. Number locale (flat file only)
eUS Some loaders (Example: Petrel import) require U.S. number
standards, such as using a period “.”instead of a comma “,” to
denote the use of decimals. By default, ProSource uses the
locale set on the client machine, but US locale can be forced
for export by including the following keyword in the processor
properties:
forceNumberLocaleUS=yes
Keyword Description
Attributes Specify the attributes for export
The Excel processor can be configured to export specific
attributes, rather than export all attributes in the current
viewer, such as all attributes displayed in TableView. As an
example, if you specify the attributes value of:
attributes=uwi,well_name,x_tophole
Only those three attributes are generated in the report,
regardless of which attributes the user included in the query
or selected in TableView.
The report generates the attributes in the exact order in which
they are specified.
Separate the attribute values with a comma.
(no keyword Rename the attribute names for column titles
required) Occasionally, the exported file will be used to import the data
into another extension. The other extension might require a
specific name for a given attribute (Example: well name in
Petrel must be WellName). You can map the attribute names
to any other attribute name by simply appending the attribute
mapping to the end of the processor properties in the format
of “<attribute name in ProSource>=<attribute name in other
extension>”.
An example for a file that will be used to import Petrel Well
Header information is:
well_name=WellName uwi=Uwi x_tophole=X-Coord
y_tophole=Y-Coord elevation=KB
drillers_td=BottomDepth crstatus=Symbol
Example: Create If the data for a report comes from several tables in Seabed involving complex joins,
Formatted Advanced it may not be feasible to develop a ProSource view and topic to retrieve this data.
Excel Reports ProSource/Seabed extensions provide an alternative mechanism to develop such
reports. Using this mechanism, ProSource/Seabed extensions provide several
formatted reports on the well log data stored in the Seabed database. These reports
can be extended and customized at every installation to suit the need.
• • • • • •
Note: To make any new report available to all users, choose the deployment
using the jar file option.
Example: Launch a CGM Complete the following steps to launch a CGM command.
Command
Option Description
showFileDialog =yes. Set this option to open a file dialog for users to specify a
filename for the CGM file being saved. If this option is not set,
the command=<> option is used instead.
command Enter the path to the executable file on the client machine. This
executable is launched to act upon the CGM file. If no command
is specified, the operating system file association is used to
launch the default extension.
parameters These parameters are passed after the filename.
noWindow If this option is set, the extension is launched with the start /B
option on Windows to avoid displaying a startup window. This
does not work for all types of extensions. Your extension might
need the startup window.
Example: Launch a Create a script to be launched, make it available on the server file system, and then
Server-side Script with register a ServerScriptLaunchProcessor in the plug-in applications table. Here is how
Context and Log-in this server-side launching framework works:
Parameters
1 A new JavaServer Page (JSP) is configured and running on a server somewhere
(the same server as ProSource Transfer Manager). This is a standard (does not
require customization) JSP, which we provide. You can customize this page, but
it is not required. This JSP page can be used to launch a number of different
server-side scripts.
2 Write a server-side script (which can then launch your extension) and put this
somewhere so it is available from the JSP page in Step 1.
3 Register your script in the PLUGIN_APPLICATIONS table, such as for any other
plug-in. Use the processor ServerScriptLaunchProcessor. In this entry, specify
the URL and whether your script needs a Finder select list as input. You can
also specify any potential parameters you might need (such as the project
password) and the prompt to use when querying the user. The JSP page will
then query for all missing parameters. See below for a sample entry.
4 When the user selects some data and chooses Send To>My Finder app,
ProSource saves a Finder select list (if requested), packs up all the information
that is needed, and passes it on to the JSP page. The Finder select list is
marked as temporary with an expiration date of today + 1 day.
5 The JSP page then:
a. Prompts the user for any missing information.
6-78 ProSource Administration Guide
Attribute Description
_SYSTEM_LOG_FILE This is the log file into which you should output
data.
_SYSTEM_SEL_FILE This is a file that contains the selected data.
(Note: This is in addition to optional Finder
select lists.)
_SYSTEM_CLIENT_IP_ADDRESS This is the IP address of the client machine.
_SYSTEM_CLIENT_USER_NAME This is the user name used to log into
ProSource.
_SYSTEM_TOPIC_NAME This is the topic from which the data is selected.
_SYSTEM_CAPABILITY_KEY This is the key of the capability with which the
data was retrieved.
_SYSTEM_DATA_STORE_TYPE This is the type of data source from which the
data came.
(Example: FINDER)
_SYSTEM_DATA_MODEL_NAME This is the data model from which the data
came.
(Example: FINDER)
_SYSTEM_DATABASE_NAME This is the database from which the data came.
(Example: SPIDER)
_SYSTEM_DICTIONARY_NAME This is the Dictionary name.
(Example:
jdbc:Oracle:thin:@134.32.71.72:1521:seabed)
_SYSTEM_ATTRIBUTES These are the attributes you can find in the
selection file.
(Example: uwi,primary_source,record_changed)
Login Option 1:
Use this logon only if you specified the “supplyLogin=yes” parameter in the
processor properties.
_SYSTEM_DATABASE_USER - This is the user account used to login
to the project. Example: install
_SYSTEM_DATABASE_PASSWORD - This is the password used to login
to the project. Example: install
This login request option is not 100% secure because the user name and password
are stored in a temporary HTML file on the client machine. This HTML file will reside
on the client machine until you exit ProSource. For a more secure password
retrieval, you should choose the second login option. (Note: The second option
requires you to retype your password.)
Login Option 2:
This login option requests the JSP page to query the user for any data. This is done
by adding prompts to the processor properties (in the plugin applications entry). For
example, if you add:
prompts=PROJECT_PASSWORD,FILTERING_PARAMETER
PROJECT_PASSWORD=Project Password FILTERING_PARAMETER=Please
enter the filtering parameter
The JSP page will query the user like this:
Project Password:
Please enter the filtering parameter:
The two values the user enters will then be outputted to environment variables
PROJECT_PASSWORD and FILTERING_PARAMETER before your script is called.
If your variable ends with “passwords”, the type in the JSP page will also be set to
password (the typed text is hidden).
The following shows a complete example of a plug-in application entry:
INSERT INTO PLUGIN_APPLICATIONS ( ID, DISPLAY_NAME,
DISPLAY_LOCATION, DISPLAY_ORDER, GUI_VIEWER, TOPIC,
PROCESSOR_NAME, PROCESSOR_PROP, DISPLAY_TOOLTIP,
DISPLAY_ICON ) VALUES (
'ScriptTest', 'ScriptTest', 'Send To', 10, null, null,
'com.slb.im.federator.qbm.launchmanager.ServerScriptLaunchPr
ocessor'
, 'url=http://134.32.71.73:8529/servertools/jsp/Wrapper.jsp
scriptName=test.csh method=post supplyLogin=yes title=
post supplyLogin=yes title=<title for jsp page>
prompts=project_password,something_else
project_password=Project Password something_else=Please
enter something here finderSelectList=yes
FinderSelectListType=WELLS',
'Launch a server script on the server.', null);
INSERT INTO PLUGIN_APPLICATIONS_GROUP ( PERMISSION_ID,
APPLICATION_ID, GROUP_S ) VALUES (
'ScriptTest','ScriptTest', (select group_s from slg_group
where name='public'));
COMMIT;
• • • • • •
Note: In order for the Finder select list Save function to work, a predefined set
of select list topics must be available. These topics will also enable the
user to edit Finder select lists from ProSource.
Example: Create a To implement your own Launch capability, you will use the
Custom Processor LaunchProcessorInterface.
This interface contains one method – execute – that is called with the appropriate
parameters when the user launches the extension:
public class MyLaunchProcessor implements
LaunchProcessorInterface
{
: /**
: * Execute launch action. This method is called when the
User
: * activates the launch. i.e. by pressing Send to -> My App
: *
: * @param LaunchParameters – Parameter class with
parameters
: * for this launch
: *
: */
: public void execute(LaunchProcessorParameters parameters);
}
1 Implement the interface.
2 Compile your Java class.
3 Refer to this class file in the ProSource Plug-in Applications node:
ProSource Admin>Plugin Configuration>Plugin Applications.
4 Restart the client for the new settings to take effect.
Create Custom You can add custom behavior to the create, save, read, and update actions that
Behavior Using users perform in ProSource. The custom behavior is defined using triggers. These
Trigger Plug-ins triggers are added in the same fashion as adding an application plug-in. Each type
of trigger uses a different processor:
• Pre-Create:
Processor:
com.slb.im.federator.qbm.launchmanager.PreCreateExecuteQuestionTrigger
This trigger is activated when the user presses Save before the values are sent
to the server and stored in the database. You can use this trigger to validate
data or to change data in some way before it is saved.
• Post-Save:
Processor:
com.slb.im.federator.qbm.launchmanager.PostSavePluginApplicationTrigger
This trigger is activated when the result from the save operation comes back
from the database. You can use this trigger to chain workflows, such as to ask
if the user wants to create a child object after successfully creating a parent
object.
• Post-Read:
This trigger is activated when data from a search or read operation returns
from the server. You can use this trigger to activate special formatting such as
QA algorithms.
Example: Pre-populate The following workflow activates the pre-create trigger for the UWI attribute on the
an Attribute Finder>Wellbores node, which is the Finder_Well_Location topic. When the user
clicks Create New Wellbore and FormView opens to enter the new Wellbore’s
value, the UWI attribute will be pre-populated with the next sequence value.
WHERE id = 'SequencerPreCreateTrigger';
INSERT INTO plugin_applications (ID, DISPLAY_NAME,
DISPLAY_LOCATION, DISPLAY_ORDER, GUI_VIEWER, TOPIC,
PROCESSOR_NAME, PROCESSOR_PROP, DISPLAY_TOOLTIP)
VALUES (
'SequencerPreCreateTrigger', 'SequencerPreCreateTrigger',
'PreCreateTrigger', 0, null, 'Finder_Well_Location',
'com.slb.im.federator.qbm.launchmanager.PreCreateExecuteQu
estionTrigger', 'dataModel=FINDER topic=finder_sequences
"question=Next Value" sourceAttribute1=nextval
targetAttribute1=uwi "filter=Next
Value:sequence_name:=:ESI.GRAPHIC_OBJECT_SEQ"', null);
3 Grant the User(s) or Role(s) access to the SequencerPreCreateTrigger extension
object in the Information Management Administration (IM Administration)
Console. For details on how to grant access, refer to the IM Administration
Console Online Help.
4 Restart the ProSource server and client.
5 In TreeView, navigate to the topic Finder>Well
Data>Wells>Locations>Create New (the Finder_Well_Location
question).
6 In the Create New Item form, ensure that the UWI attribute is pre-populated.
Example: Pre-populate Use the following workflow if you would like to assign constant values to any column
Fields in ProSource while creating new rows.
Example: Enforce If you would like to enforce certain formatting on string attributes, you can use the
Formatting on String PrefixFormat, PostfixFormat, and PadToMinLength keywords for the pre-create
Attributes trigger. For example, follow the steps below if you would like to enforce that your
Finder well location UWI's always start with “WB” and are followed by a minimum of
six characters. ProSource will then automatically add the “WB” prefix when a user
enters a UWI, and pad the entry with “0” if less than six characters have been
entered.
Fig. 6-38 Compare View Content Wizard Showing Equality Test Options
You can customize the Equality Test options, such as defaulting the Parameters
value each time a specific Equality Test option is selected, and adding your own
algorithms. This way, the Administrator can add complex rules and mappings
between difference name spaces that will then be available to users in a simple
manner.
• Display order - 9
• Display tooltip - Defaults the replace string Parameters value to “KB=KB_CODE
KellyBushing=KB_CODE”.
• Display icon - (Leave blank)
• GUI viewer - (Leave blank)
• Topic - finder_well_location
• Datastore name - FINDER, PETREL
• Processor name -
com.slb.sis.prosource.compare.impl.ComparatorHandlerReplaceS
trings
• Processor (properties) - type=string caseInsensitive=yes
useSearchCode=yes “parameter=KB=KB_CODE
KellyBushing=KB_CODE” “parameterDescription=Space separated list
of character sequences to replace. List the longest sequences first. Example:
KB=KB_CODE KellyBushing=KB_CODE. Can be used for mapping between two
datastores.”
The custom Equality Test option then opens as shown in Figure 6-39.
Fig. 6-39 Compare View Content Wizard Showing the Custom Equality Test
Options
Note that defaulting the Parameters value is also useful for ignoring pre-defined
strings (using the Ignore Strings option).
• • • • • •
Note: This procedure will only work when the report template is saved in Excel
97-2003 worksheet (*.xls) format in Microsoft® Excel® 2007 and will not
work in Microsoft® Excel® 2007 (*.xlsx) format.
To create a template
1 Open ProSource and display the data for which you want to create the
template.
2 Right-click the data and select Send To>Excel to send the data to Excel.
• • • • • •
Note: The number of rows selected determine the number of data points that
will appear on your chart.
3 Insert an additional sheet in Excel in which you define your report (charts, etc.)
by referring to the data in the first sheet (which you exported from ProSource).
Make sure you insert the new sheet after the data sheet, as illustrated in
Figure 6-41.
4 Select the Source Information sheet (Figure 6-40), and then right click and
Delete to remove the Source Information sheet that ProSource created.
• • • • • •
Note: The Source Information sheet includes a URL that you can click to display
a Search Panel which allows you to conveniently query data on the source
topic.
5 Select the attributes column from your first worksheet, as shown in Figure 6-
42.
6 When you click on the chart, the Chart Tools become available and the
Design, Layout and Format tabs are displayed.
Use the Design tab to display the data series by row or by column, make
changes to the source data of the chart, change the location of the chart,
change the chart type, save a chart as a template, or select predefined layout
and formatting options.
Use the Layout tab to change the display of chart elements such as chart titles
and data labels, use drawing tools, or add text boxes and pictures to the chart.
Use the Format tab to add fill colors, change line styles, or apply special
effects
7 To move the chart to the new worksheet, click anywhere on the chart. Click on
the Design tab, and then in the Location group, click Move Chart. Click
Object in, and then select the worksheet in which you want to place the chart,
from the list.
8 On the Layout tab, in the Labels group, click Legend and select the type of
placement of legend.
9 On the Layout tab, in the Labels group, click Chart Title to select the
positioning of title and enter the suitable chart title.
10 The template report appears in the new worksheet.
12 On the Home tab, in the Cells group, click Format. Under Visibility, click
Hide & Unhide, and then click Hide Sheet to hide the first sheet.
• • • • • •
Note: The data sheet that you are hiding needs to be the first sheet in the Excel
spreadsheet.
• • • • • •
Note: If a template is using macros, a security dialog box will appear beneath
the Microsoft Office ribbon saying “Security Warning Macros have been
disabled”. When the notification appears, click Options>Enable this
content>OK.
To register a template
1 Create a plug-in application entry for the new report, and specify the Excel
template in the Processor properties such as “template=MyExcelTemplate1.xls”.
If you are referring to a template on the local disk, you need to specify the full
path, such as “template=c:\templatedir\MyExcelTemplate1.xls”. Otherwise, you
only specify the file name (“template=MyExcelTemplate1.xls”).
You can put your report in the main TableView menu, in the Send To cascade
menu, or in a new cascade menu (Example: Reports). Use the standard plug-in
application features to do this. For additional information, refer to “Example:
Launch a Custom Excel Report” on page 6-72.
Example for the LOCAL file option
INSERT INTO PLUGIN_APPLICATIONS ( ID, DISPLAY_NAME,
DISPLAY_LOCATION, DISPLAY_ORDER, DISPLAY_TOOLTIP,
DISPLAY_ICON, GUI_VIEWER, TOPIC, DATASTORE_NAME,
PROCESSOR_NAME, PROCESSOR_PROP ) VALUES (
'ExcelTemplateTest', 'Excel Graph Test', 'Send To', 10.1,
'Create Excel spreadsheet and activate viewer with a
template' , 'ExportToExcelAction.gif', NULL,
'Finder_Well_Location', NULL,
'com.slb.im.federator.qbm.launchmanager.ExcelLaunchProcess
or' , 'template=c:/TemplateTest.xls
attributes=uwi,well_name,field,primary_source,elevation,el
evation_ref,
drillers_td,crstatus'); COMMIT;
Example for the jar file option
• • • • • •
Note: The difference in the jar file option is that the template name is not
prefixed with a directory.
• • • • • •
Note: Packaging a template requires you to use a jar command. This is not
present by default in a ProSource installation. If you have Java installed on
your Linux machine, set the Java home path in the PATH environment
variable in order to use the jar command. If Java is not installed on your
Linux machine, you can package a template by using the commands unzip
or zip.
3 Use the IM Administration Console and grant your users access the new plug-in
application.
4 Restart the ProSource client.
You are now ready to use the template.
To package a template
The template can either be packaged locally on each machine, or, for more
configuration, and ease of deployment for multiple users, in the
unsignedresources.jar.
In order to package the template locally on the client machine, refer to the full path
name in the processor properties (see step 3 below), such as
“template=c:\templatedir\MyExcelTemplate1.xls”.
To package the template in the unsignedresources.jar, use the following steps:
1 Locate the unsignedresources.jar file in your installation. It is in the
PSHOME/jars directory.
2 Extract the unsignedresources.jar file to another location. Use Winzip or
the command “jar xf unsignedresources”; where “jar” is from your Java
installation.
3 Put your Excel template in the directory com/slb/im/federator/qbm/
unsignedresources from the extracted jar file.
4 Recreate the unsignedresources.jar file by executing “jar cf
unsignedresources.jar com”. When you do this, you need to be in the directory
below the com directory that was extracted in step 1.
5 Make a backup of the unsignedresources.jar file in your installation and
replace it with the one you just created.
6 Restart the ProSource server and delete the Java WebStart cache on each client
machine.
In This Chapter
Introduction
This chapter provides usage guidelines for the ProSource Topic or Data Access Web
Service. This web service provides a way for other applications to build utilities that
can query the data available via the ProSource interface without explicitly using the
ProSource interface. Key features are as follows:
• A way to query any ProSource node is provided, irrespective of whether it was
available out-of-the-box with ProSource or custom developed. This includes any
bulk or spatial data that the node might contain.
• Returns data similar to what is seen via the TableView in ProSource
• Support is provided for selection of attributes to return.
• Support is provided for filtering data based on attribute values.
• The service uses the same user authentication and entitlement mechanism as the
ProSource client.
• A standard web service SOAP API (see below) is provided.
If the user makes an incorrect request, the response will contain an error message.
For example, if the user name contains an invalid password, the response will be as
follows:
<soapenv:Fault>
<faultcode>soapenv:Server</faultcode>
<faultstring>Unable to login user and the reason is
[Reason: Password is null or empty] </faultstring>
<detail/>
</soapenv:Fault>
The ProSource Topic Web Service provides access to ProSource nodes (topics/
questions) using a SOAP API. It is developed using the Axis 2 Implementation of the
SOAP API. Currently, it supports only read capability for all ProSource nodes.
You can connect to the ProSource Topic Web service’s endpoint at the following URL:
http://<HOST NAME OF PS SERVER>:<HTTP PORT>/psws/services/
Topic?wsdl
For example, http://slb-host:8080/psws/services/Topic?wsdl
where, slb-host is the host name where ProSource server is running.
• • • • • •
Note: This web service is a licensed component, and all methods except encrypt
use a license. Please contact your Schlumberger representative for more
information on acquiring a license.
encrypt This method is used to encrypt any string. It should be used to encrypt ProSource or
other data store passwords, before using them in all other methods. This method
does not check any license.
Table 7-1 encrypt Parameters
DataTyp Description
java.lang.String Encrypted string
Response
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/
soap/envelope/">
<soapenv:Body>
<ns:encryptResponse xmlns:ns="http://topic.ps.sis.slb.com">
<ns:return>P4sWMHCP/iCxIzTVoCjRRA==</ns:return>
ProSource Topic Web Service Usage 7-3
</ns:encryptResponse>
</soapenv:Body>
</soapenv:Envelope>
getDatastore This method can be used to get a list of data stores that the user has access to.
Names
Table 7-3 getDatastoreNames Parameters
DataType Description
java.lang.String [] Datastore names array.
Response
…..
<ns:getDatastoreNamesResponse xmlns:ns="http://
topic.ps.sis.slb.com">
<ns:return>ENTITLEMENT</ns:return>
<ns:return>GEOFRAME</ns:return>
<ns:return>LOGS</ns:return>
</ns:getDatastoreNamesResponse>
…..
getDatabase This method takes user credentials (user name and password) and a data store
Names name as input and returns a list databases that are available to the user.
Table 7-5 getDatabaseNames Parameters
DataType Description
java.lang.String [] String array containing the database names for
the input user and datastore
Response
…..
<ns:getDatabaseNamesResponse xmlns:ns="http://
topic.ps.sis.slb.com">
<ns:return>PSDB05B</ns:return>
<ns:return>PSDB04D</ns:return>
</ns:getDatabaseNamesResponse>
…..
getEligibleDatabases This method can be used to get a list of database names applicable to a particular
topic. The topic name should be prefixed with the datastore (for example,
ENTERPRISE.Well_Summary_DOV)
Table 7-7 getEligibleDatabases Parameters
DataType Description
java.lang.String [] String array containing the database names for
the input user and topic name.
Response
…..
<ns:getEligibleDatabasesResponse xmlns:ns="http://
topic.ps.sis.slb.com">
<ns:return>PSDB05B</ns:return>
<ns:return>PSDB04D</ns:return>
</ns:getEligibleDatabasesResponse>
…..
getTopics This method can be used to get a list of ProSource topics that belong to a particular
data store.
Table 7-9 getTopics Parameters
DataType Description
java.lang.String [] String array containing the topic names for the
input user and dataStore.
Response
…..
<ns:getTopicsResponse xmlns:ns="http://topic.ps.sis.slb.com">
<ns:return>PSL_Remarks_Logging_Parameter</ns:return>
<ns:return>PSL_Log_Channel_Set</ns:return>
<ns:return>PSL_Log_Tool_Parameter</ns:return>
</ns:getTopicsResponse>
…..
getTopicAttribute This method can be used to list all the attributes that are part of a topic in
Names ProSource.
Table 7-11 getTopicAttributeNames Parameters
DataType Description
java.lang.String [] String array containing the topic names for the
input user and dataStore
getFilterOperators This method can be used to return a list of filter criteria that can be applied on
various attributes. Please note that it lists all possible filter options but some of them
will not be applicable to certain types of attributes. For example “<=” is applicable
to numeric and date attributes and not to strings.
DataType Description
java.lang.String [] String array containing operators
read This method is used to read a question on ProSource and to return the response to
the web server client. It uses custom data types for the request (“ The parameters
datastoreName and jdbcUrl are not required for the Topic Web service execution and
hence are optional.”) and response (“TopicResponse”). You can browse through
beans section for the detailed structure of these custom beans.
DataType Description
TopicResponse Contains the status of topic request, failure
reason, records and their unit information
<xsd:topicDetails>
<xsd:dataStoreName>LOGS</xsd:dataStoreName>
<xsd:topicName>PSL_Borehole_Summary</xsd:topicName>
</xsd:topicDetails>
<xsd:userInfo>
<xsd1:name>User</xsd1:name>
<xsd1:password>P4sWMHCP/iCxIzTVoCjRRA==</xsd1:password>
</xsd:userInfo>
</top:request>
<top:pageSize>10</top:pageSize>
<top:rowNum>1</top:rowNum>
</top:read>
Response
<ns:return xsi:type="ax218:TopicResponse">
<ax218:errorMsg xsi:nil="true"/>
<ax218:executionState>SUCCESS</ax218:executionState>
<ax218:result xsi:type="ax218:Records">
<ax218:attributeMetadata
xsi:type="ax218:AttributeMetadata">
<ax218:attributeDetails xsi:type="ax219:NameValue">
<ax219:name>DataType</ax219:name>
<ax219:value>Long</ax219:value>
</ax218:attributeDetails>
<ax218:attributeName>Shape_Ref_Id</ax218:attributeName>
</ax218:attributeMetadata>
<ax218:attributeMetadata
xsi:type="ax218:AttributeMetadata">
<ax218:attributeDetails xsi:type="ax219:NameValue">
<ax219:name>DataType</ax219:name>
<ax219:value>String</ax219:value>
</ax218:attributeDetails>
<ax218:attributeName>Source</ax218:attributeName>
</ax218:attributeMetadata>
<ax218:attributeMetadata
xsi:type="ax218:AttributeMetadata">
<ax218:attributeDetails xsi:type="ax219:NameValue">
<ax219:name>DataType</ax219:name>
<ax219:value>String</ax219:value>
</ax218:attributeDetails>
<ax218:attributeName>Name</ax218:attributeName>
</ax218:attributeMetadata>
<ax218:attributeMetadata
xsi:type="ax218:AttributeMetadata">
<ax218:attributeDetails xsi:type="ax219:NameValue">
<ax219:name>DataType</ax219:name>
<ax219:value>String</ax219:value>
</ax218:attributeDetails>
<ax218:attributeName>UBHI</ax218:attributeName>
</ax218:attributeMetadata>
<ax218:attributeMetadata
xsi:type="ax218:AttributeMetadata">
<ax218:attributeDetails xsi:type="ax219:NameValue">
ProSource Topic Web Service Usage 7-11
<ax219:name>DataType</ax219:name>
<ax219:value>String</ax219:value>
</ax218:attributeDetails>
<ax218:attributeName>$HOME</ax218:attributeName>
</ax218:attributeMetadata>
<ax218:attributeMetadata
xsi:type="ax218:AttributeMetadata">
<ax218:attributeDetails xsi:type="ax219:NameValue">
<ax219:name>DataType</ax219:name>
<ax219:value>String</ax219:value>
</ax218:attributeDetails>
<ax218:attributeName>Version</ax218:attributeName>
</ax218:attributeMetadata>
<ax218:record xsi:type="ax218:Record">
<ax218:attributeData xsi:type="ax219:NameValue">
<ax219:name>UBHI</ax219:name>
<ax219:value>YYYYYYYYYYYYY</ax219:value>
</ax218:attributeData>
<ax218:attributeData xsi:type="ax219:NameValue">
<ax219:name>Name</ax219:name>
<ax219:value>XXX</ax219:value>
</ax218:attributeData>
<ax218:attributeData xsi:type="ax219:NameValue">
<ax219:name>Source</ax219:name>
<ax219:value>VENDOR</ax219:value>
</ax218:attributeData>
<ax218:attributeData xsi:type="ax219:NameValue">
<ax219:name>Remarks</ax219:name>
<ax219:value/>
</ax218:attributeData>
<ax218:attributeData xsi:type="ax219:NameValue">
<ax219:name>Version</ax219:name>
<ax219:value>1</ax219:value>
</ax218:attributeData>
<ax218:index>1</ax218:index>
</ax218:record>
</ax218:result>
<ax218:topicDetails xsi:type="ax218:TopicDetails">
<ax218:dataStoreName>LOGS</ax218:dataStoreName>
<ax218:topicName>PSL_Borehole_Summary</ax218:topicName>
</ax218:topicDetails>
</ns:return>
Connecting to other All the examples above were specific to a ProSource Seabed based repository (Logs,
Data sources like Enterprise, Seismic, Results). In order to connect to data sources other than
GeoFrame and Seabed, you need to specify additional connection parameters. The following
OpenWorks examples describe how these parameters can be specified as part of the Prompt
bean in “ The parameters datastoreName and jdbcUrl are not required for the Topic
Web service execution and hence are optional.”.
Example of SOAP UI Web Service Client:
Request
7-12 ProSource Administration Guide
…..
<top:request>
<xsd:prompt>
<xsd1:name>gf2012</xsd1:name>
<xsd1:password>40pavwygJvqwmDFFh4SgUQ==</xsd1:password>
<xsd1:databaseName>gf2012-Lnx-ILXGF2012</
xsd1:databaseName>
<xsd1:datastoreName>GEOFRAME</xsd1:datastoreName>
<xsd1:jdbcUrl>jdbc:oracle:thin:@gf2012-Lnx-
ILXGF2012:gf2012</xsd1:jdbcUrl>
<xsd1:projectName>GF2012</xsd1:projectName>
<xsd1:extendedAttributes>
<xsd1:name>Unix User Name</xsd1:name>
<xsd1:value>gf2012</xsd1:value>
</xsd1:extendedAttributes>
<xsd1:extendedAttributes>
<xsd1:name>Password</xsd1:name>
<xsd1:value>40pavwygJvqwmDFFh4SgUQ==</xsd1:value>
</xsd1:extendedAttributes>
<xsd1:extendedAttributes>
<xsd1:name>Project Name</xsd1:name>
<xsd1:value>cloudpin</xsd1:value>
</xsd1:extendedAttributes>
</xsd:prompt>
<xsd:readDetails>
</xsd:readDetails>
<xsd:topicDetails>
<xsd:dataStoreName>GEOFRAME</xsd:dataStoreName>
<xsd:topicName>GFArea_Of_Interest</xsd:topicName>
</xsd:topicDetails>
<xsd:userInfo>
<xsd1:name>sis_admin</xsd1:name>
<xsd1:password>4MJKuO1riSJ+4FR+LOMk3Q==</xsd1:password>
</xsd:userInfo>
</top:request>
Response:
<ns:executeResponse xmlns:ns="http://topic.ps.sis.slb.com">
<ns:return xsi:type="ax215:TopicResponse"
xmlns:ax215="http://beans.topic.ps.sis.slb.com/xsd"
xmlns:ax213="http://bean.webservice.ps.sis.slb.com/xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ax215:errorMsg xsi:nil="true"/>
<ax215:executionState>SUCCESS</ax215:executionState>
<ax215:result xsi:type="ax215:Records">
<ax215:attributeMetadata
xsi:type="ax215:AttributeMetadata"/>
ProSource Topic Web Service Usage 7-13
<ax215:record xsi:type="ax215:Record">
<ax215:attributeData xsi:type="ax215:Attribute">
<ax215:name>database</ax215:name>
<ax215:value>GeoFrame4</ax215:value>
</ax215:attributeData>
<ax215:attributeData xsi:type="ax215:Attribute">
<ax215:name>project_name</ax215:name>
<ax215:value>cloudpin</ax215:value>
</ax215:attributeData>
<ax215:index>0</ax215:index>
</ax215:record>
</ax215:result>
<ax215:topicDetails xsi:type="ax215:TopicDetails">
<ax215:dataStoreName>GEOFRAME</
ax215:dataStoreName>
<ax215:topicName>GFArea_Of_Interest</
ax215:topicName>
</ax215:topicDetails>
</ns:return>
</ns:executeResponse>
getBulkData This method can be used to query data stored in the Bulk_Array in ProSource
Seabed. Please refer to the Seabed Data Model documentation for more information
about the data types stored in this format. It also uses a complex data type
(“BulkRequest”) as an input.
Table 7-18 getBulkData Parameters
DataType Description
TopicResponse Contains the bulk data records in Attribute
Name/ Value format. The Attribute details such
as Unit and Datatype would be specified in
Attribute Metadata. It also contains the status
and reason for failure, if any.
<top:rowNum>1</top:rowNum>
</top:getBulkData>
Response
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/
soap-envelope">
<soapenv:Body>
<ns:getBulkDataResponse xmlns:ns="http://
topic.ps.sis.slb.com">
<ns:return xsi:type="ax215:TopicResponse"
xmlns:ax215="http://beans.topic.ps.sis.slb.com/xsd" >
<ax215:errorMsg xsi:nil="true"/>
<ax215:executionState>SUCCESS</ax215:executionState>
<ax215:result xsi:type="ax215:Records">
<ax215:attributeMetadata
xsi:type="ax215:AttributeMetadata">
<ax215:attributeDetails
xsi:type="ax213:NameValue">
<ax213:name>Unit</ax213:name>
<ax213:value>MM</ax213:value>
</ax215:attributeDetails>
<ax215:attributeDetails
xsi:type="ax213:NameValue">
<ax213:name>DataType</ax213:name>
<ax213:value>Double</ax213:value>
</ax215:attributeDetails>
<ax215:attributeName>CALI</ax215:attributeName>
</ax215:attributeMetadata>
<ax215:record xsi:type="ax215:Record">
<ax215:attributeData xsi:type="ax213:NameValue">
<ax213:name>Bulk_Array_Id</ax213:name>
<ax213:value>1808580</ax213:value>
</ax215:attributeData>
<ax215:attributeData xsi:type="ax213:NameValue">
<ax213:name>DEPT</ax213:name>
<ax213:value>233.0</ax213:value>
</ax215:attributeData>
<ax215:attributeData xsi:type="ax213:NameValue">
<ax213:name>CALI</ax213:name>
<ax213:value>-999.25</ax213:value>
</ax215:attributeData>
<ax215:index>0</ax215:index>
</ax215:record>
<ax215:record xsi:type="ax215:Record">
<ax215:attributeData xsi:type="ax213:NameValue">
<ax213:name>Bulk_Array_Id</ax213:name>
<ax213:value>1808580</ax213:value>
</ax215:attributeData>
<ax215:attributeData xsi:type="ax213:NameValue">
<ax213:name>DEPT</ax213:name>
<ax213:value>2333.0</ax213:value>
</ax215:attributeData>
<ax215:attributeData xsi:type="ax213:NameValue">
<ax213:name>CALI</ax213:name>
<ax213:value>25</ax213:value>
</ax215:attributeData>
<ax215:index>1</ax215:index>
</ax215:record>
<ax215:record xsi:type="ax215:Record">
<ax215:attributeData xsi:type="ax213:NameValue">
<ax213:name>Bulk_Array_Id</ax213:name>
<ax213:value>1808580</ax213:value>
</ax215:attributeData>
<ax215:attributeData xsi:type="ax213:NameValue">
<ax213:name>DEPT</ax213:name>
<ax213:value>1243.0</ax213:value>
</ax215:attributeData>
<ax215:attributeData xsi:type="ax213:NameValue">
<ax213:name>CALI</ax213:name>
<ax213:value>5678</ax213:value>
</ax215:attributeData>
<ax215:index>2</ax215:index>
</ax215:record>
</ax215:result>
<ax215:topicDetails xsi:type="ax215:TopicDetails">
<ax215:dataStoreName>ENTERPRISE</
ax215:dataStoreName>
<ax215:topicName>Generic_Bulk_Data</ax215:topicName>
</ax215:topicDetails>
</ns:return>
</ns:getBulkDataResponse>
</soapenv:Body></soapenv:Envelope>
Beans
This section lists the beans and their descriptions.
User This bean is used for ProSource login credentials. It includes the ProSource User
name and Password.
Table 7-20 User Content Model
• • • • • •
Note: The parameters datastoreName and jdbcUrl are not required for the
Topic Web service execution and hence are optional.
TopicRequest This bean is used as an input argument for the read method. It consists of the
following beans to express the specifications for the question execution on the
ProSource server.
Table 7-22 TopicRequest Content Model
ReadQSpecification ReadQSpecification contains the columns list whose values should be present in the
response of the question execution. It also contains the filter information to be
applied while executing the question.
Table 7-24 ReadQSpecification Content Model
BulkRequest This bean is used as an input argument for the getBulkData method. It consists of
the following beans to express the specifications for the question execution on the
ProSource server.
Table 7-34 BulkRequest Content Model
A Web Service client must use the same TopicStub instance to take benefit of
session management.
Whenever a request sent to the server requires heavy processing, the web service
client terminates the http connection with the “Request Timed Out” message. For
example, if a client initiates a topic request with a thousand rows of data, but
requires only the last set of rows, there will be a delayed response because of the
high level of data processing involved. Therefore, to increase the client connection
wait time, use the snippet in Java web service client code displayed below.
TopicStub service = new TopicStub();
service._getServiceClient().getOptions().setTimeOutInM
illiSeconds(10 * 60 * 1000); //10 mins
In This Chapter
Prerequisites The following prerequisites must be met in order to use the OpenSpirit integration
with ProSource:
• ProSource license feature eims_ds_openspirit is required.
• OpenSpirit 3.2.3 Server (master) installation must be accessible from the
ProSource server installation directory.
• ProSource users must be registered with OpenSpirit. ProSource users enter their
Unix account credentials when connecting to an OpenSpirit datastore in
ProSource.
• Datastores must be configured with OpenSpirit, and OpenSpirit users must be
granted access to projects in the configured datastores.
• • • • • •
Note: If the OpenSpirit server (Master) is installed on a different host than the
configured datastore, then an OpenSpirit client (satellite) installation must
be made on the same platform (Operating System) as the datastore, and
the data server must be started on that host. For more details, refer to the
OpenSpirit User Guide.
• • • • • •
Note: If the ProSource server administrator account is the same as the
OpenSpirit server administrator account, then you may not create an alias
to this account because the OpenSpirit server administrator account is
shielded from any user alias. To create an alias to the ProSource server
administrator account, this account must be different from the OpenSpirit
server administrator account.
Start OpenSpirit Before you begin, make sure that OpenSpirit is installed and configured (master
Server installation) and that you have the appropriate OpenSpirit licenses. The OpenSpirit
server may be installed on either Solaris or Linux, but it must be accessible from the
ProSource installation directory. For details on how to start and stop OpenSpirit
servers, refer to the OpenSpirit Administrator documentation. For your convenience,
the OpenSpirit 3.2.3 procedure is described in this section.
Configure You must configure the ProSource OpenSpirit adapter parameters required to
ProSource connect to OpenSpirit.
• • • • • •
Note: The following operation is now supported through the Configuration Utility
present in IM Administration Console under ProSource>Connections
tab and should be performed using IM Administration Console only.
However, this section is still left here since users can perform the below
operation as well. But it is advisable to configure using IM Administration
Console.
To configure ProSource
• • • • • •
Note: Configuring ProSource is optional if the correct information was entered
for the OpenSpirit Adaptor parameters using the configuration options in
the IM Administration Console.
• • • • • •
Note: JAVA_HOME and DISPLAY environment variables need to be set.
Define OpenSpirit There is no need to start the OpenSpirit user server as it is started automatically
User for ProSource when a user accesses OpenSpirit for the first time. Note that this will consume an
Server Account OpenSpirit license.
The OpenSpirit User Manager tool can be used to create OpenSpirit users. You can
use the runUserServer.sh script in the OSP_HOME/bin directory to start, stop,
and get the status of a user server, but it must be run from a user's account.
For information on how to create an OpenSpirit user, refer to the OpenSpirit User
Guide found at the OpenSpirit Web site. For your convenience, the procedure for
OpenSpirit 3.2.3 is described in this section.
Start OpenSpirit OpenSpirit users must manage their own user server since the user server is started
User Server for and stopped from the user’s Unix account. The following are possible ways users can
ProSource User manage their user server for access to OpenSpirit data in ProSource. This
information is not provided in the ProSource Online Help as the procedure may be
site-specific.
• OpenSpirit Launcher extension available and installed on the user's desktop
(Windows), or accessible from the user's Unix account (OpenSpirit master or
satellite installation). The OpenSpirit Launcher allows users to register or alias
themselves OpenSpirit users, and to start/stop their user servers.
• Use the runUserServer.sh script in the OpenSpirit Home directory to start and
stop the user server. Users must be logged into their Unix accounts to use these
scripts. Users must be registered as OpenSpirit users. The OpenSpirit
administrator can register users with the OpenSpirit user manager tool.
• OpenSpirit>UserServerStatus checks to see whether or not the user
server is running. If it is not, The OpenSpirit data accessor starts it.
If users started their user servers from within ProSource, the user is prompted to
stop the user server when exiting ProSource. This releases an OpenSpirit license
as well as any native datastore licenses used by OpenSpirit data servers started
on behalf of the user.
These options are implemented by the following ProSource plug-in applications:
• OpenSpiritEventLauncher
• OpenSpiritExit
By default, these plug-in applications (entitleables) are available only to users with
Administrator roles. Use the IM Administration Console to make these plug-in
applications available to users who do not have Administrator roles.
For example, create a new role (i.e., OpenSpiritUserServer), add these entitleables
to the role, and grant users access to the role, or simply add the entitleables to the
SIS_Public role.
Create OpenSpirit The following procedure can be used by the OpenSpirit administrator to create an
User OpenSpirit user.
Before you begin, ensure that the OpenSpirit server has been installed and is
running. For details on how to create a new user, refer to the OpenSpirit
Administrator documentation. For your convenience, the OpenSpirit 3.2.3 procedure
is described in this section.
OpenSpirit Data The following prerequisites are required before users can access data. These
Access prerequisites can be performed after installing ProSource, but must be in place
Prerequisites before the ProSource server is started.
1 Datastores (GeoFrame, OpenWorks 2003, Finder, etc.) with projects must be
configured with OpenSpirit.
2 Users must be registered with OpenSpirit.
3 Users must be granted access to their projects (GeoFrame 4.4 or 4.5 projects,
etc.).
4 The ProSource server will use the OpenSpirit manager account to access
OpenSpirit. The ProSource installer will prompt for this information.
5 The ProSource user must be a registered OpenSpirit user.
• • • • • •
Note: For more information on these pre-installation tasks, please refer to the
“OpenSpirit Integration” section in the “ProSource Installation Guide.”
• • • • • •
Note: ProSource cannot start a user’s OpenSpirit executor process on Windows
for access to Petra and Kingdom datastores. The user must start the
executor process on Windows using the OpenSpirit Launcher application
or the OpenSpirit executor.bat file.
• • • • • •
Note: The OpenSpirit executor starts OpenSpirit data servers on behalf of the
user. The executor process consumes an OpenSpirit runtime license. The
data servers started by the executor consume native datastore licenses.
The user’s executor process should be stopped when not in use to free
these licenses.
• • • • • •
Note: When ProSource has started an executor for the current ProSource user,
ProSource will prompt to stop the executor when the user exits ProSource.
You should answer “no” to this question if you plan to continue using other
OpenSpirit-enabled applications as that OpenSpirit user. Stopping the
executor will cause OpenSpirit to stop the executor process on both Unix/
Linux, and also the executor process on Windows, if running.
• • • • • •
Note: There is one executor process (on Unix/Linux and Windows) for each
OpenSpirit user.
Modify OpenSpirit Follow the steps below to connect to a new OpenSpirit server:
Parameters
1 Launch IM Administration Console in safe-start mode using the script
$PS_HOME/TomcatHome/webapps/imadmin/safe-start-imadmin.sh
• • • • • •
Note: JAVA_HOME and DISPLAY environment variables need to be set.
• • • • • •
Note: The Username should be that of a valid OpenSpirit user. The password
should correspond to the user.
In This Chapter
DSR Categories The Data Selection Rules are categorized using the namespace column (also called
as category in DSR Utility User Interface), as follows:
• Data Copy/Update - these types of rules can be used by Data/Copy Update only
• Entitlements - these types of rules can be used by hierarchical entitlements only
• Default - these types of rules can be used by Data/Copy Update as well as
hierarchical entitlements
• Empty Namespace - these type of rules can also be used by both Data Copy/
Update and hierarchical entitlements
Administrator Role Only users that have been assigned Administrator role can use the DSR utility. The
following error message displays if a user tries to use the DSR utility without the
correct administrator privileges:
Admin privileges required to perform the task: please contact your system
administrator
• • • • • •
Note: This error message displays only if the DSR Utility is accessed from the
ProSource Transfer Manager home page. For non-Administrator users, the
DSR utility will not be available from the ProSource client UI.
Understanding the Before using the DCU utility or hierarchical entitlements, you need to perform the
DSR Utility following tasks with the DSR utility:
1. Define chase rules
Chase rules define the data that is to be moved from the source project when you
run DCU. When you specify seed data (that is, a select list), the chase rules are used
to determine other related data to be transferred. In the context of hierarchical
entitlements, chase rules define an entitlement hierarchy which allows the
entitlements on an entity to be inherited by its related and/or child entities. The
chase rules are defined in the Seabed data dictionary, and only need to be defined
once. Multiple chase rules can be grouped into sets that are called workflows or data
selection rules.
• • • • • •
Note: ProSource installation provides sample data selection rules that can be
accessed from the ProSource menu by selecting
Extensions>Utilities>Data Copy/Update>Sample Data Selection
Workflows. The files containing these rules are stored in $PS_HOME/
TomcatHome/webapps/dtmgui/work/users/
DATA_COPY_UPDATE/dsr. Another copy of these files is stored in
$PS_HOME/ext_app/pse/Sample_DSR. The Site Administrator must
define and load their own data selection rules based on their
requirements.
Using the DSR This section provides instructions for using the DSR Utility.
Utility UI
c. Check Make this file visible to all (public) if you want others to be able
to see the file on the server. Leave the box unchecked if you want the file to
be private.
d. Check Overwrite the file if it exists already if you want the file that
you are uploading to replace the file on the server. If you do not want to
replace the file on the server, leave the box unchecked.
• • • • • •
Note: If this file already exists on the server and you leave this box unchecked,
you will receive an error message.
e. After specifying the file, click Upload This File. The file is uploaded and
control returns to the Load/Analyze page with the uploaded file appearing in
the From File drop-down list.
7 Click Proceed. The Transfer Options window displays.
a. (Optional) Enter user comments relative to the this job. This provides you a
way to identify these jobs later when you view the Completed Jobs.
b. (Optional) Select the e-mail check box and enter an e-mail address to send
an e-mail upon completion of the job.
9 Click one of the following options:
• Run this transfer now - The process will begin and the execution progress log
will display in the Task Monitoring window.
To track the status of job refer to “Monitor, Validate, and Merge Loader Jobs”
section in ProSource Enterprise UserGuide.
• Run this transfer later - clicking this option displays the Transfer
Scheduling Selection Page window that allows you to specify a time for
the transfer.
• On the I want this transfer to run <day> at <time> line, set the
day and time that you want the loading job to run.
• If you want to set up a recurring batch job for this transfer, check the box
on the In addition, I also want this transfer to be set up as a
recurring task (batch job), every <interval> <unit> from the
first run line and set the batch interval and unit.
To delete DSRs
1 Login to the ProSource server
2 Navigate to Extensions>Utilities> Data Selection Rules>Delete. The
Login window displays.
• On the I want this transfer to run <day> at <time> line, set the
day and time that you want the loading job to run.
• If you want to set up a recurring batch job for this transfer, check the box
on the In addition, I also want this transfer to be set up as a
recurring task (batch job), every <interval> <unit> from the
first run line and set the batch interval and unit.
• Click Complete Setup.
Using the DSR The DSR utility is also provided as a command line utility.
Utility Command
Line
./dsr_util <Enter>
You will see a result similar to this:
{cdc2}431: ./dsr_util
USAGE:
[-host host] [-port port] [-inst inst] [-db Oracle|sqlserver]
[-user username] [-password password] {-delete true|false}
[-ld true|false] [-analyze true|false] [-all true|false]
where:
-host - Host machine name where the instance resides.
Should be specified for all the options if any one is "true".
-port - The oracle port number. Should be specified for all
the options if any one is "true".
-inst - Name of the oracle instance. Should be specified
for all the options if any one is "true".
-db - Database type (Oracle or Sql Server). Should be
specified for all the options if any one is "true".
A simple chase rule consists of an Entity, Direction, and Link in the form of Entity >
Link or Entity < Link:
Entity: An entity is the representation in a data model of a distinguishable business
concept (such as a person, object, or event). For example, the ‘Well’ entity is a
logical container for data about physical wells. Entities most often translate to
physical tables from where the data is to be moved.
Direction: Direction specifies whether the link should be followed from the entity in
the forward direction (child entity to parent entity), or to the entity in the backward
direction (parent entity to child entity).
Link: A link is a relationship between two entities and is usually implemented as
foreign key constraints in the database. Each link has a name that identifies the link,
and is a relationship between an entity (the child entity) and its parent entity (also
referred to as the domain of the link).
For example, the entity ‘Well’ has a link called ‘Field’, which is the relationship
between Well and Field (that is, the field in which the well is located). The actual
domain of a link is specified by the data model.
As another example,Conv_Core_Acquisition.Borehole link refers to the parent
entity Borehole, but the Conv_Core_Acquisition.Core_Bit_Used link refers to
Core_Bit. Therefore, links in chase rules identify the parent entity where related
data is located.
The following illustrates these attributes:
Well < Field
Borehole < Well
…
The first token ‘Well’ specifies the Entity. The second token ‘<’ specifies a one
character Direction: ‘<’ or ‘>’. The third and final token ‘Field’ specifies the Link (and
indirectly the parent entity Field). Often, the name of the link is the same as the
domain or parent entity in the link.
Therefore, the assertion “given a well record, get the field that the well belongs to”
is specified using the rule: Well > Field and the assertion “given a field record, get
all wells that are in that field” is specified using the rule: Well < Field.
Details of entity names, link names, and the parent entity that a link refers to can be
found in the Seabed Data Model Web Report. Select an entity to get details of that
entity. The “Refers To” section lists all the links (relationships) from that entity to
parent entities. The “Referenced By” section lists all links (relationships) where the
selected entity is the parent.
Including all instances A workflow may require all instances of a given entity be selected. This is indicated
of an entity in the specification file by appending a plus (+) sign to the name of the entity, as
illustrated below:
Activity_Template +
Company +
Coordinate_System +
…
Specifying when all instances of an entity type should be included allows improved
efficiency in the chasing procedures, because there is no need to execute a
conditional rule.
Ignoring an entity type The Seabed data model allows abstract references. For example, the link
Activity_Entity_Invl.Involved_Entity refers to Entity, so the parent could be
one of a number of Seabed entities. The chasing engine in this case will attempt to
chase from Activity_Entity_Invl to entities that may not be required in a given
workflow. To avoid this, specify the types of entities that can be safely ignored
during chasing.
An entity to be ignored during chasing is indicated in the specification file by
appending a minus (-) sign to the name of the entity, as illustrated below:
Acquisition_2D -
Acquisition_3D -
Act_Tmpl_BA_Role -
…
Narrowing Narrowing can also be used to reduce the scope of a rule in case of abstract links.
When using the same example as before:
Activity_Entity_Invl > Involved_Entity
The parent entity in this rule is Entity because the Involved_Entity is an abstract link
to Entity To use this rule to chase to specific entities (and not all entities that are a
specialization of Entity), narrowing can be specified as follows:
Activity_Entity_Invl > Involved_Entity=Well
This rule reduces the scope from Entity to Well, that is, we want the rule to pick only
related well records.
Examples The following examples further highlight the chase rule mechanism:
“Given a set of wells, I wish to transfer all associated deviation surveys.”
This involves finding the relationship path between wells and deviation surveys,
because wells are not directly related to deviation surveys. The Well entity is related
to the Borehole entity, which in turn is related to Deviation_Surveys. The link
names for these relationships can be obtained from the Seabed Data Model Web
Report. Therefore, the chase rules would be:
Borehole < Well (given a well, select all its boreholes)
Deviation_Survey < Borehole (given a borehole, select all deviation surveys
associated with the borehole)
Deviation_Survey has a mandatory relationship to Coordinate_System, which
should be included to transfer data successfully. To specify this, include the following
chase rule:
Deviation_Survey > Coordinate_System
• “Given a set of wells, I wish to transfer ALL other associated data.”
This involves finding all entities related to the Well entity. To include entities that are
details of the well, refer to the “Referenced By” section in the Seabed Data Model
Web Report for the Well entity. This section lists all the links from well to child
entities.
The following chase rules (one for each child entity) can be used to get a well's
associated child records:
Activity_Facility_Invl < Site_Well
Activity_Program < Well
Borehole < Well
Managing Files
The Manage Files feature is used to manage the control, data, and select list files
that are uploaded/generated on the ProSource server by Loader, Exporter, Data
Copy/Update, DSR utility, and Data Transfer operations. For more information about
the Manage Files workflow, see the “Manage Files” section in the ProSource Online
Help.
Administrators (users assigned to the dtmgui_admin role) can use the Manage
Files workflow to manage their own files, as well as those of other users, including
the public files.
• • • • • •
Note: The delete action removes the files from the ProSource server, and the
files cannot be recovered after they have been deleted. Should recovery
be needed, the administrator can make regular back-ups of the
$PS_HOME/TomcatHome/webapps/dtmgui/work/users
directory.
In This Chapter
ProSource Troubleshooting.........................................................................10-2
ProSource Enterprise License Issue.......................................................10-6
IM Administration Console Troubleshooting .................................................10-8
General Issues ....................................................................................10-8
Startup Issues ................................................................................... 10-10
Tomcat Server Startup Issues ............................................................. 10-12
LDAP Issues...................................................................................... 10-12
Unable to extract data from files stored in ProSource Logs workflows.......... 10-14
Troubleshooting 10-1
ProSource Troubleshooting
This section explains how to fix the following issues that you may encounter in the
server management or use of ProSource:
• “Terminating Subserver Processes” on page 10-2
• “OpenSpirit Post-installation Checks” on page 10-2
• “OpenSpirit user server fails to start from OpenSpirit client on Windows XP” on
page 10-3
• “Cannot use Oracle strings when creating links using the SQLExpressionHandler”
on page 10-3
• “RMIREGISTRY Client/Server Communication Failing” on page 10-3
• “Hanging Process or Low Memory” on page 10-3
• “Cannot See GeoFrame or OpenWorks Projects” on page 10-4
• “Cannot Add a North Arrow in Layout View” on page 10-4
• “Slow Rendering Performance in GisView” on page 10-4
• “Receiving Datum Shift Errors” on page 10-5
• “Issues while restarting ProSource Server from ProSource UI” on page 10-5
• “ProSource Server Fails to Start on a Linux Machine With Several CPUs” on page
10-5
• “Transformation NAD_1927_CGQ77_ to_WGS_1984_3 fails when using
Coordinate System Manager” on page 10-5”
• “Using com.slb.im.federator.server.dataaccess.sql.Reader accessor &IN SQL
operator in complex/abstract views does not work” on page 10-6
• • • • • •
Note: The ProSource server must be restarted for the changes to take effect.
Troubleshooting 10-3
In order to use the Layout View “Add North Arrow” functionality, you first need to
install the north arrow font from Esri on the machine on which you are running the
ProSource client.
This font file esri_40.ttf can be found in $PS_HOME/install/
client_resources.zip. If you are running the ProSource client on Windows, extract
the font file esri_40.ttf from the zip and copy them to the Control Panel>Fonts
folder.
Troubleshooting 10-5
Solution
The Transformation NAD_1927_CGQ77_to_WGS_1984_3 (code 1691) is a grid file
transformation. It is based on the Canada-Quebec grid file CGQ77-98.gsb and is not
included with the software out-of-box. The appropriate agency must be contacted to
purchase the required GSB (Golden Software Boundary) files prior to using these
transformations. Once purchased, install at
$PS_HOME\local\conf\pedata\ntv2. Create a folder with the country name in
lower case letters and install the file in the folder of that country. Declare an
environment variable PEDATAHOME, which will point to the
$PS_HOME\local\conf\pedata folder.
Refer to the following link from Esri for more information:
http://support.esri.com/
index.cfm?fa=knowledgebase.techarticles.articleShow&d=18317
ProSource After changing the license server, the applications continue to check out licenses
Enterprise License from the old server.
Issue
FlexNet caches the previously used LM_LICENSE_FILE values in the registry on
your PC and in the .flexmrc file on the Unix/Linux machines.
• • • • • •
Note: It is advisable to backup the registry before making any changes to it.
Verify that the FLEXlm registry contains an entry that matches the
LM_LICENSE_FILE value. For instance, on Windows XP using regedit:
1 Click Start, then click Run.
2 Type regedit, and click OK.
3 In the HKEY_LOCAL_MACHINE on the My Computer Tree view, double-click
SOFTWARE and then double-click FLEXlm License Manager.
If there is no entry for FLEXlm License Manager, or if the correct value is found,
you do not need to add anything.
10-6 ProSource Administration Guide
If the value shown in the data view does not contain the correct license server
information, double-click the string that is displayed. This will open the String
Editor. In the String Editor, enter the value so that it is consistent with the
LM_LICENSE_FILE environment variable.
Issue: Data Copy/Update, DSR utility, or Manage Files User Interface fails to start
from the ProSource menu.
Solution is to use Java Application V1.6 Regardless of the Java Plug-in Version:
1 Close the browser.
2 Select Start>Settings>Control Panel>Java from your Windows menu.
The Java Control Panel dialog appears.
3 Click the Java tab and click View under Java Application Runtime Settings.
The JNLP Runtime Settings dialog opens.
4 In the available list of JREs on the User tab, select the JRE that has the version
required for this release and clear all other versions.
5 Click OK and close the application.
6 Restart the browser and the ProSource client.
Troubleshooting 10-7
General Issues When using the IM Administration Console, you may encounter the following issues:
• “All ProSource Users are granted read access to all objects by default” on page
10-8
• “The IM Administration Console session times out” on page 10-8
• “Cannot log in after session time out” on page 10-8
• “Accessible objects for DecisionPoint or ProSource do not display” on page 10-9
• “After installation of DecisionPoint or ProSource, the data sources do not display
in the IM Administration Console” on page 10-9
• “Server logs do not display” on page 10-9
• “Data source connection not visible” on page 10-10
All ProSource Users are granted read access to all objects by default
All users are assigned to the sis_public role by default. Within ProSource, the
sis_public role is granted Read access to all objects (or all tree nodes).
Solution
To restrict a user's access to all objects, you must remove objects to which you wish
to restrict access from the sis_public role. You cannot remove the sis_public role
from a user.
• • • • • •
Note: The INFO and DEBUG log levels may significantly degrade the server
performance.
You will need to restart the Tomcat server for these changes to take effect.
Troubleshooting 10-9
Startup Issues This section explains how to fix the following problems that you may encounter
when starting, or launching, the IM Administration Console:
• “Cannot launch the IM Administration Console from application (RMI port in use
error)” on page 10-10
• “IM Administration Console fails to launch (UNIX Port Error)” on page 10-10
• “The IM Administration Console fails to launch” on page 10-10
• “IM Administration Console client not downloaded properly” on page 10-11
• “Could not log in to the IM Administration Console” on page 10-11
One problem that might occur is that your <JRE_HOME>/bin directory is not on the
PATH environment variable. Usually, this error occurs when you installed Oracle on
your machine. Oracle installer puts its own JRE in front of other JRE paths. Make
sure that the proper version of the JRE is shown before Oracle's JRE.
Troubleshooting 10-11
• Connection to RMI server is refused. — Confirm that the RMI registry has started
properly on the server. If the Tomcat server has not started up properly, or is still
starting, start up your Tomcat server or wait until your Tomcat server is started.
Tomcat Server This section explains how to fix the following problem that you may encounter when
Startup Issues starting the Tomcat Server:
“Tomcat server does not start up properly” on page 10-12
LDAP Issues This section explains how to fix the following issues that are associated with the use
of LDAP in conjunction with the IM Administration Console:
Solution
Confirm that proper start-up of the component server has occurred. When the
component server is running, restart the ProSource server.
Unable to extract This problem indicates that you may not have the service “ActiveMQ Daemon”
data from files running. This is a required process used by the ProSource server for internal
stored in ProSource communications and should not be shut down when the ProSource server is
Logs workflows running.
Solution
Restart the ProSource server and ensure that the service ActiveMQ Daemon is
running.
ProSource The parameters in Table A-1 are set in the config file as they are used as
Parameters environment variables by ProSource scripts.
Table A-1 ProSource Parameters Configured in the Configuration File