Comment #4 on issue 106 by [email protected]: defining any context-param in web.xml results in a "Duplicate context initialization parameter" IllegalArgumentException.
http://code.google.com/p/sipservlets/issues/detail?id=106

Looks like this due to the "hasWebAnnotations" property in SipContextConfig being declared as static. This can lead to super.configureStart() being called twice if the current servlet uses web.xml but a previously-loaded servlet used annotations.

I'm not sure what decides the servlet loading order, but in my case I was consistently seeing this exception on one machine, and never seeing it on another (with the same servlets).

Note that the sample Click2Call servlet uses annotations, so it only takes one additional servlet using web.xml to trigger the bug.

Reply via email to