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

Connection properties disappear in the standalone.xml after running.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 7.0.0.Beta3
    • 7.0.0.Beta2
    • JCA
    • None
    • 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 Exists
    • 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.

      Attachments

        Activity

          People

            smaestri@redhat.com Stefano Maestri
            rhn-engineering-anmiller Andrig Miller (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: