Debugging is such a pain
While debugging the product, it's debatable whether which is faster: starting a fresh installation of everything, or only updating existing debug builds of the SIO server and WP while using previous instances of the DS and WS. A fresh installation involves making instances of the DS and WS, uploading schema, building the SIO and WP, and finally installing SIO and WP. This method is, generally speaking, slower compared to the other one. Of course, for the second one, one has to delete the tree from the DS. So if you have any valuable data in the DS, you have to export that node, then re-import it after deleting the tree. And it can be the source of endless frustration if you forget it! Which can have you falling back to the first method, and cursing yourself when you realize you should have done that in the first place!
But that was only one of the issues I faced today. Even after following method #2, the SIO just wouldn't start. So I had to debug the startup process and found out that it was failing while loading the parameter catalog. Looking into the XML source of the catalog revealed the culprit: an extra ending tag! I have no idea how it got in there! The WS instance too wasn't starting because of the same reason! I finally had the system up and running at 6:15 PM, too late to get any useful work done.

<< Home