[jboss-jira] [JBoss JIRA] (WFLY-7478) Definition Credential Store with non-existent storage file causes ugly failure-description with Exception.
Hynek Švábek (JIRA)
issues at jboss.org
Fri Nov 4 05:29:00 EDT 2016
[ https://issues.jboss.org/browse/WFLY-7478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hynek Švábek moved ELY-720 to WFLY-7478:
----------------------------------------
Project: WildFly (was: WildFly Elytron)
Key: WFLY-7478 (was: ELY-720)
> Definition Credential Store with non-existent storage file causes ugly failure-description with Exception.
> ----------------------------------------------------------------------------------------------------------
>
> Key: WFLY-7478
> URL: https://issues.jboss.org/browse/WFLY-7478
> Project: WildFly
> Issue Type: Bug
> Reporter: Hynek Švábek
> Assignee: Peter Skopek
>
> Definition Credential Store with non-existent storage file causes ugly failure-description with Exception.
> When I define Credential
> Store for non-existent JCEKS file
> {code}
> /subsystem=elytron/credential-store=cs_not_found_exception:add(uri="cr-store://test/cs/keystore-non-existent.jceks?store.password=pass123")
> {code}
> then I got very ugly failure description
> {code}
> {
> "outcome" => "failed",
> "failure-description" => {
> "WFLYCTL0080: Failed services" => {"org.wildfly.security.credential-store-client.cs_not_found_exception" => "org.jboss.msc.service.StartException in service org.wildfly.security.credential-store-client.cs_not_found_exception: WFLYELY00004: Unable to start the service.
> Caused by: org.wildfly.security.credential.store.CredentialStoreException: ELY09506: Cannot read credential storage file '/home/hsvabek/securityworkspace/VERIFICATION/2016_11_02_UX_testing/jboss-eap-7.1.0.DR7/standalone/data/cs/keystore-not_exists.jceks' for the store named 'cs_not_found_exception'
> Caused by: java.io.FileNotFoundException: /home/hsvabek/securityworkspace/VERIFICATION/2016_11_02_UX_testing/jboss-eap-7.1.0.DR7/standalone/data/cs/keystore-not_exists.jceks (No such file or directory)"},
> "WFLYCTL0412: Required services that are not installed:" => ["org.wildfly.security.credential-store-client.cs_not_found_exception"],
> "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
> },
> "rolled-back" => true
> }
> {code}
> *Suggestion for solution*
> failure-description must not contain Exception or snippet stacktrace.
> Description like that "Credential store file XYZ doesn't exist.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list