[Version 5.0.2 and later]Enabling the internationalization service for servlets and enterprise beans

Why and when to perform this task

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

[Version 5.0.2 and later]This task applies also to Web service-enabled enterprise beans.

Steps for this task

  1. Start the administrative console.
  2. Select Servers > Application Servers > server_name > Internationalization Service.
  3. Enable the internationalization service.
    1. If not already selected, select the Startup checkbox.
    2. Click OK.

Results

When the Startup setting is selected, the application server automatically initializes, starts, and enables the internationalization service whenever the server starts. If you change this setting, be sure to restart the application server in order for the new setting to take effect.

To disable the service, clear the Startup checkbox. In this case, the internationalization service is initialized but is neither started nor enabled when the application server starts.

Example

Alternatively, the internationalization service can be enabled from the command line by using the wsadmin tool. To do this, start the wsadmin tool and enter the following commands:

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 in order for the new setting to take effect.

Related tasks
Enabling the internationalization service for EJB clients
Troubleshooting the internationalization service
Related reference
Internationalization service settings



Searchable topic ID:   tin_enableserver
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/i18n/tasks/tin_enableserver.html

Library | Support | Terms of Use | Feedback