Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-5037

seam-gen default datasource fails to deploy on AS7 "Missing required element driver-class in org.jboss.jca.common.metadata.ds.DataSourceImpl"

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Rejected
    • Affects Version/s: 2.3.0.CR1
    • Fix Version/s: None
    • Component/s: Tools
    • Labels:
      None

      Description

      A seam-gen generated war project with default settings fails to deploy with "ant explode" on AS7.1.1.Final:

      15:16:08,221 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.unit."myproject-ds.xml".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."myproject-ds.xml".PARSE: Failed to process phase PARSE of deployment "myproject-ds.xml"
              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_30]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_30]
              at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_30]
      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: IJ010069: Missing required element driver-class in org.jboss.jca.common.metadata.ds.DataSourceImpl
              at org.jboss.as.connector.deployers.processors.DsXmlDeploymentParsingProcessor.deploy(DsXmlDeploymentParsingProcessor.java:85)
              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
              ... 5 more
      Caused by: org.jboss.jca.common.api.validator.ValidateException: IJ010069: Missing required element driver-class in org.jboss.jca.common.metadata.ds.DataSourceImpl
              at org.jboss.jca.common.metadata.ds.DataSourceImpl.validate(DataSourceImpl.java:454)
              at org.jboss.jca.common.metadata.ds.DataSourceImpl.<init>(DataSourceImpl.java:124)
              at org.jboss.jca.common.metadata.ds.DsParser.parseDataSource(DsParser.java:558)
              at org.jboss.jca.common.metadata.ds.DsParser.parseDataSources(DsParser.java:166)
              at org.jboss.jca.common.metadata.ds.DsParser.parse(DsParser.java:119)
              at org.jboss.jca.common.metadata.ds.DsParser.parse(DsParser.java:82)
              at org.jboss.as.connector.deployers.processors.DsXmlDeploymentParsingProcessor.deploy(DsXmlDeploymentParsingProcessor.java:80)
              ... 6 more
      
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                manaRH Marek Novotny
                Reporter:
                maschmid Marek Schmidt
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: