Data Share Manager
Data Share Manager
Teamcenter 12.2
Control file uploads and downloads with the Data Share Manager . . . . . . . . . . . . . . . . . . 4-1
Import a Data Share Manager private key into a new database . . . . . . . . . . . . . . . . . . . . . 5-1
Import a Data Share Manager private key into an existing database . . . . . . . . . . . . . . . . . 6-1
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
Determining what is wrong . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1
SQL exceptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2
Importing a briefcase file in Teamcenter fails after migration . . . . . . . . . . . . . . . . . . . . . . . . . A-2
Saving or synchronizing a briefcase fails after adding non-CAD attachments . . . . . . . . . . . . . . A-2
Fixing an unhandled exception error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2
Running 64-bit Teamcenter applications on the same host . . . . . . . . . . . . . . . . . . . . . . . . . . A-2
Null pointer exceptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2
Causes of unexplained errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-3
Fix license errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-3
Date format mismatch causes an error message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-4
NX does not display a part when it is opened from Briefcase Browser . . . . . . . . . . . . . . . . . . A-4
The Data Share Manager allows end users to asynchronously upload and download files. It is
supported on the rich client. The Data Share Manager is a separate executable with its own user
interface. It allows users to view large file uploads and downloads and to manage them by pausing,
resuming, or canceling the processes.
The Data Share Manager can run on Windows, Linux, and Mac OS clients. On Windows machines,
the Data Share Manager resides in the system tray. To open the application, right-click the Data
Share Manager icon and select Restore Data Share Manager. (To close the Data Share
Manager, select Exit Data Share Manager.)
The Data Share Manager is initiated whenever you log on or start a file upload or download. For
example, in the rich client, right-click a dataset, choose Named References, and click the Upload or
Download buttons in the Named References dialog box.
Data Share Manager must be installed with a public key that grants access to the Teamcenter
database. If this key has not been installed, users will receive the an error message stating "The Task
File "file-name.plmd" required the key file "key-file-name.x509", which was missing".
By default, each Teamcenter database contains a private/public key pair that validates Data Share
Manager clients accessing the database. Export and install the public key as follows.
1. Export the public key using the utility:
install_datasharekeys -u=username -p=password -g=dba -f=exp_pubkey
2. Zip the resulting *.x509 key file into a keys.zip file. (The .pem file is not needed in the ZIP file.)
Ensure the *.x509 file is in a \keys directory in the keys.zip file so it can be properly read by
installers.
3. If users need access to multiple databases from their client, export a public key for each database
and add it to the keys.zip file.
4. Distribute the keys.zip file to individuals who need to install the Data Share Manager.
Note
If a client has a previous version of the Data Share Manager installed, uninstall the earlier
version before installing the new version of the Data Share Manager.
The administrator zips the resulting *.x509 key file from the database into a keys.zip file (inside
a \keys subdirectory inside the ZIP file). The administrator then distributes the keys.zip file to
individuals who need to install the Data Share Manager.
2. The administrator can distribute the public keys in the following ways:
• keys.zip file
Distribute the keys.zip file to users and tell them to point to this file when they install the Data
Share Manager using the stand-alone installer.
3. The system administrator sets the Use_DataShare_Manager preference to true on the server.
This activates the Data Share Manager for file uploading and downloading.
Tip
If users do not want to use the Data Share Manager, they can set the
Use_Datashare_Manager preference to false with a User protection scope. Instead,
they use the synchronous import and export mechanism for file upload and download.
4. If the client has a previous version of the Data Share Manager installed, uninstall the earlier
version before installing the new version of the Data Share Manager.
Install the Data Share Manager using the stand-alone installer for your platform.
2. If your client has a previous version of the Data Share Manager installed, uninstall the earlier
version before installing the new version of the Data Share Manager.
• Linux: install.bin
5. Follow the prompts in the installation wizard to install the Data Share Manager.
• On Windows, if your administrator has provided you with a public key file (keys.zip), the
wizard will use this key file automatically if it is stored in the same directory as setup.exe. If
the key file is not found in the same directory as setup.exe, the wizard will prompt you to
choose a security key file. If you know the key file location, check Enter Security Key File,
browse to the key file, and select the file. Leave Enter Security Key File unchecked if you
do not know the key file location. The key file can be installed after Data Share Manager is
installed.
On Linux and Mac OS systems, you have the option to choose either a Typical or a Custom
setup type. If your administrator has provided you with a public key file (keys.zip), the wizard
will use this key file automatically if it is stored in the same directory as install.bin when you
select a Typical install set.
• If your administrator has provided you with individual *.x509 public key files, choose the
Complete setup type. (If choosing the Custom setup type, leave Enter Security Key File
unchecked.)
Copy the *.x509 public key files into the keys directory after installing the Data
Share Manager. For example, on a Windows machine, copy the key files to the
C:\Users\username\Siemens\dsmgr\dm\keys directory.
6. Once the installation wizard finishes, log off and log on again to complete installation.
After logon, the Data Share Manager icon is displayed in the system tray.
2. In that directory, locate the file .com.zerog.registry.xml. You may need to enable viewing hidden
files.
4. In .com.zerog.registry.xml, use an ASCII editor to locate and remove the entries for Data
Share Manager and its components:
<product name="Data_Share_Manager" id="8ca639e8-1f16-11b2-8d72-974fa857b767"
upgrade_id="8ca639e8-1f16-11b2-8d72-974fa857b767" version="11.2.0.3"
copyright="2014" info_url="" support_url="" location="C:\Users\<userid>\
Siemens\dsmgr"
last_modified="2015-07-30 10:53:00">
<![CDATA[]]>
<vendor name="Siemens PLM Solutions" id="54cad4f2-1f16-11b2-bbc2-974fa857b767"
home_page="" email=""/>
<feature short_name="Application" name="Application"
last_modified="2015-07-30 10:53:00">
<![CDATA[This installs the application feature.]]>
<component ref_id="54cad522-1f16-11b2-bbef-974fa857b767" version="1.0.0.0"
location="C:\Users\<userid>\Siemens\dsmgr\
_Data_Share_Manager_installation\
Change Data_Share_Manager Installation.exe"/>
<component ref_id="54cad521-1f16-11b2-bbed-974fa857b767" version="1.0.0.0"
location="C:\Users\<userid>\Siemens\dsmgr\dm\com\teamcenter\fms\dlmgr\
ui\controls\dialogs.css"/>
</feature>
<feature short_name="Help" name="Help" last_modified="2015-07-30 10:53:00">
5. Save .com.zerog.registry.xml.
Bundle keys with the Windows stand-alone installer for the Data
Share Manager
Rather than provide a separate key file to end users, an administrator can bundle the key file with
the Windows-based Data Share Manager stand-alone installer. Then the keys are already included
when end users run the stand-alone installer.
1. The system administrator exports the public key from the database with the
install_datasharekeys utility by running the following from a Teamcenter command prompt:
install_datasharekeys -u=username -p=password -g=dba -f=exp_pubkey
The administrator zips the resulting *.x509 key file from the database into a keys.zip file. If users
need access to multiple databases from their client, the administrator must export a public key for
each database and add it to the keys.zip file.
Tip
The *.x509 files must be included in the keys.zip file in a \keys directory so they can
be properly read by installers.
2. Copy the Data Share Manager stand-alone installer setup.exe file from the directory where it is
located in the Teamcenter installation source (additional_applications\dsm_install).
3. Place the setup.exe file and the keys.zip file into a temporary directory.
5. In the Welcome to IExpress 2.0 dialog box, select Create new Self Extraction Directive
file and click Next.
6. In the Package purpose dialog box, select Extract files and run an installation command
and click Next.
7. In the Package title dialog box, type a title for the installer (such as Datashare Manager
Installation) and click Next.
8. In the Confirmation prompt dialog box, select No prompt and click Next.
9. In the License agreement dialog box, select Do not display a license and click Next.
10. In the Packaged files dialog box, click Add button and select the setup.exe file and the keys.zip
file from the temporary directory location. Click Next.
11. In the Install Program to Launch dialog box, select setup.exe and click Next.
12. In the Show window dialog box, select Default and click Next.
13. In the Finished message dialog box, select No message and click Next.
14. In the Package Name and Options dialog box, click the Browse button and select a temporary
directory where to place the installer. Name the installer file with a temporary name such as
myinstaller.exe. This is to differentiate it from the original setup.exe file. Click Next.
15. In the Configure restart dialog box, select No restart and click Next.
16. In the Save Self Extraction Directive dialog box, click the Browse button and select a temporary
directory where to place the installer directive file. Click Next.
18. When you look in the temporary directory where the output files were placed, you should see two
new files, for example, myinstaller.EXE and myinstaller.SED.
If the original setup.exe file is in this directory, rename it to something different, such as
setup_original.exe. Then rename the packaged installer file (for example, myinstaller.EXE) to
setup.exe. This new setup.exe file contains the keys.zip file.
19. Distribute the new setup.exe file to end users. When they run the file to install the Data Share
Manager, the bundled keys.zip file is unzipped into the \keys directory.
Note
You must first close the Data Share Manager to stop the Java process before uninstalling.
For example, on a Windows system, right-click the Data Share Manager icon and
choose Exit Data Share Manager. On a Linux system, click the close button (X) in
the upper-right corner of the Data Share Manager user interface and click Yes in the
confirmation dialog box.
The way you uninstall the Data Share Manager depends on how it was originally installed.
• Teamcenter Environment Manager (TEM)
o Windows systems
1. Use the Windows Task Manager to terminate the dsm.exe process.
2. Remove the Data Share Manager item from the Windows Start menu.
• Stand-alone installer
Use this method for stand-alone installations.
1. Browse to the location where the Data Share Manager is installed. For example, on a
Windows machine, browse to C:\Users\username\Siemens\dsmgr\ directory.
3. Click Next.
The Data Share Manager is uninstalled.
1. By default, the Data Share Manager is hidden until the first new transaction is launched, when
a tile view is displayed as shown.
Click the restore button in the upper left corner of the tile view to the expand the user
interface to its larger size.
You can return to the tile view by clicking the tile button in the upper right of the Data Share
Manager.
You can also open the Data Share Manager by selecting the Data Share Manager icon in the
system tray. For example, on a Windows system, right-click the Data Share Manager icon
and select Restore Data Share Manager. (To close the Data Share Manager, select Exit Data
Share Manager.)
Example
• Right-click a checked-out dataset, choose Named References, and click the
Upload or Download buttons in the Named References dialog box.
3. View the file upload and download processes in the Data Share Manager.
4. Hover your mouse over the user interface to see the available actions.
5. If there is an upload or download error, it is displayed with an ! symbol. Click the arrow to see
the error message.
The following error means that this file was already downloaded and the duplicate record for this
file is already shown in the list. If you want to download the file again, you must first delete the
7. When you are done working with the Data Share Manager, close it.
• Windows
Right-click the Data Share Manager icon in the system tray and select Exit Data Share
Manager.
• Linux
Click the close button (X) in the upper right corner of the Data Share Manager user interface
and click Yes in the confirmation dialog box.
Note
If you are upgrading Teamcenter, you must first close the Data Share Manager to stop
the Java process before proceeding with upgrade.
When creating a database at installation or during upgrade, you have the option of importing a private
key into the database to be used for Data Share Manager key validation. This may be necessary if
you have previously distributed a public key to users and wish to import the corresponding private key
to the new database so that these same users can have access to the new database.
1. While creating a new database using Teamcenter Environment Manager (TEM), click the
Advanced button in the Foundation Database panel.
2. Select the Import Data Share PRIVATE Key check box and click the ... button to browse
to the location of the key.
The file should be a ZIP file that contains the private key file from another database previously
obtained by an administrator using the install_datasharekeys utility with the -exp_pvtkey
argument.
There is only one active private key in the system that is used by Teamcenter. To import a private
data share key to an already installed database, use the install_datasharekeys utility. This utility is
initially called by the Teamcenter installation process to install the predefined private key.
To use the same key for more than one database (for example, after installing test environments),
perform the following steps:
1. Export the private key from a database that already uses it (for example, the database that
generated it):
install_datasharekeys -u=username p=password -f=exp_pvtkey
Caution
Always keep the private key in a safe and secure place, inaccessible to unauthorized
parties, preferably away from the public key files.
2. Import (seed) the private key into each of the other already-installed databases:
install_datasharekeys -u=username -p=password -f=seed -f=private_keypairID.pem
private_keypairID.pem is the private key file exported from the master database in step 1.
Caution
Always keep the private key in a safe and secure place, inaccessible to unauthorized
parties, preferably away from the public key files.
3. Export the corresponding public key for distribution to the clients from any database that already
has the master private key installed (after step 1 or 2):
install_datasharekeys -u=username -p=password -f=exp_pubkey
This generates the public_keypairID.pem and public_keypairID.x509 public key files. The
public_keypairID.x509 public key file can be freely distributed to Data Share Manager clients.
Following are some considerations to keep in mind as you use the Data Share Manager:
• In the rich client, the Data Share Manager lets you upload multiple files of the same file type as
named references to a dataset object.
• If you are upgrading Teamcenter, you must first close the Data Share Manager to stop the Java
process before proceeding with upgrade.
You can configure public key infrastructure (PKI) authentication for the Data Share Manager to
authenticate all uploads and downloads from the Data Share Manager to FMS volumes. This relies
on two-way SSL between the client (the Data Share Manager) and the server (FMS) and requires the
FMS system to be fronted by a reverse proxy configured with two-way SSL.
To enable PKI authentication for the Data Share Manager, open the
Data-Share-Manager-installed-location\dm\dm.properties file and set the
com.teamcenter.fms.servercache.ssl.enabled parameter to true. Setting only this value to true
without setting the keystore and truststore properties indicates that the certificates should be read
from the browser store. This is the recommended setting. (Setting the value to false disables the
authentication.) Setting the com.teamcenter.fms.servercache.ssl.enabled parameter to false (or
letting it default to false) may cause PKI-authenticated reverse proxy connections to fail.
After PKI authentication is enabled, configure the following properties to use file-based keystore or
truststore:
• com.teamcenter.fms.servercache.ssl.keystore=keystore.jks
• com.teamcenter.fms.servercache.ssl.keystorepassword=password
• com.teamcenter.fms.servercache.ssl.keystoretype=jks|pkcs12
• com.teamcenter.fms.servercache.ssl.truststore=truststore.jks
• com.teamcenter.fms.servercache.ssl.truststorepassword=password
• com.teamcenter.fms.servercache.ssl.truststoretype=jks
To allow self-signed certificates from untrusted parties, set the value of the
com.teamcenter.fms.servercache.ssl.allowuntrusted parameter to true.
Warning
Siemens PLM Software does not recommend using self-signed (untrusted) certificates.
This configuration is provided only for test purposes and should only be used if you are
confident in the identity of the FMS (reverse proxy) URL and the integrity of your connection.
• A failure while synchronizing or saving the briefcase in Briefcase Browser, see Saving or
synchronizing a briefcase fails after adding non-CAD attachments.
• A failure when opening a CAD assembly from Briefcase Browser on a 64-bit operating system,
see Running 64-bit Teamcenter applications on the same host.
• A failure when using a menu option or a button in Briefcase Browser, see Null pointer exceptions.
• A failure when opening or saving a CAD assembly in Briefcase Browser when another CAD
product is installed on the same host as NX, see Causes of unexplained errors.
• A failure when opening a briefcase or CAD assembly when same briefcase/CAD assembly is
opened in another instance of Briefcase Browser.
• An error message when you start Briefcase Browser that indicates there is a problem with the
license, see Fix license errors.
• An error message when saving a briefcase file that contains new parts, see Title not found.
• NX does not launch when you double-click a part file in Briefcase Browser, see NX does not
display a part when it is opened from Briefcase Browser.
If your site:
• Has sent data to a Teamcenter (managed) site prior to using Briefcase Browser
You must perform an unmanaged site migration for the previously sent data to avoid errors and
unexpected results.
SQL exceptions
If you open and modify parts that were created or used in an earlier version of Briefcase Browser
(10.1 or earlier), from an existing working directory, an SQL exception may occur during the save
action. This happens when an update to the briefcase database contains new or modify attributes or
elements.
To avoid this, delete any existing folders with old database files (attributes.db and elements.db)
before opening the parts in a newer Briefcase Browser version.
If the JRE version and PATH variable are correct ensure that you copied or extracted the JRE
contents into the directory that contains your Briefcase Browser application (BriefcaseBrowser.exe)
during the installation procedure.
Ensure that you have correctly performed the following steps during the installation procedure:
1. Obtain a Briefcase Browser license file from GTAC.
This file must contain specific content. If you get the following error when you start Briefcase Browser,
the license file does not contain the required bc_browsr_strt_lic module.
The instructions for changing the Windows default program used to open a file type are provided
for your operating system at:
http://windows.microsoft.com
To change this association in the Windows registry:
1. Start the registry editor by typing regedit in the start menu search box.
2. Choose Edit→Find, type ugs_router.exe in the Registry Editor Find dialog box, and select
the Key option.
3. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Classes\UGpartfile\shell\open\command.
You can change a supplier site that has previously been defined as a managed site in Teamcenter to
an unmanaged site without causing any data errors for previously transferred data. This procedure
designates the site migrating to an unmanaged site as the supplier site and the OEM site as a
managed site.
1. At the supplier site, identify all assemblies that were sent to the OEM site.
2. Ensure that any shared data is not checked out to a remote site.
b. At the supplier site, create a baseline of the supplier data that has been sent to the OEM site.
All new revisions occur in the migrated unmanaged site. Shared objects have multiple revisions,
and OEM replica parts are not baselined.
4. If the supplier site is a hub site, in the Organization application, clear the Is a Hub check box
for the supplier site.
5. At the supplier site, export all supplier owned objects to a briefcase file.
a. Choose Tools→Export→To Briefcase.
b. Select the unmanaged site and click the Display/Set remote export options button .
c. In the TIEConfiguredExportDefault dialog box, select the Replica Bypass check box.
Note
You may have to scroll down to access the check box.
• Supplier-owned data.
7. Install Briefcase Browser at the supplier site being migrated using the same site ID as the
managed site for the unmanaged site.
8. In Briefcase Browser, extract all briefcase files in the migration working directory.
10. In the Organization application at the OEM site, modify the previously managed supplier site by
selecting the Unmanaged option for the site.
11. At the unmanaged supplier site, use Briefcase Browser to add parts to new assemblies. You can
copy the required .prt files to a new working directory and create briefcase files based on them.
12. Transfer briefcase files to the OEM and import them into Teamcenter using Tools→Import→From
Briefcase.
Headquarters
Europe
Granite Park One
Stephenson House
5800 Granite Parkway
Sir William Siemens Square
Suite 600
Frimley, Camberley
Plano, TX 75024
Surrey, GU16 8QD
USA
+44 (0) 1276 413200
+1 972 987 3000
Asia-Pacific
Americas
Suites 4301-4302, 43/F
Granite Park One
AIA Kowloon Tower, Landmark East
5800 Granite Parkway
100 How Ming Street
Suite 600
Kwun Tong, Kowloon
Plano, TX 75024
Hong Kong
USA
+852 2230 3308
+1 314 264 8499