Migrating the class-loader Module Visibility Mode setting

Why and when to perform this task

WebSphere Application Server Version 4.0.x had a server-wide configuration setting called Module Visibility Mode. For Version 5.0 and later, you use application or WAR class-loader policies instead of module visibility modes. The Version 5.x policies provide additional flexibility because you can configure applications running in a server for an application class-loader policy of Single or Multiple and for a WAR class-loader policy of Module or Application.

To migrate module visibility modes in your Version 4.0.x applications to their equivalents in Version 5.x, change the settings for your Version 4.0.x applications and modules to the Version 5.x values shown in the table below.

Version 4.0.x module visibility mode Version 5.x application class-loader policy Version 5.x WAR class-loader policy
Server Single Application
Compatibility Single Module
Application Multiple Application
Module* Multiple Module
J2EE Multiple Module

*There is no exact equivalent for the Version 4.0.x Module mode because it isolated EJB modules within an application.

Steps for this task

  1. Set the application class-loader policy to Single or Multiple on the Application server settings page of a Version 5.x administrative console. Click Servers > Application Servers > server_name to access the settings page.
  2. Set the WAR class-loader policy to Module or Application on the Enterprise application settings page of a Version 5.x administrative console. Click Applications > Enterprise Applications > application_name to access the settings page.
  3. Click Save on the console taskbar and then click Save on the Save panel to save the class-loader policy settings.

Related concepts
Class loaders
Related tasks
Class loading



Searchable topic ID:   trun_migr_classload
Last updated: Jun 21, 2007 4:55:42 PM CDT    WebSphere Application Server Network Deployment, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/trun_migr_classload.html

Library | Support | Terms of Use | Feedback