@echo off
call setenv.bat

echo %CLASSPATH%
pause

set line=
set line=%line% --ClassPath=%CLASSPATH%
set line=%line% --Description=ClinicalIntegrationServer
set line=%line% --Install=c:\cis\xqueue\service.exe
set line=%line% --DisplayName=CIS
set line=%line% --JvmOptions="-Djava.security.policy=cis.policy;-Djavax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl"
set line=%line% --JvmMx=20M --JvmMs=20M



set line=%line% --Startup=auto set line=%line% --User=.\Administrator set line=%line% --Password=pwd

set line=%line% --LogPath=c:\cis\xqueue\log
set line=%line% --LogPrefix=service.log
set line=%line% --StdOutput=c:\cis\xqueue\log\out.log.txt
set line=%line% --StdError=c:\cis\xqueue\log\err.log.txt

set line=%line% --JavaHome=c:\java
set line=%line% --Jvm=C:\java\jre\bin\server\jvm.dll


set line=%line% --StartPath=c:\cis\xqueue set line=%line% --StartMode=jvm set line=%line% --StartClass=xqueue.server.WorkFlowManager set line=%line% --StartParams=start

set line=%line% --StopPath=c:\cis\xqueue
set line=%line% --StopClass=xqueue.server.WorkFlowManager
set line=%line% --StopParams=stop
set line=%line% --StopMode=jvm


service //IS//CIS %line% set line=


that's how i create the service.
If i set startmode=java in order to have the possibility to specify an account different than LocalSystem,
procrun doesent start.


With the settings showed my server starts and after starting process the service ends without any error.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to