]
Brian Stansberry commented on JBAS-9253:
----------------------------------------
Does putting it in a CDATA section solve the problem?
Connection URL Parse Error
--------------------------
Key: JBAS-9253
URL:
https://issues.jboss.org/browse/JBAS-9253
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: JCA service
Affects Versions: 7.0.0.Beta2
Reporter: Andrig Miller
Assignee: Brian Stansberry
Fix For: 7.0.0.Beta3
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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: