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

Technote (troubleshooting)


If you follow the instruction below to unlock a keystore, you will meet an Error like "Unable to format attribute of type java.net.URI; 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 "cn=test.apache.org,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 config-substitution.properties like this:

test.jks = {Simple}
testkey =

5. Restart the server.

6. Use deploy unlockKeystore command to unlock test.jks. For example,
java -jar deployer.jar -u system -p manager unlockKeystore test.jks

The result is the unlockKeystore e 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-03-15 15:03:56,532 WARN [FileKeystoreManager] keystoreType for new keystore "test.jks" set to "jks" based on file extension.
2013-03-15 15:03:56,571 ERROR [LocalAttributeManager] Unable to format attribute of type java.net.URI; no editor found

Resolving the problem

To fix this issue, please follow this instruction.

1. Download the patch file. UnlockkeystoreFailwithJDK7Patch2.1.1.6.zipUnlockkeystoreFailwithJDK7Patch2.1.1.6.zip

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, for example,



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 #:


Modified date:


Translate my page

Content navigation