Set the default encoding for WebSphere __oracle

Source: Internet
Author: User

When the default encoding for WebSphere minicomputer installed is not GBK,
The application is GBK as the default encoding can lead to a series of garbled problems.
In this case, we can fix the problem with the console settings for WebSphere.
The following websphere abbreviation WS,WS has WS5 and WS6, and two are somewhat different.

WS5:
Click on the server node to--> the application server and find the server that you are using.
Enter, find process definition in "other properties",
Then locate the Java Virtual machine in the other properties below it.
Then locate general JVM arguments to set its value to:-DFILE.ENCODING=GBK
Then save and restart the WS service. Note that the WS is restarted.
Telnet to the server, stopserver.sh Server1

WS6:
The server--> the application server and finds the server that it uses.
WS6 have different, attention.
Locate the server infrastructure, expand Java and process management under it, and then go to process definition.
After entering, find "other properties"--> "Java virtual machine":
Set the Java virtual machine to:-DFILE.ENCODING=GBK

Another: Enter the command directly under UNIX:

./startserver.sh SERVER1-DFILE.ENCODING=GBK

can also be

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.