Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Rejected
    • Affects Version/s: 7.0.0.Beta2
    • Fix Version/s: 7.0.0.Beta3
    • Component/s: JCA
    • Labels:
      None

      Description

      When setting properties on the connection URL for my MySQL data source on AS 7 Beta 2, like the following:

      jdbc:mysql://localhost:3306/EJB3?rewriteBatchStatements=true&maintainTimeStats=false

      I get the following error:

      08:43:48,778 ERROR [org.jboss.msc.service.fail] MSC00001: Failed to start service jboss.as.server-controller: org.jboss.msc.service.StartException in service jboss.as.server-controller: org.jboss.as.controller.persistence.ConfigurationPersistenceException: Failed to parse configuration
      at org.jboss.as.server.ServerControllerService.start(ServerControllerService.java:146)
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1344)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [:1.6.0_20]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [:1.6.0_20]
      at java.lang.Thread.run(Thread.java:636) [:1.6.0_20]
      Caused by: org.jboss.as.controller.persistence.ConfigurationPersistenceException: Failed to parse configuration
      at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:120)
      at org.jboss.as.server.ServerControllerService.start(ServerControllerService.java:144)
      ... 4 more
      Caused by: javax.xml.stream.XMLStreamException: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '=' (code 61); expected a semi-colon after the reference for entity 'maintainTimeStats'
      at [row,col

      {unknown-source}

      ]: [118,103]

      It's expecting a semi-colon for some reason, but the = is the correct syntax.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                brian.stansberry Brian Stansberry
                Reporter:
                andy.miller Andrig Miller (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: