Wednesday, March 24, 2010

Solution for unique values for the 'webAppRootKey'

Exception while server startup - Choose unique values for the 'webAppRootKey' context-param in your web.xml files

Solution:

This exception is used to be raised when multiple application is  installed in the server. It is better practice to include  webAppRootKey parameter in your web.xml to uniquely identify the application.


Example:

 < context-param >

< param-name >webAppRootKey< /param-name >

< param-value > Unique ID < /param-value >

< / context-param >


3 comments:

  1. Thanks man. Really helped

    ReplyDelete
  2. very good! my webapp was not start with another webapp in same tomcat, but now, it works!!! very nice!

    ReplyDelete
  3. thank you verymuch. it works for me.

    ReplyDelete