commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <>
Subject [jira] Commented: (DAEMON-156) Prunsrv crashes with access violation when stopping service
Date Fri, 23 Apr 2010 14:20:49 GMT


Sebb commented on DAEMON-156:

I think it would make more sense to change the behavior of procrun so that the start() method
did not need to wait.

That is more in line with standard Java.
Also, the stop() method does not have this restriction.

The changes needed to fix the crash may well mean that the code will then work even if the
start() method does return immediately.

In the meantime, as a temporary work-round, I have fixed the sample application and docs.

> Prunsrv crashes with access violation when stopping service
> -----------------------------------------------------------
>                 Key: DAEMON-156
>                 URL:
>             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.
You can reply to this email to add a comment to the issue online.

View raw message