IBM Support

Unlock keystore action appears to be broken when WebSphere Application Server Community Edition running against JDK 1.7

Technote (troubleshooting)

This document applies only to the following language version(s):



If you follow the instruction below to unlock a keystore, you will meet an Error like "Unable to format attribute of type; no editor found".


To reproduce the issue, please follow the instruction below.

1. Start wasce server.

2. Use keytool command to create a keystore with a key.
For example, run the command below.

keytool -genkeypair -keystore test.jks -alias testkey -keyalg RSA -keysize 2048 -dname ",c=US" -validity 365 -storepass welcome1

3.Copy the keystore to <wasce-home>\var\security\keystores

4.Use deploy encrypt to encrypt the password "welcome1",go the encrypt string:


Add the string into like this:

test.jks = {Simple}
testkey =

5. Restart the server.

6. Use deploy unlock-keystore command to unlock test.jks. For example,
deploy -u system -p manager unlock-keystore test.jks

The result is the unlock-keystore action seems to success. But you can find an ERROR below in admin console. It will generate an incomplete j2ee-security module in config.xml. When you restart the server, you will fail on it.

2013-02-27 11:41:06,564 WARN [FileKeystoreManager] keystoreType for new keystore "test.jks" set to "jks" based on file extension.
2013-02-27 11:41:06,660 ERROR [LocalAttributeManager] Unable to format attribute of type; no editor found
2013-02-27 11:41:06,660 WARN [BasicProxyManager] Could not load interface
nce in provided ClassLoader for org.apache.geronimo.framework/j2ee-security/3.0.0/car?ServiceModule=org.apache.geronimo.framework/

Resolving the problem

To fix this issue, please follow this instruction.

1. Download the patch

2. Unzip the patch file into the WebSphere Application Server Community Edition installation directory, and ensure the files in the zip file replace the ones in the server installation.

3. Start the server with the cache cleaned, for example,

<WAS_CE_HOME>\bin\startup -c

<WAS_CE_HOME>/bin/ -c

Document information

More support for: WebSphere Application Server Community Edition

Software version:

Operating system(s): AIX, Linux, Solaris, Windows

Software edition: Elite, Enhanced, Entry

Reference #: 1628524

Modified date: 16 March 2013

Translate this page: