Hi, all, |
Re: Starting DOORS Web Access as a Windows Service
Hi, PING <invalid_host> -n 1 -w <time_in_ms> >NUL -n 1 ==> send one echo request -w ==> time (in ms) to wait before timing out
PING 1.1.1.1 -n 1 -w 30000 >NUL
|
Re: Starting DOORS Web Access as a Windows Service
Hi, rem Go in the folder where are batch files cd "\Program Files\Telelogic\DWA" rem Stop Windows DOORS 9.1 service net stop "DOORS DB Server 9.1" rem Start DWA Broker start "DWA Broker" /MIN "dwaBroker.start.bat" choice /d o /t 120 > nul rem Start DOORS Server rem Init (to be sure) rem Stop and Start again net start "DOORS DB Server 9.1" start "SetUp DCN Service" /MIN "DOORS9-1_SetUpDCNservice.bat" choice /d o /t 20 > nul net stop "DOORS DB Server 9.1" net start "DOORS DB Server 9.1" choice /d o /t 20 > nul rem Start Interoperation Server start "SetUp Inter Operation Server" /MIN "DOORS9-1_SetUpInterOperationServer.bat" choice /d o /t 120 > nul rem Start le DWA Server start "DWA Server" /MIN "dwaServer.start.bat" choice /d o /t 60 > nul
@echo off rem ---------------------------------------------- rem Startup script for the DWA broker on win32 rem ---------------------------------------------- SETLOCAL set JRE_HOME=%cd%\win32\ibm-java2-i386-50\jre set JAVA_HOME=%cd%\win32\ibm-java2-i386-50\jre rem Do not change this directive unless you are sure of what you are doing. rem (Changing the heap size alone will not improve performance, throughput or resilience.) set ACTIVEMQ_OPTS=-Xmx128M -XX:+HeapDumpOnCtrlBreak -Dorg.apache.activemq.UseDedicatedTaskRunner=true rem If you wish to run multiple instances of DwaBroker on a single host, this parameter needs to be unique for each instance rem N.B. You must must make the corresponding change to dwaBroker.shutdown.bat rem set BROKER_ADMIN_PORT=1099 set BROKER_ADMIN_PORT=1100 set SUNJMX=-Dcom.sun.management.jmxremote.port=%BROKER_ADMIN_PORT% -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false call "%cd%\dwaBroker\bin\activemq-admin.bat" "start" ENDLOCAL
rem rem DOORS 9.1 Serveur rem rem SetUp DCN services rem "C:\Program Files\Telelogic\DOORS 9.1\bin\dbadmin" -data 36678@127.0.0.1 -dcnEnable -dcnBrokerUri "tcp://127.0.0.1:61616" -dcnChannelName "dcn"
rem rem DOORS 9.1 Serveur rem rem SetUp Inter Operation Server rem "C:\Program Files\Telelogic\DOORS 9.1\bin\doors" -interop -data 36678@127.0.0.1 -brokerHost 127.0.0.1 -brokerPort 61616
@echo off rem ---------------------------------------------- rem Startup script for the DWA server on win32 rem ---------------------------------------------- SETLOCAL set CATALINA_HOME=%cd%\dwaServer set JRE_HOME=%cd%\win32\ibm-java2-i386-50\jre set JAVA_HOME= set JAVA_OPTS=-Djava.library.path="%cd%"\win32\jni\ rem uncomment the following line for JMX support. rem set JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote.port=9004 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false rem uncomment the following line to enable assertions rem set JAVA_OPTS=%JAVA_OPTS% -enableassertions" rem Required DWA configuration rem You may increase the amount of memory allocated to dwaServer by adjusting the value below. rem e.g. JAVA_OPTS="-Xmx1024M $JAVA_OPTS -XX:+HeapDumpOnOutOfMemoryError -XX:+HeapDumpOnCtrlBreak" rem N.B. It is not recommended to allocate more than 2GB of memory to DWA unless you understand rem the implications of doing so. set JAVA_OPTS=%JAVA_OPTS% -Xmx512M -XX:+HeapDumpOnOutOfMemoryError -XX:+HeapDumpOnCtrlBreak if exist "%FESTIVAL_HOME%" goto existsFestivalHome set JAVA_OPTS=%JAVA_OPTS% -Dcom.telelogic.tds.configfile.location="%CATALINA_HOME%"\festival\config\ set JAVA_OPTS=%JAVA_OPTS% -Dfestival.home="%CATALINA_HOME%"\festival\ goto doneSetEnvironment :existsFestivalHome set JAVA_OPTS=%JAVA_OPTS% -Dcom.telelogic.tds.configfile.location="%FESTIVAL_HOME%"\config\ :doneSetEnvironment call "%cd%\dwaServer\bin\startup.bat" ENDLOCAL
|
Re: Starting DOORS Web Access as a Windows Service PDU - Thu Jun 17 02:12:29 EDT 2010
Hi, rem Go in the folder where are batch files cd "\Program Files\Telelogic\DWA" rem Stop Windows DOORS 9.1 service net stop "DOORS DB Server 9.1" rem Start DWA Broker start "DWA Broker" /MIN "dwaBroker.start.bat" choice /d o /t 120 > nul rem Start DOORS Server rem Init (to be sure) rem Stop and Start again net start "DOORS DB Server 9.1" start "SetUp DCN Service" /MIN "DOORS9-1_SetUpDCNservice.bat" choice /d o /t 20 > nul net stop "DOORS DB Server 9.1" net start "DOORS DB Server 9.1" choice /d o /t 20 > nul rem Start Interoperation Server start "SetUp Inter Operation Server" /MIN "DOORS9-1_SetUpInterOperationServer.bat" choice /d o /t 120 > nul rem Start le DWA Server start "DWA Server" /MIN "dwaServer.start.bat" choice /d o /t 60 > nul
@echo off rem ---------------------------------------------- rem Startup script for the DWA broker on win32 rem ---------------------------------------------- SETLOCAL set JRE_HOME=%cd%\win32\ibm-java2-i386-50\jre set JAVA_HOME=%cd%\win32\ibm-java2-i386-50\jre rem Do not change this directive unless you are sure of what you are doing. rem (Changing the heap size alone will not improve performance, throughput or resilience.) set ACTIVEMQ_OPTS=-Xmx128M -XX:+HeapDumpOnCtrlBreak -Dorg.apache.activemq.UseDedicatedTaskRunner=true rem If you wish to run multiple instances of DwaBroker on a single host, this parameter needs to be unique for each instance rem N.B. You must must make the corresponding change to dwaBroker.shutdown.bat rem set BROKER_ADMIN_PORT=1099 set BROKER_ADMIN_PORT=1100 set SUNJMX=-Dcom.sun.management.jmxremote.port=%BROKER_ADMIN_PORT% -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false call "%cd%\dwaBroker\bin\activemq-admin.bat" "start" ENDLOCAL
rem rem DOORS 9.1 Serveur rem rem SetUp DCN services rem "C:\Program Files\Telelogic\DOORS 9.1\bin\dbadmin" -data 36678@127.0.0.1 -dcnEnable -dcnBrokerUri "tcp://127.0.0.1:61616" -dcnChannelName "dcn"
rem rem DOORS 9.1 Serveur rem rem SetUp Inter Operation Server rem "C:\Program Files\Telelogic\DOORS 9.1\bin\doors" -interop -data 36678@127.0.0.1 -brokerHost 127.0.0.1 -brokerPort 61616
@echo off rem ---------------------------------------------- rem Startup script for the DWA server on win32 rem ---------------------------------------------- SETLOCAL set CATALINA_HOME=%cd%\dwaServer set JRE_HOME=%cd%\win32\ibm-java2-i386-50\jre set JAVA_HOME= set JAVA_OPTS=-Djava.library.path="%cd%"\win32\jni\ rem uncomment the following line for JMX support. rem set JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote.port=9004 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false rem uncomment the following line to enable assertions rem set JAVA_OPTS=%JAVA_OPTS% -enableassertions" rem Required DWA configuration rem You may increase the amount of memory allocated to dwaServer by adjusting the value below. rem e.g. JAVA_OPTS="-Xmx1024M $JAVA_OPTS -XX:+HeapDumpOnOutOfMemoryError -XX:+HeapDumpOnCtrlBreak" rem N.B. It is not recommended to allocate more than 2GB of memory to DWA unless you understand rem the implications of doing so. set JAVA_OPTS=%JAVA_OPTS% -Xmx512M -XX:+HeapDumpOnOutOfMemoryError -XX:+HeapDumpOnCtrlBreak if exist "%FESTIVAL_HOME%" goto existsFestivalHome set JAVA_OPTS=%JAVA_OPTS% -Dcom.telelogic.tds.configfile.location="%CATALINA_HOME%"\festival\config\ set JAVA_OPTS=%JAVA_OPTS% -Dfestival.home="%CATALINA_HOME%"\festival\ goto doneSetEnvironment :existsFestivalHome set JAVA_OPTS=%JAVA_OPTS% -Dcom.telelogic.tds.configfile.location="%FESTIVAL_HOME%"\config\ :doneSetEnvironment call "%cd%\dwaServer\bin\startup.bat" ENDLOCAL
I noticed that you are shutting down/restarting DOORS as part of the DWA startup sequence. That is not necessary -- DOORS can be running when you start DWA. This allows you to simplify your DWA startup sequence. I suspect your scripts are going through the extra work because the DWA Install guide tells you to. This is no longer necessary; the documentation will be fixed in a future release (APAR PM04431). Regards, Arllen |
Re: Starting DOORS Web Access as a Windows Service Arllen - Thu Jun 17 11:15:59 EDT 2010 but it is not a problem for me, because this sequence is done automatically each night. Pierre |
Re: Starting DOORS Web Access as a Windows Service I sincerely appreciate it. |
Re: Starting DOORS Web Access as a Windows Service ghc - Fri Jun 18 17:24:38 EDT 2010 I wanted to let you know that the tech note has been updated. I added information about:
I am not able to include sample scripts at this time, but will investigate the possibility of adding them. I look forward to your feedback. Thanks, Arllen |