Early next week, I am going to commit the package renaming changes
from org.apache.commons to com.sun.org.apache.commons.
The following package names have been prefixed with "com.sun.":
org.apache.commons.beanutils
org.apache.commons.collections
org.apache.commons.digester
org.apache.commons.launcher
org.apache.commons.logging
org.apache.commons.modeler
The renamed packages have been staged for bootstrapping.
These changes will avoid collisions between the org.apache.commons
packages currently bundled by AS with the same packages (with possibly
different versions) bundled by deployed webapps. These changes have
become necessary because it is currently impossible to isolate the AS
packages from deployed webapps.
Webapps that have a dependency on these packages, and have been
relying on the AS to supply them, will no longer work. In order to
make them work again, the following options are available:
- Have those webapps bundle the required org.apache.commons JARs
- Make the required org.apache.commons packages available for sharing by
placing their JARs in this location:
${com.sun.aas.instanceRoot}/lib/applibs
- During deployment, specify the "--libraries" option and list the
specific JARs your webapp depends on
- For autodeployed webapps, reference the JARs in the
"extra-class-path" attribute of the <class-loader> element in
/WEB-INF/sun-web.xml.
Jan