How do I delete a collaboration with no associated eWay?
How do I delete a collaboration with no associated eWay?
(OP)
eGate Enterprise Manager allows you to delete an eWay which has collaborations associated with the eWay. There is no error message and when the eWay is deleted and the collaborations are left in the registry with no way to remove them. This is a problem in that I am doing some benchmarking and load testing and need to copy an eWay but the default collab names are already in use by the orphaned collabs so the copy fails. I will export the registry and fix it manually but in the future would like to know how I can delete these collaboration without exporting the registry. Obviously I will try to remember to delete collabs prior to deleting eWays in the future.
RE: How do I delete a collaboration with no associated eWay?
-DevIntProd
RE: How do I delete a collaboration with no associated eWay?
RE: How do I delete a collaboration with no associated eWay?
Hi Cliffbob,
DevIntProd gave you a very slick and smart way to do it, but maybe I can suggest a more boring way to achieve the same result manually...
All you collaborations are inside the runtime directory of the registry and are made up of a few files, you can actually delete those files manually and your collaboration is gone....
On my PC collabs are in the dir: C:\eGate\Server\registry\repository\<schemaname>\runtime\collaboration_rules\
To delete a collab you need to:
- make sure you've promoted the collab to the runtime,
- stop the registry service,
- delete all the files that compose the collaboration; in the case of a collab called col01, you'll have 6 files, namely:
-- col01.class
-- col01.ctl
-- col01.java
-- col01.xpr
-- col01.xts
-- col01Base.class
- restart the registry
- Go to the pub for a beer...
Event if you've already done what you needed I though I could post the way I'd do that, hope it helps somehow...
Happy coding...
Technocat
RE: How do I delete a collaboration with no associated eWay?
While your suggestion does explain how to delete physical files of a collaboration rule, which cannot be logically orphaned, it does not solve the poster's original problem of deleting an orphaned collaboration. Remember a collaboration is a logical entity while a collaboration rule is a physical component.
-DevIntProd
RE: How do I delete a collaboration with no associated eWay?
Hi DevIntProd,
yes, sorry little confusion with terminology here....
Happy coding.
TechnoCat.