Runaway proadsv

GregTomkins

Active Member
Any advice on this problem? The KB has a couple of similar sounding articles that didn't help.

1. A single HPUX server with both 91E and 101C installed. 91E runs normally including proadsv, ns, etc.

2. I am attempting to start a second proadsv / ns using the 101C licence. The KB implies this is no problem (though it doesn't specifically deal with the possibility of multiple versions). Yes, I understand the need to specify a unique -port and -adminport.

3. proadsv seems to start normally, consumes about 30 secs of CPU (seems like a lot, but, whatever) then quiets down. Log files look OK, proadsv -query and ps both look OK.

4. Try to start a name server using nsman. Yes, I understand the need to specify the -port.

5. Result? nsman hangs, and proadsv goes to 99% CPU utilization. The PID has to be kill -9'd.

6. The same thing happens if you try to do proadsv -stop, whether you do nsman in between or not. This implies that the problem is in proadsv, not nsman.

Any advice?
 
You have to use always the -port , for all statements, and for the NameServer give another name (NS3), another udp/port :

take a look to this sample script:

#!/bin/bash
#################################################
# UTILITY SCRIPT (unix) #
#################################################
PJ="/opt/WSA"; #My WebServices Project HOME
LANG="en_US"; export LANG;
DLC="/usr/dlcOE.10.2A";
export DLC;
PROMSGS="$DLC/prolang/eng/promsgs.eng";
export PROMSGS;
CATALINA_HOME="/opt/jakarta-tomcat-5.5.9";
export CATALINA_HOME;
JAVA_HOME="/opt/jdk1.5.0_20";
export JAVA_HOME;
WRKDIR=$PJ/4GL; export WRKDIR;
MY_WRKDIR="\\/opt\\/WSA\\/4GL";
MY_DLC="\\/usr\\/dlcOE.10.2A";
MY_JAVAC="\\/opt\\/jdk1.5.0_20\\/bin\\/javac";
#If you change the hostname you have to do same
#changes in ubroker.properties
HOST_IP="rs";
AUTHOR="http:\\/\\/$HOST_IP"
TOMCAT_PORT="25011";
WSRV="WSTK";
ENCTYPES="RPCEncoded RPCLiteral DocLiteral";
NAMESPACE="urn:prgs:";
APPSERVER="asws"; # State-free
WSADAPTER="wsa1";
DB_PORT="25000";
DB_NAME="sports2000";
DB_PATH="$PJ/base/$DB_NAME";
CLIENT_PARAMS="-pf $PJ/client.pf/clientStartupUTF-8.pf";
DB_PARAMS="-pf $PJ/server.pf/serverStartupUTF-8.pf";
SLEEP_INTERVAL="3";
PROADSV_PORT="20932";
NAMESERVER="NS3";
NAMESERVER_PORT="5163";
WTBWSDL="validwsdl"; #webspeed validator wsdl
#################################################
m_start () {
echo "";

$DLC/bin/proutil $DB_PATH -C BUSY >/dev/null 2>&1;
if [ "x$?" = "x0" ]; then
echo "(1/7) starting database $DB_NAME";
$DLC/bin/proserve $DB_PATH -ld $DB_NAME -S $DB_PORT $DB_PARAMS >/dev/null 2>&1;
echo "(2/7) starting watchdog";
$DLC/bin/prowdog $DB_PATH >/dev/null 2>&1;
fi
echo "(3/7) starting Progress Admin Server";
$DLC/bin/proadsv -start -port $PROADSV_PORT >/dev/null 2>&1;
if [ "x$?" != "x0" ] ; then
echo "ERROR";
exit 1;
fi
sleep $SLEEP_INTERVAL;
echo "(4/7) starting Jakarta Tomcat";
$CATALINA_HOME/bin/startup.sh >/dev/null 2>&1;
if [ "x$?" != "x0" ] ; then
echo "ERROR";
exit 1;
fi
echo "(5/7) starting Progress Name Server";
$DLC/bin/nsman -i $NAMESERVER -start -port $PROADSV_PORT >/dev/null 2>&1;
if [ "x$?" != "x0" ] ; then
echo "ERROR";
exit 1;
fi
sleep $SLEEP_INTERVAL;
echo "(6/7) starting Progress AppServer $APPSERVER";
$DLC/bin/asbman -i $APPSERVER -start -port $PROADSV_PORT >/dev/null 2>&1;
if [ "x$?" != "x0" ] ; then
echo "ERROR";
exit 1;
fi
#VALIDATOR
sleep $SLEEP_INTERVAL;
echo "(7/7) starting Progress WebSpeed $WTBWSDL";
$DLC/bin/wtbman -i $WTBWSDL -start -port $PROADSV_PORT >/dev/null 2>&1;
if [ "x$?" != "x0" ] ; then
echo "ERROR";
exit 1;
fi

}
#################################################
m_stop () {
echo "";
echo "(1/4) reset statistics for $WSADAPTER";
$DLC/bin/wsaman -i $WSADAPTER -resetstats -port $PROADSV_PORT >/dev/null 2>&1;
echo "(2/4) stoping Progress Admin Server";
$DLC/bin/proadsv -stop -port $PROADSV_PORT >/dev/null 2>&1;
echo "(3/4) stoping database $DB_NAME"
$DLC/bin/proshut $DB_PATH -by >/dev/null 2>&1;
echo "(4/4) stoping Tomcat";
$CATALINA_HOME/bin/shutdown.sh >/dev/null 2>&1;
find . '!' -type d -name '*.log' -print | xargs rm -f;
find . '!' -type d -name '*.out' -print | xargs rm -f;
find . '!' -type d -name '*~' -print | xargs rm -f;
find . '!' -type d -name '*.trc' -print | xargs rm -f;
find . '!' -type d -name '*.exp' -print | xargs rm -f;
# killall -9 java >/dev/null 2>&1;
}
#################################################
m_restart () {
m_stop;
sleep 5;
m_start;
}
#################################################
m_status () {

$DLC/bin/proutil $DB_PATH -C BUSY >/dev/null 2>&1;
if [ "x$?" = "x0" ]; then
echo "$DB_NAME database is stoped";
else
echo "$DB_NAME database is alive";
fi

$DLC/bin/proadsv -query -port $PROADSV_PORT | grep "(8545)";
if [ "x$?" != "x0" ] ; then
echo "Progress Admin Server is stoped";
exit 1;
fi
$DLC/bin/nsman -i $NAMESERVER -q -port $PROADSV_PORT | grep "NameServer" ;
if [ "x$?" != "x0" ] ; then
echo "Progress NameServer is stoped";
exit 1;
fi
echo $APPSERVER;
$DLC/bin/asbman -i $APPSERVER -q -port $PROADSV_PORT | grep -i "broker" ;
if [ "x$?" != "x0" ] ; then
echo "Progress AppServer $APPSERVER is stoped";
exit 1;
fi
echo $WTBWSDL;
$DLC/bin/wtbman -i $WTBWSDL -q -port $PROADSV_PORT | grep -i "broker" ;
if [ "x$?" != "x0" ] ; then
echo "Progress WebSpeed $WTBWSDL is stoped";
exit 1;
fi

}
#################################################
m_replace () {
sed -e s/"$1"/"$2"/ $PJ/ws/$WSRV.template.1 > $PJ/ws/$WSRV.template.2;
mv -f $PJ/ws/$WSRV.template.2 $PJ/ws/$WSRV.template.1;
}
################################################
genWSDL () {

echo "Compiling code source 4GL";
cd $WRKDIR;
echo > compile.4gl;
echo "OUTPUT TO ../logs/compiler.log.">> compile.4gl;
for j in $(ls $WRKDIR/*.p); do
echo "COMPILE $j SAVE.">> compile.4gl;
done;
echo "OUTPUT CLOSE.">> compile.4gl;
echo "QUIT.">> compile.4gl;

$DLC/bin/mpro -b -db $DB_NAME -ld $DB_NAME $CLIENT_PARAMS -S $DB_PORT -p compile.4gl >/dev/null 2>&1;
rm -f compile.4gl >/dev/null 2>&1;
cd $PJ;

let x=1;
for i in $ENCTYPES; do
echo "Processing: $i";
#auto-compilation and project auto generation

cd $PJ/ws;
cp -f $WSRV.template $WSRV.template.1;
m_replace MY_AUTHOR $AUTHOR;
m_replace MY_WORKDIR $MY_WRKDIR;
m_replace MY_DLC $MY_DLC;
m_replace MY_DLC $MY_DLC;
m_replace MY_WSRV $WSRV$i;
m_replace MY_HOST_IP $HOST_IP;
m_replace MY_TOMCAT_PORT $TOMCAT_PORT;
m_replace MY_NAMESPACE $NAMESPACE$i;
m_replace MY_APPSERVER $APPSERVER;
m_replace MY_CRTENC $x;
m_replace MY_JAVAC $MY_JAVAC;

if [ "$x" = "1" ] ; then
m_replace MY_ENC1 "true";
m_replace MY_ENC2 "false";
m_replace MY_ENC3 "false";
fi
if [ "$x" = "2" ] ; then
m_replace MY_ENC1 "false";
m_replace MY_ENC2 "true";
m_replace MY_ENC3 "false";
fi
if [ "$x" = "3" ] ; then
m_replace MY_ENC1 "false";
m_replace MY_ENC2 "false";
m_replace MY_ENC3 "true";
fi

mv -f $WSRV.template.1 $WSRV$i.xpxg;
$DLC/bin/bproxygen -xpxgfile $PJ/ws/$WSRV$i.xpxg >/dev/null 2>&1;
if [ "x$?" != "x0" ] ; then
echo "Error when try to generated WSDL files";
cd $PJ;
exit 1;
fi
cd $PJ;
mv -f $PJ/4GL/*.wsm $PJ/ws;
mv -f $PJ/4GL/*.wsdl $PJ/ws;
mv -f $PJ/4GL/*.java $PJ/tst_javaProxy;
mv -f $PJ/4GL/*.class $PJ/tst_javaProxy;
mv -f $PJ/4GL/$WSRV*.log $PJ/logs;
let x+=1;
done


}
#################################################
genWSDLDoc () {
rm -fr $CATALINA_HOME/webapps/wsa/doc;
mkdir $CATALINA_HOME/webapps/wsa/doc;
midx="$CATALINA_HOME/webapps/wsa/doc/index.html";
echo "<html>" > $midx;
echo "<body>" >> $midx;
echo "<h1>WSDL documentation:</h1>" >> $midx;

let x=1;
for i in $ENCTYPES; do
mkdir $CATALINA_HOME/webapps/wsa/doc/$i;
cd $CATALINA_HOME/webapps/wsa/doc/$i;
$DLC/bin/bprowsdldoc -b \
http://$HOST_IP:$TOMCAT_PORT/wsa/$WSADAPTER/wsdl?targetURI=$NAMESPACE$i
>/dev/null 2>&1;
echo "<a href='http://$HOST_IP:$TOMCAT_PORT/wsa/doc/$i/index.html'><h3>$NAMESPACE$i</h3></a>" >> $midx;
let x+=1;
done

echo "</body>" >> $midx;
echo "</html>" >> $midx;
echo "wsdldoc: http://$HOST_IP:$TOMCAT_PORT/wsa/doc";
cd $PJ;

}
#################################################
m_deploy () {
#create project
genWSDL;

let x=1;
for i in $ENCTYPES; do

echo "Deploy $WSADAPTER $i";
$DLC/bin/wsaman -name $WSADAPTER -wsm $PJ/ws/$WSRV$i.wsm \
-appname $WSRV$i -namespace $NAMESPACE$i \
-encoding $x -deploy -port $PROADSV_PORT >/dev/null 2>&1;
echo "set appServicePort to $NAMESERVER_PORT";

#-prop appServiceHost machineAppServer
$DLC/bin/wsaman -name $WSADAPTER -appname $WSRV$i \
-prop appServicePort -value $NAMESERVER_PORT -setprops \
-port $PROADSV_PORT >/dev/null 2>&1;
echo "Enable $WSADAPTER $i";
$DLC/bin/wsaman -name $WSADAPTER -wsm $PJ/ws/$WSRV$i.wsm \
-appname $WSRV$i -namespace $NAMESPACE$i \
-encoding $x -enable -port $PROADSV_PORT >/dev/null 2>&1;

let x+=1;
done

#gen documentation
genWSDLDoc;

}
#################################################
m_undeploy () {
echo "";
let x=1;
for i in $ENCTYPES; do

echo "Disable $WSADAPTER $i";
$DLC/bin/wsaman -name $WSADAPTER -wsm $PJ/ws/$WSRV$i.wsm \
-appname $WSRV$i -namespace $NAMESPACE$i \
-encoding $x -disable -port $PROADSV_PORT >/dev/null 2>&1;
echo "Undeploy $WSADAPTER encode $i";
$DLC/bin/wsaman -name $WSADAPTER -wsm $PJ/ws/$WSRV$i.wsm \
-appname $WSRV$i -namespace $NAMESPACE$i \
-encoding $x -undeploy -port $PROADSV_PORT >/dev/null 2>&1;

let x+=1;
done

}
#################################################
m_getwsa1status() {
$DLC/bin/wsaman -i $WSADAPTER -q -port $PROADSV_PORT | grep "Web Services
Adapter";
$DLC/bin/wsaman -i $WSADAPTER -getstats -port $PROADSV_PORT | grep "Number of
SOAP Requests";
$DLC/bin/wsaman -i $WSADAPTER -list -port $PROADSV_PORT;
}
#################################################
m_dev() {

PROPATH=".:$WRKDIR:$PJ/tst_4gl:$PJ/4GL:$PJ/profiler:$PJ/site"; export PROPATH;

$DLC/bin/proutil $DB_PATH -C BUSY >/dev/null 2>&1;
if [ "$?" = "6" ]; then
$DLC/bin/mpro -db $DB_NAME -ld $DB_NAME $CLIENT_PARAMS -S $DB_PORT;
else
$DLC/bin/pro -db $DB_PATH -1 $CLIENT_PARAMS;
fi

}
#################################################
# USAGE #
#################################################
usage ()
{
echo "
Usage: ${0##*/} [command]
Where commands are:
-start
-stop
-restart
-q
-deploy
-dev
--help
"
}

#################################################
# MAIN #
#################################################

if [ "$#" = "0" ]; then
usage;
exit 1;
fi
MODE=$1;
shift 1;

case $MODE in
--help)
usage;
exit 0;
;;
-start)
m_start;
exit 0;
;;
-stop)
m_stop;
exit 0;
;;
-restart)
m_restart;
exit 0;
;;
-q)
m_status;
m_getwsa1status;
exit 0;
;;
-deploy)
m_undeploy;
m_deploy;
exit 0;
;;
-dev)
m_dev;
exit 0;
;;
esac
usage;
exit 1;
#################################################
# EOF #
#################################################


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


