I have always liked the concept of plug-in in Liferay but using the ext environment as plug-in in Liferay 6 seems to be a little bit painful and time taking. It will need you to restart tomcat a couple of times if you are working in service files. The original post which i used here for reference documents everything. I am copying it here so that i can recall it in future. However i am listing below the major steps followed in the original post.
- Stop the tomcat.
- Remove ext plug-in related jars in @temp folder of your tomcat instance @temp\liferay\com\liferay\portal\deploy\dependencies
- Remove ext plug-in related jars from ROOT/WEB-INF/lib/
- Remove xml for ext plug-in from ROOT/WEB-INF/
- Remove service jar from @tomcat/lib/ext related to plug-in
- Start tomcat and deploy updated plug-in war while tomcat is running, You will see a message like "You must reboot the server and redeploy all other plugin".
- Now stop the tomcat and restart it again for the global jars to take effect. And you are ready to go
No comments:
Post a Comment