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

Document information


More support for:

IBM Domino
Web Server

Software version:

8.5.3, 8.5.3.1, 8.5.3.2, 8.5.3.3, 8.5.3.4, 8.5.3.5, 8.5.3.6, 9.0, 9.0.1

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

Machine Translation

Content navigation