##########################################################################
## ##
## Copyright (c) 1998-2008 by Progress Software Corporation ##
## ##
## All rights reserved. No part of this program or document may be ##
## reproduced in any form or by any means without permission in writing ##
## from Progress Software Corporation. ##
## ##
##########################################################################
#
# WebSpeed/AppServer/DataServer properties definition file for UNIX
#
# -------------------- ubroker.properties ------------------------------
#
# Property File for the Unified Broker and NameServer
#
#
# This definition file includes the properties that you can define in
# a Unified Broker and NameServer configuration. It defines and configures
# four Brokers, one serving a WebSpeed Transaction Server, one serving
# an AppServer, one serving an Oracle DataServer, and one serving an
# ODBC DataServer, and a NameServer.
#
# All information about the properties in this property file may be found
# in the file:
#
# ubroker.properties.README.
#
##########################################################################
#
%% Update default for UBroker.collectStatsData
%% version b001
%% 1 mars 2010 13:29:30

#
# Default properties for SonicMQ Adapter broker
#
[Adapter]
appserviceNameList=
autoStart=0
autoTrimTimeout=0
brkrLogAppend=1
brkrLogEntries=0
brkrLogEntryTypes=UBroker.Basic
brkrLoggingLevel=2
brkrLogThreshold=0
brkrNumLogFiles=3
brokerLogFile=$WRKDIR/broker.log
certStorePath=$DLC/certs/
classMain=com.progress.ubroker.broker.ubroker
controllingNameServer=
description=
environment=
groupName=
hostName=
infoVersion=9010
initialAdptrThreads=20
ipver=IPv4
jvmArgs=
keyAlias=
keyAliasPasswd=
keyStorePasswd=
keyStorePath=$DLC/keys/
maxAdptrThreads=30
maxClientInstance=25
minAdptrThreads=10
noSessionCache=0
password=
portNumber=3620
priorityWeight=0
registerNameServer=1
registrationMode=Register-IP
registrationRetry=30
sessionTimeout=180
srvrLogAppend=1
srvrLogEntries=0
srvrLogEntryTypes=
srvrLogFile=$WRKDIR/server.log
srvrLoggingLevel=2
srvrLogThreshold=0
srvrNumLogFiles=3
srvrStartupParam=
sslAlgorithms=
sslEnable=0
userName=
uuid=
workDir=$WRKDIR

#
# Sample of a SonicMQ Adapter broker
#
[Adapter.sonicMQ1]
appserviceNameList=adapter.progress.jms
brokerLogFile=$WRKDIR/sonicMQ1.broker.log
controllingNameServer=NS1
description=Sample SonicMQ Adapter broker
portNumber=3620
srvrLogFile=$WRKDIR/sonicMQ1.server.log
uuid=932.99.999.XXX:1ee77e:cf3bbe3d33:-8030

[AdminRole]
apps_defaults=
apps_enable=
apps_props=
apps_stats=
servlet_props=
servlet_services=read
servlet_stats=

[AdminRole.PSCAdmin]
apps_defaults=read,write
apps_enable=read,write
apps_props=read,write
apps_stats=read,write
servlet_props=read,write
servlet_services=read,write,delete
servlet_stats=read,write

[AdminRole.PSCOper]
apps_defaults=read
apps_enable=read
apps_props=read
apps_stats=read
servlet_props=read
servlet_services=read
servlet_stats=read

#
# Default properties for the AppServer Internet Adapter (AIA)
#
[AIA]
adminIPList=
allowAiaCmds=0
appServerKeepalive=denyClientASK,denyServerASK
certStorePath=$DLC/certs/psccerts.jar
clientASKActivityTimeout=60
clientASKResponseTimeout=60
controllingNameServer=NS1
Host=localhost
httpsEnabled=1
idleConnectionTimeout=3600
logAppend=0
logEntries=0
logEntryTypes=AiaDefault
logFile=$WRKDIR/aia.log
loggingLevel=2
logThreshold=0
maxNSClientPort=0
minNSClientPort=0
noHostVerify=0
noSessionReuse=0
nsClientPortRetry=4
nsClientPortRetryInterval=250
numLogFiles=3
Port=3090
registerNameServer=1
securePort=443
soReadTimeout=240
sslEnable=0

#
# Sample definition of an Aia instance
#
[AIA.Aia1]
certStorePath=/usr/dlcOE.10.2A/certs/
controllingNameServer=NS1
logAppend=1
logFile=/usr/wrk/Aia1.aia.log
loggingLevel=2

#
# Default Environment setting for all unified broker instances
#
[Environment]

#
# Sample Environment for Broker: asbroker1
#
[Environment.asbroker1]
TESTENV=MYENV

#
# Environment for MSS Dataserver Broker: mssbroker1
#
[Environment.mssbroker1]
ODBC_HOME=/usr/mssnt

#
# Sample Environment for NameServer: NS1
#
[Environment.NS1]
MYENV=MYVAR

[Environment.NS3]
MYENV=MYVAR3

#
# Environment for ODBC Dataserver Broker: odbbroker1
#
[Environment.odbbroker1]
ODBC_HOME=/usr/odbunx

#
# Sample Environment for Broker: wsbroker1
#
[Environment.wsbroker1]
TESTENV=MYENV

#
# Default properties for NameServer
#
[NameServer]
autoStart=0
brokerKeepAliveTimeout=30
classMain=com.progress.nameserver.NameServer
collectStatsData=0
environment=
hostName=localhost
infoVersion=9010
ipver=IPv4
jvmArgs=
location=local
logAppend=1
logEntries=0
logEntryTypes=NSPlumbing
loggingLevel=2
logThreshold=500000
multiCastGroup=
neighborNameServers=
numLogFiles=3
portNumber=5162
srvrLogFile=$WRKDIR/ns.log
workDir=$WRKDIR

