I think you are trying to do via old way or manual package publish/subscribe process.
Please start to using the Deployer tool for deploying all your wM artifacts/assets.
Any reason why you are not using the Deployer UI?
HTH,
RMG
#webMethods#Integration-Server-and-ESB