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

        Hide
        Ate Douma added a comment -

        Forgot to set the Fix version version...

        Show
        Ate Douma added a comment - Forgot to set the Fix version version...
        Hide
        Ate Douma added a comment -

        Wow, I'm really getting tired. Now it should be ok.

        Show
        Ate Douma added a comment - Wow, I'm really getting tired. Now it should be ok.
        Hide
        Ate Douma added a comment -

        This seems to be fixed now for some time.

        Show
        Ate Douma added a comment - This seems to be fixed now for some time.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development