Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-368

<defaults> in jbosscmp-jdbc.xml is ignored

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Trivial
    • None
    • None
    • CMP service
    • None

    Description

      SourceForge Submitter: palob .
      this is part of my jbosscmp-jdbc.xml

      <jbosscmp-jdbc>
      <defaults>
      <datasource>java:/TapDS</datasource>
      <type-mapping>SapDB</type-mapping>
      <debug>false</debug>
      <create-table>true</create-table>
      <remove-table>false</remove-table>
      <read-only>false</read-only>
      <row-locking>true</row-locking>
      <time-out>300</time-out>
      <preferred-relation-mapping>foreign-key</preferred-
      relation-mapping>
      </defaults>
      <enterprise-beans>
      .....

      No changes were made to standardjbosscmp-jdbc.xml.
      SapDB supports row-locking-template, but JBoss
      complains with: "row-locking is not allowed for this type
      of datastore" in JDBCLoadEntityCommand. Debugging
      of JDBCLoadEntityCommand shown that it has attached
      metadata for HypersonicSQL
      (JDBCTypeMappingMetaData).
      After changing of standardjbosscmp-jdbc.xml element
      <defaults> to values from jbosscmp-jdbc.xml it started
      to work.

      So it means JBoss ignores <defaults> from jbosscmp-
      jdbc.xml (maybe because of bug #533237)

      JBoss: 3.0.6
      JDK: 1.4.1
      OS: Win 2000

      Attachments

        Activity

          People

            starksm64 Scott Stark (Inactive)
            sourceforge-user SourceForge legacy user (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: