sun.io.MalformedInputException when enabling or
disabling a WebSphere Commerce iFeature
|
Technote
(troubleshooting)
Problem(Abstract)
|
You receive a sun.io.MalformedInputException when enabling
or disabling an iFeature on a system using an UTF-8 encoding.
file:/opt/IBM/WebSphere/CommerceServer60/components/component-services/xml/updateXML.xml:17:
sun.io.MalformedInputException
at
com.ibm.commerce.wc.update.utils.XMLUpdateTask.execute(XMLUpdateTask.java:172)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
at org.apache.tools.ant.Task.perform(Task.java:341)
|
Cause
|
Some Java™ runtimes throw a sun.ioMalformedInputException
when the system locale is set to a UTF-8 encoding.
|
Diagnosing the
problem
|
To find out whether your system is set to a UTF-8
encoding, examine the locale-specific environment variables such as LANG
or LC_ALL to see if they end with the suffix ".UTF-8".
|
Resolving the
problem
|
Remove the ".UTF-8" suffix from the locale-specific
environment variables. For example, if your machine has a LANG default
locale of "ja_JP.UTF-8", set to "ja_JP".
|
|
|
Cross Reference information
|
Segment
| Product
| Component
| Platform
| Version
| Edition
|
Commerce
| WebSphere Commerce - Express
| | i5/OS, Linux, Windows
| 6.0, 6.0.0.1, 6.0.0.2, 6.0.0.3, 6.0.0.4
|
|
Commerce
| WebSphere Commerce Professional Edition
| Configuration
| AIX, i5/OS, Linux, Solaris, Windows
| 6.0, 6.0.0.1, 6.0.0.2, 6.0.0.3, 6.0.0.4
| |
|
Current web document: http://www.ibm.com/support/docview.wss?uid=swg21283376
|