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

Connection properties disappear in the standalone.xml after running.

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 7.0.0.Beta2
    • Fix Version/s: 7.0.0.Beta3
    • Component/s: JCA
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      Insert a connection-property tag into the standalone.xml for you data source.

      Show
      Insert a connection-property tag into the standalone.xml for you data source.
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      I could at least set one of the properties on the connection URL, although, it failed with a different error when I tried to set both properties on the connection URL.

      Show
      I could at least set one of the properties on the connection URL, although, it failed with a different error when I tried to set both properties on the connection URL.

      Description

      In Beta 2, I wanted to test that connection properties were now properly handled, so I set the following two connection properties for my MySQL data source:

      <connection-property name="rewriteBatchStatements">true</connection-property>
      <connection-property name="maintainTimeStats">false</connection-property>

      After starting up the server, and running a test, I noticed that my test results weren't what I was expecting, performance wise, but the error I was getting because of the value of the connection property being quoted, was not in the log. So the other issue was fixed, but this go around, I saw that both connection properties just disappeared from the standalone.xml.

      No warning or error in the log either.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                maeste Stefano Maestri
                Reporter:
                andy.miller Andrig Miller
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: