CORBA 2.3.3 Programmer's Guide for C++ (NonStop CORBA 2.3.3+)
Table Of Contents
- CORBA 2.3.3 Programmer's Guide for C++
- Legal Notice
- Contents
- About This Guide
- Chapter 1. Introduction to NonStop CORBA Programming
- Chapter 2. NonStop CORBA Administrative Environment
- Chapter 3. Compiling and Building an Application
- Chapter 4. Deploying a NonStop CORBA Application
- Chapter 5. Tracing and Debugging Applications
- Chapter 6. Writing Scalable Applications
- Chapter 7. Managing Transactions
- Chapter 8. Writing Multithreaded Applications
- Chapter 9. Designing Advanced Applications
- Chapter 10. Porting CORBA Applications to NonStop CORBA
- Chapter 11. Writing Wrappers for Legacy Clients and Servers
- Appendix A. Architectural Walkthrough
- Appendix B. Object References
- Appendix C. Servant Reference Counting in NonStop CORBA
- Index
# Start a PATHMON environment:
# 1. Get "default" volume name. This is where the PATHCTL file is
# created by PATHMON. We'll create the PATHMON log file there as well.
# 2. Blindly create the PATHMON log file. If it is already there, ignore
# the error.
# 3. Start the PATHMON process
PMLOG=$(info_define -detail =_DEFAULTS | awk '/VOLUME/ {print $3}').${PATHMON}LOG
gtacl -c "fup create $PMLOG" > /dev/null 2>&1
gtacl -c "pathmon/name \$$PATHMON,nowait,out $PMLOG/"
sleep 1
# Configure the pathway server pool.
# The command line below turns into something similar to either:
# gtacl -p pathcom $XNDM << eof
# or
# gtacl -p pathcom $XNDM > pathcom.log << eof
# depending on whether the "verbose" option was passed to this script.
# This causes the chatty pathcom output to sent to a file under normal
# circumstances. If one wants to see the pathcom input, use the -v
# option when invoking this shell script.
[[ -z $VERBOSE ]] && USELOG=TRUE
eval gtacl -p pathcom \\\$${PATHMON} ${USELOG:+"> pathcom.log"} <<eof
set pathway maxassigns 8
set pathway maxparams 8
set pathway maxserverclasses 4
set pathway maxserverprocesses 10
set pathway maxstartups 40
set pathway maxtcps 0
set pathway maxterms 0
set pathway maxdefines 27
set pathway maxpathcoms 8
set pathway maxspi 8
set pathway maxlinkmons 16
set pathway maxexternaltcps 0
set pathway maxprograms 0
start pathway cold !
[ Bank server
reset server
set server processtype oss
set server pri 150
set server cwd $PWD
set server program $PWD/bank
set server hometerm $G_HOMETERM
[ SQL defines
set server DEFINE =acctcat, class catalog, subvol $SQLCAT
set server DEFINE =accttab, class map, file $SQLTAB.accttab