Now we are in process of migrating the file poling adapter on the webMethods 6.5 version which is on windows server. Now we have to change the abaove script.
We have two option:
Create the scheduler service which start and stop the adapter
continue with existing script
If we go with second option, is there is any command by which we can start and stop the adapter on 6.5 version on windows.
I am not sure how File polling adapter was working in wM 4.6 version. Right from 6.5, it is just some configuration steps that you have to follow in IS admin page to create File polling port that checks for file existence at specified interval.
Are you still migrating this to 6.5? They are already out of date, and why dont you think of migrating to the latest?
Hi Amit,
File polling adapter is something that is built into IS. You cannot really enable/disable it manually. It doesn’t come as a separate component while you install the product. You can create file polling ports and if you are not using them, all you have to do is disable the ports.
All i can think of this functionality in a bat file being useful is when you want to have a back door entry in to production systems (or any restricted systems) to enable or disable ports on the fly(in this case). All you will need is, an access to a staging folder (or an access to a network map drive on that host) on the prod system and in the bat script use the “invoke-command” to modify the listeners.cnf (or any other file).