Take the 2-minute tour ×

I deployed liferay war on weblogic 10.3 and cretaed EXT which have changes in web.xml. If i deploy this EXT,weblogic doesn't take these changes which is made by web.xml of EXT.

I googled it and found this is issue in liferay 6.0 and resolved in liferay 6.2 please go through below link for more info: http://issues.liferay.com/browse/LPS-13222

Howerver I found some workaround in liferay wiki which is suggesting to follow below steps.

  1. copy somewhere existing web.xml
  2. deploy EXT plugin
  3. make plan.xml based on differences between the new web.xml and old one
  4. use plan.xml in administration console

But still wondering how to create plan.xml in step3.

So would like to know how can i create plan.xml based on differnce between new web.xml and old one.

share|improve this question
Can you give the wiki link? Also as a workaround I think you can even directly update the web.xml on the server. –  Prakash K Nov 6 '12 at 5:48
Thanks for reply...here is the link liferay.com/community/wiki/-/wiki/Main/… –  Gautam Nov 6 '12 at 9:25
the wiki contains a link to plan generator, that might help. –  Prakash K Nov 6 '12 at 11:01
Thanks prakash.. –  Gautam Nov 8 '12 at 14:28
add comment

1 Answer

You just have to do a diff. Under Linux, open a console. Try for example

diff web_old.xml web_new.xml > mydiff.patch

It will display the differences between the two files in a file called "mydiff.patch".

Now, you can patch the deployed web.xml (shutdown your server before) :

cd /path-of-the-web.xml-folder-on-the-server
patch -p0 < mydiff.patch

You can also use the svn diff command to make your diff file. After these operations, restart your server.

Hope it helps.

share|improve this answer
add comment

Your Answer


