草庐IT

windows - Apache prunsrv : error parsing command line

我正在尝试将Java程序作为Windows服务启动。谷歌搜索我找到了一个install.bat来安装和启动我的服务。正如我在Internet上找到的那样,我已将prunsrv.exe重命名为IdentificationService.exe。D:\IdentificationService\bin\IdentificationService.exe//IS//IdentificationServiceD:\IdentificationService\bin\IdentificationService.exe//US//IdentificationService--Install=D:\

java - Tomcat Windows 服务 (Apache Commons procsrv) "The user name or password is incorrect"

我花了2天多的时间试图让它工作,希望有人能给我指明正确的方向......我正在尝试以特定用户名的形式在WindowsServer2012R2上运行Tomcat8作为服务。由于我的应用程序的复杂性,我直接运行tomcat8.exe//IS/...而不是使用service.bat脚本。当服务运行时,我在公共(public)日志中收到以下错误:[2016-05-3118:00:14][debug](prunsrv.c:1679)[3280]CommonsDaemonprocrunloginitialized[2016-05-3118:00:14][info](prunsrv.c:1683)[

java - Apache 守护进程 procrun prunsrv Windows exe 模式不工作

几年来,我们一直在使用Procrun将Java应用程序转换为服务(并且没有出现问题)。我们还有一些作为服务运行的nativeWindows可执行文件。到目前为止,我们使用WindowsManagementInstrumentation(WMI)来定义这些,但我现在也尝试将Procrun用于这些nativeexe...不幸的是,我无法启动服务(或至少保持正在运行)。该服务似乎已正确创建;Prunsrvlog/stdout/stderr不包含错误;Apache/procrun和system/Services下的注册表项似乎创建正常;我可以使用Windows服务小程序或Prunmgr监视器查

java - prunsrv.exe 服务未启动

我正在尝试使用prunsrv.exe为应用程序安装和启动服务我可以正常安装该服务,但该服务不会启动并给我一个错误以下是使用prunsrv.exe安装服务的配置setSERVICE_NAME=TestServiceREMServicelogconfigurationsetPR_LOGPREFIX=%SERVICE_NAME%setPR_LOGPATH=D:\setups\Commons_Daemon\commons-daemon-1.0.14-bin-windows\logssetPR_STDOUTPUT=autosetPR_STDERROR=autosetPR_LOGLEVEL=INF