1 Reply Latest reply on Oct 11, 2018 4:44 AM by simkam

    CredentialSourceSupplier is invalid for DSSecurity

    Angela Ho Newbie

      Hi,

       

      I encountered the following error when i have tried to store database password into credential-store using elytron-tool.bat.

       

      Error during the deployment of java:jboss/datasources/test: java.lang.IllegalStateException: WFLYJCA0110: CredentialSourceSupplier is invalid for DSSecurity

           at org.jboss.as.connector.metadata.common.CredentialImpl.getPassword(CredentialImpl.java:96)

           at org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService$AS7DataSourceDeployer.setMcfProperties(AbstractDataSourceService.java:620)

           at org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService$AS7DataSourceDeployer.createMcf(AbstractDataSourceService.java:603)

           at org.jboss.jca.deployers.common.AbstractDsDeployer.deployDataSource(AbstractDsDeployer.java:539)

           at org.jboss.jca.deployers.common.AbstractDsDeployer.createObjectsAndInjectValue(AbstractDsDeployer.java:312)

           at org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService$AS7DataSourceDeployer.deploy(AbstractDataSourceService.java:398)

           at org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService.start(AbstractDataSourceService.java:159)

           at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)

           at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)

           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

           at java.lang.Thread.run(Thread.java:748)

      Caused by java.lang.NullPointerException

           at org.jboss.as.connector.metadata.common.CredentialImpl.getPassword(CredentialImpl.java:94)

           ...11 more

       

      Any help is greatly appreciated.