Jetspeed 2
  1. Jetspeed 2
  2. JS2-339

Calls to preferences.store() trigger a warning about missing transaction in OJB

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0-FINAL
    • Fix Version/s: 2.1
    • Labels:
      None

      Description

      (some) calls to preferences.store() trigger the following warning in catalina.out:

      [org.apache.ojb.broker.core.PersistenceBrokerImpl] WARN: No running tx found, please only store in context of an PB-transaction, to avoid side-effects - e.g. when rollback of complex objects

      It looks like we should have a transaction surrounding the preferences.store() call, or something alike. Not sure about it, as I'm no OJB expert.

        Activity

        Ate Douma made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Ate Douma made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Ate Douma made changes -
        Affects Version/s 2.0-POST [ 12310617 ]
        Affects Version/s 2.0-FINAL [ 10940 ]
        Fix Version/s 2.0-FINAL [ 10940 ]
        Fix Version/s 2.0-POST [ 12310617 ]
        Ate Douma made changes -
        Affects Version/s 2.0-POST [ 12310617 ]
        Affects Version/s 2.0-M4 [ 11186 ]
        Ate Douma made changes -
        Field Original Value New Value
        Assignee Ate Douma [ adouma ]
        Santiago Gala created issue -

          People

          • Assignee:
            Ate Douma
            Reporter:
            Santiago Gala
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development