Thursday, November 19, 2009

WLI: how to clean up a WLI environment

- TERMINATE all processes (using for instance the WLI Console)
- purge all tasks
- stop all processes and task applications
- uninstall all processes and task applications
- stop application servers
- delete all this:

¤ / pathToYourDomain / yourDomain /wliconfig /ProcessTypeProperties.xml

¤ / pathToYourDomain / yourDomain /wliconfig /AppliServers /ProcessTypeProperties.xml

¤ / pathToYourDomain / yourDomain /servers/ adminServer /cache/*

¤ / pathToYourDomain / yourDomain /servers/ adminServer /tmp/*

¤ / pathToYourDomain / yourDomain /servers/ appliServer /cache/*

¤ / pathToYourDomain / yourDomain /servers/ appliServer /tmp/*

¤ / pathToYourDomain / yourDomain /servers/ appliServer /stage


DB:
- you must disable constraints
- truncate all tables starting by JPD_* WLI_*, BUT WLI_CALENDAR and WLI_CALENDAR_SEQUENCE

restart servers
ProcessTypeProperties.xml will be recreated


verify with WLI Console that no process nor process instance exist

redeploy processes and tasks applications

recreate all resources

No comments: