WebSphere Application Server V5.0 and V5.1 support
servlets that comply with the Servlet 2.2 or Servlet 2.3 specifications.
WebSphere Application Server V6.0 supports servlets at the Servlet 2.2,
2.3, or 2.4 specifications. You can review the differences between the
Servlet specifications here.
In WebSphere Application Server V5.0, V5.1 and V6.0, servlets at the
2.2 specification level cannot use a standard data source. Such servlets
must use a data source that is defined as a Version 4 data source. In the
JDBC Provider configuration in the administrative console, you can create
either Data Sources or Data Sources (Version 4). Standard
data sources are sometimes referred to as Version 5 data sources.
The application developer must decide which Servlet specification level
to use. The selection is made when packaging the application using the
Application Server Toolkit, WebSphere Studio Application Developer (WSAD),
Rational® Application Developer (RAD), or a third-party development
tool.
The Application Server Toolkit or the development tool will generate a
deployment descriptor, web.xml, for the Web application. The
web.xml is generated differently depending on the Servlet
specification level that is chosen.
WebSphere Application Server will read the web.xml to determine the
specification level of the servlet at runtime. If the servlet is at the
2.2 specification level and tries to use a standard data source, the
J2CA0106E error will occur.
|