Skip to main content

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


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:

(0 users)Average rating

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.

Rate this page:


(0 users)Average rating

Add comments

Document information

IBM Domino

Web Server


Software version:
8.5.3, 8.5.3.1, 8.5.3.2, 8.5.3.3, 9.0


Operating system(s):
AIX, AIX 64bit, IBM i, Linux, Linux iSeries, Linux zSeries, Solaris, Windows, Windows 64bit, i5/OS, z/OS


Software edition:
All Editions


Reference #:
1623498


Modified date:
2013-01-29

Translate my page

Content navigation