There are 10 easy steps to remove/undeploy ext environment from Liferay Bundle
Step 0 : Stop Server / Tomcat Bundle
Step 1 : Go to the location "...\liferay-portal-*\tomcat-*\webapps\ROOT\WEB-INF and remove below files
> ext-*-*-ext.xml
> liferay-portlet-ext.xml
> portlet-ext.xml
> struts-config-ext.xml
> tiles-defs-ext.xml
Step 2: Go to the location "...\liferay-portal-*\tomcat-*\webapps\ROOT\WEB-INF\lib and remove below jar files
> ext-*-ext-impl.jar
> ext-*-ext-util-bridges.jar
> ext-*-ext-util-java.jar
> ext-*-ext-util-taglib.jar
Step 3: Go to the location "...\liferay-portal-*\tomcat-*\lib\ext and delete the below service jar
> ext-*-ext-service.jar
Step 4: Go to the location "...\liferay-portal-*\tomcat-*\webapps and delete the below folder
> *-ext
Step 5: Go to the location "...\liferay-portal-*\tomcat-*\webapps\ROOT\WEB-INF\classes / ...\liferay-portal-*\ and modify portal-ext.properties file
Note : 1) Need to check for any of the start up events like "application.startup.events="
2) Skip such events on server start up
Step 6: Remove "temp" and "work" folders from the location "liferay-portal-*\tomcat-*"
Step 7: Start tomcat bundle
Step 8: Put .war file of ext inside "deploy" folder and wait for below message on catalina.out
"Extension environment for *-ext has been applied. You must reboot the server and redeploy all other plugins."
Step 9: Uncomment any changes in portal-ext.properties file made in point #5
Step 10: Restart your server
All Done! Ext is removed/undeployed. Enjoy Coding.
Cheers!
Henal Saraiya
(Senior Consultant)
CIGNEX Datamatics