![]() |
The Internationalization Service can successfully initialize during an application server's startup process provided the following conditions exist. These conditions apply to both contained Enterprise JavaBean Java client programs and application servers requiring use of the Internationalization service.
- The i18nctx.jar file resides in the WAS_HOME/lib subdirectory (where WAS_HOME represents the directory in which the WebSphere Application Server product was installed). The i18nctx.jar archive file contains all classes and resources necessary to utilize the Internationalization Service.
- The eex.jar file resides in the WAS_HOME/lib subdirectory (where WAS_HOME represents the directory in which the WebSphere Application Server product was installed) and contains a version of the eex.xml file supplying no entries regarding Internationalization Service enablement. The eex.jar archive file contains the EE Services initialization framework and a version of the eex.xml file containing no Internationalization Service-related entries (see eexr.jar, in the following list item).
- The eexr.jar file resides in the WAS_HOME/lib/ext subdirectory (where WAS_HOME represents the directory in which the WebSphere Application Server product was installed) and contains a version of the eex.xml file supplying entries necessary to enable the Internationalization Service.
The eexr.jar archive file contains the eex.xml file, which directs the Enterprise Services initialization framework towards classes required to initialize the Internationalization Service. The following code snippet includes XML definitions that are necessary to enable the Internationalization Service on an application server:
<?xml version="1.0" ?> <!DOCTYPE enterprise-extension (View Source for full doctype...)> - <enterprise-extension> - <Plugins> <class>com.ibm.ws.i18n.context.ServiceInit</class> </Plugins> <BeforeActivationCollaboratorFactories> <class>com.ibm.ws.i18n.context.ServiceInit</class> </BeforeActivationCollaboratorFactories> - <ContextPlugins> <class>com.ibm.ws.i18n.context.ServiceInit</class> </ContextPlugins> <ServletInvocationListenerFactories> <class>com.ibm.ws.i18n.context.ServiceInit</class> </ServletInvocationListenerFactories>- The EEservices.xml file resides in the WAS_HOME/Enterprise/bin subdirectory (where WAS_HOME represents the directory in which the WebSphere Application Server product was installed) and supplies the default entries to enable the Internationalization Service within an application server's Custom service panel.
Related tasks... | |
Enabling or disabling the Internationalization Service | |
Managing Internationalization context | |
Tracing Internationalization Service function | |
Related concepts... | |
The Internationalization Service | |
Related reference... | |
The programming model | |
Programming examples | |
View PDF file... | |
To view a PDF file containing this article and related articles, click: | |
![]() | |