[jboss-jira] [JBoss JIRA] (ELY-171) Properties based KeyStore fails to parse default WildFly properties file.

Darran Lofthouse (JIRA) issues at jboss.org
Fri Mar 27 08:33:20 EDT 2015


Darran Lofthouse created ELY-171:
------------------------------------

             Summary: Properties based KeyStore fails to parse default WildFly properties file.
                 Key: ELY-171
                 URL: https://issues.jboss.org/browse/ELY-171
             Project: WildFly Elytron
          Issue Type: Bug
          Components: SSL
            Reporter: Darran Lofthouse
            Assignee: Darran Lofthouse
             Fix For: 1.0.0.Alpha1


The default file only contains commented out lines, however the following error is reported.

{noformat}
12:28:44,523 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-12) MSC000001: Failed to start service elytron.keystore.mgmt_properties: org.jboss.msc.service.StartException in service elytron.keystore.mgmt_properties: Failed to start service
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalArgumentException: The supplied character array must contain an even number of hex chars.
	at org.wildfly.security.sasl.util.HexConverter.convertFromHex(HexConverter.java:91)
	at org.wildfly.security.sasl.util.HexConverter.convertFromHex(HexConverter.java:123)
	at org.wildfly.security.keystore.PropertiesKeyStoreSpi.engineLoad(PropertiesKeyStoreSpi.java:296)
	at java.security.KeyStore.load(KeyStore.java:1433)
	at org.wildfly.security.keystore.AtomicLoadKeyStoreSpi.engineLoad(AtomicLoadKeyStoreSpi.java:51)
	at java.security.KeyStore.load(KeyStore.java:1433)
	at org.wildfly.extension.elytron.KeyStoreService.start(KeyStoreService.java:109)
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
	... 3 more

12:28:44,527 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("add") failed - address: ([
    ("subsystem" => "elytron"),
    ("keystore" => "mgmt_properties")
]) - failure description: {"WFLYCTL0080: Failed services" => {"elytron.keystore.mgmt_properties" => "org.jboss.msc.service.StartException in service elytron.keystore.mgmt_properties: Failed to start service
    Caused by: java.lang.IllegalArgumentException: The supplied character array must contain an even number of hex chars."}}
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list