Mapping application modules with wsadmin
Chad Scott 110000E1UB Visits (10463)
If you are like me and loathe manually mapping dozens of application's modules to your web server manually, here's a script you can use to automate it. My environment has a single web server, so you might need to tweak the portion that gets the web server name if you have a more complicated topology.
# Get the installed applications
# Get the web server name
# Map the modules for each app
To run it, copy the code into a file (e.g. mapModules.py), save it to a directory of your choice, and run it as follows:
.\wsadmin -f C:\S