Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-3348

Problems with sieve: missing persistant class declaration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • data, jpa
    • None

    Description

      As reported by David in https://www.mail-archive.com/server-dev@james.apache.org/msg67980.html

      JPA products fails to load sieve related data:

      14:31:44.887 [ERROR] o.a.j.t.m.j.d.SieveExecutor - Cannot evaluate Sieve script 
      for user <user01@test.local>
      org.apache.openjpa.persistence.ArgumentException: There is no query with the 
      name "findActiveByUsername" defined for any of the known persistent classes: 
      

      We are missing the following persistant class declarations:

              <class&gt;org.apache.james.sieve.jpa.model.JPASieveQuota</class&gt;
              <class&gt;org.apache.james.sieve.jpa.model.JPASieveScript</class&gt;
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            btellier Benoit Tellier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h