If this is a Production environment, there should be automation jobs scheduled for daily or weekly back ups. If you have access to the production server machine, you can find it in some of the directory. These back ups includes along with the databases all the config files and folders. There you can find the tomcat folder as well. In the path tomcat\webapps\businesspublisher\WEB-INF you can find the web.xml. you can retrieve this file.
e.g we have created a folder for daily backup on the server as ARIS-Saves7.2. the path for web.xml would be.
Please let me know if you are able to retrieve the file.
Thanks & Regards.
Many thanks for your response, really very kind of you!
I worked on that possibity as first option, though my client has not included that server in any backup list. So in short we don't have any backup/DR copy of the file. Also we don't have any UAT/DEV environment from where I can copy/modify the file.
Moreover, I am not sure why we lost the file coz we didn't touch it. I was working on BusinessPublisher.xml file to point to migrated database. Now I cannot even revert to original config.
Hope you will have be able to help me further!!
I would strongly suggest (like Anupama Vijayan) to take a step back and look again at what you are doing, as a measure of precaution. Even if you did not touch web.xml you were "only" editing another config file in the production environment, so what if this one stops working?
To catch two flies with one stone: Install Business Publisher on a separate machine to establish a development environment, backup all relevant config files (cf. BusPublisher Guide) before first change, then you can retrieve a clean web.xml
Best regards, Martin