lukecrouch
04-14-2005, 10:27
periodically, one of our file-poller ports becomes disabled because of network failure to the polled directory. webmethods suggested I add a Port Status Event Manager that would execute a service to notify me when our port goes down. I think I have done that, but I'm wondering how I can test it?
I added a savePipelineToFile at the beginning of the service to see what the pipeline looked like when it runs. then I disabled the port via the Ports screen in the admin web interface. then I went back into Developer and disabled the savePipelineToFile, and put in a restorePipelineFromFile with the same fileName.
but when I run the service, the pipeline shows the portStatusInfo/enabled = true for the file-polling port. which I wouldn't think it would be.
has anyone written a service for handling port status before that can give me some help?
thanks.
I added a savePipelineToFile at the beginning of the service to see what the pipeline looked like when it runs. then I disabled the port via the Ports screen in the admin web interface. then I went back into Developer and disabled the savePipelineToFile, and put in a restorePipelineFromFile with the same fileName.
but when I run the service, the pipeline shows the portStatusInfo/enabled = true for the file-polling port. which I wouldn't think it would be.
has anyone written a service for handling port status before that can give me some help?
thanks.