Piara,
IS dynamically creates either files or tables for the WmRepository2. Trading Networks is more static, with predefined creation scripts. For this reason, it’s a bad idea to point the repo to the same alias as the TN DB, and I’m not surprised that it caused errors. If you want to point to a DB, I’d recommend using a new, repo-only user/schema/tablespace. Cleaning out the WmRepository2 directory is OK, but several things will be lost, including client certificates, some adapter config, and various other things. If you’re still getting the “too many files open” error and you just deleted all the files in the repo, start looking at other culprits. Usually the OS doesn’t complain till the repo directory has 1,000 or more files in it (depending on your OS configuration).
Tate
#webMethods#Integration-Server-and-ESB#Flow-and-Java-services