Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-11857

Scheduler job does not find classes from extension installed on farm

    Details

    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      In my use case, I was unable to execute

      new com.xwiki.authentication.trustedldap.TrustedLDAPConfig()
      

      from a scheduled job while org.xwiki.contrib.authentication:xwiki-authenticator-trusted-ldap:1.2 is installed at farm level.
      Putting the same jar in WEB-INF/lib fixed my issue.

      I have not check other extensions than installed on farm.

        Attachments

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              softec Denis Gervalle
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: