Spring + NHibernate + Spring.WindowsService = :(
this issue that i am facing is very similar to the issue raised in this post:
but with the difference that I am using the Spring.Services.Windows.Service.Process.exe to host my dll and run it as a service.
The problem is that I would like the spring framework to use version 18.104.22.168 of log4net to avoid any conflicts with NHibernate.
So, in my Spring.Services.WindowsService.Process.exe.config file I have added the following lines:
<section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging" />
<factoryAdapter type="Common.Logging.Log4Net.Log4NetLoggerFactoryA dapter, Common.Logging.Log4Net">
<!-- choices are INLINE, FILE, FILE-WATCH, EXTERNAL-->
<!-- otherwise BasicConfigurer.Configure is used -->
<!-- log4net configuration file is specified with key configFile-->
<arg key="configType" value="INLINE" />
the problem is that when i start the spring service, it fails due to a file not found exception. The Spring.Services.WindowsService.Process.exe is looking for a particular version of log4net and appears to be ignoring the changes i put in the config file above.
Can anybody help?!?!?!?!?
BTW - can somebody explain what the different values for configType actually mean..