#
# Sample definition of a NameServer
#
[NameServer.NS1]
autoStart=0
environment=NS1
srvrLogFile=$WRKDIR/NS1.ns.log

[NameServer.NS3]
autoStart=0
environment=NS3
logAppend=0
portNumber=5163
srvrLogFile=/opt/WSA/logs/NS3.ns.log
workDir=$WRKDIR

#
# Placeholder property for defining new instance for any group
#
[NewNameTemplate]
NewName=

#
# Linkage to the parent group name for the plugin for the Unified Broker tool
#
[ParentGroup]
AppServer=UBroker.AS
AppServer Internet Adapter=AIA
Messengers=WebSpeed.Messengers
MSS DataServer=UBroker.MS
NameServer=NameServer
ODBC DataServer=UBroker.OD
Oracle DataServer=UBroker.OR
SonicMQ Adapter=Adapter
Web Services Adapter=WSA
WebSpeed=UBroker.WS

#
# Preference settings for tool and service connect and shutdown controls
#
# These default values are for tuning various aspects of the Tools
# (both command and GUI) used for starting/stopping and querying
# Brokers and NameServers.
#
# As a rule the various 'RetryInterval' values should not be
# modified. However, if you experience problems starting, stopping
# or querying Brokers or NameServers - you may increase the values
# of the various 'Retry' properties as follows:
#
# toolGetSvcStatusRetry for querying.
# toolShutdownSvcConfirmRetry for stopping.
# toolConnectSvcRetry for initial connection to a Broker/NameServer.
# toolPingSvcRetry for querying,stopping.
# admSrvrRegisteredRetry for autostarting.
#
[PreferenceRoot]
admSrvrRegisteredRetry=6
admSrvrRegisteredRetryInterval=3000
toolConnectSvcRetry=10
toolConnectSvcRetryInterval=3000
toolGetSvcStatusRetry=10
toolPingSvcRetry=2
toolShutdownSvcConfirmRetry=10
toolShutdownSvcConfirmRetryInterval=1000

#
# Current preference setting.
#
[PreferenceRoot.Preference]

#
# Default properties for all unified broker instances
#
[UBroker]
4glSrcCompile=0
appserviceNameList=
autoStart=0
autoTrimTimeout=1800
brkrLogAppend=1
brkrLogEntries=0
brkrLogEntryTypes=UBroker.Basic
brkrLoggingLevel=2
brkrLogThreshold=0
brkrNumLogFiles=3
brkrSpinInterval=3000
brokerLogFile=$WRKDIR/broker.log
certStorePath=$DLC/certs/
collectStatsData=1
connectingTimeout=60
controllingNameServer=
defaultService=0
description=
environment=
flushStatsData=255
groupName=
hostName=
infoVersion=9010
initialSrvrInstance=5
ipver=IPv4
jvmArgs=
keyAlias=
keyAliasPasswd=
keyStorePasswd=
keyStorePath=$DLC/keys/
maxClientInstance=512
maxSrvrInstance=10
minSrvrInstance=1
noSessionCache=0
operatingMode=Stateless
password=
portNumber=3001
priorityWeight=0
PROPATH=${PROPATH}:${WRKDIR}
queueLimit=0
registerNameServer=1
registrationMode=Register-IP
registrationRetry=30
requestTimeout=15
serverLifespan=0
serverLifespanPadding=5
sessionTimeout=180
srvrExecFile=
srvrLogAppend=1
srvrLogEntries=0
srvrLogEntryTypes=
srvrLogFile=$WRKDIR/server.log
srvrLoggingLevel=2
srvrLogThreshold=0
srvrLogWatchdogInterval=60
srvrMaxPort=3502
srvrMinPort=3202
srvrNumLogFiles=3
srvrSelectionScheme=0
srvrStartupParam=-p web/objects/web_disp.p -cpstream iso8859-1 -weblogerror
srvrStartupTimeout=3
sslAlgorithms=
sslEnable=0
userName=
uuid=
workDir=$WRKDIR

#
# Default properties for broker instances serving AppServers
#
[UBroker.AS]
4glSrcCompile=0
appServerKeepaliveCapabilities=denyClientASK,denyServerASK
classMain=com.progress.ubroker.broker.ubroker
compressionEnable=0
debuggerEnabled=0
defaultService=0
description=AppServer Broker
mqBrkrLogAppend=1
mqBrkrLogEntries=0
mqBrkrLogEntryTypes=UBroker.Basic
mqBrkrLoggingLevel=2
mqBrkrLogThreshold=0
mqBrkrNumLogFiles=3
mqBrokerLogFile=$WRKDIR/mqbroker.log
mqEnabled=0
mqServerLogFile=$WRKDIR/mqserver.log
mqSrvrLogAppend=1
mqSrvrLogEntries=0
mqSrvrLogEntryTypes=UBroker.Basic
mqSrvrLoggingLevel=2
mqSrvrLogThreshold=0
mqSrvrNumLogFiles=3
operatingMode=State-reset
portNumber=3090
serverASKActivityTimeout=60
serverASKResponseTimeout=60
srvrActivateProc=
srvrConnectProc=
srvrDeactivateProc=
srvrDisconnProc=
srvrExecFile=$DLC/bin/_proapsv
srvrLogEntryTypes=ASPlumbing,DB.Connects
srvrMaxPort=2202
srvrMinPort=2002
srvrShutdownProc=
srvrStartupParam=
srvrStartupProc=
srvrStartupProcParam=

#
# Sample AppServer Broker definition
#
[UBroker.AS.asbroker1]
appserviceNameList=asbroker1
brokerLogFile=$WRKDIR/asbroker1.broker.log
controllingNameServer=NS1
defaultService=1
description=A sample AppServer setup for State-reset
environment=asbroker1
groupName=
portNumber=3090
srvrLogFile=$WRKDIR/asbroker1.server.log
userName=
uuid=932.99.999.XXX:1ee77e:cf3bbe3d33:-8000

[UBroker.AS.asws]
appserviceNameList=asws
autoStart=0
brkrLogAppend=0
brkrLoggingLevel=4
brkrLogThreshold=500000
brkrNumLogFiles=3
#
brokerLogFile=/opt/WSA/logs/asws.broker.log
controllingNameServer=NS3
defaultService=0
description=Test State-free WebServices
groupName=
hostName=localhost
initialSrvrInstance=2
maxSrvrInstance=2
minSrvrInstance=2
operatingMode=State-free
portNumber=3091
registrationMode=Register-HostName
srvrLogAppend=0
srvrLogEntryTypes=DB.Connects,FileID,4GLMessages,4GLTrace,QryInfo
#
srvrLogFile=/opt/WSA/logs/asws.server.log
srvrLoggingLevel=4
srvrLogThreshold=500000
srvrNumLogFiles=3
debuggerEnabled=1
#jvmArgs=-Xms64m -Xrunjmp:noobjects,nomethods,dumpdir=/tmp
#srvrActivateProc=srvrActivateProc.p
srvrStartupParam=-debugReady 0 -pf /home/rares/opt/WSA/client.pf/clientStartupUTF-8.pf -db sports2000 -S 25000
userName=
uuid=11d1def534ea1be0:-74b75e4e:11e91fad2c8:-8000

#
# Sample Session-Free AppServer Broker for ESB
#
[UBroker.AS.esbbroker1]
appserviceNameList=esbbroker1
brokerLogFile=$WRKDIR/esbbroker1.broker.log
controllingNameServer=NS1
defaultService=0
description=A sample AppServer setup for Session-Free
environment=esbbroker1
operatingMode=State-free
password=
portNumber=3097
srvrLogFile=$WRKDIR/esbbroker1.server.log
userName=
uuid=c36bcc1bc67acf2e:bf2d5e:10c44869d94:-7ebe

#
# Default Dynamics AppServer
#
[UBroker.AS.icfrepos]
appserviceNameList=icfrepos
autoStart=0
brokerLogFile=$WRKDIR/icfrepos.broker.log
controllingNameServer=NS1
initialSrvrInstance=1
operatingMode=Stateless
portNumber=3095
PROPATH=.:/usr/dlcOE.10.2A/tty/dynamics:/usr/dlcOE.10.2A/tty:/usr/dlcOE.10.2A:/usr/dlcOE.10.2A/src:${PROPATH}:${WRKDIR}
srvrActivateProc=as_activate.p
srvrConnectProc=as_connect.p
srvrDeactivateProc=as_deactivate.p
srvrDisconnProc=as_disconnect.p
srvrLogFile=$WRKDIR/icfrepos.server.log
srvrShutdownProc=as_shutdown.p
srvrStartupParam=-pf "/usr/dlcOE.10.2A/as.pf"
srvrStartupProc=as_startup.p
uuid=11d1def534ea1be0:283b8a:e8c5ff9235:-7da4

#
# Default properties for broker instances serving MSS DataServers
#
[UBroker.MS]
appserviceNameList=
brkrLoggingLevel=3
classMain=com.progress.ubroker.broker.ubroker
defaultService=0
description=MSS DataServer Broker
initialSrvrInstance=0
maxSrvrInstance=256
minSrvrInstance=0
operatingMode=State-aware
portNumber=4446
srvrExecFile=$DLC/bin/_msssrv
srvrStartupParam=-svub -S X -N TCP -U X -P X -hs 0 -s 40

