[
https://issues.apache.org/jira/browse/DAEMON-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12855734#action_12855734
]
Sebb commented on DAEMON-156:
-----------------------------
Further checking shows that prunsrv also misbehaves with Java 1.4.2 and 1.5.
However in these cases, prunsrv does not crash - it does not exit at all.
This can be seen by using prunsrv //TS//service interactively.
When using prunmgr this problem is not seen, I assume because service shutdown
forcibly terminates prunsrv if it does not exit.
I think the problem is in javajni.c: __apxJvmDetach but I have not been able to
determine why that is failing during shutdown.
> Prunsrv crashes with access violation when stopping service
> -----------------------------------------------------------
>
> Key: DAEMON-156
> URL: https://issues.apache.org/jira/browse/DAEMON-156
> Project: Commons Daemon
> Issue Type: Bug
> Components: Procrun
> Affects Versions: 1.0.2
> Reporter: Sebb
>
> The prunsrv.exe application crashes with an access violation during the final
> stages of jvm-mode service shutdown, after the service class stop method has
> been invoked.
> To reproduce, use the ProcrunService example, installed using
> ProcrunServiceInstall; start and then stop the service.
> There should be an entry in the Dr Watson directory, and an Application
> Failed dialogue box will appear.
> I don't know yet if the problem also occurs with Java or Exe mode shutdown.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira