Technote (troubleshooting)
Problem
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.
Symptom
init() method of servlet being called twice.
Cause
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.
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.