Network Deployment (Distributed operating systems), v8.0 > Develop and deploying applications > Develop Internationalization service > Task overview: Internationalizing application components (internationalization service) > Administer the internationalization service


Enable the internationalization service for servlets and enterprise beans

Perform this task to enable the internationalization service in the application server runtime environment.

Any servlet or enterprise bean can use internationalization context if the internationalization service is enabled within the hosting application server instance.


Procedure

  1. Start the administrative console.

  2. Click Servers > Application servers > server_name

    > Container services > Internationalization service.

  3. Enable the internationalization service.

    1. If not already selected, select the Enable service at server startup check box.

    2. Click OK.


Results

When you select the Enable service at server startup setting, the application server automatically initializes and starts the internationalization service whenever the server starts. If you change this setting, be sure to restart the application server for the new setting to take effect.

To disable the service, clear the Enable service at server startup check box. In this case, the internationalization service is initialized but not started when the application server starts.


Example

Alternatively, the internationalization service can be enabled from the command line by using wsadmin. Start wsadmin.sh and runs:

set x [$AdminConfig list I18NService]
$AdminConfig modify $x { { enable true } }
$AdminConfig save exit


What to do next

If you enable or disable the internationalization service, be sure to stop and then restart the application server for the new setting to take effect.
Internationalization service
Start and logging off the administrative console
Stop an application server
Start an application server
Administer the internationalization service
Enable the internationalization service for EJB clients


Related


wsadmin scripting tool
Trace and logging configuration
Internationalization service settings

+

Search Tips   |   Advanced Search