132 Migrating from WebSphere Application Server Community Edition to WebSphere Application Server
Another common error is caused by Apache Xalan and Xerces, which are
usually bundled with application servers.
JDom is also bundled with WebSphere Application Server V6.
5.1.3 Deployment Descriptors
The J2EE specification does not cover all the aspects of application deployment
and configuration. This is why we have vendor-specific Deployment Descriptors.
Table 5-1 on page 133 lists both the J2EE and vendor-specific Deployment
Descriptors. Each application server uses a different set of files because they are
implemented differently and have different feature sets.
The biggest issues associated with Deployment Descriptors while migrating to
WebSphere Application Server V6 can be summarized include:
CMP to database schema mapping
WebSphere Application Server V6.1 uses a completely different way of
mapping CMPs to the database schema, compared to the other application
servers covered in this book. The only way of creating these files is by using
either Rational Application Developer V7.0 or the Java Application
Verification Kit.
The J2EE standard Deployment Descriptors are mapped to the WebSphere
Application Server V6.1 specific Deployment Descriptors with IDs, as
illustrated in Example 5-1 on page 133 and Example 5-2 on page 133. This
means that the ID in the WebSphere Application Server V6.1 specific
Deployment Descriptor must match the one in the J2EE standard Deployment
Descriptor.
WebSphere Application Server V6.1 validates the Deployment Descriptors
more strictly than other application server. This will lead to the following
problems when migrating:
– Deployment Descriptors will fail validation because the elements are not in
the proper order or the DTD is incorrect.
– JSPs will not compile.