Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-7726

Expose @DataSourceDefiniton connections in the deployment model

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 10.1.0.Final
    • JCA
    • None

      When a Datasource is defined either using @DatasourceDefinition or via web.xml, it isn't registered in the deployment model at /deployment=xx.war/subsystem=datasources.

      It works as expected when deploying the datasource via the deprecated *-ds.xml way.

      Looking at the code, it seems that DataSourceDefinitionAnnotationProcessor and DataSourceDefinitionDescriptorProcessor just need to add the resource to the org.jboss.as.server.deployment.Attachments.DEPLOYMENT_RESOURCE_SUPPORT as DsXmlDeploymentInstallProcessor does.

            smaestri@redhat.com Stefano Maestri
            ggam_jira Guillermo González de Agüero (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: