From: Jeff R. <dv...@di...> - 2014-12-18 21:24:09
|
Gustaf, Thanks. I also just pushed up a commit to fix the handling of ns_module private/shared, so that while loading a module they return the correct path. (They were reversed). -J Gustaf Neumann wrote: > Dear all, > > i've commited a change for that issue, that > William Jordan sent to me. I hope, this fixes the > issue. > > -g > > Am 14.12.14 10:27, schrieb Gustaf Neumann: >> Loading the same module twice is not intentional. >> Loading modules is probably more complicated as it >> has to be, but it has to care about global >> modules (for all servers) and per-server modules, and that >> network modules are loaded at the end. >> >> -g >> >> Am 10.12.14 02:54, schrieb Jeff Rogers: >>> Hi all, >>> >>> It looks like a tcl-only module declared in the conf file will get >>> loaded twice by init.tcl (as a network and a non-network module). >>> There's a mention in init.tcl about needing to do a 2-phase loading of >>> the network modules, but loading modules twice seems wrong. >>> >>> ---- >>> ns_section ns/server/server1/modules >>> >>> ns_param mymodule tcl >>> ---- >>> >>> Before I go ahead and fix this, is there a particular reason for the >>> behavior as it is? >>> >>> -J > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > |