ColdFusion MX 6.1 for J2EE: Servlet DTD warning during startup on BEA WebLogic 8.1
Issue
The following warning is reported when starting BEA WebLogic 8.1:
<Mar 10, 2004 7:04:38 PM EST><Warning><HTTP><DOLEARY><myserver><Thread-1><<WLS Kernel>><><BEA-101247><cfusion: Public ID references the old version of the Servlet DTD. You must change the public ID in web.xml file to "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN".>
If RDS is enabled, the following warning is also reported:
<Mar 10, 2004 7:04:38 PM EST><Warning><HTTP><DOLEARY><myserver><Thread-1><<WLS Kernel>><><BEA-101247><CFIDE: Public ID references the old version of the Servlet DTD. You must change the public ID in web.xml file to "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN".>
When WebLogic starts, it reads the deployment descriptor file for ColdFusion MX, located in cf_root\WEB-INF\web.xml. The DOCTYPE statement in the web.xml file refers to the location and version of the Document Type Definition (DTD) file for the deployment descriptor:
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN""http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
ColdFusion MX 6.1 shipped with the XML DTD for the Servlet 2.2 web application specification. BEA WebLogic 8.1 uses the XML DTD for the Servlet 2.3 web application specification and therefore reports the warning.
Solution
The warnings are harmless and can be safely ignored.
This content requires Flash
To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.
Download the free Flash Player now!
