Simias log4net exception when configuring iFolder

  • 7009066
  • 27-Jul-2011
  • 26-Apr-2012

Environment

Novell iFolder
Novell Open Enterprise Server 2 (OES 2) Linux Support Pack 3

Situation

The following error was obtained while trying to configure ifolder:
 
** (/opt/novell/ifolder3/bin/SimiasServerSetup.exe:1981): WARNING **: The following assembly referenced from /opt/novell/ifolder3/lib64/simias/web/bin/SimiasLib.dll could not be loaded:
     Assembly:   log4net    (assemblyref_index=7)
     Version:    1.2.9.0
     Public Key: 200a2bd1219e83a8
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/opt/novell/ifolder3/lib64/simias/web/bin/).

** (/opt/novell/ifolder3/bin/SimiasServerSetup.exe:1981): WARNING **: Could not load file or assembly 'log4net, Version=1.2.9.0, Culture=neutral, PublicKeyToken=200a2bd1219e83a8' or one of its dependencies.

Resolution

The iFolder server maintains a log4net.dll in the /opt/novell/ifolder3/mono/lib/mono/gac/log4net/1.2.9.0_200a2bd1219e838/ folder.  If this is absent, the above error will be displayed.
 
To resolve this, copy the log4net.dll from a working server into this path.
 
NOTE:  The path to the log4net.dll has the version number and the PublicKeyToken as the subfolder below as follows: ..../log4net/<version>__<PublicKeyToken>/log4net.dll