commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manju (Jira)" <j...@apache.org>
Subject [jira] [Commented] (DAEMON-409) Faulting application name: prunsrv.exe crashes on Windows 10
Date Wed, 09 Oct 2019 15:11:00 GMT

    [ https://issues.apache.org/jira/browse/DAEMON-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16947782#comment-16947782
] 

Manju commented on DAEMON-409:
------------------------------

Environment  details :

Windows 2019 Operating server

Jetty server - 9.4.11

Following are steps from batch file executed to get jetty server up and running

@echo off
set SERVICE_NAME=SCVMMAddInServer
REM set INSTALL_DIR=%~1
set JETTY_HOME=%INSTALL_DIR%\Server\jetty-distribution-9.4.11.v20180605
set JETTY_BASE=%INSTALL_DIR%\Server\jetty-distribution-9.4.11.v20180605
set STOPKEY=secret
set STOPPORT=50001

set PR_INSTALL=%INSTALL_DIR%\Server\jetty-distribution-9.4.11.v20180605\prunsrv.exe

@REM Service Log Configuration
set PR_LOGPREFIX=%SERVICE_NAME%
set PR_LOGPATH=%INSTALL_DIR%\Server\jetty-distribution-9.4.11.v20180605\logs
set PR_STDOUTPUT=auto
set PR_STDERROR=auto
set PR_LOGLEVEL=Debug

@REM Path to Java Installation
set JAVA_HOME=%INSTALL_DIR%\JVM
set PR_JVM=%JAVA_HOME%\bin\server\jvm.dll
set PR_CLASSPATH=%JETTY_HOME%\start.jar;%JAVA_HOME%\lib\tools.jar

@REM JVM Configuration
set PR_JVMMS=128
set PR_JVMMX=512
set PR_JVMSS=4000
set PR_JVMOPTIONS=-Duser.dir="%JETTY_BASE%";-Djava.io.tmpdir="%temp%";-Djetty.home="%JETTY_HOME%";-Djetty.base="%JETTY_BASE%"
@REM Startup Configuration
set JETTY_START_CLASS=org.eclipse.jetty.start.Main

set PR_STARTUP=auto
set PR_STARTMODE=java
set PR_STARTCLASS=%JETTY_START_CLASS%
set PR_STARTPARAMS=STOP.KEY="%STOPKEY%";STOP.PORT=%STOPPORT%;-Dinstall.dir=%INSTALL_DIR%

@REM Shutdown Configuration
set PR_STOPMODE=java
set PR_STOPCLASS=%JETTY_START_CLASS%
set PR_STOPPARAMS=--stop;STOP.KEY="%STOPKEY%";STOP.PORT=%STOPPORT%;STOP.WAIT=10

"%PR_INSTALL%" //IS/%SERVICE_NAME% ^
  --DisplayName="%SERVICE_NAME%" ^
  --Install="%PR_INSTALL%" ^
  --Startup="%PR_STARTUP%" ^
  --LogPath="%PR_LOGPATH%" ^
  --LogPrefix="%PR_LOGPREFIX%" ^
  --LogLevel="%PR_LOGLEVEL%" ^
  --StdOutput="%PR_STDOUTPUT%" ^
  --StdError="%PR_STDERROR%" ^
  --JavaHome="%JAVA_HOME%" ^
  --Jvm="%PR_JVM%" ^
  --JvmMs="%PR_JVMMS%" ^
  --JvmMx="%PR_JVMMX%" ^
  --JvmSs="%PR_JVMSS%" ^
  --JvmOptions="%PR_JVMOPTIONS%" ^
  --Classpath="%PR_CLASSPATH%" ^
  --StartMode="%PR_STARTMODE%" ^
  --StartClass="%JETTY_START_CLASS%" ^
  --StartParams="%PR_STARTPARAMS%" ^
  --StopMode="%PR_STOPMODE%" ^
  --StopClass="%PR_STOPCLASS%" ^
  --StopParams="%PR_STOPPARAMS%"

if not errorlevel 1 goto installed
echo Failed to install "%SERVICE_NAME%" service.  Refer to log in %PR_LOGPATH%
goto end

:installed
echo The Service "%SERVICE_NAME%" has been installed

:end

 

Service gets installed but does not start.

> Faulting application name: prunsrv.exe crashes on Windows 10
> ------------------------------------------------------------
>
>                 Key: DAEMON-409
>                 URL: https://issues.apache.org/jira/browse/DAEMON-409
>             Project: Commons Daemon
>          Issue Type: Bug
>          Components: Procrun
>    Affects Versions: 1.1.0
>         Environment: Upgraded Windows 2016 to Windows 2019
>            Reporter: Manju
>            Priority: Major
>         Attachments: SCVMMAddInServer.2019-10-09.log
>
>
> When attempting to start the Service it crashes on startup and provides this entry in
the Windows application log: 
> Faulting application name: prunsrv.exe, version: 1.1.0.0, time stamp: 0x5a022d06
> Faulting module name: ntdll.dll, version: 10.0.17763.719, time stamp: 0x6071cf9dException
code: 0xc0000005
> Fault offset: 0x000465b8
> Faulting process id: 0x22b0
> Faulting application start time: 0x01d5636553896926
> Faulting application path: <..>\prunsrv.exe
> Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
> Report Id: ba99f326-ea99-4272-b388-cd1b9e9f1cea
> Faulting package full name:
> Faulting package-relative application ID:



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message