IBM Support

Running ejbdeploy results in "java.lang.IllegalArgumentException: Malformed \uxxxx encoding" error

Troubleshooting


Problem

Attempts to run ejbdeploy in IBM Rational Application Developer for WebSphere Software (RAD) environment results in the error "java.lang.IllegalArgumentException: Malformed \uxxxx encoding".

Symptom

You see error message similar to the following:


Failure invoking BootLoader.startup method
java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
at java.util.Properties.loadConvert(Properties.java:531)
at java.util.Properties.load(Properties.java:369)
at com.ibm.etools.ejbdeploy.batch.impl.BootLoaderLoader.load(BootLoaderLoader.java:766)
at com.ibm.etools.ejbdeploy.batch.impl.BootLoaderLoader.loadProperties(BootLoaderLoader.java:734)
at com.ibm.etools.ejbdeploy.batch.impl.BootLoaderLoader.loadConfiguration(BootLoaderLoader.java:717)
at com.ibm.etools.ejbdeploy.batch.impl.BootLoaderLoader.processConfiguration(BootLoaderLoader.java:956)
at com.ibm.etools.ejbdeploy.batch.impl.BootLoaderLoader.startup(BootLoaderLoader.java:343)
at com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.startup(BatchDeploy.java:185)
at com.ibm.etools.ejbdeploy.EJBDeploy.startup(EJBDeploy.java:387)
at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java:80)
at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy.java:313)
EJBDeploy level: o0812.04

Cause

There are a couple of possible causes.

  • The $WAS_HOME/deploytool/itp/configuration/config.ini file is corrupted.



  • The $WAS_HOME/deploytool/itp/ folder is read only.

Diagnosing The Problem

Items to check include:

  • Check config.ini file to see if it is corrupted.
  • Check $WAS_HOME/deploytool/itp/ folder to see if it is read only.

Resolving The Problem

Apply one of the solutions below to resolve the issue:

  • If the config.ini file is corrupted, replace it with a known good copy from another host.
  • If $WAS_HOME/deploytool/itp/ folder was read only, make it writable.

    Alternatively you can change the default configuration folder in the file ejbdeploy.bat or ejbdeploy.sh as follows:

    -Dosgi.configuration.area=/tmp/config \

    and copy the config.ini inside.

[{"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Application Server Tooling (AST)","Platform":[{"code":"PF033","label":"Windows"},{"code":"PF016","label":"Linux"}],"Version":"7.0;7.0.0.1;7.0.0.2;7.0.0.3;7.0.0.4;7.0.0.5;7.0.0.6;7.0.0.7;7.0.0.8;7.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"EJBDeploy (WSAD)","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF033","label":"Windows"}],"Version":"7.0;6.1;6.0;5.1;5.0","Edition":"Advanced","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
29 September 2018

UID

swg21323153