MSC Enterprise Mvision
MSC Enterprise Mvision
MSC Enterprise Mvision
Europe
MSC.Software GmbH
Am Moosfeld 13
81829 Munich, Germany
Telephone: (49) (89) 43 19 87 0
Fax: (49) (89) 43 61 71 6
Asia Pacific
MSC.Software Japan Ltd.
Entsuji-Gadelius Building
2-39, Akasaka 5-chome
Minato-ku, Tokyo 107-0052, Japan
Telephone: (81) (3) 3505 0266
Fax: (81) (3) 3505 0914
Worldwide Web
www.mscsoftware.com
Disclaimer
MSC.Software Corporation reserves the right to make changes in specifications and other information
contained in this document without prior notice.
The concepts, methods, and examples presented in this text are for illustrative and educational purposes
only, and are not intended to be exhaustive or to apply to any particular engineering problem or design.
MSC.Software Corporation assumes no liability or responsibility to any person or company for direct or
indirect damages resulting from the use of any information contained herein.
User Documentation: Copyright 2008 MSC.Software Corporation.. Printed in U.S.A. All Rights
Reserved.
This notice shall be marked on any reproduction of this documentation, in whole or in part. Any
reproduction or distribution of this document, in whole or in part, without the prior written consent of
MSC.Software Corporation is prohibited.
The MSC.Software logo, MSC, Enterprise Mvision, Mvision and Patran are registered trademarks of
trademarks of the MSC.Software Corporation or its subsidiaries in the United States and/or other
countries.
NASTRAN is a registered trademark of the National Aeronautics and Space Administration. MSC
Nastran is an enhanced proprietary version developed and maintained by MSC.Software Corporation.
All other product names, brand names, or trademarks belong to their respective owners.
1
Introducing MSC ■ MSC Mvision Materials Information System Products, 10
Enterprise Mvision
■ Deliverables, 13
■ Related Documentation, 13
2
Installation ■ Overview, 16
Preparation and
■ Before Beginning the Installation, 16
Overview
■ Preparing for Installation on Windows XP, 17
■ Preparing for UNIX/Linux Installation, 19
■ General Memory Requirements, 24
■ Updating an MSC Enterprise Mvision Installation, 27
3
Installing MSC ■ Overview, 30
Enterprise Mvision
■ Requirements Before Installing MSC Enterprise Mvision, 31
■ Installing MSC Enterprise Mvision on Windows XP, 39
■ Installing MSC Enterprise Mvision on UNIX/Linux, 42
■ Configuring the Report Generator, 58
■ Installing MSC Enterprise Mvision Databanks, 60
■ Updating a Previous Release of MSC Enterprise Mvision, 61
4
Server ■ Overview, 64
Configurations,
■ MSC Enterprise Mvision Server Configurations and Configuration
Utilities, and Control Files, 65
Component
Information ■ Features and Utilities, 77
■ Log Files, 81
■ Installing the LDAP Database, 83
■ X Virtual Frame Buffer, 86
■ Migrating From Previous Versions, 90
■ SSL Encryption of the Integrated Client, 103
■ Security Query, 104
5
Configuration and ■ Overview, 106
User Access Files ■ Using MSC Enterprise Mvision Databanks, 107
■ General Administration Functions, 124
■ Legend Display Customization, 132
■ Configuration Files, 133
■ Customizing User Login Environment, 148
■ URL Utilities, 158
■ Implementing Export Functions for MSC Enterprise Mvision, 160
6
Administrative ■ Overview, 180
Panel Interface ■ Starting the Administrative Panel Interface, 181
■ Administrative Commands, 183
A
Installing FLEXlm
■ Overview, 188
■ Installing FLEXlm for a New UNIX/Linux Server, 189
■ Installing FLEXlm on a New Windows XP Server, 192
■ Replacing Codes on an Existing UNIX/Linux Server, 193
■ Replacing Codes on an Existing Windows XP Server, 194
■ Installing FLEXlm Using a Nodelock File, 194
■ MSC_LICENSE_FILE vs LM_LICENSE_FILE, 195
■ Additional Documentation, 195
B
Using the Batch ■ Getting Started with Batch Builder, 198
Builder ■ Batch Builder Program, 199
■ Running Batch Builder, 200
■ Batch Builder Menus, 201
■ Batch Builder Examples, 209
C
Troubleshooting ■ Overview, 216
MSC Enterprise ■ Emv Monitor Fails to Start (Windows XP), 216
Mvision
■ Emv Server Starting Repeatedly from the EmvMonitor, 216
■ A Server Fails to Start, 216
■ Large Property Curve/Figure Image Fails to display, 217
■ JSP pages for Administration Panel fails on Windows XP, 217
■ Microsoft Windows Service Fails to Stop Service, 218
■ Downloading Data to Excel Fails to Display the Excel, 219
■ Downloading files to Internet Explorer fails when SSL is enabled, 220
■ Downloading of Emv_Plot_Macro.xla Fails to Download Correctly to
Excel, 221
■ Troubleshooting the Formatted Report Generator, 221
7
Introduction
This guide contains all the information you will need to install and maintain MSC
Enterprise Mvision software. System-specific information is included so that you may
take full advantage of MSC Enterprise Mvision capabilities and features on your
system.
• Reference Databanks
Penton’s Materials Selector
PDL Chemical Compatibility of Plastics
PDL Effect of Temperature on Plastics
PDL Effect of Creep on Plastics
ASM Alloy Steel
ASM Aluminum
ASM Composites
ASM Copper
ASM Corrosion
ASM Magnesium
ASM Nylons
ASM Stainless Steels
ASM Structural Steels
ASM Thermoplastics
ASM Thermoset Plastics
ASM Titanium Databank
• ASM Cross Reference Databanks
ASM Woldman’s Engineering Alloys
ASM Worldwide Guide to Equivalent Irons & Steels
ASM Worldwide Guide to Nonferrous Metals & Alloys
• Producer’s Databanks
IDES Plastics Prospector
• Special Purpose Databank:
Fatigue
Fibers
Thermal
Electromagnetic Materials
Dytran
GE Plastics
• Demo Tutorial Databanks:
Demo_Composites
Demo_Metals
12
Programmatic
Analysis
Access
MSC Mvision
MSC Patran Materials
DPI™
Databanks
(Materials Libraries)
Design and
Programmatic
Customer-Defined
Databanks
Manufacturing
Access
MSC Mvision
Materials • Materials Test MSC Mvision Evaluator
DPI™
Programmatic
Authority
Access • Corp. Knowledge
MSC Mvision • Design
MSC Mvision Builder Allowables
DPI™
MSC-Supplied Programmatic
Programmatic
Databanks Access
Access
MSC
MSCMvision
Mvision DPI
• Producers DPI™
MSC Enterprise Inte-
• Standards grated Client
• Reference
• CrossReference
Programmatic
Worldwide Users
Access
MSC Enterprise
MSC Mvision Mvision
Patran Materials Enter-
DPI™
prise
Deliverables
The MSC Enterprise Mvision delivery package consists of the following items:
• MSC Enterprise Mvision CD-ROM
• MSC Enterprise Mvision Cover Letter
• MSC Enterprise Mvision User Interface Implementation Guide
• MSC Enterprise Mvision Installation and System Administration Guide
• MSC Enterprise Mvision Release Notes
• MSC Software Authorization Key Request Form
Related Documentation
These listed documents are useful for understanding the MSC Enterprise Mvision
system and software. The following documents are included with the MSC Enterprise
Mvision software:
• MSC Enterprise Mvision Release Notes
• MSC Enterprise Mvision User Interface Implementation Guide
• MSC Enterprise Mvision Integrated Client Installation and Implementation Guide
The following documents could also be useful and can be obtained from your
MSC.Software representative.
• MSC Mvision Building Databanks
• MSC Mvision Builder and Evaluator User's Guide
• MSC Mvision Database Programmatic Interface Manual
14
2 Installation Preparation and Overview
■ Overview
■ Before Beginning the Installation
■ Preparing for Installation on Windows XP
■ Preparing for UNIX/Linux Installation
■ General Memory Requirements
■ Updating an MSC Enterprise Mvision Installation
16
Overview
This chapter specifies the software and hardware requirements for installing and
operating the MSC Enterprise Mvision software on your computer system. It also
outlines procedures required to prepare your computer system for installation of the
MSC Enterprise Mvision software. We recommend that you read this chapter before
installing MSC Enterprise Mvision. The next chapter, Installing MSC Enterprise
Mvision, provides detailed installation instructions for the MSC Enterprise Mvision
software on all supported platforms.
Hardware Server
• Windows XP compatible PC
• Pentium II 400 processor (minimum)
• CD-ROM drive
• Disk space requirements for MSC Enterprise Mvision 2008r1 are:
• 44 Mb (for core application)
• 1 gbyte (for MiKTeX software, if installation of the formatted report
generator is desired.)
• + total size of installed databanks
• + total size of auxiliary databank files (index files are not needed)
• Virtual memory requirements for MSC Enterprise Mvision 2008r1 are:
• 6 Mb (for core application)
• + sum of (1.5 to 3 times size of each databank, depending on its
structure)
• + 100 Kb per databank (for configuration files)
• + size of largest single databank reference file (for example, pdf, text,
or image file)
• + 5 to 10 Mb per concurrent user
18
Software Requirements
To fully enable the features and functionality of MSC Enterprise Mvision, the following
software must be installed on the Server: a Java Servlet-enabled Web server, a Java Server, a
LaTeX package to support the new PDF formatted report generator, and Adobe Acrobat to
enable viewing of documents stored in the <emv_install>/docs directory.
For viewing or processing purposes, other software or applications may be required on the
server and/or client. This is dependent on the specific requirements of your site or databank
contents.
Microsoft Visual C++ 6.0 is required to customize external functions using provided
workspace and project files.
• The Acrobat Reader software used for viewing MSC Enterprise Mvision
documentation on your server is provided on the CD-ROM. Select this item
during the installation process.
• New in EMV2008r1 is a formatted report generator, which requires
installation of MiKTeX 2.5. This OpenSource software package is available
at:
http:www.miktex.org
Operating
Manufacturer Version Compiler
System
Sun Solaris 8, 9, 10 5.2, 5.3
HP HP-UX 11.x, 11i 3.13
IBM AIX 5.1, 5.2 3.6.6
Intel x86 Window XP Visual Studio 6
Intel x86 RedHat RedHat Enterprise gcc 3.2.53
Linux AS 3.0, 4.0
Intel x86 SuSe Enterprise 9 gcc 3.3
Software Requirements
To fully enable the features and functionality of MSC Enterprise Mvision, the following
software must be installed on the Server: a Java Servlet-enabled Web server, a Java Server, a
LaTeX package to support the new PDF formatted report generator, and Adobe Acrobat to
enable viewing of documents stored in the <emv_install>/docs directory.
For viewing or processing purposes, other software or applications may be required
on the server and/or client. This is dependent on the specific requirements of your site
or databanks contents.
• The complete TeXLive installation and ps-tricks available from the TeXLive
website: http://ww.tug.org/texlive.
The latest image is located at:
http://www.ctan.org/tex-archive/systems/texlive/Images
Note: You must have root access to obtain complete graphics and virtual memory
information on Hewlett Packard HP-UX. However, if you have normal
access, you can get to all other data.
The mscsetup utility indicates required disk space for each product set.
Note: The installation process requires some small additional space for file
decompression. At most, decompression requires about 50 MB beyond
product disk requirements, but 10 MB of additional space is typical. If
sufficient space is not available in the installation directory, the mscsetup
utility attempts to use /tmp for decompression.
MSC Enterprise Mvision needs more than 64Mb of virtual memory to run. If the
default maxdsiz is too low, this can cause MSC Enterprise Mvision to run out of virtual
memory unless both the swap and the maxdsiz parameters are increased.
MSC Enterprise Mvision does not exceed the 64Mb maxtsiz parameter, you are not
required to change this parameter.
Performance Tuning
To increase performance on the HP platform, we recommend the following settings:
Performance Settings
fs_async and default_disk_ir set to 1 enables asynchronous disk writes and disk
write caching. This enables MSC Enterprise Mvision to perform I/O faster, because
the application will not wait to verify that the write was completed. The only problem
24
with the increased performance settings is that if the computer crashed at just the
wrong moment, the disk write may not have completed. However, since MSC
Enterprise Mvision probably crashed at the same time, it may be irrelevant that the
write did not complete. These parameters are actually for large network cluster
applications such as on-line transaction processing where data integrity is the primary
concern at all times.
Maxusers sets the maximum number of users, but more importantly, it lets SAM tune
other parameters that can increase the performance of MSC Enterprise Mvision.
Setting all three of these parameters to the above settings may have a significant effect
on the performance of MSC Enterprise Mvision, particularly I/O speed.
a client. This means that the memory will not be immediately allocated but will be
required during subsequent operation. A databank similar to mil5.des, which is 7.6
Mb, will require approximately 11 Mb.
To use the entire library of MSC databanks would require approximately 700 Mb, plus
47 Mb for the auxiliary files. Because databank indexing is done in virtual memory by
MSC Enterprise Mvision, the physical index files as supplied with MSC Databanks are
not required, and can be deleted to save disk space if not used by other MSC Mvision
applications.
To sustain a user session with no requests requires approximately 50 Kb, but this
requirement is typically insignificant in comparison to the memory requirement to
service the user's actual request. If the user is displaying a detailed material list of a
databank, this will typically require 1 to 2 Mb of virtual memory. If the user is
displaying a 10,000 point curve (curve images are generated and transmitted by MSC
Enterprise Mvision as requested), this will typically require 2.5 to 5 Mb. If the
databank contains very large curves or images, this minimum requirement should be
increased accordingly.
Other operations, such as search functions and exporting data, also impose temporary
memory requirements. These memory requirements are cumulative in that each
additional simultaneous user requires the same amount of virtual memory. Therefore,
we recommend that at least 5 Mb to 10 Mb be provided for each simultaneous user to
provide acceptable performance.
CHAPTER 2 27
Installation Preparation and Overview
■ Overview
■ Requirements Before Installing MSC Enterprise Mvision
■ Installing MSC Enterprise Mvision on Windows XP
■ Installing MSC Enterprise Mvision on UNIX/Linux
■ Configuring the Report Generator
■ Installing MSC Enterprise Mvision Databanks
Overview
This chapter and the following chapter provide the detailed information required for
the installation and configuration of the MSC Enterprise Mvision software on
Windows and UNIX variant systems. We recommend that you read these chapters
thoroughly before starting the installation.
This chapter provides an outline of the overall installation and the steps necessary to
install and configure MSC Enterprise Mvision. These procedures include the
installation of all required third-party products.
The basic MSC Enterprise Mvision installation process involves these phases:
• Installing and configuring the Web Server
• Installing the FLEXlm license server
• Installing the MSC Enterprise Mvision software
Note: To perform these procedures you must have administrative privileges on the
Windows platform. You may also need root privileges on the UNIX/Linux
platforms on which MSC Enterprise Mvision is to be installed.
This chapter provides a thorough discussion of the installation of the basic (core
application) MSC Enterprise Mvision software. Refer to Appendix A of this guide for
more information on installing the FLEXlm software and refer to the MSC Enterprise
Mvision Integrated Client Installation and Implementation Guide for more information on
installing the Integrated Client software.
CHAPTER 3 31
Installing MSC Enterprise Mvision
Installing LaTeX
There are four reporting options available in MSC Enterprise Mvision 2008r1:
• The original HTML hardcopy
• XML - simple XML output of selected records, which can be formatted using
XSLT stylesheet technology.
• Formatted HTML, which includes custom formats, header, footer, curve
legends, and prints curve points.
• PDF Report Generator , which includes all the feature of the Formatted
HTML, but uses LaTeX technology to generate the PDF.
The LaTeX instalation files are available as OpenSource software from the following
URL’s:
To install TeXLive, burn the downloaded ISO image to a CD-R or mount it to the file
system.
1. Run the installation program: (assuming CD-R mounted in /dev/cdrom)
cd /mnt/cdrom/texlive/
sh install-tl.sh
2. Ensure that all packages are selected and modify the paths to suit your system
setup.
3. Add the latex binaries to your path, default installation directory is:
/usr/local/texlive/2007/bin/<arch>
Unzip the ptricks and pstricks-add files into a directory. The following instructions
assume a default TeXLive installation directory:
/usr/local/texlive/2007/texmf-dist
If you are using pstricks-update, simply merge the contents of the directory into
the installation directory of TeXLive.
After downloading, map the files and directories as follows:
From To (/usr/local/texlive/2007/texmf-dist)
pstricks/dvips/* dvips/pstricks/
pstricks/generic/* tex/generic/pstricks/
pstricks/latex/* tex/latex/pstricks/
pstricks-add/pstricks-add dvips/pstricks-add/pstricks-add.pro
.pro
pstricks-add/pstricks-add tex/generic/pstricks-add/pstricks-ad
.tex d.tex
pstricks-add/pstricks-add tex/latex/pstricks-add/pstricks-add.
.sty sty
After updating the files above, run texhash rebuild the file location tables.
CHAPTER 3 35
Installing MSC Enterprise Mvision
• Check the log file AdminLog.txt in the <emv_root>/log directory. This file
indicates if the license system is functioning properly.
Auto-Deployment of EMV
MSC Enterprise Mvision is automatically deployed on Windows to an installed Web
application server using InstallShield. On UNIX and Linux platforms, deployment is
invoked using the configure script.
Installation Directories
The installation root directory (after installing the MSC Enterprise Mvision software)
contains all of the MSC Enterprise Mvision configuration and runtime files.
Numerous subdirectories exist which contain information for different components of
the system.
The following lists the subdirectories and the file or information included in each
subdirectory:
Subdirectories
Subdirectories
The Administration files are a set of files used by MSC Enterprise Mvision. Within
these files, the data, such as users, security, group configurations, HTML template
files, and so on, are managed. Access to this information is through the MSC
Enterprise Mvision root directory.
The Administration files are in the directories that are specified in the properties file
for each server. The bin, config, databases, external_functions, html, and security directories
can be located anywhere on the file system. The remaining directories must be located
relative to the MSC Enterprise Mvision root directory.
CHAPTER 3 37
Installing MSC Enterprise Mvision
The following directories are specified in the properties file for each server:
4. Select a Web Server to which to install the MSC Enterprise Mvision war file, and
then press the Next button. Selecting Other will allow you to specify a directory
in which to place a copy of the war file.
5. Specify the directory location of the Web Server you chose in the previous panel,
and then press the Next button. This is typically the top level directory (i.e.
C:\Sun\WebServer6.1 or C:\Program Files\Apache Software
Foundation\Tomcat 5.5.)
6. Specify the directory location of an MSC Mvision databanks installation, and then
press the Next button. This defaults to the location of the installed MSC Mvision
databanks if one exists. If there are no MSC Mvision databanks installed, then the
default is the <emv_root>/databases directory that contains a set of demo
databanks. If you specify a directory at this location that is different than the
<emv_root>/databases directory, the setup application configures the databanks
in this directory to run with MSC Enterprise Mvision after the setup application
has completed the file copy phase.
7. Specify the web server context that will be used for MSC Enterprise Mvision
document root (i.e. emv), and then press the Next button.
8. Specify the server ports for the Emv, Admin, and FigureToPngImage servers.
These default to 8023, 8022, 8024, respectively. They can have any numeric value
between 0 and 65536 as long as no other application is using that port.
9. Click the Next button.
10. Specify the server ports for the Emv Monitor and Web Server Java Servlets. These
default to 8021, 8025, respectively. They can have any numeric value between 0
and 65536 as long as no other application is using that port.
11. Click the Next button.
12. Review the settings and verify that the values are specified correctly.
13. Click the Next button to begin the installation process.
If the directory location to the MSC Mvision databanks has been changed from
the <emv_root>/databases directory, the setup application configures the system
to run with these databanks.
14. Select Reboot to complete the installation.
Note: Using the Services Control Panel, the EmvMonitor service can be configured to
interact with the desktop which displays two windows. A Java window
appears that has the EmvMonitor Java application startup information and the
EmvMonitor GUI displays the status of the servers. When the machine boots,
the EmvMonitor service starts automatically. To disable this feature, use the
Service’s control panel to modify the startup of the EmvMonitor service.
CHAPTER 3 41
Installing MSC Enterprise Mvision
Note: The 2008r1 version of the Integrated Client is only compatible with MSC
Enterprise Mvision 2008r1. Be sure to specify the port for this version.
8. Verify the settings in this screen. Click Next to start copying the distribution.
9. Select Reboot to complete the installation.
Note: To operate the Integrated Client, you must set the following environment
variables in the Systems folder of the Control Panel. For UNIX, perform the
following commands:
• setenv MSC_SDM_IC_PROPERTIES_FILE
<ic_install_dir>/config/MscSdmIC.properties
• setenv LIBPATH <ic_install_dir>/lib:$LIBPATH
42
Installation Procedure
The installation procedure for MSC Enterprise Mvision on UNIX/Linux is a two-step
process:
• The first step extracts and installs all of the required files and executables.
• The second step configures these files for use in your operating environment.
The first step uses an installation script common to all MSC.Software products. From
this single script you can:
1. Mount the CD-ROM drive on the local machine either directly or through an NFS
mount.
2. Unload all the necessary software.
3. Prepare the software for use.
The second step uses configuration scripts included with the installed files for use
with your system.
If you decide to use a superuser account for the install, you can be assured that the
mscsetup script described here does not attempt to make any changes except to the
directories you create as part of this install procedure.
Installation of the FLEXlm licensing system does require use of superuser privileges
and does make changes to system directories. Details on this installation are provided
in Installing FLEXlm on page 187.
44
Overview
The following flowchart outlines the steps for installing the MSC Enterprise Mvision
software on a UNIX/Linux system.
Step 4: Selecting the Installation Step 11: Setting the User Environment
Directory — See page 49. See page 53
54
1. Create a directory for the CD-ROM (if it does not already exist):
mkdir /CDROM
2. Mount the CD-ROM drive by executing one of the following commands:
HP 11.x: mount -F cdfs /dev/dsk/c0tUd0 /CDROM
where U = the SCSI controller # for the CD-ROM drive
Linux: If your machine does not automatically mount the CD, run
the following command: mount /dev/cdrom /CDROM
Sun Solaris: You do not need to enter a mount command because the
MSC Enterprise Mvision CD-ROM will automatically be
mounted by the Solaris vold daemon. The actual mount
point is specified in the file, /etc/vold.conf, which by
default, is /cdrom/cdrom0. If this directory does not appear
after inserting the CD-ROM, make sure the vold daemon is
running.
IBM: mount -rv cdrfs /dev/cd0 /CDROM
CHAPTER 3 47
Installing MSC Enterprise Mvision
where:
• C = SCSI controller number
• U = CD-ROM unit number
These values can be found by entering the command,
/bin/hinv.
Please wait...
MSC Installation and Setup - Introduction
NOTE: You might need superuser (root) privileges to use the default
installation directory /msc.
The following products are available on this delivery:
* EMV (Version)
Please note that new FLEXlm authorization codes are
required to complete the installation of products
contained on this media. NetLS-based licenses used
for previous product versions are no longer valid!
* INTEGRATED CLIENT (Version)
This will install the Integrated Client application utilized in
conjunction with EMV 2008r1.
* FLEXlm Vx.x
48
Note: You can terminate the mscsetup program at any prompt command by entering
the character “x” and <cr>.
The local CD option assumes that the CD-ROM is available in the same file system as
the installation directory. The CD-ROM must be either locally mounted or NFS
mounted on the same machine as the installation directory.
The utility also checks the amount of disk space available for that path.
Note: mscsetup requires additional disk space for decompression of the files
contained on the CD-ROM.
When given permission to proceed, the script checks the available space on that disk.
50
Select each product set that you want to install. You must select products one at a time
because each product set selection is followed by appropriate setup questions.
Selecting a product and then choosing a “Custom” installation in Step 6: Selecting a
Product Installation Type, on page 50, allows you to see the full contents of each
product set.
Note: For most licensed products, there is a “Product” listing in mscsetup that
corresponds to each product, module, or databank.
The installation type for MSC Enterprise Mvision FLEXlm product sets are:
• Standard includes all files necessary to run the product.
• Custom permits selection of individual components of the product set. You
select individual optional components from menus similar to the product
selection menu.
MSC Installation and Setup - Architectural Components
In this example, we are installing the MSC Enterprise Mvision core product set
including the Integrated Client, Acrobat components, and the FLEXlm license
management software.
Unpack complete.
Decompressing installation files. Tue Jul 26 17:33:37 PDT 200x
Decompression complete.
Configuring Products. Tue Jul 26 17:38:02 PDT 200x
Configuring FLEXlm Vx.x
Creating directories, setting modes...
Miscellaneous configuration commands...
Updating installation base directory...
Refer to Chapter 4 for more information on configuration files and configuring MSC
Enterprise Mvision databanks.
Note: The db_configure script includes all databanks in the databases.txt files. But
only creates Navigation Views in the GroupConfiguration.txt file for
databanks with an associated .mvform file. If you are using an existing MSC
Enterprise Mvision databank installation that contains a form.definitions file
.mvform files can be created for each databank using the mvform_explode script
available in the MSC Enterprise Mvision Builder/ Shareware Utilities.
• The hostname and port where the MSC Enterprise Mvision Server is
running.
Once the script finishes, the installation is configured.
Note: To operate the Integrated Client, you must set the following environment
variables:
• setenv MSC_SDM_IC_PROPERTIES_FILE
<ic_install_dir>/config/MscSdmIC.properties
• export
MSC_SDM_IC_PROPERTIES_FILE=<ic_install_dir>/config/MscSdmIC.proper
ties
• hardcopy.latex.template = EMVReport.sty
The batch property sets the batch program that converts a LaTeX input file to a PDF
document. The template specifies a LaTeX style file (similar to a CSS file) that controls
the behavior of the LaTeX file.
Each instance of the external report generator (i.e. html, PDF, modified PDF, etc.) requires
a section in the properties file, where hardcopy.external is indexed to represent the
instance (i.e. change external1 to external2, etc.). The example displays the format
for a binary called myexecutable which is called to generate a report of mime-type
text/html using flag, myflag.
Example:
hardcopy.external1.bin = myexecutable
hardcopy.external1.flag = myflag
CHAPTER 3 59
Installing MSC Enterprise Mvision
hardcopy.external1.mime = text/html
EMV Examples:
hardcopy.external1.bin = EMVReportGenerator.exe
hardcopy.external1.flag = html
hardcopy.external1.mime = text/html
hardcopy.external2.bin = GeneratePdfReport.bat
hardcopy.external2.flag = pdf
hardcopy.external2.mime = application/pdf
# This file is used when generating the PDF report and must be in the
EMV_PATH/bin directory
hardcopy.latex.batch = GeneratePdfReport.bat
(GeneratePdfReport.csh UNIX)
# This file is used by the PDF report and must be in the EMV_PATH/config
directory
hardcopy.latex.template = EMVReport.sty
# This file is used by the HTML report to control the layout and requires
either a URL relative to the servlet or the full URL:
hardcopy.html.template=http://localhost:8080/emv/msc/emv/emvreport.css
60
Note: If you have not purchased any databanks from MSC.Software, you will find a
directory in the <emv_root> named “databases”. By default MSC Enterprise
Mvision will look in this directory for databanks and support files. This
directory is created when MSC Enterprise Mvision is installed and will contain
sample databanks.
To enable MSC Enterprise Mvision to use MSC Mvision Databanks not located in the
default location, modify the value of the databases variable in the
<emv_root>/config/Global.properties file to reflect the full path to the installed
databases.
CHAPTER 3 61
Installing MSC Enterprise Mvision
Note: Do not install 1.0 in the same directory as a previous release of MSC Enterprise
Mvision.
If you are installing MSC Enterprise Mvision 1.0 on a machine that has a previous
release of MSC Enterprise Mvision, make sure the transition for the users is as simple
as possible. There are several options:
• Install 1.0 and leave the previous installation untouched. The users will have
to change their start-up procedure to access the new directory when they
want to execute 1.0 or they can leave their start-up procedure alone to
execute the previous version.
• Install 1.0 and move the contents of the previous release into its own
subdirectory within the MSC Enterprise Mvision install directory. For
example, if the previous release is 2006r1, then you move the files in
<install_dir> for 2006r1 into a new directory named
<new_install_dir>/emv2006r1.
All users in this case have to change to the new installation directory and
chose between emv2006r1/bin and emv2008r1/bin.
You can simplify transition from one release to the other for all the users at your
facility using a link. After you move the contents of the old release to the new
directory, create a link that points from the old location to the new location in
<new_install_dir>/emv2006r1. When you are ready to switch all the users to 1.0,
change the link to point to <new_install_dir>/emv2008r1.
62
The following table illustrates using this link. In this example, the old version of
MSC Enterprise Mvision is 2006r1 and is installed in the directory /appl/mvision.
Release 1.0 is installed in /appl/msc. The user has /appl/mvision/bin in the PATH
environment variable.
Scenario: Path:
Before 1.0 is installed /appl/mvision/bin/...
Overview
This chapter provides detailed information on the required settings for MSC Enterprise
Mvision server configurations and configuration control files. Information is also provided for
system utilities used for administration or operation of MSC Enterprise Mvision. This
information is provided to aid in the administration, customization, and troubleshooting of the
system.
Each server (Emv, Admin, WebServer, EmvMonitor, FigureToPngImage) uses configuration
files found in the <emv_root>/config/ directory. These configuration files are titled “server
name”.properties and are read when the server is started. They provide information on how the
server is configured and where the other servers are located. Options for each server are
specified in the appropriate properties file. These options can be specified on the command line
to override any setting in the associated configuration file. If correctly installed, all of the
“server name” properties will be configured correctly and do not require further modification
to run the standard MSC Enterprise Mvision system.
The EmvMonitor and FigureToPngImage servers are Java applications that require access to a
valid DISPLAY device. Some UNIX workstations may not have access to a graphics display
for the following reasons:
• Workstation does not have a display device
• Workstation does not have access/permission to display device
• User wants to start EmvMonitor and/or FigureToPngImage server(s), and then
logoff from the workstation; thereby losing access to the display
We recommend that the Xvfb (X Virtual Frame Buffer) utility be used as the X server when
starting the EmvMonitor and/or FigureToPngImage servers. Refer to the X Virtual Frame
Buffer section in this chapter for detailed information on this utility.
CHAPTER 4 65
Server Configurations, Utilities, and Component Information
Parameter: Value:
time_date_stamp_format Time stamp format used in message handler
url_prefix Prefix used to identify the URL as a JavaServlet
request
expanded_search Toggles on/off the use of expanded search in the
export functions. By default it is commented out, as
any value except “no” turns this function on.
trace_idc Turn on/off the tracing of the database engine.
legend_default Default legend template to be used in current user
session
prolog_cmd Executable file to run prior to initializing the
EmvServer. Typically, this is used to stop any export
functions that maybe running and holding on to a port.
66
Parameter: Value:
integrated_client_reap_interval Interval between checks for expired Integrated Client
sessions
integrated_client_reap_grace_period Inactive grace period, in seconds, for Integrated Client
sessions.
Integrated Client sessions that do not interact with the
EMV server for the specified length of time, and that
do not respond to the EMV server during a “ping”
operation are purged (logged off) from the system.
integrated_client_expiration Inactivity time in seconds of an Integrated Client
session before it is released (logged-off). The default
is 12 hours.
integrated_client_char_encoding Character encoding to be used when transferring
XML data from the server to the integrated client
application.
ooc.boa.port Port to listen for CORBA connections and requests.
ooc.boa.thread_pool Number of threads to create for the thread pool. Value
must be greater than zero.
ooc.orb.trace_level = 0 Trace level. Value must be non-negative.
emv_encryption_log Specifies the log file name if logging is turned on for
the encryption.
print_encryption_log Toggles on/off the printing of an encryption log. This
option is available by request only for security
purposes.
encryption_only Specifies whether the EMV Server is allowed to
accept unencrypted data from the Integrated Client.
encryption_algorithm Specifies the encryption algorithm to be used by the
Integrated Client when transferring data to the EMV
Server when encryption is turned on by the Integrated
Client. Options: BLOWFISH, DES, 3DES, IDEA,
RC2
legend_position Specifies legend position. The default behavior is for
the legend to be printed below the curve if the length
goes beyond the threshold. Otherwise, it prints next to
the png image.
CHAPTER 4 67
Server Configurations, Utilities, and Component Information
Admin Server
The Admin Server-specific configuration parameters (Admin.properties) control the log file
format and the LDAP server configuration (if its being used). The configuration also specifies
the Orbacus parameters for which port the Admin Server listens on and the number of threads
in the thread pool. Do not alter the Orbacus (ooc.boa) values, unless there is a specific reason.
The last line in the file includes the Global.properties file which is a common properties file
used by all servers.
To override parameters in the Global.properties, use the same parameter name found in the
Global.properties files and include the value before the include of the Global.properties
file.
Parameter: Value:
time_date_stamp_format Time stamp format used in message handler.
ldap_host LDAP host (blank is localhost)
ldap_port LDAP port (blank is the default:389)
ldap_connection_string LDAP user connection info. This is the information
following the "uid=username," in
"uid=username,o=cm.macsch.com." Note: to get this
string, use the Netscape Directory Server Console,
select the "Create..." button at the bottom right. A
"select org." panel displays. Run the cursor over the
lines and view the strings displayed. Those strings are
the connection info strings the other method is to find
the group that the users are contained in. Then, for each
GROUP, put in ou='***',... from the bottom up. The
root element, put in o='****'. For example: "ou=Emv
Administrators, ou=Groups, o=cm.macsch.com"
EmvMonitor Server
The EmvMonitor Server-specific configuration parameters (EmvMonitor.properties)
control the message handler class, the time and date format, and file name for customizing the
log file format. It also specifies the commands to execute the Emv Server, Admin Server, and
FigureToPngImage Server. Commenting out any of the commands instructs the EmvMonitor
not to start and run that server. Two other parameters control how often the EmvMonitor checks
to see if the servers are running and how often the animation icons are updated to indicate that
the servers are stopped or started.
68
It is important to note that the time to check if the servers are running must be longer than the
total time it takes the servers to get started. (This includes the time required to load all
databanks.)
If the servers don’t respond to the “are you alive” request, the EmvMonitor kills the process
and attempts to restart. This can create an infinite loop of starting and killing the process. If this
occurs, you will see, in the Emv Server log file, that the system keeps starting and never says
ready. This occurs most often because the databanks require more time to load.
The configuration also specifies the Orbacus parameters for which port the server listens on.
Do not alter the Orbacus (ooc.boa) values unless there is a specific reason. The last line in the
file includes the Global.properties file which is a common properties file used by all servers.
To override parameters in the Global.properties, use the same parameter name found in the
Global.properties files and include the value before the include of the Global.properties
file.
Parameter: Value:
admin_server_command Fully specified command to start the Admin
Server. Comment out this line to stop the
Admin server from starting.
emv_server_command Fully specified command to start the EMV
Server. Comment out this line to stop the EMV
server from starting.
figure_to_png_image_server_command Fully specified command to start the
FigureToPngImage Server. Comment out this
line to stop the FigurToPngImage server from
starting.
check_interval Interval in seconds to check if servers are
running.
animate_interval Interval in seconds to turn the animation icons
on and off.
emv_message_handler_class Custom message handler class for customizing
the log file output. Provide a Java class that
implements the EmvUtils.MsgListener
interface and put this class in the classpath.
emv_message_log_file_name Message log file name used by default message
handler class.
java_time_date_stamp_format Time-stamp format used in default message
handler.
CHAPTER 4 69
Server Configurations, Utilities, and Component Information
FigureToPngImage Server
The FigureToPngImage Server-specific configuration parameters
(FigureToPngImage.properties) control the message handler class, the time and date
format, and file name for customizing the log file format. This configuration also specifies the
Orbacus parameters for which port the Server listens. Do not alter the Orbacus (ooc.boa)
values unless there is a specific reason.
The last line in the file includes the Global properties file, which is a common properties
file used by all servers.
To override parameters in the Global.properties, use the same parameter name found in the
Global.properties files and include the value before the include of the
Globals.properties file.
Parameter: Value:
emv_message_handler_class Custom message handler class for customizing the log
file output. Provide a Java class that implements the
EmvUtils.MsgListener interface and put this class in
the classpath.
emv_message_log_file_name Message log file name used by default message
handler class.
java_time_date_stamp_format Time-stamp format used in default message handler.
figure_to_png_image_server_ The command line used to initiate the
command FigureToPngServer.
enableChartDebugging Debug Flag. If this flag is set to "true", debugging is
enabled and messages will be generated to inform the
user of the state of the memory and chart creation times
while the system is running. If this flag is set to "false",
no messages will be generated. This value defaults to
"false" - i.e. Debugging is disabled.
logToFile Message Logging Destination. If this flag is set to
"true", the debug messages will be generated into the
normal FigureToPng log file. If this flag is "false",
messages will only be generated to the "stdout"
window. Note that messages sent to "stdout" will only
be visible if the FigureToPng server is started manually
from a command window. The default value is "false"
which results in messages being logged to "stdout".
70
Parameter: Value:
lowMemoryThreshold Low memory threshold. If the amount of free memory
drops below this threshold value the server will
automatically shut down and restart. The default value
for this variable is approximately 15MB.
maximumChartCreateTime Maximum Chart Creation Time. If it takes longer than
the number of seconds specified below to generate a
chart, the FigureToPng server will automatically
restart. This is being done as a stop gap measure for
Boeing because the performance of their server
degrades over time and restarting it resets the
performance back to its original state. The default
value of this variable is a very large number.
chartXsize Chart X & Y size. These values are used to specify the
chartYsize X and Y axis size of the generated chart in pixels. If
these values are not specified they each default to 500
pixels.
Web Server
The Web Server-specific configuration parameters (WebServer.properties) control several
important URLs, the message for customizing the time and date format, and the file name for
customizing the log file format.
The URL parameters control:
• Which HTML page the web server displays
• If the connection to the Emv Server fails
• Which HTML page displays if a session fails to reconnect to the Emv Server
• If an Integrated Client session fails to reconnect to the EmvServer
The configuration also specifies the Orbacus parameters for which port the Web Server listens
on. Do not alter the Orbacus (ooc.boa) values unless there is a specific reason. The last line in
the file includes the Global.properties file which is a common properties file used by all
servers.
CHAPTER 4 71
Server Configurations, Utilities, and Component Information
To override parameters in the Global.properties, use the same parameter name found in the
Global.properties files and include the value before the include of the Global properties
file.
Parameter: Value:
emv_server_connection_failed_url URL to display when the connection to the
Emv Server is lost or down.
emv_server_reconnect_session_failed_ URL to display when the server fails to
url reconnect a session to the Emv Server.
emv_reconnect_session_int_clt_failed URL to display when the server fails to
_url reconnect to an integrated client session.
emv_message_handler_class Custom message handler class for
customizing the log file output. Provide a
java class which implements the
EmvUtils.MsgListener interface and put this
class in the classpath. See the MSC
Enterprise Mvision Implementation Manual
for more information.
emv_message_log_file_name Message log file name used by default
message handler class.
java_time_date_stamp_format Time-stamp format used in default message
handler.
ie_caching_headers HTTP caching headers for Microsoft
Internet Explorer. Because of the
incompatibility with different Web servers,
Web server host machines, and SSL-enabled
Web servers, the HTTP caching headers for
Internet Explorer have been externalized so
that they can be configured specifically for a
particular installation.
file. If the server port parameters do not match, the servers are not be able to communicate. For
example, the Emv.properties file contains the ooc.orb.port property. If it is set to 8023, the
emv_server values must be set to localhost:8023.
The emv_dir parameter defines the installation directory for the MSC Enterprise Mvision
software. If the EMV_DIR environment variable is specified, then that value overrides the
value in the properties file.
You can specify several directory locations in the Global.properties file to allow you to use
existing file locations or distributed files. This capability is particularly important for databanks
that are already installed on the system and can be shared with other applications.
• The emv_platform parameter specifies the operating system platform on
which the Enterprise Mvision server is running (Windows/UNIX).
• The null_value_string parameter specifies the text string to be displayed
when databank attributes with null values are encountered.
• The remote_obj_timeout parameter specifies how much time a request
should take before the system considers the request a failure and terminates
the connection. Currently, this value must be a ‘-1’ due to server connection
failure issues.
• The message_file parameter specifies the messages file for the MSC
Enterprise Mvision messages. You can modify the strings in this message file
as long as the parameter replacement tags remain the same. Note that this is
not a complete list of the strings in the system.
Parameter: Value:
admin_server Admin Server host and port.
emv_server Emv Server host and port.
figure_to_png_image_server FigureToPngImage Server host and port.
emv_dir Emv root installation directory.
emv_platform Emv Server platform (Windows/UNIX)
emv_bin_dir Directory containing executable files, scripts, and so
on.
emv_config_dir Directory contains the MSC Enterprise Mvision
configuration files.
emv_databases_dir Directory containing the Mvision databanks, units
files, mapping files, and so on.
CHAPTER 4 73
Server Configurations, Utilities, and Component Information
Parameter: Value:
emv_html_dir Directory containing the MSC Enterprise Mvision
HTML templates.
emv_security_dir Directory containing the MSC Enterprise Mvision
security files.
emv_external_functions_dir Directory containing the MSC Enterprise Mvision
external functions files.
null_value_string String to use when displaying null databank attribute
values
remote_obj_timeout Time that a CORBA request should wait before
failing with a timeout failure. This value must be -”1”
message_file Message file.
Parameter: Value:
ooc.boa.port CORBA Server Port that the server listens for requests.
Any client attempting to connect to this server must use
this port. ( 0 <= port <= 65535)
ooc.orb.trace_level CORBA debug information flag to be included in the
running of the server. 1 is on and 0 is off.
ooc.boa.thread_pool Boa thread pool ( n > 0 ).
GUI display, and export template mappings of the application. For a detailed description of the
following properties, refer to the MSC EMV Integrated Client Installation and Implementation
Guide.
Parameter: Value:
gui.login.user_label Label to be displayed in IC GUI for the
User Name field.
gui.login.password_label Label to be displayed in IC GUI for the
password field.
gui.browser.server_label Label to be displayed in IC GUI for the
server/application name..
gui.browser.server_label_value Value to be displayed in IC GUI for the
server/application name..
<DataSourceName>.<MappingTargetName>.<Te Default Category Name used for
mplateName>,defaultCategory mapping to the specified export target.
The following format flags from the Java programming language’s definition for formatting a
date and time are valid values for the Java_time_date_stamp_format parameter in MSC
Enterprise Mvision configuration files.
The message string can be comprised of the following format flags to generate the desired date
and time.
76
Format Flags
Symbol: Meaning:
G Era designator
y Year
M Month in year
d Day in month
h Hour in am/pm (1-12)
H Hour in day (0-23)
m Minute in hour
s Second in minute
S Millisecond
E Day in week
D Day in year
F Day of week in month
w Week in year
W Week in month
a Am/pm marker
k Hour in day (1-24)
K Hour in am/pm (0-11)
z Time zone
‘ Escape for text
“ Single quote
CHAPTER 4 77
Server Configurations, Utilities, and Component Information
The EmvMonitor reads the file at startup to set which servers to start, how often to verify the
status of the servers, and the log file location. See EMV Server on page 65.
EmvMonitor Interface
The EmvMonitor interface as shown on page 78 offers the capability of starting and stopping
the servers, graphically displaying the server status with animated icons, and displaying the
status of the running servers. The EmvMonitor configuration file contains the lines
admin_server_command, emv_server_command, and
figure_to_png_image_server_command. These lines control which servers are started and
monitored by the EmvMonitor. Commenting these lines out with the “#” character disables
those servers from starting. Refer to EmvMonitor Server on page 67.
The EmvMonitor reads the EmvMonitor.properties file at startup. It determines which
servers are to be run and monitored. It first attempts to connect to any existing servers which
are currently running. (Note that if a server is found to be running, then the monitor cannot stop
that server). Any server not already running is started using the command for that server. The
animation icons are started for servers which are running and stopped for servers which are not.
Any connection messages from the servers are listed in the message box and in the
EmvMonitorLog.txt file.
The Start/Stop buttons or the animation icons toggle the state of the server. If the server is
running, the server is stopped and if the server is stopped, it is started.
The animation has a delay of a few seconds that indicates that the server is actually running.
Also, if the Emv Server fails to connect on the first attempt it continues to try until it is
successful. This typically requires a few attempts.
Exiting the Emv Monitor stops all servers which were started with the EmvMonitor. Any
servers that were not started with the EmvMonitor continue to run.
78
EmvMonitor
The default installation of MSC Enterprise Mvision is configured so that the EmvMonitor
interface is displayed when it is executed. For host machines that do not have
access/permission to a display device, you can pass the optional -nogui argument to the
EmvMonitor startup script.
To disable the interface display, for example, use:
<emv_root>/bin/start_emv_monitor -nogui
The Xvfb X Server (Xvfb on UNIX Platforms on page 86) can be used if access to a display
device is unavailable. If the Xvfb X server is used, then the DISPLAY environment variable
must be set (export to ‘hostname‘:1.0) before starting the EmvMonitor.
<emv_root>/bin/remove_emv_monitor_service.bat
These scripts install and uninstall the service and start and stop the service. After the
EmvMonitor is installed as a service, the Services Control Panel is used to stop, start, and
configure the EmvMonitor service.
The EMV monitor GUI and functions are the same whether the EMV monitor executes as a
service or not.
CHAPTER 4 79
Server Configurations, Utilities, and Component Information
Note: Because the EMV monitor starts as a system service, you must make sure that
the system account that started the service has access/privileges to all files and
directories required by MSC Enterprise Mvision. Alternatively, you can start
the EMV monitor service as a user who has access/privileges to MSC
Enterprise Mvision required files and directories from the Windows XP
Services Control Panel.
You can use the Windows XP Services Control Panel to verify that the EMV Monitor service
has been properly installed. Click the EmvMonitor line and then click the Properties... button
(2000), which allows you to set whether the service starts at boot (automatic) and whether it
can interact with the desktop. Allowing interaction with the desktop, the EmvMonitor GUI is
displayed above.
This allows you to control the servers and view their status messages. Turning off the desktop
interaction turns off the interface so that the servers report their messages to the respective log
files only.
Server Monitor
80
Log Files
All of the MSC Enterprise Mvision servers write out log files to the directory
<emv_root>/log. The names of each log file corresponds to the names of the servers which
are generating the messages.
Emv EmvLog.txt
EmvMonitor EmvMonitorLog.txt
FigureToPngImage FigureToPngImageServerLog.txt
WebServer WebServerLog.txt
/**
* Interface to log or displays Emv messages. This is implemented to
* save messages generated by the Emv components (Javaservlets) on the
* web server
*/
public interface MsgListener {
/**
* Error Message output
*/
public void error_msg( String msg_class, String msg_member, String msg );
/**
* Warning Message output
82
*/
public void warning_msg( String msg_class, String msg_member, String msg );
/**
* Information Message output
*/
public void info_msg( String msg_class, String msg_member, String msg );
/**
* Debug Message output
*/
public void debug_msg( String msg_class, String msg_member, String msg );
/**
* Outputs a blank line to the log/display
*/
public void blank_line();
/**
* Init the class
*
* @param emv_root Input - Emv root directory string
*/
public void init( java.util.Properties properties );
};
CHAPTER 4 83
Server Configurations, Utilities, and Component Information
2. Enter the hostname and port. You must know where the LDAP database server is
installed and which port it is listening to. For MSC Enterprise Mvision host,
“localhost” and port 389 are the defaults if you have the Sun One 6.1 Web Server.
You must know the Base DN, Bind DN, and Bind password. These parameters are
configured in the LDAP database and must be acquired from its configuration
information.
Restricting Access
After the LDAP database is properly installed and connected to the Web Server, you are ready
to restrict user access to the administrative panel URLs.
84
To create the authorized users that can access the administrative panel URL:
1. Click the Users & Groups tab in the Web server administrative panel.
The following panel appears:
2. Add the user to the system and click the Create User button.
3. Repeat this process for all of the users authorized to use the Administrative tools.
After the users have been added to the system, you can restrict user access for the URLs to only
those users you want to have access to the administrative panel.
To restrict access:
1. From the Web Server Administrative Panel, click the Servers tab so that the list of
servers is shown in the right panel.
2. Click the Manage server button to the right of the server.
The name selected web server’s settings can now be changed.
3. Select the Preferences tab and then select the Restrict Access button.
CHAPTER 4 85
Server Configurations, Utilities, and Component Information
4. In the Editing list box, either type in or browse to the directory where the
administrative panel is located. For the default installation, this location is
c:/netscape/server4/msc/emv. After the path is selected, click the Edit Access
Control button. This displays the Access Control Rules for the selected path, as
shown below.
Access Control Rules
5. Add new lines and allow users to this path by allowing the user to this path.
Clicking the name anyone can be changed to the user that you entered in the
previous section.
A panel appears below the Access Control panel, which allows you to type in a
name or search for user names.
6. After you have entered name in the subpanel, click the Update button.
The Access Control Section is updated along with the user. Now, only the
specified users can access the path listed. Note that the first line must be set to
Deny Anyone to restrict everyone’s access to this path.
86
Replace <emv_root> with the full path of the directory where you installed MSC Enterprise
Mvision.
You must remove this line from the /etc/inittab file before you stop the Xvfb X server.
Replace <emv_root> with the full path of the directory where you installed MSC Enterprise
Mvision.
CHAPTER 4 87
Server Configurations, Utilities, and Component Information
Replace <emv_root> with the full path of the directory where you installed MSC Enterprise
Mvision.
The Xvfb X server is designed in a flexible manner so that it can be started by any user on the
system. Due to security/permission settings on your system, the Xvfb X server might require
root privileges to be started.
where n is the display number you want to have associated with this instance of the XVFB. This
starts the X server without using any installed graphics adapter and loads the OpenGL
extensions to the X server.
You can also use the xinit command, which starts both the X server and the window manager:
/usr/bin/X11/xinit -- -force -vfb -x abx -x dbe -x GLX :n &
You can also add the -vfb flag to the EXTENSIONS line in your .xserverrc file.
To have the XVFB effective at system boot, have the system administrator add the following
entry in the /etc/inittab file:
xvfb:2:respawn:/usr/bin/X11/X -force -vfb -x abx -x dbe -x GLX :n >
/dev/null
This entry causes the X server to start at system boot time and restart automatically if the server
ever exits or dies.
You can run more than one X server at a time, with the following restrictions:
• You cannot use the COSE Desktop.
• You may use multiple instances of the XVFB X server.
• You can use only a single instance of the X server running to a graphics
adapter.
If you have a system with a graphics adapter, and you want to run one or more XVFB X servers
as well as an X server to your graphics adapter, do the following:
1. Start your X server to the graphics adapter:
/usr/bin/X11/xinit
2. From an xterm/aixterm, start your XVFB server:
/usr/bin/X11/X -vfb -x GLX -x abx -x dbe -force :n &
The display number n must to a number other than the one used with the
graphics adapter.
Starting with Maintenance Level 4330-06, the XVFB can be started with depth 8 or
CHAPTER 4 89
Server Configurations, Utilities, and Component Information
depth 24 (24 is the default). To specify depth 8, include -d 8 on the command line.
If the depth is 8, the colorclass will be 3 (pseudocolor). If the depth is 24, the
colorclass will be 4 (truecolor). These are the only colorclasses supported for
XVFB. Depth 8 is not supported for DirectSoft OpenGL.
where sysname is the system name and n is the display number for which you are inquiring.
90
The properties can also be copied as is, but care should be taken to ensure that the correct host
names and ports are specified in the files.
CHAPTER 4 91
Server Configurations, Utilities, and Component Information
All HTML and HTML template file changes are marked with begin and end change markers
embedded in the files. Each change the following files contains the string of characters “2006r1
Change Begin” to indicate the beginning of a change and “2006r1 Change End” to indicate the
end of a change. The following files in the <emv_root>/html directory contain the changes:
alt_mv3x\cae_export.html
alt_mv3x\datadisplayoptions.html
alt_mv3x\datalist.html
alt_mv3x\export.html
alt_mv3x\hierdatalist.html
alt_mv3x\legendtemplatevalues.html
alt_mv3x\login.html
mv3x\cae_export.html
mv3x\datadisplayoptions.html
mv3x\datalist.html
mv3x\export.html
mv3x\hierdatalist.html
mv3x\legendtemplatevalues.html
mv3x\login.html
simple\cae_export.html
simple\emvloginpage.html
simple\export.html
Image tags:
Anchor tags:
Note: This text does not include every possible relative path combination, but
serves only as an example of how a relative path works. In addition, you
must make this change globally to all paths in all HTML template files,
including but not limited to, the tag types shown above.
Please see the provided HTML templates provided with your installation for further examples
of changes you may need to make. These files are located in the directory:
alt_mv3x\login.html
alt_mv3x\querysql.html
alt_mv3x\validatingcriterialist.html- new
alt_mv3x\validatingquery.html- new
mv3x\cae_export.html
mv3x\categorylistselection.html
mv3x\criterialistselection.html
mv3x\datadisplayoptions.html
mv3x\error_querysql.html
mv3x\formattedhardcopy.html
mv3x\login.html
mv3x\logoff.html
mv3x\querysql.html
mv3x\validatingcriterialist.html- new
mv3x\validatingquery.html- new
simple\cae_export.html
simple\logoff.html
uc4\export.html
uc5\export.html
//------------------------
/**
* Handles figure(curve) click events. This displays the figure(curve) in
* java applet graph display in a new window
*/
function FigureImageClickEvent(dsn,an,view_tag) {
94
window.open( "/servlet/EnterpriseMvision/?EMV_RECONNECT_SESSION=yes&
NEXTPAGE=PlotFigure.html&DSN=" + dsn + "&AN=" + an + "&VIEW_TAG=" + view_tag );
}
It may be necessary, though, to move any installation-modified files from the 2001 to the 2002
installation. These files could include configuration files, databases, external functions,
customized HTML templates, and security files into the 2000 installation directory. This also
includes moving files from the web server’s docs/msc directory to the new 2002 docs/msc
directory.
The configuration files that were most likely changed and should be moved are following:
Databases.txt
GroupConfiguration.txt
InitialUrl.txt
The databases directory most likely contains databases that are specific to your installation.
Compare the contents of the 2001 databases and the 2002 databases directories and move the
desired databases and any associated files and directories.
The external functions might contain customized export functions. Compare the contents of the
2001 external_functions and the 2002 external_functions directories and move any modified
file into the 2002 external_functions directory.
The HTML templates most likely contains customized HTML-template pages specific to your
site. If you have modified either the simple, advanced, or alternate advanced interface, it is
recommended that you compare all of your 2001 files with the 2002 files before replacing your
2001 files over the 2002 files. This will allow you to see any 2002 changes that you may want
to take advantage of in your pages. If you have created your pages in its own subdirectory under
the HTML directory, then simply copy that directory to the 2002 HTML directory.
The security file SecUser.txt in the security directory needs to be moved from the 2001 to the
2002 release. This is if you are using the MSC Enterprise Mvision security system that uses this
file.
The Web server docs directory msc will be renamed to msc.<date-time> during the install
procedure. You most likely will have to copy any pages that were modified for your installation
from this directory to the newly installed msc directory for the 2002 release.
from
/iiop/EnterpriseMvision
to
/servlet/EnterpriseMvision
Note: This is an example of the necessary change. Change all references from iiop to
servlet.
3. For the HTML files in the <emv_root>/html directories, change the references from
iiop to servlet for all files.
Add a hidden field EMV_RECONNECT_SESSION wherever the SESSIONKEY field
exists
from
<INPUT TYPE="HIDDEN" NAME="SESSIONKEY" VALUE="${SESSIONKEY}">
to
<INPUT TYPE="HIDDEN" NAME="EMV_RECONNECT_SESSION" VALUE="yes">
not have the form value EMV_RECONNECT_SESSION=yes set in the request, the
Login.html page is returned.
Remove ${SESSIONKEY} references. It no longer has any effect but causes
no harm.
4. For the following individual files, make the indicated changes:
CriteriaListSelection.html
Add the action to the form tag
<FORM NAME="form" METHOD="POST" ACTION="/servlet/EnterpriseMvision/">
QuerySql.html
Add the action to the form
<FORM NAME="form" METHOD="POST" ACTION="/servlet/EnterpriseMvision/">
ColumnHeaderEditor.html
Add the action to the form
<FORM NAME="form" METHOD="POST" ACTION="/servlet/EnterpriseMvision/">
CHAPTER 4 97
Server Configurations, Utilities, and Component Information
ColumnHeaderEditor.html
Add the action to the form
<FORM NAME="form" METHOD="POST" ACTION="/servlet/EnterpriseMvision/">
UnitsSelection.html
Add the action to the form
<FORM NAME="form" METHOD="POST" ACTION="/servlet/EnterpriseMvision/">
DataDisplayOptions.html
Add the action to the form
<FORM NAME="form" METHOD="POST" ACTION="/servlet/EnterpriseMvision/">
GroupSelection.html
Add the action to the form
<FORM NAME="form" METHOD="POST" ACTION="/servlet/EnterpriseMvision/">
DataList.html
Add the action to the form
<FORM NAME="form" METHOD="POST" ACTION="/servlet/EnterpriseMvision/">
Add the MimeFileActionEvent handler
function MimeFileClickEvent(value,dsn,an,iid) {
if (value.substr(0,7) == "http://")
window.open( value );
else
window.open(
"/servlet/AttributeMimeFile/?EMV_RECONNECT_SESSION=yes&NEXTPAGE=PlotFigu
re.html&DSN=" + dsn + "&AN=" + an + "&" + iid );
}
98
Export.html
Add the action to the form
<FORM NAME="form" METHOD="POST" ACTION="/servlet/EnterpriseMvision/">
Add the MimeFileActionEvent handler
function MimeFileClickEvent(value,dsn,an,iid) {
if (value.substr(0,7) == "http://")
window.open( value );
else
window.open( "/servlet/AttributeMimeFile/?
EMV_RECONNECT_SESSION=yes&
NEXTPAGE=PlotFigure.html&DSN="
+ dsn + "&AN=" + an + "&" + iid );
}
Add the SelectedRowsViewsEvent handler that sets the form value
"SELECTEDROWS_0_VIEWS" to the selected view name
function SelectedRowsViewsEvent(obj) {
if (obj.selectedIndex < 0 || obj.selectedIndex >=
obj.options.length) {
alert( "A Property Set or Export View must beselected");
return;
}
ClearExportValues();
document.form.SELECTEDROWS_0_VIEWS.value =
obj.options[obj.selectedIndex].value;
GotoNextPage( "Export.html" );
}
Modify the GotoNextPage function by adding ACTION and PERFORMACTION assign-
ments that set the values to "__EMVTAG_IGNORE_VALUE__"
function GotoNextPage(page) {
document.form.ACTION.value=
"__EMVTAG_IGNORE_VALUE__";
document.form.PERFORMACTION.value =
"__EMVTAG_IGNORE_VALUE__";
document.form.NEXTPAGE.value = page;
document.form.submit();
}
with (document.form) {
// Clear any user settings
for (i=0; i<elements.length; i++) {
if (elements[i].name.substr( 0, 20 ) ==
"EMVVIEWMAPPINGVALUE_") {
elements[i].value = "";
}
}
var s = "${UNITS_0}";
if (s.substr( s.length-11, 11 ) != "_Consistent" &&
s.substr( s.length-11, 11 ) != "-Consistent") {
var msg = "You do not have a consistent Units system selected,
so data values exported may\n" +
"not be correct for your analysis code. Please go back
and change to a consistent\n" +
"Units system, noting that this may require you to change
your numeric queries.\n\n\n" +
"Press 'Ok' to proceed with the action or 'Cancel' to
stop the action.";
return confirm ( msg );
}
return true;
}
Add/edit the following form values. Ensure that they exist in the form during sub-
mission
<INPUT TYPE="hidden"
NAME="SELECTEDROWS_0_VIEWS"
VALUE="__EMVTAG_IGNORE_VALUE__">
<INPUT TYPE="hidden" NAME="ACTION"
VALUE="__EMVTAG_IGNORE_VALUE__">
<INPUT TYPE="hidden" NAME="PERFORMACTION"
VALUE="__EMVTAG_IGNORE_VALUE__">
<INPUT TYPE="hidden" NAME="ACTIONDESTINATION"
VALUE="WEB_CLIENT">
Change the block of code that displays the view actions
from
<B>Possible Actions on data</B>${VIEW_0_ACTIONS}</P>
<INPUT TYPE="submit" NAME="PERFORMACTION" VALUE="Perform Action">
<INPUT TYPE="hidden" NAME="ACTIONDESTINATION" VALUE="WEB_CLIENT">
to
<B>Possible Actions on data</B> ${VIEW_0_ACTIONS}
<A HREF="javascript:onclick=PerformActionPressed(document.form.VIEWAC-
TIONS)">
<IMG SRC="/msc/images/bluego.gif" ALT="Go" WIDTH="25" HEIGHT="21" BOR-
DER="0" ALIGN="ABSMIDDLE"></A>
Note that the action/image "bluego.gif" is used to submit the page for this
action. It calls the function PerformActionPressed with the selected view action
passed as an argument.
CHAPTER 4 101
Server Configurations, Utilities, and Component Information
• CAE_Export.html
The function of these pages are very similar with the exception that they display property sets
and CAE export targets only. To implement this capability into site-specific customized HTML
pages, see the sample interface files included in the installation for Datalist.html,
Export.html, and CAE_Export.html.
102
In MSC Enterprise Mvision 2001/2002 the EMV tags that set and get cookies have been
removed. You are now required to use JavaScript code to set and get the cookie values in the
HTML pages on the client. See the Sample interface file DataList.html for examples on how to
use JavaScript to set and get cookies.
Note: These values are specified at login to insure that the settings are set prior to the
DataList display.
CHAPTER 4 103
Server Configurations, Utilities, and Component Information
These properties control whether clients must use encryption. A series of methods
utilize these properties to set the various operational switches and values for the orb
and initialize encryption.
Important: Logging parameters stored in the properties files are disabled. To
enable this feature, contact your MSC representative.
The encryption key is dynamically generated using an OpenSSL command line
statement, which is read in when the EMV server starts. The orb distributes the key on
demand from the clients using a public/private key encryption paradigm to curtail
‘man in the middle’ attacks. Then, using the key, data is symmetrically
encrypted/decrypted by the client/server. The following diagram documents how
the key is sequentially managed.
OpenSSL command
Security Query
The Security Query enhancement to EMV has been provided to allow configuration of query
clauses that are added to all EMV queries before they are processed.
A method is provided for the custom authorization code to pass back to EMV a set of query
strings, one per database that is constructed when the user logs in. A security string for each
database may be specified and it shall be applied every data access for that user session and
respective database.
The Security Query is an enhancement to the existing Customizing User Login interface that
is implemented in EmvUserLoginDataAPI.dll.
Please refer to the EMV Installation manual and the section called "Customizing User Login
Environment" to understand the basic concepts of how to utilize this interface.
5 Configuration and User Access Files
■ Overview
■ Using MSC Enterprise Mvision Databanks
■ General Administration Functions
■ Legend Display Customization
■ Configuration Files
■ Customizing User Login Environment
■ URL Utilities
■ Implementing Export Functions for MSC Enterprise Mvision
106
Overview
The MSC Enterprise Mvision information system is a Web-based system that is very
flexible and customizable. User’s access to data and the displayed format of that data
is dependent on various configuration files that control these parameters. The MSC
Enterprise Mvision system provides several utilities to assist in creating and
managing these configuration files.
The information provided in this chapter is intended for the MSC Enterprise Mvision
System Administrator who is responsible for the control and content of the
configuration files that determine user access to the data, the on-screen presentation
of the data, and transfer of the data to external applications.
The next sections provides detailed information on MSC Enterprise Mvision
configuration file requirements and syntax. Included are detailed instructions to how
to use the MSC Enterprise Mvision utilities to create or modify the required files and
how to use the Web-based administration panel to perform online updates of the
system. For installation and system operating instructions, refer to Installing MSC
Enterprise Mvision on page 29. The System Administrator is primarily concerned with
the following files:
• SecUser.txt - Defines username and password.
• UserList.txt - Defines user groups and user default settings.
• Databases.txt - Defines access to databanks and data source cross reference.
contains images, the referenced files or images must be in a Web Server docs/
directory and not the <emv_root>/docs/ directory. An alternate method is to change
the databank referenced HTML page references to absolute network paths.
The basic steps required to convert MSC Enterprise Mvision databanks for use in MSC
Enterprise Mvision are:
1. Copy or convert databank and support files.
2. Create a wrapper for the disclaimer.
3. Modify <emv_root>/config/GroupConfiguration.txt and
<emv_root>/config/databases.txt files.
CHAPTER 5 109
Configuration and User Access Files
Note: The current implementation of MSC Enterprise Mvision does not use the
<databank>.index file. This file does not need to be copied.
2. Copy all directories, containing databank-referenced fulltext and image files into
the <emv_databases_dir> directory, preserving the directory names and structure.
3. Create the <databank>.unt file if one does not exist. You can do this either by
creating an empty file named <databank>.unt or by copying the Mvision.unt (if
it exists) to <databank>.unt. See Step 6 below.
4. Copy the file <databank>.dis to <web_server_root>/docs/msc/emv/disclaimers.
5. The <databank>.mapping files, a text file, are the same on Windows XP, UNIX and
Linux, so no changes should be required. An exception is if the file is named
<databank>.des.mapping on the UNIX platform. It must be renamed
<databank>.mapping for use in MSC Enterprise Mvision.
6. The <databank>.unt files on Windows XP, UNIX and Linux are the same. No
changes should be required. An exception is if the unit system name in the UNIX
file contains spaces. These spaces must be removed or replaced with a symbol like
“_” for use by the MSC Enterprise Mvision system. It is further recommended
that you add a default unit system name to the file. This is a line that identifies the
“as created” unit system and does not perform any conversions. This default unit
system will inform the user what unit system the data was created in rather than
presenting the user with the generic term “default”.
7. Create a <databank>.dis disclaimer wrapper for each databank by copying one of
the existing *.jsp files and replacing the databank name in the line:
<!--#include file="aisc.dis" -->
JavaScript in the MSC Enterprise Mvision HTML template DataList.html dis-
plays this <databank>.jsp using the JavaScript function DisplayDis-
claimer(doit). A cookie is also set so that the disclaimer is displayed once per
calendar day. Refer to Creating Databank Disclaimers on page 122 for more infor-
mation.
8. Copy the UNIX version of the form.definitions file or the <databank >.mvform file
associated with the databank being converted and to the <emv_databases_root>
directory.
110
To obtain "in-line plug-ins" for viewing specific documents or image types in the
Netscape browser:
1. Access the Netscape home page http://home.netscape.com.
2. To download the required software in the "Web Tools" section, select "Plug-ins".
3. On the page that appears, select "Search Plug-ins" to search for and download
plug-ins that are currently available for your specific platform, mine type, and/or
file extension.
For the Internet Explorer browser, you have to search the Web for the appropriate
plug-ins.
Most file types (MIME types) are predefined in the supplied version of the MSC
Enterprise Mvision web server software. For special (company-specific) or
non-standard file types, you may be required to set the MIME type /application
association as detailed below.
For Windows XP, to determine if the MSC Enterprise Mvision referenced document or
image type is viewable using the current configuration:
1. Locate the file in the <emv_databases_dir> directory .
2. Double-click the file name.
If the document or image displays correctly, then your existing configuration is
correct for this file type.
To determine the MIME type for a file or image on an Windows platform using Internet
Explorer:
1. Select Tools/options/file types from the menu bar in the window in which the
filename is displayed.
2. Find the file type that you want to view and note the associated MIME type for this
file setting.
3. If the document or image is not viewable, select “New” and follow the instructions
for your system to add a new MIME type to the registry. You must also specify an
application to be used on the client side to display the file. This setting is only for
local use and is not transmitted with the file. When a document or image is
displayed in MSC Enterprise Mvision, the system transmits the file with the MIME
type specified on the server for the specific filename extension being transmitted.
4. To determine the MIME type for a file or image on a UNIX/Linux platform
Display the file or image in your Netscape browser (that is, file:/<full path to
file>) popup menu and select “view page info”. If the MIME type is recognized,
it is stated in the page information.
5. If the MIME type is not recognized, select Edit/Preferences.
6. When the dialog appears, select Navigator/Applications.
112
7. If the document or image is not viewable (listed), select New and follow the
instructions for your system to add the new MIME type. You must also specify an
application to be used on the client side to display this file. This setting is only for
local use and is not transmitted with the file. After you have determined the
current MIME type for the file or image, you must add this MIME type to the
<emv_root>/config/MimeTypeMappings.properties file in order to pass the MIME
type to the client. This typically is one line, the format of the file is <filename
extension>=<mime type>.
You must provide the MIME type and the associated application to your clients to
correctly configure the client browser to recognize the file type received. The client can
then configure the browser to recognize this MIME type and associate it with the
appropriate plug-in or application. Repeat this process for each file name extension
that is referenced in the MSC Enterprise Mvision databank.
To display any document or image that is currently contained in an MSC Mvision
databank and displayed via the MSC Mvision Builder or Evaluator product on a UNIX
platform, the user must configure the client browser to recognize the transmitted
MIME types and invoke the appropriate application.
• For "full text" attributes UNIX/Linux users must configure the browser to
associate the "application" specified in the current MSC Mvision "helpers"
file to the transmitted MIME type.
• For "image" attributes the appropriate "plug-in" must be installed and
associated with the transmitted MIME type.
If an appropriate plug-in is not available, the browser can be configured to
use any application that can be accessed by the client machine. The
application "XV" displays all image types which are currently displayable in
the MSC Mvision Builder and Evaluator product and can be downloaded
from http://www.trilon.com/xv/xv.html.
After installing this application on a UNIX/Linux client, this application can
be invoked through the Netscape browser by setting the
Preferences/Navigator/Applications command to "xv %s" for the required
MIME type and filename extension.
If a plug-in or application is not available to view the MSC Enterprise Mvision
databank as stored image, you can use the UNIX MSC Mvision Builder or Evaluator
"mv_image" program to translate the image to a browser-viewable image type before
copying the image file to Windows XP platform.
To translate an image from one format to another:
1. Choose the appropriate program from the <MSC Mvision_install_dir>/bin
directory.
2. Execute the program with the filename of the image you want translated as the
argument.
CHAPTER 5 113
Configuration and User Access Files
1. Specify the full path for the form.definitions file to be converted. Clicking the
“…” button displays a file selection box for browsing.
2. Specify the full path for the <emv_root>/config/Databases.txt file which
contains the mapping for the data source name and the actual databank location
relative to the <emv_databases_dir> directory. The databank name that the
form.definitions file references must be listed in the Databases.txt file before
running this utility. Clicking the “…” button displays a file selection box for
browsing.
3. Specify the full path for the databank directory, <emv_databases_dir>. All
databanks referenced in the form.definitions file must be relative to this directory.
The Databases.txt file maintains the reference between the data source names
used in the GroupConfiguration.txt file and the actual physical location of the
databanks. The databank names used in the form.definitions file must match
the databank names in the Databases.txt file exactly.
The one exception is when a wildcard is used in the databank name in a form
within the form.definitions file being converted. The utility FormDef2GrpConfig
automatically creates a Navigation View for each databank that matches a form
with a wildcard databank name. For example, if the databank name m*.des is
present in a form.definitions file the same Navigation View is repeated for each
databank name in the Databases.txt that matches (that is, every databank name
that begins with “m”).
CHAPTER 5 115
Configuration and User Access Files
Caution: This file is overwritten without you being prompted so be careful when
specifying this filename.
5. Click the Convert button to start the conversion process. Examine the status
messages of the conversion. All messages should be reviewed and any errors
corrected.
Note: The databanks that are opened during the conversion process are not closed
until the utility FormDef2GrpConfig is terminated. Therefore, rerunning the
utility repeatedly without closing the form opens all the databanks several
times and possibly causes memory overload problems. To clear these memory
errors, terminate and restart the FormDef2GrpConfig utility.
6. To include the contents of the Group Configuration file generated in the previous
step in the current MSC Enterprise Mvision system, modify the generated
GroupConfiguration.txt file as required. Review the contents of the new
GroupConfiguration.txt file and rename the groups or paste the contents of the
Navigation View into an existing Group. Verify that the Navigation View names
are unique within each Group.
7. If a new Group is being created, add the new Group name for the appropriate
users listed in the <emv_root>/config/UserList.txt file. These are the only users
who are to be allowed access to this new Group. If the Group is the first Group
listed for the user in the UserList.txt file it becomes that user’s default Group
(the initial Group for the user when he logs on to MSC Enterprise Mvision). See
General Administration Functions on page 124 for more information.
8. For the above changes to take effect, it is recommended that the MSC Enterprise
Mvision server be stopped and restarted, which causes the appropriate
databanks, views and groups to appear in their respective Selection Lists for all
users. You can also invoke changes to the configuration settings using the
Administrative Panel Interface. Refer to Starting the Administrative Panel
Interface on page 181. This invokes the changes online and alerts the active
clients. After the active users log out and then log in again, all changes are in
effect.
9. After the server has restarted, verify that no errors occurred by viewing the
<emv_root>/logEmvLog.txt file. Look at the end of the file for the last “Starting
EMV ... line and verify that no error messages exist.
Steps 6-9 above applies regardless of which utility is used to modify the configuration
files.
116
Note: When starting the MSC Enterprise Mvision server and loading databanks
using the EMV monitor, (all databanks are loaded when the server starts) you
may be required to increase the “Check_interval” value in the
<emv_root>/config/EmvMonitor.properties file to allow the system enough
time to load all the databanks. This also requires you to exit and reinitiate the
EMV monitor program.
The next option (for UNIX/Linux only) is executing the script file
<emv_root>/bin/FormDef2GrpConfigPrompt . This is identical to the graphical
Interface with no browsing capabilities. The function of this program prompts the
user for the following information:
• Location of the form.definitions file. You must enter the full path for the
form.definitions file, when prompted.
• Location of the Databases list file (Databases.txt). You must enter the full
path for the databases.txt file, when prompted.
• Location of the databank directory. You must enter the full path for the
databank directory, which contains all the appropriate databank and
support files when prompted.
• Location of the Group Configuration (GroupConfiguration.txt). You must
enter the full path for the GroupConfiguration.txt file when prompted.
The third option is to use the <emv_root>/bin/FormDef2GrpConfigCmdLine utility,
which requires the following command line specified arguments when invoking the
utility:
• Location of the form.definitions file, including path, specified as:
-form_file <form_def_file>
• Location of the Databases list file, including path, specified as:
-databases_file <db_file_list>
• Path name of Databank directories specified as:
-databases_path <db_path>
• Location of the Group Configuration, including path, specified as:
-group_config_file <group_config_file>
1. Specify the full path for the databank to create a default Navigation View.
Clicking the “…” button displays a file selection box for browsing.
2. Specify the full path for the <emv_root>/config/Databases.txt file, which
contains the mapping for the data source name and the actual databank location
relative to the <emv_databases_dir> directory. The databank name entered in the
database selection must be listed in the Databases.txt file. Clicking the “…”
button displays a file selection box for browsing.
3. Specify the full path for the <emv_root>/config/GroupConfiguration.txt file.
This is the file where the Navigation View is added. Clicking the “…” button
displays a file selection box for browsing.
CHAPTER 5 119
Configuration and User Access Files
5. Click the Start button to create the default Navigation View. Examine all the
status messages for the default view creation. All messages should be reviewed
and any errors corrected before proceeding to the next step. Also review the
modified file to verify the Navigation View creation and group assignment.
6. For the changes to take effect, we recommend that the MSC Enterprise Mvision
server be stopped and restarted. When the MSC Enterprise Mvision server is
restarted, the new default Navigation View appears in the selection list for the
assigned Group. You can also invoke changes to the configuration settings using
the Administrative Panel Interface. Refer to Starting the Administrative Panel
Interface on page 181. This invokes changes online and alerts the active clients.
After active users logout, then log in again, all changes are in effect. The above
applies regardless of which utility is used to modify the configuration files.
7. After the server has restarted, verify that no errors occurred by viewing the
<emv_root)/Log/EmvLog.txt file. Look at the end of the file for the last “Starting
EMV...” line and verify that no error messages exist.
Steps 6-7 above apply regardless of which utility is used to modify the configuration
files.
120
The next option (for UNIX/Linux only) is executing the script file
<emv_root>/bin/AddDefaultDbNavViewPrompt. The function of this program is
identical to the graphical interface with no browsing capabilities. The script prompts
the user for the following information:
• Location of the Databank file. The user must enter the path for the databank
file to include the .des extension when prompted.
• Location of the Databases list file(Databases.txt). The user must enter the
full path for the databases.txt file when prompted.
• Location of the Group Configuration file (GroupConfiguration.txt). The
user must enter the full path for the GroupConfiguration.txt file when
prompted.
• Group name to assign the default Navigation View. The user can enter a
valid Group name listed in the (GroupConfiguration.txt) file or a new group
name, when prompted.
The third option is to use the <emv_root>/bin/AddDefaultDbNavViewCmdLine utility
that requires the following command-line specific arguments when invoking the
utility:
• Location of the Databank file, including path, specified as:
-database <db_file>
• Location of the Databases list file, including path, specified as:
-databases_file <db_file_list>
• Location of the Group Configuration, including path, specified as:
-group_config_file <group_config_file>
• Valid group name from the file specified for the -group_config_file
argument
The following is an example command invoking the AddDefaultDbNavViewCmdLine
utility:
AddDefaultDbNavViewCmdLine \
-database /Emv2008r1/databases/fatigue.des \
-databases_file /Emv2008r1/config/Databases.txt \
-group_config_file /Emv2008r1/config/GroupConfiguration.txt \
-group Design
When this application is run, it validates the syntax of the file and reports any errors
with the associated line number and actual line. Validation of database information,
such as the data source for a navigation view, column headers, and queries, is also
validated and reported with the associated line number and actual line. This program
122
should be run after making any changes to the GroupConfiguration file and all
reported errors should be addressed prior to incorporating the GroupConfiguration
file with MSC Enterprise Mvision.
<BODY>
<P ALIGN="center">
<PRE>
<%@ include file="databank.dis" %>
</PRE>
<FORM>
<CENTER>
<P ALIGN="CENTER"><INPUT TYPE="BUTTON"
NAME="Close" VALUE="Close"
ONCLICK="javascript: window.close()">
</P>
</CENTER>
</FORM>
</BODY>
</HTML>
To incorporate a MSC Mvision disclaimer file in the MSC Enterprise Mvision, copy the
<databank>.dis file to the <emv_webapp_root>/msc/emv/disclaimers directory. Copy
any existing .shtml file in the disclaimers directory to <databank>.jsp where the
databank name matches the >databank>.dis name you added. Change the “<%@
include” line in the new.jsp file to match the databank.dis file you added.
CHAPTER 5 123
Configuration and User Access Files
If the <databank>.dis and <databank>.jsp files do not exist, the JavaScript in the
DataList.html template attempts to open a page that does not exist and the following
error message displays in a new window:
The DataList.html template file can be modified to search for files in directories other
than <emv_webapp_root>/msc/emv/disclaimers or the disclaimer action can be
disabled by modifying the search paths or actions in the JavaScript function in the
DataList.html template page.
124
Add/Modify a User
If using the standard MSC Enterprise Mvision security method, to add a user to the
MSC Enterprise Mvision system, you must modify the UserList.txt and the
SecUser.txt files. See UserList File on page 142 and Security Files on page 144 for a
description of the file content and structure. Then, you must stop and restart the MSC
Enterprise Mvision server; or update the system using the Administrative Panel
Interface. Refer to Update Group Configuration on page 183.
To add a new user to the MSC Enterprise Mvision system, you must edit the
<emv_root>/security/SecUser.txt file.
Editing SecUser.txt
To edit the SecUser.txt file:
1. Open the file <emv_root>/security/SecUser.txt for editing.
2. Add the new user to this file. Add the User ID, Password and a required zero to
the file. These values are comma separated. See Security Files on page 144 for
details on file content and format.
3. Close and save the SecUser.txt file.
Editing SecQuery.xml
To edit the SecUser.txt file:
1. Open the file <emv_root>/security/SecQuery.xml for editing.
2. For each User ID specified in the SecUser.txt file, you may add an unlimited
number of queries using Mvision query syntax for each database. Set the
dbRestricted value = 'true' to apply the specified constraints to the EMV
Security functionality. See Security Files on page 144 for details on file content
and format.
3. Close and save the SecUser.txt file.
Editing UserList.txt
To add a new user or modify defaults or access for existing users:
• Edit the file: <emv_root>/config/UserList.txt.
CHAPTER 5 125
Configuration and User Access Files
The file UserList.txt contains four columns of data for each user, as shown
in the example below:
• User ID - The User ID column contains the name that the user must type in
when logging into the system. This name must exactly match an existing
name in the SecUser.txt file.The User ID (login name) is case sensitive.
You can create a default user by entering “*” in the User ID column. If this
entry exists, then the system uses the Default Group, Default Units and
Allowed Groups for any user who accesses the system and is not specified in
the user ID list.
• Default Group - The Initial Group is the group that first displays when the
user logs into the MSC Enterprise Mvision system. The initial group also
controls the initial Navigation View that is selected. The system uses the first
Navigation View from the group, as listed in the active
GroupConfiguration.txt file, as the default view for login and when the
group is changed. The default databank is the first datasource listed in the
referenced Navigation View. If the default group is not a valid group, the
system uses the first valid group listed for the user ID.
• Default Unit Systems - The Initial Unit Systems sets the unit system for the
current databank. Each time the user accesses a databank, the system
attempts to set the default units. If this unit system is not available for a
databank then the first unit system in the databank units file <databank>.unt
is used. The specified unit system name must exactly match the unit system
name in the <databank>.unt file to take effect.
• Allowed Groups - The allowed groups specify all of the groups to which the
user has access. Because the groups control the Navigation Views and
databanks, these groups control which databanks and databank rows, via
category queries the user can access. This provides an effective method to
control databank access for different users.
Note: It is possible to change the group by changing databanks because the available
databank list is an aggregate of all of the databanks for all of the allowed
groups.
126
To add or modify user access or defaults, you must edit the UserList.txt file as follows:
1. Open the file <emv_root>/config/UserList.txt for editing.
2. Add or modify the User ID, Default Group, Default Unit System and the allowed
groups which this user is allowed to access. Allowed groups must include the
Default Group. All of the groups entered must be in the active
<emv_root>/config/GroupConfiguration.txt file to be valid groups. If not, an
error occurs when the user attempts to access the invalid group.
3. Close and save the UserList.txt file.
4. For the changes to take effect, it is recommended that the MSC Enterprise
Mvision server be stopped and restarted. You can also invoke changes to the user
access files using the Administrative Panel Interface, Chapter 6. This invokes
changes online and alerts the active clients. After active users logout and login
again, all changes are in effect.
5. After the server has restarted, verify that no errors occurred by viewing the
<emv_root>/log/EmvLog.txt file. Look at the end of the file for the last “Starting
EMV...” line and verify no error messages exist.
Note: The MSC Enterprise Mvision system also provides you with the capability of
specifying the above mentioned user login information from another source
(instead of the default UserList.txt file). Refer to the section on Customizing
UserList.
3. To add a new Navigation View to a new or existing group, add the data shown
below. These lines must be enclosed within the Group: and End_Group; tags to
which the view applies.
A Navigation View must be contained within a GROUP and END_GROUP statement.
Each Navigation View contains the format:
NAVIGATION_VIEW: "<Viewname>";
DATASOURCE: "<datasource name from databases.txt>";
NAVIGATION_TABLE: "the lowest level hierarchical relation name";
CRITERIA;
LABEL: "<Name of Criteria>";
EXPRESSION: "<Expression used to create query>";
OPERATOR: "<Operator used to create query";
VALUE: "<initial value of query>";
END_CRITERIA;
CATEGORY;
LABEL: "<Name of Category>";
COLUMN_HEADERS: "<List of databank expressions or attribute names
separated by commas>";
PROPERTY_VIEW: "<Relation name to perform query on>";
QUERY_STRING: "<Query to apply at all times while this category is
current>";
END_CATEGORY;
END_NAVIGATION_VIEW;
Note: The positioning of the Navigation View in the group is important. The first
Navigation View in the group is always the default Navigation View when the
group is selected.
4. Close and save the file.
5. If a new group is added verify that the group has been assigned to the proper
users in the UserList.txt file. See Add/Modify a User on page 124.
6. For the above changes to take effect, it is recommended that the MSC Enterprise
Mvision servers be stopped and restarted. You can also invoke changes to the
user access and configuration file using the Administrative Panel Interface,
Chapter 6.
7. After the server has restarted, verify that no errors occurred when the server is
restarted by viewing the <emv_root>/log/EmvLog.txt file. Look at the end of the
file for the last “Starting EMV...” line and verify no error messages exist.
128
4. Create a Navigation View for the databank using one of the methods described
below and insert the Navigation View in one or more of the Groups defined in the
GroupConfiguration.txt file.
DATASOURCE: "Analysis";
NAVIGATION_TABLE: "ENVIRONMENT";
CRITERIA;
LABEL: "Category";
EXPRESSION: "CATEGORY";
OPERATOR: "Like";
VALUE: "";
END_CRITERIA;
CRITERIA;
LABEL: "Type";
EXPRESSION: "TYPE";
OPERATOR: "Like";
VALUE: "";
END_CRITERIA;
CATEGORY;
LABEL: "Materials w/ FEA Ready Properties-Detail Listing";
COLUMN_HEADERS: "CATEGORY", "TYPE", "CNAME";
PROPERTY_VIEW : "FEA_PROPERTIES";
QUERY_STRING : "_FEA_PROPERTIES.row_id != 0";
END_CATEGORY;
END_NAVIGATION_VIEW;
5. Verify that a user has access to the group that contains the newly added
Navigation View. If not, edit the <emv_root>/config/UserList.txt file to allow
user access to the group.
6. Stop and restart the MSC Enterprise Mvision Servers or update the configuration
files using the Administrative Panel Interface, Chapter 6.
7. Verify that no errors occurred by viewing the <emv_root>/log/EmvLog.txt file.
8. Log on to MSC Enterprise Mvision as the user that has access to the group that
contains the newly added Navigation View.
9. Change to the group which contains the newly added Navigation View or select
the databank from the databank selection page. Verify that the databank and
view are accessible.
CHAPTER 5 131
Configuration and User Access Files
If this line is commented out or has no value, the original EMV legend positioning and
string length will apply.
The actual positioning of the legend box relative to the Png image and its appearance
is controlled by the Style sheet for the Power User and Advanced Interfaces, which are
located in the EMV web server installation directory: <webserver_context>/msc/emv
The classes that control the Legend formatting are as follows:
Element Definition
DIV.extraheight Controls the spacing between tables in the
Export.html page.
Configuration Files
The following section provides a detailed description of the format and syntax of the
configuration and user access files used in the MSC Enterprise Mvision system.
GroupConfiguration.txt
<emv_root>/config/GroupConfiguration.txt
The ‘users view’ of the databank, which refers to the content and layout of the
retrieved rows in both the flat and hierarchy views of the datalist, the category list,
navigation view, group list, and criteria queries, is controlled by the use of one or more
of the GroupConfiguration.txt, the SecQuery.xml, or EmvUserLoginDataAPI.cpp files.
This section defines use of the file, GroupConfiguration.txt. See “Security Files” on
page 144.
The Group Configuration.txt file defines the “users view” of a databank and allows
data to be grouped into logical units. Each grouping, called a Group, contains one or
more Navigation Views. The Navigation View contains the information that describes
how and what data within a databank is to be displayed. This information includes
Criteria conditions, attribute based queries, used to search the databank’s data and
Categories which define the content and presentation of the data in the Material List
page.
A Group provides you the ability to control access to the databank information, by
creating Navigation Views that contain a particular databank or data sets and
including them in a specific Group. These groups can then be specified in the
UserList.txt file, which controls the user’s access to the predefined databanks or data
sets.
The GroupConfiguration.txt file contains one or many groups, each group containing
one or many views of the available data. Each view is made up of: a data source (for
example, mil5.des) a reference to a specific databank, a navigation table such (for
example, ENVIRONMENT) that defines the lowest level hierarchy table; list of
Criteria definitions that provide pre-defined queries and a list of Categories that
define the Material List’s data content and display format.
The GroupConfiguration.txt file can contain comments. To add a comment to this file,
use the C/C++ notation of /* some comment here */ where the ‘/*’ and ‘*/’ start and
end the comment in the file. The lines in this file can have a maximum line length
100000 characters. Its also possible to split a line into two lines using a carriage return
as long as the carriage return is not between a quoted string.
Note: The current category query is always in effect when the user has selected a
Navigation View (that is, all subsequent queries are added to this base query).
This query restricts the information (which rows in the databank) to which the
user has access.
134
DATASOURCE : "fatigue";
NAVIGATION_TABLE : "TEST_CONDS";
CRITERIA;
LABEL: "Material Name";
EXPRESSION: "NAME";
OPERATOR: "Like";
VALUE: "";
END_CRITERIA;
CRITERIA;
LABEL: "US Designation";
EXPRESSION: "US_SPEC";
OPERATOR: "Like";
VALUE: "";
END_CRITERIA;
CRITERIA;
LABEL: "UK Designation";
EXPRESSION: "UK_SPEC";
OPERATOR: "Like";
VALUE: "";
END_CRITERIA;
CRITERIA;
LABEL: "Physical Form";
EXPRESSION: "SOURCE";
OPERATOR: "Like";
VALUE: "";
END_CRITERIA;
CRITERIA;
LABEL: "Heat Treatment";
EXPRESSION: "HEAT_TREAT";
OPERATOR: "Like";
VALUE: "";
END_CRITERIA;
136
CRITERIA;
LABEL: "Test Temperature";
EXPRESSION: "TEST_TEMP";
OPERATOR: "Like";
VALUE: "";
END_CRITERIA;
CRITERIA;
LABEL: "Orientation";
EXPRESSION: "ORIENTATION";
OPERATOR: "Like";
VALUE: "";
END_CRITERIA;
CRITERIA;
LABEL: "Microstructure";
EXPRESSION: "MICROSTRUCT";
OPERATOR: "Like";
VALUE: "";
END_CRITERIA;
CRITERIA;
LABEL: "Min. Modulus";
EXPRESSION: "E";
OPERATOR: ">=";
VALUE: "";
END_CRITERIA;
CRITERIA;
LABEL: "Min. Yield Strength";
EXPRESSION: "SY_MONO";
OPERATOR: ">=";
VALUE: "";
END_CRITERIA;
CRITERIA;
LABEL: "Min. Cyclic Yield Strength";
EXPRESSION: "SY_CYCL";
OPERATOR: ">=";
VALUE: "";
END_CRITERIA;
CRITERIA;
LABEL: "Min. Ultimate Strength";
EXPRESSION: "SU";
OPERATOR: ">=";
VALUE: "";
END_CRITERIA;
CHAPTER 5 137
Configuration and User Access Files
CATEGORY;
LABEL: "List ALL Materials";
COLUMN_HEADERS: "NAME", "US_SPEC", "UK_SPEC", "SOURCE",
"HEAT_TREAT", "TEST_TEMP", "ORIENTATION", "MICROSTRUCT";
PROPERTY_VIEW : "TEST_CONDS";
QUERY_STRING : "true";
END_CATEGORY;
CATEGORY;
LABEL: "Property Data";
COLUMN_HEADERS: "NAME", "US_SPEC", "UK_SPEC", "SOURCE",
"HEAT_TREAT", "TEST_TEMP", "ORIENTATION", "MICROSTRUCT";
PROPERTY_VIEW : "PROPERTY";
QUERY_STRING : "_PROPERTY.row_id != 0";
END_CATEGORY;
CATEGORY;
LABEL: "Stress vs Strain Curves";
COLUMN_HEADERS: "NAME", "US_SPEC", "UK_SPEC", "SOURCE",
"HEAT_TREAT", "TEST_TEMP", "ORIENTATION", "MICROSTRUCT", "SIGvsEPS";
PROPERTY_VIEW : "SIGvsEPS";
QUERY_STRING : "(SIGvsEPS EX) and (_SIGvsEPS.row_id != 0)";
END_CATEGORY;
CATEGORY;
LABEL: "Strain Amp vs Life Curves";
COLUMN_HEADERS: "NAME", "US_SPEC", "UK_SPEC", "SOURCE",
"HEAT_TREAT", "TEST_TEMP", "ORIENTATION", "MICROSTRUCT", "EPSvsLIFE";
PROPERTY_VIEW : "EPSvsLIFE";
QUERY_STRING : "(EPSvsLIFE EX) and (_EPSvsLIFE.row_id !=
0)";
END_CATEGORY;
CATEGORY;
LABEL: "Max Stress vs Life Curves";
COLUMN_HEADERS: "NAME", "US_SPEC", "UK_SPEC", "SOURCE",
"HEAT_TREAT", "TEST_TEMP", "ORIENTATION", "MICROSTRUCT", "SIGEPSvsLIFE";
PROPERTY_VIEW : "SIGEPSvsLIFE";
QUERY_STRING : "(SIGEPSvsLIFE EX) and (_SIGEPSvsLIFE.row_id
!= 0)";
END_CATEGORY;
138
CATEGORY;
LABEL: "Show ALL Curves";
COLUMN_HEADERS: "NAME", "SIGvsEPS", "EPSvsLIFE", "SIGEPSvs-
LIFE";
PROPERTY_VIEW : "SIGvsEPS";
QUERY_STRING : "(SIGvsEPS EX) and (_SIGvsEPS.row_id != 0)";
END_CATEGORY;
END_NAVIGATION_VIEW;
The following table describes the labels (tags) and statements used in the
GroupConfiguration.txt file. In general, the file syntax requires all values to be within
double quotes and that each line is terminated with a semicolon.
Note: For more information on MSC Enterprise Mvision query language and syntax,
refer to the MSC Enterprise Mvision Builder and Evaluator User’s Guide and
Reference, or the help information provided in MSC Enterprise Mvision
“Advanced Search” page.
CHAPTER 5 141
Configuration and User Access Files
Databases.txt
<emv_root>/config/Databases.txt
The Databases.txt file contains the data source file mapping (cross reference) to the
MSC Enterprise Mvision databanks. This file contains a list of rows for data source
mappings. Each row contains a data source label (name) and an MSC Enterprise
Mvision databank name. The data source label can be any combination of
alphanumeric characters. The data source label can not contain spaces. The databank
name must be relative to the <emv_databases_dir> directory and must exactly match
the databank filename. The third entry is an optional databank specific cache size
specified in kilobytes.
The file entries are order dependent and must be comma delimited as shown in the
following example:
Super, SuperDb.des, 1000
User, UserDb.des, 50000
XYZ, Xyz.des
Note that the Data Source XYZ does not have a cache size specified. For this databank
a default of 8000k is used. If no cache size is specified, or if the value is less than 1 or
greater than 100,000, the default of 8000 is automatically used. Some consideration
should be given to specifying the cache size. This effects the system performance. If
the cache size is too small, the system performance decreases due to paging when
handling large amounts of data. If the cache size is too large, available memory is
wasted. Typically 50% of the databank size is adequate, but you may want to adjust
this value to determine optimum performance.
The Databases.txt file can contain comments. To add a comment to this file, add a ‘#’
to the beginning of the line you want ignored by the system. This must be the first
character in the line. The lines in this file can have a maximum line length 2560
characters. Do not split a line into two lines using a carriage return.
142
The following table is an example of column entries for the Databases.txt file.
UserList File
<emv_root>/config/UserList.txt
The UserList.txt file contains the user names and default parameters for users who
are allowed to access MSC Enterprise Mvision. The default (initial) group, the default
(initial) unit systems, and the groups that are available to a specific user are specified
in this file. Only those groups that are listed in the “Allowed Groups” are available to
the user and are displayed in the Group Selection list.
For each user, the databanks that are available to that specific user is a collection of all
of the databanks specified in the navigation views for the groups to which the user has
access. The “allowed groups” provide a method to limit user access to specific data by
creating groups that contain only a specific set of databanks with predefined views of
the data. Any group not listed in the UserList.txt file is not accessible by any user.
The group names must exactly match the group names as stated in the
GroupConfiguration.txt file.
The following table is an example of column entries for the UserList.txt file.
• Third item is the default units system (this should match a valid units system
name as defined in the primary <databank>.unt file to which the user has
access).
• Fourth and subsequent items are a comma-delimited listing of all groups to
which the user has access.
You can create a default user by entering “*” in the user ID column. If this entry exists,
then the system uses the default group, default units, and allowed groups for any user
who accesses the system and is not specified in the listed user ID.
Note: The “Default Group” must also be listed in the “Allowed Groups”.
The file entries are order dependent and must be comma delimited as shown in the
following example:
SuperUserClarkKent, SuperUser, US-Customary, User, SuperUser
NormalUserLoisLane, User, SI-Customary, User
In the example above all the views in groups User and SuperUser are available to
SuperUserClarkKent. But the user NormalUserLoisLane does not have access to the
SuperUser group. Also in the above example the users have different “Default
Groups” which is the second parameter. If the default group is not a valid group the
system uses the first valid group that is listed for “Allowed Groups”.
The third parameter sets the user’s “Default” units system. Each time a databank is
accessed the system attempts to set the default units file system. The “Default Units”
entry must match the DB label in a databank’s units file. Otherwise, the databank
default, the first unit system listed in the <databank>.unt file establishes the active
unit system.
The UserList.txt file can contain comments. To add a comment to this file, add a ‘#’ to
the beginning of the line you want ignored by the system. This must be the first
character in the line. The lines in this file can have a maximum line length of 2560
characters.
To split lines across two or more lines, use a back slash character (/) at the end of the
line, as shown below.
SuperUserClarkKent, SuperUser, US-Customary, User, \
SuperUser
NormalUserLoisLane, User, SI-Customary, User
Refer to Add/Modify a User on page 124 for specific information on the use of this file.
Note: The MSC Enterprise Mvision system also provides you with the capability of
specifying the above mentioned user login information from another source
(instead of the default UserList.txt file). Refer to the section on Customizing
UserList.
144
Security Files
<emv_root>/security/SecUser.txt
The SecUser.txt file contains the user names and password that the standard MSC
Enterprise Mvision security system uses to validate user authorization for access to
the system. The file is a listing of rows composed of three comma-delimited fields:
• User name
• Password
• Required field, which is always 0
The MSC Enterprise Mvision system reads this file each time a user attempts to
connect to the MSC Enterprise Mvision server to validate the user ID and password
before allowing the user access to the data. If the validation fails, an error message is
returned. As installed from the MSC Enterprise Mvision CD-ROM, the standard MSC
Enterprise Mvision security is in effect. The installed software contains a default user
of “guest” with a password of “emv” as the only entry in the file
<emv_root>/security/SecUser.txt. You should remove this user to prevent
unauthorized access to your MSC Enterprise Mvision system.
CHAPTER 5 145
Configuration and User Access Files
You can also create your own security API using the files provided in the
<emv_root>/src/Security_api directory. For the Windows XP platform, use the
skeleton project. Modify the .dsp (Visual Studio project) file, and the .cpp (C++ Source
Files) and header files to create and compile your site specific user validation system.
For the UNIX/Linux platform, modify the makefile, the C++ source files and header
files to compile your custom API program. When you have created your custom API,
replace the MSC Enterprise Mvision supplied API executable in the
<emv_root>/bin/.bin directory and reinitiate the system.
The SecUser.txt file entries are order dependent and must be comma delimited as
shown in the following example:
SuperUserClarkKent, HI, 0
NormalUserLoisLane, Bye, 0
The following table is an example of column entries for the SecUser.txt file.
SuperUserClarkKent HI 0
NormalUserLoisLane Bye 0
<emv_root>/security/SecQuery.xml
The SecQuery.xml file augments the capability of the UserList.txt and
GroupConfiguration.txt files to filter the data that the authorized user of a databank
can view. As such, it can also be used to reduce the size and complexity of the
GroupConfiguration.txt file, which tends to grow in direct proportion to a
company’s security requirements. The functionality implemented in SecQuery.xml,
can be replicated and automated using the DatabaseQueryFilter() method in the
EmvUserLoginDataAPI. An example project can be found in the directory
<emv_root>/src/EmvUserLoginDataAPI, which can be modified, compiled, and used in
place of the library distributed with MSC Enterprise Mvision. See
“EmvUserLoginDataAPI.cpp” on page 152.
Since the SecQuery.xml file is XML-encoded, the first section of this file is devoted to
schema definition. The section that follows may be modified to meet security
requirements. In this file:
• the ‘user name’ refers to the User ID’s specified in the UserList.txt file
• the ‘database name’ refers to the name used as the DATASOURCE value in the
GroupConfiguration.txt file, which is cross-referenced to the binary
Mvision databank name in the Databases.txt file
• the ‘query’ is the value inserted between the ‘database’ tags.
For each ‘user’, only those databases listed in the SecQuery.xml file are filtered. The
user is denied or allowed access to all unlisted databases, supplementing the
conditions set by the UserList.txt and the GroupConfiguration.txt files. Each query
is valid for the duration of a session, unless the server is reset, at which time all user
sessions are terminated. In the following example, the user with User ID, guest, is
limited to viewing Chapter 2 of the MSC Mvision Demo Metals databank, Aluminum
Alloy LM25TB in the MSC Mvision Fatigue Databank, Chapter 7 of MSC Mvision
Mil-HDBK 5 Databank, and Graphite fiber in the MSC Mvision Fiber Databank.
<SecurityQuery>
<user name = 'guest'>
<database name = 'demo_metals'>chapter='2'</database>
<database name = 'fatigue'>name='AL ALLOY LM25TB'</database>
<database name = 'mil5_new'>chapter='7'</database>
<database name = 'fiber'>cname='GRAPHITE'</database>
</user>
</SecurityQuery>
The dbRestricted value specifies the default query behavior. If dbRestricted =
"false" access for any installed database which is missing from the Database list is
allowed, subject to the default configuration. If dbRestricted = "true", access for any
installed database which is missing from the listed databases is denied.
CHAPTER 5 147
Configuration and User Access Files
These queries are implemented when the file is saved and the EmvServer is restarted
or updated via the Admin Panel. For use of the Admin Panel, see
148
Customizing UserList
The MSC Enterprise Mvision system has the capability of obtaining user login-related
information (User ID, Default Group, Default Units, Allowed Groups) from various
sources. MSC Enterprise Mvision, when installed with its default configuration,
obtains the user login related information from the flat text file UserList.txt. In MSC
Enterprise Mvision, the capability of obtaining this information from a user-defined
source has been provided. This capability is implemented through the use of a
DLL/Shared Library (EmvUserLoginData.dll / EmvUserLoginData.so).
An example project can be found in the directory
<emv_root>/src/EmvUserLoginDataAPI, which can be modified, compiled, and used in
place of the library distributed with MSC Enterprise Mvision.
To take advantage of this new capability, the MSC Enterprise Mvision system
administrator can implement the above-mentioned DLL/Shared Library with the
interfaces described below and then replace the old library in <emv_root>/bin (on
Windows platforms) or <emv_root>/lib (on UNIX platforms) with the new one.
CHAPTER 5 149
Configuration and User Access Files
.
.
.
class IUserLoginData {
public:
///////////////////////////////////////////////////////////////////////////////
// This method is intended for the purpose of establishing a connection to
// a user defined data source, initializing any user data, etc.
//
// int initUserLoginData (const void* handle)
//
// Input:const void*handle-For future use
//
// Return:intstatus- 0 = Success
// 1 = Failure
///////////////////////////////////////////////////////////////////////////////
virtual int initUserLoginData (const void* handle) = 0;
///////////////////////////////////////////////////////////////////////////////
// This method is intended for the purpose of re-establishing a connection to
// a user defined data source, initializing any user data, etc. This is typically
// called when the administrator updates the Group Configuration information
// from the Admin.jsp URL.
//
// int reInitUserLoginData (const void* handle)
//
// Input:const void*handle-For future use
//
// Return:intstatus-0 = Success
// 1 = Failure
///////////////////////////////////////////////////////////////////////////////
virtual int reInitUserLoginData (const void* handle) = 0;
///////////////////////////////////////////////////////////////////////////////
// This function retrieves user login information for a given user. Its purpose
// is to retrieve the users’ ID, Default Group, Default Units, and all Groups the
// user belongs to from a user defined data source.
// The function should allocate the required memory for the output strings, and
// the caller will free the allocated memory through the use of freeUserLoginData().
// Therefore, it is important that the proper combination of allocation and
// de-allocation methods are implemented.
// i.e.
// If 'malloc' is used, then use 'free' in 'freeUserLoginData()'
// If 'new' is used, then use 'delete' in 'freeUserLoginData()'
//
//
150
///////////////////////////////////////////////////////////////////////////////
// This function de-allocates the user login data strings that are passed in.
//
// If 'malloc' is used in 'getUserLoginData', then use 'free'
// If 'new' is used in 'getUserLoginData', then use 'delete'
//
// void freeUserLoginData (constvoid*handle,
// char*user_id,
// char*default_group,
// char*default_units,
// char*allowed_groups)
//
//
// Input:const void*handle-For future use
// char* user_id -Users’ User ID
// char* default_group-Users’ Default Group
// char* default_units-Users’ Default Units
// char* allowed_groups-List of Groups the user belongs to
//
// Output:None
//
// Return:None
//
///////////////////////////////////////////////////////////////////////////////
virtual void freeUserLoginData (const void* handle, char* user_id,
char* default_group, char* default_units,
char* allowed_groups) = 0;
};
.
.
.
CHAPTER 5 151
Configuration and User Access Files
#include "IUserLoginData.h"
public:
// IUserLoginData Interface
int initUserLoginData (const void* handle);
#endif // EMV_USERLOGINDATA_API_H
152
EmvUserLoginDataAPI.cpp
.
EmvUserLoginDataAPI::EmvUserLoginDataAPI ()
{
}
if (strcmp(user_name, "guest") == 0)
{
// Memory allocated for the following strings will be
// de-allocated using a subsequent call to 'freeUserLoginData'
*user_id= strdup ("guest");
*default_group= strdup ("Design");
*default_units= strdup ("AsStored");
*allowed_groups= strdup ("Design,Aero,Auto");
}
return 0;
}
if (user_id != NULL)
free (user_id);
if (default_group != NULL)
free (default_group);
if (default_units != NULL)
free (default_units);
if (allowed_groups != NULL)
free (allowed_groups);
}
CHAPTER 5 153
Configuration and User Access Files
Customizing SecUser
The MSC Enterprise Mvision system has the capability of validating user login
information (User ID, Password, DataBank Authorization, and so on) through an external
source. MSC Enterprise Mvision, when installed with its default configuration,
validates the user login information using the flat text file SecUser.txt. The validation
of user login information is implemented through the use of a DLL/Shared Library
(SecurityAPI.dll/SecurityAPI.so).
An example project can be found in the directory <emv_root>/src/ Security_api,
which can be modified, compiled and used in place of the library distributed with
MSC Enterprise Mvision.
In order to take advantage of this capability, the MSC Enterprise Mvision system
administrator can implement the above mentioned DLL/Shared Library with the
interfaces described below and then replace the old library in <emv_root>/bin (on
Windows platforms) or <emv_root>/lib (on UNIX platforms) with the new one.
154
////////////////////////////
// Message display interface
////////////////////////////
class ISecurityMsg {
public:
virtual void secDisplayInfoMsg( const char *msg ) = 0;
virtual void secDisplayWarningMsg( const char *msg ) = 0;
virtual void secDisplayErrorMsg( const char *msg ) = 0;
};
////////////////////////////////
// Customized Security interface
////////////////////////////////
class ISecurity {
public:
#if defined(SUNS) || defined(RS6K)
///////////////////////////////////////////////////////////////////////////////
// This method determines whether a user is authorized to access a
// given database.
//
// int isUserAuthforDb (const char *username, const char *db_name)
//
// Input:const char*username-User Name
// const char*db_name-Database Name
//
// Return:intstatus - 1 = Success (user is authorized)
// 0 = Failure (user is not authorized)
///////////////////////////////////////////////////////////////////////////////
virtual int isUserAuthforDb( const char *username, const char *db_name ) = 0;
///////////////////////////////////////////////////////////////////////////////
// This method determines whether a user is authorized to access the system
//
// int isUserPasswordValid (const char *username, const char *password, const int
client_type)
//
// Input:const char*username-User Name
// const char*password-User Password
// const intclient_type-Type of Client accessing the system
// 0 = WEB Client
// 1 = Integrated Client
//
// Return:intstatus - 1 = Success (user is authorized)
// 0 = Failure (user is not authorized)
///////////////////////////////////////////////////////////////////////////////
virtual int isUserPasswordValid( const char *username, const char *password, const
int client_type ) = 0;
CHAPTER 5 155
Configuration and User Access Files
ISecurity.h (con’t.)
#else
///////////////////////////////////////////////////////////////////////////////
// This method determines whether a user is authorized to access a
// given database.
//
// int isUserAuthforDb (const char *username, const char *db_name)
//
// Input:const char*username-User Name
// const char*db_name-Database Name
//
// Return:boolstatus - true = Success (user is authorized)
// false = Failure (user is not authorized)
///////////////////////////////////////////////////////////////////////////////
virtual bool isUserAuthforDb( const char *username, const char *db_name ) = 0;
///////////////////////////////////////////////////////////////////////////////
// This method determines whether a user is authorized to access the system
//
// int isUserPasswordValid (const char *username, const char *password, const int
client_type)
//
// Input:const char*username-User Name
// const char*password-User Password
// const intclient_type-Type of Client accessing the system
// 0 = WEB Client
// 1 = Integrated Client
//
// Return:boolstatus - true = Success (user is authorized)
// false = Failure (user is not authorized)
///////////////////////////////////////////////////////////////////////////////
virtual bool isUserPasswordValid( const char *username, const char *password, const
int client_type ) = 0;
#endif
};
#endif // ISECURITY_H
156
#include "ISecurity.h"
// **********
public:
// ISecurity Interface
#if defined(SUNS) || defined(RS6K)
int isUserAuthforDb( const char *username, const char *db_name );
int isUserPasswordValid( const char *username, const char *password, const int client_type );
#else
bool isUserAuthforDb( const char *username, const char *db_name );
bool isUserPasswordValid( const char *username, const char *password, const int client_type );
#endif
private:
#endif // EMV_SECURITY_API_H
CHAPTER 5 157
Configuration and User Access Files
EmvSecurityAPI.cpp
include "StdAfx.h"
#if defined(WIN32) || defined(LINUX)
#include <string.h>
#else
#include <strings.h>
#endif
#include "EmvSecurityAPI.h"
// **********
// **********
// **********
// **********
#if defined(SUNS) || defined(RS6K)
int EmvSecurityAPI::isUserPasswordValid( const char *username, const char *password,
const int client_type )
{
// Always return true for now until implemented
return 1;
}
#else
bool EmvSecurityAPI::isUserPasswordValid( const char *username, const char *password,
const int client_type )
{
// Always return true for now until implemented
return true;
}
#endif
158
URL Utilities
To assist in monitoring the status of the MSC Enterprise Mvision server and to
diagnose or trace system errors, the MSC Enterprise Mvision system provides URL
utilities.
This displays the build number of the system and system modification times for MSC
Enterprise Mvision related files, similar to the page shown below:
System Build Number and Modification Times.
To use the EMVLog utility, enter the following URL in your browser:
http://<hostname>/msc/emv/EmvLog.html
EmvLog.html displays an HTML page containing two frames. The top frame contains
a row-count selector and the bottom frame displays the last “X” number of lines in the
<emv_root>/log/EmvLog.txt file similar to the page shown below. The row-count
selector redisplays the bottom frame’s contents when the button to display the
contents (Show Log) is clicked. The indicated count is used in the bottom frame for the
row count.
CHAPTER 5 159
Configuration and User Access Files
};
CHAPTER 5 161
Configuration and User Access Files
The following is an example for defining a view “Iso” with three attributes and two
actions:
view Iso
{
e: double;
g: double;
nu:double;
The attribute types currently supported are “string”, “integer”, and “double”.
The view declaration defines a structure in a schema named “Util”. This is significant
because it affects where the Perl code for the ISO view is generated (See Step 7 in this
section).
The view mappings available for a database entity are defined as follows:
extension schema_name::entity_name
{
ViewMapping view_name() perl;
};
The following is an example for defining a view mapping from mil17a to the Iso view:
extension mil17a::ENVIRONMENT
{
ViewMapping Iso() perl;
};
The IdcGenPerl executable generates Perl code, then tests the Perl customization
environment by running tests to validate that both Perl is available and that the Perl
code was generated properly. The IdcGenPerl program utilizes the schema.odl file in
<emv_root>/external_functions and the list of databases in the
<emv_root>/config/Databases.txt file.
For each view structure defined and database entity extension in the schema.odl file,
a Perl package is generated in the file
<emv_root>/external_functions/idc_perl/IDC/<schema_name>/<struct_name>.pm.
The initial values can be overridden by passing in a value for a data member in the
argument list to new().
To create an object with default values use:
$var_name = new IDC::schema_name::structure_name;
For example:
$result = new IDC::Util::Iso;
To create an object with passed in initial values use:
$var_name = new IDC::schema_name::structure_name( att_1 => value_1 [, att_2 => value_2, …
] );
For example:
$result= new IDC::Util::Iso( nu => .3, e => 30.0 );
The test() method validates that the generated code performs correctly. It uses the
testInit() function to set the data members to values different from the default. (for
example, setting array attributes to actual arrays of values instead of empty arrays).
The testMethods() method validates that the package
IDC_CUSTOMIZATION::schema_name::structure_name exists and that each method
works when passed a test object.
The AUTOLOAD method is used to provide simple data member access and
modification methods. These methods are utilized in the following section. The access
and modification methods take the form of
• $obj->attribute_name for access
• $obj->attribute_name($value) for modification
The methods newFromXmlFile(), readXml(), writeXmlFile(), and writeXml() are used
to communicate data between Perl and XML files.
• The method newFromXmlFile() creates a new object and initializes the
values to those found in the XML file. It takes a single string argument
containing the XML file name.
• The method readXml() is used by the newFromXmlFile() method. In
addition, it is used by the readXml() method of other objects that contain the
current one.
• The method writeXmlFile() writes an object to a XML file. It takes a single
string argument containing the XML file name.
• The method writeXml() is used by the writeXmlFile() method. In addition, it
is used by the writeXml() method of other objects that contain the current
one.
164
This package can be developed with the generated Perl packages, MSC Enterprise
Mvision utility packages located in <emv_root>/external_functions/idc_perl, and
any Perl package available.
The MSC Enterprise Mvision utilities packages are IDC_CORE::MimeFile and
IDC_CORE::EngValue.
The package for view structures should contain the implementation of the action
methods defined for the view. Each action function has a single argument which is a
reference to the object being operated on. Each action function should return a
reference to an IDC_CORE::MimeFile object.
View structure packages should be similar to the following:
Package IDC_CUSTOMIZATION::<schema_name>::<struct_name>;
use IDC::<schema_name>::<struct_name>;
use IDC_CORE::MimeFile;
sub <action_1_name>
{
my $self = shift;
my $result = new IDC_CORE::MimeFile;
#
# Write to file
#
return $result;
}
For example:
package IDC_CUSTOMIZATION::Util::Iso;
CHAPTER 5 165
Configuration and User Access Files
use IDC::Util::Iso;
use IDC_CORE::MimeFile;
sub writeMat1 {
my $self = shift;
my $result = new IDC_CORE::MimeFile;
$result->mime_type( "txt" );
my $fh = $result->file();
print $fh "MAT1 " . $self->e . ", " . $self->nu . "\n";
return $result;
}
sub writeFile {
my $self = shift;
my $result = new IDC_CORE::MimeFile;
$result->mime_type( "txt" );
my $fh = $result->file();
print $fh "MAT1 " . $self->e . ", " . $self->nu . "\n";
return $result;
}
1;
The package for database entities contain the implementation of the view mapping
methods defined for the view. Each view mapping method has a single argument
which is a reference to the object being operated on. Each action function returns a
reference to the mapped view object.
The package for database entities should be similar to the following:
Package IDC_CUSTOMIZATION::<schema_name>::<struct_name>;
use IDC::<schema_name>::<struct_name>;
use IDC::<view_1_schema_map>::<view_1_name>;
use IDC::<view_2_schema_map>::<view_2_name>;
sub <view_1_name>
{
my $self = shift;
my $result = new IDC::<view_1_schema_name>::<view_1_name>;
#
# Do mapping
#
return $result;
}
166
For example:
package IDC_CUSTOMIZATION::mil17a::ENVIRONMENT;
use IDC::mil17a::ENVIRONMENT;
use IDC::Util::Iso;
sub Iso {
my $self = shift;
my $result = new IDC::Util::Iso;
return $result;
}
The implementation of the methods are required to access and modify the data
members of objects.
Data members can be accessed using $self->attribute_name.
The type of value returned depends on the type of attribute as shown in the following
table:
...PASSED
The testClass.pl file is an example script to execute the test functions on a single
package. To test a particular package, the testClass.pl file must be copied and
modified to refer to the package to be tested.
Executing the testClass.pl script does not print the reason for the test failure.
Contents of testClass.pl:
#
# testClass.pl
#
# This perl script is used to test the methods in
# IDC_CUSTOMIZATION::mil17a::ENVIRONMENT.
#
# It's purpose is to test a specific class and its
customizations
#
# Specify the library path for the IDC perl packages
use lib "<emv_root>/external_functions/idc_perl";
# Use generated package
use IDC::mil17a::ENVIRONMENT;
# Executed test methods
IDC::mil17a::ENVIRONMENT::test();
IDC::mil17a::ENVIRONMENT::testMethods();
If the tests on the generated code fail, please contact your MSC.Software
representative.
If a test on user-written code fails, use the debugExample.pl script to determine the
nature of the problem. The debugExample.pl script is an example script to execute the
user-written function directly.
To debug a particular package, copy and modify the debugExample.pl script to refer
to the package to be debugged. Calls to the methods to be tested must be added. If
there are problems in the execution of the debugExample.pl script, then Perl prints
the reason for the problem.
Contents of debugExample.pl:
#
# debugExample.pl
#
# This perl script is used to debug the methods in
# IDC_CUSTOMIZATION::Util::Iso.
#
# It purpose is to allow the IDC customization methods to be
debugged.
#
# Specify the library path for the IDC perl packages
use lib "<emv_root>/external_functions/idc_perl";
# Use the package being debugged
170
use IDC_CUSTOMIZATION::Util::Iso;
# Create an test object
$input = IDC::Util::Iso->new();
# Initialize values
$input->testInit();
# Execute function to be tested
IDC_CUSTOMIZATION::Util::Iso::writeMat1( $input );
Builder. If you are using MSC Enterprise Mvision on an Windows XP platform, then
you must use the “C” files created as instructed for MSC Enterprise Mvision Builder
and perform the following:
On the Windows XP platform, to build an export external function requires the
Microsoft Visual Studio 6.0 complier and linker. A build environment can be created
using the following steps:
• Use a shell or Windows Explorer to create a new folder named my_export in:
<emv_root>/external_functions/mv_export:
i.e. <emv_root>/external_functions/mv_export/my_export
• Copy your (UNIX/Linux) template and “C” files that make up the external
function into the newly-created folder.
The Export external functions must initially be built by using the bat file,
<emv_root>/external_functions/mv_export/bin/MakeExpfunc.bat. This script
generates another specific bat file named Makefile.bat for recreating your
expfunc.exe executable. This is similar to the UNIX Makefile used for MSC Mvision
Builder.
• In the my_export folder, start up a shell program to execute the bat script
MakeExpfunc.bat.
<emv_root>/external_functions/mv_export/bin/MakeExpfunc.bat
• If compile or link errors occur, edit the source files and run the Makefile
generated from the initial bat script.
<emv_root>/external_functions/mv_export/my_export/Makfile.bat
The view mappings are communicated to MSC Enterprise Mvision through the
databank mapping file. The view appears in the CAE export page. The export
template file defines the structure of the views. In addition, the CAE export template
files define a single action for each view.
The action defined for the view is available on the CAE export page when the view is
selected. When the action is selected, the export external function executable
associated with the action is executed. The file generated by the Export external
function can then be viewed and/or downloaded from the browser.
END_HEADER;
174
...
FigureErrorstatus;
ErrorData err;
Figure*fig;
FigureCurves curves[4];
doublexCoords[] = {30.7887, 117.165, 233.745, 317.489, 367.393, 433.368, 506.412, 572.267,
618.3, 648.111};
doubleyCoords[] = {99.9112, 95.8308, 93.8191, 91.541, 87.3643, 77.2756, 63.2524, 51.0398,
42.9486, 38.1552};
doublexScatter[]= {27.5294, 86.4622, 142.168, 193.789, 252.116, 292.221, 332.583, 373.842,
427.261, 471.567, 507.59, 536.579};
doubleyScatter[]= {98.8258, 88.223, 78.949, 72.4369, 66.6613, 64.1956, 62.9704, 61.9436,
59.9718, 57.583, 55.7585, 52.7723};
doublexRange[] = {100.5, 100.5, 200, 400};
doubleyRange[] = {44.25, 60, 50, 50};
doublexRunOut[] = {650, 700, 600};
doubleyRunOut[] = {90, 80, 100};
...
/* ---------------------------------------------------------------------- */
EfAllocReturnData( 1, 1, &return_data );
/* ---------------------------------------------------------------------- */
/* Find out how many materials are to be exported, and */
/* acquire memory to store filenames and file pointers. */
ExportGetNumRecords( input_data, &n_records );
/* ---------------------------------------------------------------------- */
/* Find out the name that the user gave us for the first material. */
/* If the first filename is NULL, choose a default name. */
OPEN_FILES( input_data, &filenames, &files, "NASTRAN", "NASTRAN", "$ ", "" );
fig[i-1].sXAxisName= "TEMP";
fig[i-1].sYAxisName= "%YS_B";
fig[i-1].sFigDescription= "Temperature; Percent Room Temperature Modulus";
fig[i-1].nXAxisType= LINEAR;
fig[i-1].nYAxisType= LINEAR;
fig[i-1].sXAxisUnit= "deg_C";
fig[i-1].sYAxisUnit= "%";
fig[i-1].nCurves= 1;
CHAPTER 5 175
Configuration and User Access Files
curves[0].nPlotCode= SOLID_CURVE;
curves[0].nRunOutFlag= FALSE;
curves[0].nCurvePoints= 10;
curves[0].dXCoords= xCoords;
curves[0].dYCoords= yCoords;
curves[1].nPlotCode= SCATTER_POINTS;
curves[1].nRunOutFlag= FALSE;
curves[1].nCurvePoints= 12;
curves[1].dXCoords= xScatter;
curves[1].dYCoords= yScatter;
curves[2].nPlotCode= RANGE_BARS;
curves[2].nRunOutFlag= FALSE;
curves[2].nCurvePoints= 4;
curves[2].dXCoords= xRange;
curves[2].dYCoords= yRange;
curves[3].nPlotCode= RUN_OUT_POINTS;
curves[3].nRunOutFlag= FALSE;
curves[3].nCurvePoints= 3;
curves[3].dXCoords= xRunOut;
curves[3].dYCoords= yRunOut;
free (fig);
fclose (dat_file);
...
fprintf(files[i-1], "$\n" );
fprintf(files[i-1], "$ This record will be written as an "
"isotropic material with\n$ constant elastic "
"properties.\n" );
fprintf(files[i-1], "$\n" );
...
}
176
Attributes ALPHA, TREF, ST, SC, SS, K and CP, have editable values in the Web page.
CHAPTER 5 177
Configuration and User Access Files
From:
TEMPLATE None "expfunc" " write_nastran_iso_none";
To:
TEMPLATE None "expfunc" "";
To see this behavior in the Emv system, restart the EmvServer. Then, select a material
from the material list and display it in the export page. The export target list will
contain this name by default. To filter this name from the export page’s target list,
navigate to the Data Display Options page. Set the Filter Export Targets option to Yes,
and then return to the export page. The MSC_NASTRAN_2001.Isotropic.None selection
178
will not be in the list. If this is the desired default behavior, in the login page set the
new EMV tag FILTEREXPORTTARGETS to true. To change this behavior, change the
following tag specification in the <install_dir>/html/mv3x/Login.html,
<install_dir>/html/alt_mv3x/Login.html or
<install_dir>/html/simple/Login.html files:
From:
<INPUT TYPE="HIDDEN" NAME="FILTEREXPORTTARGETS" VALUE="false">
To:
<INPUT TYPE="HIDDEN" NAME="FILTEREXPORTTARGETS" VALUE="true">
Log off the system and then log back on. Then, repeat the procedure to display a
material in the export page. Notice that by default, the name is missing the export
target list. To turn off the export target list filtering, set Filter Export Targets to No.
6 Administrative Panel Interface
■ Overview
■ Starting the Administrative Panel Interface
■ Administrative Commands
180
Overview
This chapter includes information about the Administrative Panel Interface. The Panel
Interface allows you to update (invoke changes to user access or system configuration
files) for the MSC Enterprise Mvision system online. Changes can be invoked without
stopping and restarting the server. This means client access is not interrupted. All
active clients are alerted to the changes in real time, and the changes are in effect for
all active users when the individual users log out and then log in again.
Note: The Administrative Panel Interface is used to update MSC Enterprise Mvision
user access and configuration pages. If you modify any of the
<emv_root>/config/.properties or the <emv_root>/web_server_files/config
files, you must stop and restart the MSC Enterprise Mvision servers and/or
web server for these changes to take effect.
CHAPTER 6 181
Administrative Panel Interface
3. Type in the host name or IP address of the machine on which a MSC Enterprise
Mvision server is running. If you are using the Administrative Panel on the same
host on which the MSC Enterprise Mvision server is running, you can enter
localhost as the “host name”.
4. Enter the port number that the MSC Enterprise Mvision server is listening on. This
information can be found in the <emv_root>/config/Emv.properties file this is
the value of ooc.boa.port property.
5. After you have supplied the required inputs, click the Connect To Server button.
This causes the Administrative Panel to connect to the specified server. A status
message appears at the bottom of the page.
On a successful connection, the following text appears:
Status of action 'Connect To Server' : Success
On a failure, an error message appears similar to the following message:
Status of action 'Connect To Server' : The connection to the Emv Server is
currently not established or not functioning. Re-establish connection to the Emv
Server and verify that the Emv Server is running properly.
The previous error message indicates that the MSC Enterprise Mvision server is
not running properly. To correct the problem, restart the MSC Enterprise Mvision
server and repeat the above procedure again.
CHAPTER 6 183
Administrative Panel Interface
Administrative Commands
After you have established a connection between the Administrative Panel and a active MSC
Enterprise Mvision server, the following commands are available to update the system online.
Update Users
The Update Users command reloads the SecUser.txt, SecQuery.xml and UserList.txt files
enabling log on and group access. If a user is currently logged on and is removed from the
SecUser.txt or UserList.txt files, the user is allowed to complete the current session, but
is not allowed to log back into the system. The removed user will get an unauthorized message
on login. If an active user is allowed access to new groups by updating the system, the access
to these added groups is not available until the user logs out and logs in again.
The functionality for reloading the SecUser.txt is currently supported in the Security API
provided with MSC Enterprise Mvision. Because the Security API can be customized on a
site-by-site basis using the Security API framework provided, the SecUser.txt file may not
be reloaded nor used. This depends on the customization of the SecurityAPI for your specific
site. Check with your MSC Enterprise Mvision System Administrator.
Adding a valid user to the system requires that each user has an authorization line in both the
SecUser.txt and UserList.txt files that specifies the default group, default units and
allowed groups. If a default user “*” has been implemented in the UserList.txt file, then the
system uses the listed default group, units and allowed groups for any user name not specified
in the UserList.txt file.
Reload Databanks
The Reload Databanks command displays a page, similar to the page shown below. This page
allows you to select databanks to reload. The page provides options to notify the users
connected to these databanks that the change is either a change to the databank's data or to its
schema (structure).
Reload Databanks Panel
The Databanks list displays the data source names of the available databanks listed in the
Databases.txt file. Its important to note that the databanks visible to the users are collected
from the navigation views for each group that the individual user has access to use. The listing
in the Reload Databanks Panel is a list of all databanks in the Databases.txt file, not just the
databanks for a specific user. You can select one or more databanks to update. Select the
Update Type for either Data Only or Schema and Data as required.
• Data Only indicates that the data in the database changed but the schema
did not. This includes adding, deleting or modifying data but not adding,
deleting or changing any of the attribute or table definitions. This is the usual
case when the command is applied. The result is to reload the selected
databanks and modify the states of each user connected to these databanks.
This includes clearing selected rows, queries and displaying the
DatabaseUpdatedDataOnly.html template page. Use this option to update
databank support files such as .unt and .mapping files.
The DatabaseUpdatedDataOnly.html page contains the functionality to
determine the next page and how it displays. Each implementation requires
this page to handle the Database Update Data Only function.
CHAPTER 6 185
Administrative Panel Interface
• The Schema and Data option indicates that anything could have changed in
the databank. When the command is applied the result is to reload the
selected databanks and remove all users that are connected to these
databanks from the system. This requires that the users restart their sessions.
The DatabaseUpdatedSchemaAndData.html page displays and controls
the next action. Each implementation requires this page to handle the
Database Update Schema and Data function.
After the databanks and the databank update type have been selected, click the Update
Databanks button. This notifies all the connected users that the update has occurred
by displaying the corresponding update notification page on the next page request for
each user.
To return to the main panel, select the link Back To the Main Panel link.
Note: When using the Administrative Panel Interface, a user name/password dialog
box may appear that requires you to type in a valid user name and password.
See the sections of this guide for information on LDAP and restricting access to
URLs using the iPlanet web server.
186
A Installing FLEXlm
■ Overview
■ Installing FLEXlm for a New UNIX/Linux Server
■ Installing FLEXlm on a New Windows XP Server
■ Replacing Codes on an Existing UNIX/Linux Server
■ Replacing Codes on an Existing Windows XP Server
■ Installing FLEXlm Using a Nodelock File
■ MSC_LICENSE_FILE vs LM_LICENSE_FILE
■ Additional Documentation
188
Overview
The following steps are a summary of FLEXlm installation procedures for MSC
Enterprise Mvision. For more specific information, or information on integration with
other products using FLEXlm, consult the FLEXlm documentation. See Additional
Documentation on page 195.
When MSC Enterprise Mvision executes, it locates the FLEXlm license file, license.dat,
which contains the name of the FLEXlm license server node and the port number with
which to communicate with the license manager daemon, lmgrd.
The lmgrd daemon determines what node and port are associated with the vendor
daemon, msc, and returns that information to the MSC Enterprise Mvision system.
The application then contacts the vendor daemon which grants licenses if they are
available.
Note: FLEXlm licensing for MSC Enterprise Mvision requires that a valid license be
available for the application and all MSC Mvision databanks. If FLEXlm is
currently installed at your site and the FLEXlm license server is available on the
platform for which MSC Enterprise Mvision is installed, you can integrate the
MSC Enterprise Mvision license with the existing license file and set the
MSC_LICENSE_FILE environment variable on the MSC Enterprise Mvision
host platform to the required <port>@<hostname>. This can be set on
Windows XP platforms using Control Panel/System/Environment.
APPENDIX A 189
If you install MSC Enterprise Mvisionon a Windows XP platform, you can select
FLEXlm during the install/setup process and use the “Setup Wizard” (as shown
above) to install the FLEXlm software on your machine, or to configure the installation
to use an existing FLEXlm license server.
If you install MSC Enterprise Mvisionon a UNIX/Linux platform and you need to
install the FLEXlm server software on this platform select the FLEXlm product option
during the mscsetup process and follow the instructions provided by the mscsetup
script.
You can also use the mscsetup utility to create an Authorization Request form. Send
this form to your MSC.Software sales representative to obtain your permanent license.
The first 5 lines license.dat file are comments. These lines can be removed or
ignored.
The 6th line license.dat file is the SERVER line:
• SERVER must be in all caps, followed by the hostname, the lmhostid, and the
port the daemon runs on.
• The hostname can be determined by typing “hostname” on the machine you
are using as your license server. Replace “UNKNOWN” in the license.data
file with this hostname.
• To verify the Imhostid, execute a program with the argument “ id.” If the
lmhostid is not correct, new license codes must be generated. Contact your
local MSC Software Sales Representative.
• The port is set to 1700 by default, but can be any valid port. If you don’t know
which ports are valid, use the default.
The 7th line in the license.data file is the DAEMON line.
• DAEMON must be in uppercase characters, followed by MSC which also
must be in uppercase. The third field on this line is the path to the msc
vendor daemon executable. The vendor daemon executable is found in the
FLEXlm directory. If your installation directory is /msc, then this executable
is found in /msc/flexlm/<arch>/msc where <arch> is machine dependent
term.
APPENDIX A 191
The following is an example of a modified license.data file for a license server running
on a Solaris platform. In this example, the server name is kasane, the installation
directory is /msc, and the port number 1701 is used.
# The authorization line length has necessitated display on multiple
# lines. A “\” is used to signify a line continuation. Please enter
# the codes exactly the way they are printed, including the “\”
# continuation character.The VENDOR_STRING field on a feature line must be
# entered on one line only, and not span more than one line.
SERVER kasane 72767c4d 1701
DAEMON MSC /msc/flexlm/solaris/msc
FEATURE M_MATERIALS_EVALUATOR MSC 2000.0801 01-AUG-2000 5
5C22EC5AE79928E63033 \
FEATURE M_MATERIALS_SELECTOR_DB MSC 2000.0801 01-AUG-2000 600
CC0207085167EC550247 \
Using the ‘lmgrid’ argument do not execute this as root, it may create a security risk
on your network If the license.dat file is located in <flexlm_root>/flexlm/licenses,
this script starts the following daemons:
• lmgrd - the server daemon
• msc - the vendor daemon
• Make the license.dat file available on each client. The default location is
/<flexlm_root>/flexlm/licenses/licenses.dat.
Important: During this process, users will lose contact with the license server, and
will not be able to access modules, and so on. This should not adversely
affect the system, but it is advisable to have all users exit MSC
Enterprise Mvision until it is completed.
You should now be able to run MSC Enterprise Mvision products using the new
licenses. If for some reason this fails, stop and restart the daemons as follows:
#<installation_dir>/bin/lmdown -c <path>/license.dat
#<installation_dir>/bin/lmgrd -c <path>/license.dat
194
Important: During this process, users will lose contact with the license server, and
will not have access to the MSC Enterprise Mvisionserver. This should
not adversely affect databases, but it is advisable to have all users exit
MSC Enterprise Mvision until it is completed.
UNIX/Linux
setenv MSC_LICENSE_FILE /<fullpath>/license.dat
APPENDIX A 195
Windows XP
Set the value of the MSC_LICENSE_FILE variable to /<fullpath>/license.dat
under Control Panel\System\Environment.
MSC_LICENSE_FILE vs LM_LICENSE_FILE
By default, all FLEXlm products use the environment variable LM_LICENSE_FILE to
define the location of the license file (that is, license.dat), or the server and port
number (that is, 1700@servername) for floating licenses. This includes MSC Enterprise
Mvision products.
This presents a problem, however, when MSC Enterprise Mvision is used in the same
environment with other products (CAD packages, solvers, and so on) that also use
FLEXlm. If the LM_LICENSE_FILE variable is set to the MSC Enterprise Mvision
license file location, these other products may not locate their licenses correction and
vice versa.
For this reason, all MSC products use their own variable, MSC_LICENSE_FILE, to
identify the location of the license file, or the server and port number for floating
licenses. The MSC.Software Corporation recommends using MSC_LICENSE_FILE for all
MSC products. However, the variables MSC_LICENSE_FILE and
LM_LICENSE_FILE are equivalent.
If both environment variables are set, MSC Enterprise Mvision will use the
MSC_LICENSE_FILE setting first.
If you need more information on LM_LICENSE_FILE, consult the Globetrotter
supplied documentation (see Additional Documentation on page 195).
Additional Documentation
To obtain additional information for FLEXlm products, visit the Globetrotter Web
page. If you have Internet access, set your browser to:
http://www.globetrotter.com/
For additional information on iPlanet Web Server, Enterprise Edition, visit the iPlanet
Web Page. If you have Internet access, set your browser to:
http://docs.iplanet.com/docs/manuals/enterprise.html
196
B Using the Batch Builder
After the variables are set, you can run MvBatchBuilder.exe from the DOS or CSH
shell window.
Note: The MSC_LICENSE_FILE variable must also be set prior to executing
MvbatchBuilder.exe.
APPENDIX B 199
Using the Batch Builder
The Batch Builder program offers some unique capabilities not available in the MSC
Mvision Builder’s graphical user interface (renaming attributes and relations;
assignment and modification of synonyms; deleting attributes and relations; deleting
data rows by query; and editing of all attribute parameters.)
Exercise caution: The Batch Builder program does not have the same level of error
checking and verification capabilities of the MSC Mvision Builder’s graphical user
interface. Be sure to save a copy of your data before attempting something new or
doing something that may have a detrimental effect on your data.
200
This option can be used in the same manner as the interactive spreadsheet. The
navigation methods are documented in the Building MSC Mvision Databanks and a
help file can be accessed from within the spreadsheet. The syntax for entering data
and commands in cells is the same as is recorded in the session file from the
interactive product with slight modifications. For example: from interactive session
file MvSpreadsheetCommand("A3=‘‘:=select(""mil5.des"",A2:F2,A1)‘‘" ) for
MvBatchBuilder input - A3=‘:=select("mil5.des",A2:F2,A1)‘ in general the command
202
is not quoted and all input must be enclosed within "back tics". See “Spreadsheet
Syntax Example” at the end of this section.
15) Setup - Initiates menu to set log, session, message, and buffer parameters.
16) Session File - Initiates menu to execute or convert session files.
Execute Session File: With this option you can execute any session file created using
the interactive product. This includes any build functions or spreadsheet functions
(general query and browse functions are not recorded in the session file). You may
want to set the "MV_ALLOW_ERRORS_IN_PLAYBACK" variable to 1, before using
this option or the session file terminates on the first error encountered.
Type in Command: This option allows you to type in and execute "any" command
found in a session file from the interactive product. The syntax is the same as it is in
the session file.
Entering Selections
At the following prompt, enter a selection:
Enter Selection (X to exit menu) >
Opening Databanks
Use the following menu to navigate to and open MSC Mvision databanks. Note: Selecting
‘Other’ allows the user to type a directory name in which the program looks for databank files.
Open Databank Menu (Current Directory=<emv_root>\databases)
1) <emv_root>
2) demo_metals.des
3) Show all files
4) Other
Enter Selection (X to exit menu) >
APPENDIX B 203
Using the Batch Builder
Changing Units
The following menu converts databank values to alternate units systems determined
by the databank.unt file for the current databank.
Change Units Menu
1) Default Units
2) SI-Customary
3) SI-Consistent
4) US-Consistent
Enter Selection (X to exit menu) >
Creating Databanks
The following menu creates a databank from a define file or Express schema file.
Create Databank Menu
1) Check Define File
2) Read Define File
3) Read Express Schema File
4) Exit
Enter Selection (X to exit menu) >
Showing Databanks
Show Databank Menu
1) Query - Enter query to active set.
Note: The syntax for the query input is the same syntax that is used for the interactive
product. For example: cname such as’*AL*’ or sizeof(_property_rows) > 0
would be valid queries for mil5.des. Note that the query only returns the
"number" of rows found and not the actual data. See “Query Syntax Example”
at the end of this section.
2) Select - Extract specific attribute values.
Note: This option operates in the same manner as the "spreadsheet select" feature in
the interactive product. This option is a "dynamic select", the select is applied
to the entire databank. When a "field" is specified the relation (table), and the
parent relations (higher level tables), that contains that field (attribute) are
automatically retrieved and the specified query is applied to these relations.
For the DPI example "select (material | cname | cname like "*AL*")" you would
APPENDIX B 205
Using the Batch Builder
enter the field "cname" and then the query cname like ’*AL*’ (notice the single
quotes). Any field or query that is valid for the interactive spreadsheet select is
valid for this option. Note this option returns a listing of the requested data. See
Select Syntax Example at the end of this section.
3) List Tables - Lists all relation names, type, and number of rows.
4) Show Table - Choose specific relation, list relation and attributes.
5) List Attributes - Lists all attributes and their parameters.
6) Show Attribute - Choose specific attribute and display parameters.
7) List Named Conditions - List named queries.
8) Exit - Quit menu.
Enter Selection (X to exit menu) >
Modifying Schema
Modify Schema Menu
1) Create Attribute - Add attribute to databank.
2) Edit Attribute - Modify existing attributes and synonyms.
3) Delete Attribute - Remove attribute from databank.
4) Rename Attribute - Change name of existing attribute.
5) Create Table - Add hierarchy or data relation.
6) Create Subtable - Add a dependent relation.
7) Delete Property Table - Remove data relation from databank.
8) Rename Table - Change name of existing relations.
9) Create Named Condition - Name a query.
10) Delete Named Condition - Remove name from query.
11) Exit - Quit menu.
206
Initiate Spreadsheet
The following menu is a text-driven spreadsheet (enter spreadsheet commands).
Spreadsheet
A B C
+----------------+----------------+----------------+
1
2
3
4
5
+----------------+----------------+----------------+
6
7
Enter spreadsheet command (? for help) <cr> to cancel >
The following are control functions for text spreadsheet.
U n - Up n Rows PU n - Page Up n Pages
D n - Down n Rows PD n - Page Down n Pages
L n - Left n Columns PL n - Page Left n Pages
R n - Right n Columns PR n - Page Right n Pages
CW - Set Cell Width DV - Display Cell Value
DW - Set Display Width DE - Display Cell Equation
DH - Set Display Height DF - Display Cell Format
@ addr - Locate Cell addr to upper left of display
APPENDIX B 207
Using the Batch Builder
A B C
+----------------+----------------+----------------+
1
2
3
4
5
+----------------+----------------+----------------+
6
7
Enter spreadsheet command (? for help) <cr> to cancel >
Query
density <= .1
Query
density >= .1
Query
density != .1
Query
E11t > E22T
Query
E11T/DENSITY > 10
Query
E11T > 20.005
Query
E11T < 20.5
Query
E22T > 20
Query
density .1 <x> 10
Query
type like ’gold’
Query
density exists
Query
ys_t < 17.5
Query
POISSON_R exists
Query
e11t > 10
Query
e11t > e22t
Query
type like ’al*’
Query
test_temp > 65
Query
type like ’woods’
Query
type like ’tin*’
Query
type like ’nylon*’
Query
type like ’*glass’
Query
type like ’cork’
Query
type like ’*steel*’
Query
cname like ’pig tin’
Query
cname like ’*steel*’
Query
cname like ’*steel’
Query
cname like ’steel*’
APPENDIX B 211
Using the Batch Builder
Query
cname like (null)
Query
cname like ’*606*’
Query
cname like ’*6?6*’
Query
cname like ’*606?’
Query
cname like ’?606*’
Query
cname like ’10e10’
Query
cname like ’&’
Query
cname like ’(*)’
Query
cname like ’*-t6’
Query
cname like ’$’
Query
canme like ’2*’
Query
property_rows[1].cname
Query
LENGTH (cname) > 10
Query
MECHANICAL.row_id = 2
x
Close Databank
x
Yes
Select
’CNAME : ’ + cname + ’ UNS : ’ + uns
temp
cp
D1=‘:=read("test","t")‘
‘recomputeall‘
?
D
D 4
U
U 4
R
R 4
L
L 4
CW 10
Cw 20
Cw 16
DW 20
DW 40
DW 10
DH 20
DH 40
DH 12
PD
PD 4
PU
PU
PU 4
PR
PR 4
PL
PL 4
@ D40
@ A1
Close Databank
test.des
x
214
C Troubleshooting MSC Enterprise
Mvision
■ Overview
■ Emv Monitor Fails to Start (Windows XP)
■ Emv Server Starting Repeatedly from the EmvMonitor
■ A Server Fails to Start
■ Large Property Curve/Figure Image Fails to display
■ JSP pages for Administration Panel fails on Windows XP
Overview
This appendixes describes steps to solve some of the more common problems
encountered with the installation and operation of MSC Enterprise Mvision.
5. Click the Advanced button to display the options on how “XLS” file types interact
with the Windows environment. The following dialog appears.
6. Clear the selection of the Browse in same window check box, and then click the
OK button.
This tells the Windows environment not to use Internet Explorer to display Excel
spreadsheets when downloading Excel spreadsheets from the Web.
Downloading files to Internet Explorer fails when
SSL is enabled
Sometimes, downloading a file such as a Excel spreadsheet or a full text file fails to
correctly download the file. This is a known issue with Microsoft Internet Explorer.
Microsoft provides a fix on how to resolve the issue with the various browsers. See the
following Microsoft Knowledge Base Article that discusses how to resolve this
problem
http://support.microsoft.com/default.aspx?scid=3Dkb;en-us;q323308
APPENDIX C 221
Troubleshooting MSC Enterprise Mvision
2. To do this, edit the type ‘application/vnd.ms-excel’ and remove the ‘.xla’ mime
file type.
Troubleshooting the Formatted Report Generator
Logo Fails to Display in PDF or HTML
If the path to a company logo image is incorrect or contains spaces or characters (i.e.
%, _, 1, etc.), the PDF hardcopy may not be generated or may be generatd with the path
to the file printed in the footer in place of the image.
Open a browser window, log into EMV, select to display a material and “PDF
Report”.Navigate to the <emv_install_dir>/bin/filesFromLastRun directory and open
the log file with a text editor to evaluate the PDF Report Generation process. You will
need to identify errors in this file and attempt to repair the installation. It is suggested
that you open a command window and copy the contents of the filesFromLastRun
directory into a test directory, set the path to the LaTeX or MiKTeX bin directory, and
APPENDIX C 223
Troubleshooting MSC Enterprise Mvision
step through the execution steps defined in the GeneratePdfReport file. A detailed
description of the PDF Report Generation Process can be found in the MSC Enterprise
Mvision User Interface Implementation Guide.
224
I N D E X
MSC Enterprise Mvision Installation and System Administration Guide
FLEXlm html 35
additional information 195 directory, contents of 36, 37
Control Panel icon, checking 192 HTML template files 144
daemon to start on reboot 191
installation overview 188
installing on UNIX server 189
license system 35
I
IDEA 66
license.dat 189, 192
Implementing export functions for MSC
license.dat on UNIX/Linux 193
Enterprise Mvision 170
license.dat on Windows XP 194
install
LM_LICENSE_FILE variable 195
directory, contents of 36
lmgrd 191
Installation
lmhostid 189
device selection 48
lmreread 193
directories 35
MSC_LICENSE_FILE variable 192, 195
Integrated Client (UNIX/Linux) 41
nodelock codes 194
Integrated Client (Windows) 41
replacing codes 193, 194
LaTeX 31
stop and restart service 194
preparing for 19
Windows XP server 192
prerequisites 31
Force daemon to read new license file 193
procedure (UNIX/Linux) 42
Formatted HTML Hardcopy 31
removing CD-ROM 47
selecting directory 49
selecting products for 50
G size of 19
General administration functions 124 UNIX/Linux 47, 48, 49, 50
GeneratePDFReport.bat file 58 updating an MSC Enterprise Mvision 27
Global Properties 71 verifying 55
Global.properties file 65, 69, 71 Windows 39
parameters of 72 Installing MiKTeX 32
GrepDataList tag, changes to 102 Installing MSC Enterprise Mvision
GroupConfiguration.txt file 133 on UNIX 42
on Windows 39
preface to 16
H using superuser privileges (UNIX/
Linux) 42
Hardware
with mscsetup (UNIX/Linux) 45
requirements 17
with setup.exe 39
Windows XP 17
Installing Mvision databanks 60
Hardware requirements
Installing the Integrated Client
disk space 22
UNIX/Linux 56
memory 22
Installing the LDAP database 83
RAM 22
swap space 22
UNIX/Linux 19
HP kernel settings 23
228 INDEX
MSC_LICENSE_FILE 192
MSC_SDM_IC_PROPERTIES_FILE
R
environment variable 41, 57 RAM 22
mscinfo 21 RC2 66
MscIntegratedClient.properties file 73 Replacing license file
mscsetup 45, 47 on UNIX/Linux 193
application options and prerequisites 52 on Windows XP 194
authorization form 52 Report Generation
custom 51 options 31
deselect 51 Report Generator 58
device selection 48 bat file 58
installation directory 49 configuring 58
selecting products 50 EmvHardcopies.properties file 58
standard install 51 formatted HTML 31
MsgListener Interface 81 PDF 31
XML 31
Required changes for Netscape Enterprise
N Server EMV 2002 101
Required configuration settings for iPlanet
Nodelock codes 194 Web Server 65
Required databank content modification 107
Required hardware & software
O configurations 21
Obtaining an MSC Enterprise Mvision Required software
license file java 20
UNIX/Linux 189 LaTeX 20
Windows XP 192 on the client (UNIX/Linux) 21
on the client (Windows XP) 19
on the server (UNIX/Linux) 20
P on the server (Windows XP) 18
web servers 20
Paging disk space 22 Requirements before installing MSC
Paths and server names, checking 190
Enterprise Mvision 31
PDF Report Generator Running Batch Builder 200
installing LaTeX 31
perl
directory, contents of 36, 37
Placing license file on server 189, 192
S
Preparing for installation 19 Scratch disk space 22
Previous release of MSC Enterprise Mvision, Security
updating 61 Login query 104
Ps-tricks 34 SSL Encryption of the Integrated Client
103
security
Q directory, contents of 36, 37
files 144
Query syntax example 209 Security Queries 104
230 INDEX