IBM Support

Init() method called twice for servlets using org.eclipse.equinox.http.registry.servlets extension point

Technote (troubleshooting)


The init() method on servlets using the org.eclipse.equinox.http.registry.servlets extension point are called twice if the load-on-startup argument is set to true.


init() method of servlet being called twice.


The servlet bridge being used within Domino to allow the use of servlets using the org.eclipse.equinox.http.registry.servlets extension point is being instantiated a second time by the embedded Expeditor Web Container. This results in servlets whose plugin.xml contains load-on-startup="true" having their init() method called twice.

Resolving the problem

This issue has been reported to Quality Enginerring as SPR# RSSN8ZV73Q. As a workaround, if having the init() method called twice is causing a problem, you can set load-on-startup="false" in the servlet's plugin.xml.

Document information

More support for: IBM Domino
Web Server

Software version: 8.5.3,,,,,,, 9.0, 9.0.1

Operating system(s): AIX, IBM i, Linux, Solaris, Windows, z/OS

Software edition: All Editions

Reference #: 1623498

Modified date: 29 January 2013

Translate this page: