3 #log files localization
6 Username=`/usr/bin/whoami`
8 # kill OmniNames if exists
10 #killall -q -9 omniNames
14 mkdir -m 775 ${BaseDir}/logs
15 mkdir ${BaseDir}/logs/${Username}
16 touch ${BaseDir}/logs/${Username}/dummy
17 \rm -f ${BaseDir}/logs/${Username}/omninames* ${BaseDir}/logs/${Username}/dummy ${BaseDir}/logs/${Username}/*.log
19 echo "Name Service... "
21 omniNames -start $1 -logdir ${BaseDir}/logs/${Username} &
23 # In LifeCycleCORBA, FactoryServer is started with rsh on the requested
24 # computer if this Container does not exist. Default is localhost.
25 # Others Containers are started with start_impl of FactoryServer Container.
27 # To start dynamically Containers on several computers you need to :
28 #1. define your ~/.omniORB.cfg file with a computer name and port number
29 # example : ORBInitRef NameService=corbaname::dm2s0017:1515
30 #2. start omninames with this port number in runNS.sh
31 # example : omniNames -start 1515 -logdir ${BaseDir}/logs/${Username} &
34 echo "to list contexts and objects bound int the context with the specified name : showNS "