Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I delete a collaboration with no associated eWay?

Status
Not open for further replies.

cliffblob

Programmer
Aug 26, 2002
8
US
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.
 
Have you thought of attaching the collaboration to an existing eWay? Click an existing eWay, right click in the collaboration pane, select existing collaboration, and attach the collaboration to the existing eWay. You can then delete the collaboration from there.

-DevIntProd
 
DevIntProd, thank you for your post, I was unaware of the "Existing Collaboration" option. Your suggestion worked perfectly. Thanks.
 

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
 
Technocat,

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


 

Hi DevIntProd,
yes, sorry little confusion with terminology here....

Happy coding.

TechnoCat.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top