xwikisas / application-activedirectory

Provides the UI to set up LDAP for Active Directory
GNU Lesser General Public License v2.1
1 stars 2 forks source link

Warnings in EM logs when installing Active Directory Application #76

Closed ilieandriuta closed 3 months ago

ilieandriuta commented 1 year ago

Environment: Windows 11 Pro, Chrome 117, using a local instance of XWiki 15.5.2 on PostgreSQL 15, Tomcat 9.0.80, Java 17 (Oracle) , Active Directory Application 1.16.3

STEPS TO REPRODUCE

  1. Install Active Directory Application (tested with 1.16.3) on XWiki 15.5.2 and 14.10.16
  2. Observe the Extension Manager progress logs

EXPECTED RESULTS

No warnings are displayed.

ACTUAL RESULTS

The following warnings are displayed twice:

Unknown property meta class field [picker] for property type [Boolean]
Unknown property meta class field [size] for property type [Boolean]
Unknown property meta class field [picker] for property type [Boolean]
Unknown property meta class field [size] for property type [Boolean]

Then also the following:

Failed to register job in document [[Home](http://localhost:1115/xwiki/bin/view/Main/) » [Licenses](http://localhost:1115/xwiki/bin/view/Licenses/) » [Code](http://localhost:1115/xwiki/bin/view/Licenses/Code/) » [NewExtensionVersionAvailableJob](http://localhost:1115/xwiki/bin/view/Licenses/Code/NewExtensionVersionAvailableJob)]: ClassNotFoundException: com.xwiki.licensing.internal.upgrades.NewExtensionVersionAvailableJob

Failed to register job in document [[Home](http://localhost:1416/xwiki/bin/view/Main/) » [Licenses](http://localhost:1416/xwiki/bin/view/Licenses/) » [Code](http://localhost:1416/xwiki/bin/view/Licenses/Code/) » [LicensedExtensionUpgradeJob](http://localhost:1416/xwiki/bin/view/Licenses/Code/LicensedExtensionUpgradeJob)]: ClassNotFoundException: com.xwiki.licensing.internal.upgrades.LicensedExtensionUpgradeJob

On my instance I had also a subwiki, and in EM logs there were also displayed the above warnings, but for subwiki:

Failed to register job in document [[subwikiglobal](http://localhost:1115/xwiki/wiki/subwikiglobal/view/Main/) » [Licenses](http://localhost:1115/xwiki/wiki/subwikiglobal/view/Licenses/) » [Code](http://localhost:1115/xwiki/wiki/subwikiglobal/view/Licenses/Code/) » [NewExtensionVersionAvailableJob](http://localhost:1115/xwiki/wiki/subwikiglobal/view/Licenses/Code/NewExtensionVersionAvailableJob)]: ClassNotFoundException: com.xwiki.licensing.internal.upgrades.NewExtensionVersionAvailableJob

Failed to register job in document [[subwikiglobal](http://localhost:1115/xwiki/wiki/subwikiglobal/view/Main/) » [Licenses](http://localhost:1115/xwiki/wiki/subwikiglobal/view/Licenses/) » [Code](http://localhost:1115/xwiki/wiki/subwikiglobal/view/Licenses/Code/) » [LicensedExtensionUpgradeJob](http://localhost:1115/xwiki/wiki/subwikiglobal/view/Licenses/Code/LicensedExtensionUpgradeJob)]: ClassNotFoundException: com.xwiki.licensing.internal.upgrades.LicensedExtensionUpgradeJob AD_WARN1

AD_WARN2

AD_WARN3

ilieandriuta commented 1 year ago

It seems the stacktrace related to Lincesing was reproduced also when installing Google Apps Integration (Pro) 2.6 and Ideas Application (Pro) 1.14 on XWiki 15.5.2 (Chrome 117/ Jetty/ HSQL):

Failed to register job in document [[Home](http://localhost:1552/xwiki/bin/view/Main/) » [Licenses](http://localhost:1552/xwiki/bin/view/Licenses/) » [Code](http://localhost:1552/xwiki/bin/view/Licenses/Code/) » [NewExtensionVersionAvailableJob](http://localhost:1552/xwiki/bin/view/Licenses/Code/NewExtensionVersionAvailableJob)]: ClassNotFoundException: com.xwiki.licensing.internal.upgrades.NewExtensionVersionAvailableJob

Failed to register job in document [[Home](http://localhost:1552/xwiki/bin/view/Main/) » [Licenses](http://localhost:1552/xwiki/bin/view/Licenses/) » [Code](http://localhost:1552/xwiki/bin/view/Licenses/Code/) » [LicensedExtensionUpgradeJob](http://localhost:1552/xwiki/bin/view/Licenses/Code/LicensedExtensionUpgradeJob)]: ClassNotFoundException: com.xwiki.licensing.internal.upgrades.LicensedExtensionUpgradeJob

snazare commented 3 months ago

related to licensing, such as https://github.com/xwikisas/application-licensing/issues/112 will continue investigation there.