>>
APLDN Home

>>
Events

>>
Trainings

>>
APL Books

>>
APLDN Links

>>
Discussion Groups

>>
Downloads

>>
Articles

>>
Library

>>
Learning Tools

>>
APLDN User IO

>>
APL2000.com




Bug Reports

Author Thread: sending a notify-stop command doesn't terminate the process
Owen.Shelksohn
sending a notify-stop command doesn't terminate the process
Posted: Tuesday, February 15, 2005 3:33 PM (EST)

Hello,

 In web services version 2.0.1851, when I execute

'#' Œwi 'Notify' '<aplresult><aplmethod>STOP</aplmethod><aplurl>wsname</aplurl></aplresult>'

 

the workspace named 'wsname' does not actually terminate. The workspace is no longer visible, but is present in memory (I can see it in task manager) and is still running code. It is disconnected from webservices; ie no requests will reach it.

 In the previous version (1.5.1648), the same command would fully terminate the apl session.

 I'm assuming this is a bug, but maybe it is an intentional change in behavior?

 

 I've tried it on two different OS, windows 2000 professonal and windows server 2003 standard and see the same thing.

 I'm using APL 5.0.

 

Thanks,

  Owen


Comments:

Author Thread:
Jairo.Lopez
sending a notify-stop command doesn't terminate the process
Posted: Wednesday, February 16, 2005 7:47 PM (EST)

Thanks for reporting the error. A new version is now available at:

http://apldn.apl2000.com/downloads/APLWS+Downloads/APLWSRC/1435.aspx

 

 

     

Owen.Shelksohn
quadSA error in new release
Posted: Thursday, February 17, 2005 12:27 PM (EST)

Jairo,

 the new release does appear to fix this problem the notify-stop problem.

 However, I now see a new error. When I try to assign 'OFF' to quadSA the apl session crashes with a generic memory read error.

 

     

Owen.Shelksohn
quadSA error in new release
Posted: Thursday, February 17, 2005 12:29 PM (EST)

I forgot to specify, this is in a webservices activeX workspace, and I am now using APL5.2.

 

     

Jairo.Lopez
quadSA error in new release
Posted: Thursday, February 17, 2005 12:48 PM (EST)

Owen,

Notify-stop: We tested with APL+Win version 5.0.16. We are in the process of testing with 5.2.10 to check the correct behavior.

ŒSA error: You should never use ŒSA off in an ActiveX workspace opened by the APL+WebServices. Instead you can use the Notify method to request the server to terminate the session using the "kill" option like this:

<aplresult>
<aplmethod>kill</aplmethod>
</aplresult>
 

Or the kill2aplcom option like this:

<aplresult>
<aplmethod>kill2aplcom</aplmethod>
<apldata>{message}</apldata>
</aplresult> 

For complete documentation check the e-Library at: http://apldn.apl2000.com/apllibrary/index.htm , or the AplWebServicesReference help document located in the /docs folder under the installation path of the APL+WebServices.

 

     



APL2000 Official Web Site

Service is the rent we pay for being. It is the very purpose of life, and not something you do in your spare time.
--- Marion Wright Edelman

APLDN Home   |    |  Events   |  Trainings   |  APL Books   |  APLDN Links   |    |  Discussion Groups   |    |  Downloads   |  Articles   |  Library   |  Learning Tools   |  APLDN User IO   |  APL2000.com   |