#
# Sample MSS DataServer Broker definition
#
[UBroker.MS.mssbroker1]
appserviceNameList=mssbroker1
brokerLogFile=$WRKDIR/mssbroker1.broker.log
controllingNameServer=NS1
defaultService=1
description=A sample MSS DataServer Broker
environment=mssbroker1
portNumber=4446
srvrExecFile=$DLC/bin/_msssrv
srvrLogFile=$WRKDIR/mssbroker1.server.log
srvrStartupParam=-svub -S X -N TCP -U X -P X -hs 0 -s 40
uuid=172.18.103.53:32:e031b1e7bc:-7d29

#
# Default properties for broker instances serving ODBC DataServers
#
[UBroker.OD]
appserviceNameList=
brkrLoggingLevel=3
classMain=com.progress.ubroker.broker.ubroker
defaultService=0
description=ODBC DataServer Broker
initialSrvrInstance=0
maxSrvrInstance=256
minSrvrInstance=0
operatingMode=State-aware
portNumber=4444
srvrExecFile=$DLC/bin/_odbsrv
srvrStartupParam=-svub -S X -N TCP -U X -P X -hs 0 -s 40

# ORACLE_HOME=/u01/oracle/client
# ORACLE_SID=ORCL
#
# Sample ODBC DataServer Broker definition
#
[UBroker.OD.odbbroker1]
appserviceNameList=odbbroker1
brokerLogFile=$WRKDIR/odbbroker1.broker.log
controllingNameServer=NS1
defaultService=1
description=A sample ODBC DataServer Broker
environment=odbbroker1
portNumber=4444
srvrExecFile=$DLC/bin/_odbsrv
srvrLogFile=$WRKDIR/odbbroker1.server.log
srvrStartupParam=-svub -S X -N TCP -U X -P X -hs 0 -s 40
uuid=172.18.103.53:1f415c:d6330e5d24:-7f1e

#
# Default properties for broker instances serving Oracle DataServers
#
[UBroker.OR]
appserviceNameList=
brkrLoggingLevel=3
classMain=com.progress.ubroker.broker.ubroker
defaultService=0
description=Oracle DataServer Broker
initialSrvrInstance=0
maxSrvrInstance=256
minSrvrInstance=0
operatingMode=State-aware
portNumber=4445
srvrExecFile=$DLC/bin/_ora7srv
srvrStartupParam=-svub -S X -N TCP -U X -P X -hs 0 -s 40

#
# Sample Oracle DataServer Broker definition
#
[UBroker.OR.orabroker1]
appserviceNameList=orabroker1
brokerLogFile=$WRKDIR/orabroker1.broker.log
controllingNameServer=NS1
defaultService=1
description=A sample Oracle DataServer Broker
environment=orabroker1
portNumber=4445
srvrExecFile=$DLC/bin/_orasrv
srvrLogFile=$WRKDIR/orabroker1.server.log
srvrStartupParam=-svub -S X -N TCP -U X -P X -hs 0 -s 40
uuid=172.18.103.53:1f415c:d6330e5d24:-7f4d

#
# Default properties for broker instances serving WebSpeed servers
#
[UBroker.WS]
4glSrcCompile=0
applicationURL=
binaryUploadMaxSize=0
classMain=com.progress.ubroker.broker.ubroker
debuggerEnabled=0
defaultCookieDomain=
defaultCookiePath=
defaultService=0
description=WebSpeed Broker
fileUploadDirectory=
mqBrkrLogAppend=1
mqBrkrLogEntries=0
mqBrkrLogEntryTypes=UBroker.Basic
mqBrkrLoggingLevel=2
mqBrkrLogThreshold=0
mqBrkrNumLogFiles=3
mqBrokerLogFile=$WRKDIR/mqbroker.log
mqEnabled=0
mqServerLogFile=$WRKDIR/mqserver.log
mqSrvrLogAppend=1
mqSrvrLogEntries=0
mqSrvrLogEntryTypes=UBroker.Basic
mqSrvrLoggingLevel=2
mqSrvrLogThreshold=0
mqSrvrNumLogFiles=3
operatingMode=Stateless
portNumber=3055
srvrAppMode=Development
srvrDebug=Enabled
srvrExecFile=$DLC/bin/_progres
srvrLogEntryTypes=DB.Connects
srvrStartupParam=-p web/objects/web-disp.p -weblogerror
wsRoot=/webspeed102A

[UBroker.WS.validwsdl]
appserviceNameList=validwsdl
autoStart=0
brkrLogAppend=0
brkrLoggingLevel=2
brkrLogThreshold=500000
brkrNumLogFiles=3
brokerLogFile=/opt/WSA/logs/validwsdl.broker.log
controllingNameServer=NS3
description=Validator wsdl
environment=wsbroker1
fileUploadDirectory=/home/rares/opt/WSA/site/tmp
groupName=
initialSrvrInstance=1
maxSrvrInstance=2
minSrvrInstance=1
operatingMode=Stateless
portNumber=3056
PROPATH=.:${PROPATH}:${WRKDIR}:/home/rares/opt/WSA/site
srvrAppMode=Development
srvrLogAppend=0
srvrLogFile=/opt/WSA/logs/validwsdl.server.log
srvrLoggingLevel=2
srvrLogThreshold=500000
srvrNumLogFiles=3
srvrStartupParam=-p web/objects/web-disp.p -weblogerror -pf /home/rares/opt/WSA/client.pf/clientStartupUTF-8.pf -db sports2000 -S 25000
userName=
#srvrLogEntryTypes=DB.Connects,FileID,4GLMessages,4GLTrace,QryInfo
uuid=11d1def534ea1be0:-3707b553:11e91f22675:-8000

#
# Sample WebSpeed Broker definition
#
[UBroker.WS.wsbroker1]
appserviceNameList=wsbroker1
brokerLogFile=$WRKDIR/wsbroker1.broker.log
controllingNameServer=NS1
description=A sample WebSpeed Transaction Server
environment=wsbroker1
groupName=
portNumber=3055
srvrLogFile=$WRKDIR/wsbroker1.server.log
userName=
uuid=932.99.000.ZZZ:1ee77e:cf3bbe04fd:-8000

#
# Default Dynamics Webspeed Broker
#
[UBroker.WS.wsdynamics1]
appserviceNameList=wsdynamics1
brokerLogFile=$WRKDIR/wsdynamics1.broker.log
controllingNameServer=NS1
portNumber=3060
PROPATH=.:/usr/dlcOE.10.2A/tty/dynamics:/usr/dlcOE.10.2A/tty:/usr/dlcOE.10.2A:/usr/dlcOE.10.2A/src:${PROPATH}:${WRKDIR}
srvrLogFile=$WRKDIR/wsdynamics1.server.log
srvrStartupParam=-p web/objects/web-disp.p -icfparam ICFSESSTYPE=ICFWS -weblogerror
uuid=7ea4defb4d9ba709:df8ff1:f8ad54f8a7:-7edc

#
# WebSpeed Properties
#
[WebSpeed]
Components=1110100
infoVersion=9010
RootPath=
ScriptPath=

#
# WebSpeed Messenger Properties
#
# Whenever there are changes made to this group, the same changes must be made
# to the msngr properties files(i.e. msngrs.unx and msngrs.nt).
#
[WebSpeed.Messengers]
AllowMsngrCmds=0
certStorePath=$DLC/certs/
controllingNameServer=NS1
Host=localhost
ipver=IPv4
logAppend=1
logEntries=1
logEntryTypes=
logFile=$WRKDIR/msgr.log
loggingLevel=1
logThreshold=0
maxNSClientPort=0
minNSClientPort=0
msngrExecFile=
msngrScriptFile=
noHostVerify=0
noSessionReuse=0
nsClientPortRetry=4
nsClientPortRetryInterval=250
numLogFiles=3
Port=3055
registerNameServer=1
sslEnable=0
useConnID=0
workDir=$WRKDIR
wsmAdmIPList=

#
# WebSpeed CGIIP Messenger Properties
#
[WebSpeed.Messengers.CGIIP]
msngrExecFile=$DLC/bin/cgiip
msngrScriptFile=$DLC/bin/wspd_cgi.sh

#
# WebSpeed ASP Messenger Properties (NT only, Microsoft ASP)
#
[WebSpeed.Messengers.WSASP]
msngrExecFile=

#
# WebSpeed ISAPI Messenger Properties (NT only, Microsoft IIS)
#
[WebSpeed.Messengers.WSISA]
msngrExecFile=

#
# WebSpeed NSAPI Messenger Properties (Netscape)
#
[WebSpeed.Messengers.WSNSA]
msngrExecFile=$DLC/bin/wsnsa.dll

[WSA]
adminAuth=0
adminEnabled=1
adminRoles=PSCAdmin,PSCOper
adminSoapAction=urn:services-progress-com:wsa-admin:01
appAuth=0
appProtocol=0
debugClients=
enableWsdl=1
enableWsdlListings=1
httpErrorPage=httperror.html
location=local
logAppend=0
logEntries=
logEntryTypes=WSADefault
logFile=/opt/WSA/logs/wsa.log
loggingLevel=2
logMsgThreshold=-1
logThreshold=0
noWsdlPage=
numLogFiles=3
proxyHost=
proxyPassword=
proxyPort=0
proxyUsername=
webAppEnabled=1
webServerAuth=0
workDir=$WRKDIR
wsaUrl=http://rs:25011/wsa/wsa1
wsdlAuth=0
wsdlListingPage=WSDLListing.html

[WSA.wsa1]
debugClients=1
location=local
logFile=/opt/WSA/logs/wsa1.wsa.log
loggingLevel=2
workDir=$WRKDIR
wsaUrl=http://rs:25011/wsa/wsa1
 
I am already specifying the -port, and I did try a unique NS name (I forgot to mention that) and it didn't help. Since it hangs with or without running nsman, I don't think the name server name matters anyway.

Are you running two proadsv's under different Progress versions on the same machine?
 
Back
Top