Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-190

Connection URL Parse Error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • 7.0.0.Beta3
    • 7.0.0.Beta2
    • JCA
    • 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.

      Attachments

        Activity

          People

            bstansbe@redhat.com Brian Stansberry
            rhn-engineering-anmiller Andrig Miller (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: