WebSphere Application Server Network Deployment, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

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.

Steps for this task

  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.

Result

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.

Administration through scripting

Alternatively, the internationalization service can be enabled from the command line by using the wsadmin tool. 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 for the new setting to take effect.



Related concepts
Internationalization service
Enabling tracing and logging

Related tasks
Administering the internationalization service
Enabling the internationalization service for EJB clients

Related reference
Internationalization service settings

Task topic    

Terms of Use | Feedback

Last updated: Mar 17, 2005 4:28:29 AM CST
http://publib.boulder.ibm.com/infocenter/ws60help/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/i18n/tasks/tin_enableserver.html

© Copyright IBM Corporation 2002, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)