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.
Was this topic helpful?
Document Information
Modified date:
29 September 2018
UID
swg21323153