I need some help on this one SVP. Gary
---------- Forwarded message --------- From: Gary D. Gregory (Jira) <j...@apache.org> Date: Wed, Nov 20, 2019 at 10:28 AM Subject: [jira] [Updated] (DAEMON-413) [prunsrv] Registry entry for HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\LdeService ImagePath contains a junk character To: <iss...@commons.apache.org> [ https://issues.apache.org/jira/browse/DAEMON-413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary D. Gregory updated DAEMON-413: ----------------------------------- Description: On *Windows Server 2012R2 Standard Build 9600* (6.3.9600), the Windows Registry entry for *HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\LdeService* The {{ImagePath}} attribute contains one junk character. Notice the {{"á"}} after {{".exe"}}: {noformat} "C:\Program Files (x86)\Rocket Software\LegaSuite Distributed Engine\7.2456.1.17\bin\win\amd64\prunsrv.exeá" //RS//LdeService {noformat} The script I used to register the service is: {noformat} set LDE_HOME=%~dp0..\ call "%LDE_HOME%set-vars.cmd" %* if %PROCESSOR_ARCHITECTURE%==x86 goto setx86 if %PROCESSOR_ARCHITECTURE%==AMD64 goto setamd if %PROCESSOR_ARCHITECTURE%==IA64 goto setia goto :eof :setx86 set PR_HOME=%~dp0win\ goto exec :setamd set PR_HOME=%~dp0win\amd64 goto exec :setia set PR_HOME=%~dp0win\ia64 goto exec :exec "%PR_HOME%\prunsrv.exe" //IS//LdeService^ --DisplayName="Rocket Software LegaSuite Distributed Engine (LDE)"^ --Install="%PR_HOME%\prunsrv.exe"^ --Jvm="%JAVA_HOME%\bin\client\jvm.dll"^ --StartMode=jvm^ --StopMode=jvm^ --StartClass=com.seagullsw.appinterface.server.AppInterfaceServer^ --StopClass=com.seagullsw.appinterface.server.StopService^ --StartParams="--config#%LDE_CONFIG_DIR%"^ --Classpath="%LDE_HOME%\lib\*"^ --JvmOptions=-Xrs^ ++JvmOptions=-Djava.endorsed.dirs="%LDE_HOME%\lib\endorsed"^ ++JvmOptions=-Djavax.xml.transform.TransformerFactory=org.apache.xalan.xsltc.trax.SmartTransformerFactoryImpl^ ++JvmOptions=-Dorg.apache.cxf.Logger=org.apache.cxf.common.logging.Log4jLogger^ --LogPath=%LDE_CONFIG_DIR%\logs^ --StdOutput=auto^ --StdError=auto^ --PidFile=pid.txt^ --LogLevel=Debug {noformat} Could this an "off-by-one" buffer handling bug? This occurs with version 1.0.15 and 1.2.2. was: On *Windows Server 2012R2 Standard Build 9600* (6.3.9600), the Windows Registry entry for *HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\LdeService* The {{ImagePath}} attribute contains one junk character. Notice the {{"á"}} after {{".exe"}}: {noformat} "C:\Program Files (x86)\Rocket Software\LegaSuite Distributed Engine\7.2456.1.17\bin\win\amd64\prunsrv.exeá" //RS//LdeService {noformat} The script I used to register the service is: {noformat} set LDE_HOME=%~dp0..\ call "%LDE_HOME%set-vars.cmd" %* if %PROCESSOR_ARCHITECTURE%==x86 goto setx86 if %PROCESSOR_ARCHITECTURE%==AMD64 goto setamd if %PROCESSOR_ARCHITECTURE%==IA64 goto setia goto :eof :setx86 set PR_HOME=%~dp0win\ goto exec :setamd set PR_HOME=%~dp0win\amd64 goto exec :setia set PR_HOME=%~dp0win\ia64 goto exec :exec "%PR_HOME%\prunsrv.exe" //IS//LdeService^ --DisplayName="Rocket Software LegaSuite Distributed Engine (LDE)"^ --Install="%PR_HOME%\prunsrv.exe"^ --Jvm="%JAVA_HOME%\bin\client\jvm.dll"^ --StartMode=jvm^ --StopMode=jvm^ --StartClass=com.seagullsw.appinterface.server.AppInterfaceServer^ --StopClass=com.seagullsw.appinterface.server.StopService^ --StartParams="--config#%LDE_CONFIG_DIR%"^ --Classpath="%LDE_HOME%\lib\*"^ --JvmOptions=-Xrs^ ++JvmOptions=-Djava.endorsed.dirs="%LDE_HOME%\lib\endorsed"^ ++JvmOptions=-Djavax.xml.transform.TransformerFactory=org.apache.xalan.xsltc.trax.SmartTransformerFactoryImpl^ ++JvmOptions=-Dorg.apache.cxf.Logger=org.apache.cxf.common.logging.Log4jLogger^ --LogPath=%LDE_CONFIG_DIR%\logs^ --StdOutput=auto^ --StdError=auto^ --PidFile=pid.txt^ --LogLevel=Debug {noformat} Could this an "off-by-one" buffer handling bug? This occurs with version 1.0.15 and 1.2.2. > [prunsrv] Registry entry for HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\LdeService ImagePath contains a junk character > ---------------------------------------------------------------------------------------------------------------------------- > > Key: DAEMON-413 > URL: https://issues.apache.org/jira/browse/DAEMON-413 > Project: Commons Daemon > Issue Type: New Feature > Components: prunsrv > Affects Versions: 1.0.15, 1.2.2 > Reporter: Gary D. Gregory > Priority: Major > > On *Windows Server 2012R2 Standard Build 9600* (6.3.9600), the Windows Registry entry for > *HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\LdeService* > The {{ImagePath}} attribute contains one junk character. Notice the {{"á"}} after {{".exe"}}: > {noformat} > "C:\Program Files (x86)\Rocket Software\LegaSuite Distributed Engine\7.2456.1.17\bin\win\amd64\prunsrv.exeá" //RS//LdeService > {noformat} > The script I used to register the service is: > {noformat} > set LDE_HOME=%~dp0..\ > call "%LDE_HOME%set-vars.cmd" %* > if %PROCESSOR_ARCHITECTURE%==x86 goto setx86 > if %PROCESSOR_ARCHITECTURE%==AMD64 goto setamd > if %PROCESSOR_ARCHITECTURE%==IA64 goto setia > goto :eof > :setx86 > set PR_HOME=%~dp0win\ > goto exec > :setamd > set PR_HOME=%~dp0win\amd64 > goto exec > :setia > set PR_HOME=%~dp0win\ia64 > goto exec > :exec > "%PR_HOME%\prunsrv.exe" //IS//LdeService^ > --DisplayName="Rocket Software LegaSuite Distributed Engine (LDE)"^ > --Install="%PR_HOME%\prunsrv.exe"^ > --Jvm="%JAVA_HOME%\bin\client\jvm.dll"^ > --StartMode=jvm^ > --StopMode=jvm^ > --StartClass=com.seagullsw.appinterface.server.AppInterfaceServer^ > --StopClass=com.seagullsw.appinterface.server.StopService^ > --StartParams="--config#%LDE_CONFIG_DIR%"^ > --Classpath="%LDE_HOME%\lib\*"^ > --JvmOptions=-Xrs^ > ++JvmOptions=-Djava.endorsed.dirs="%LDE_HOME%\lib\endorsed"^ > ++JvmOptions=-Djavax.xml.transform.TransformerFactory=org.apache.xalan.xsltc.trax.SmartTransformerFactoryImpl^ > ++JvmOptions=-Dorg.apache.cxf.Logger=org.apache.cxf.common.logging.Log4jLogger^ > --LogPath=%LDE_CONFIG_DIR%\logs^ > --StdOutput=auto^ > --StdError=auto^ > --PidFile=pid.txt^ > --LogLevel=Debug > {noformat} > Could this an "off-by-one" buffer handling bug? > This occurs with version 1.0.15 and 1.2.2. -- This message was sent by Atlassian Jira (v8.3.4#803005)