Nirvana Flex: Multiplexed Sessions with Modules

Multiplexed sessions requires the use of nSessionFactory which uses static variables, this requires it to be globally unique. Modules are loaded and added as children of the current application domain therefore giving them their own unique nSessionFactory to use. To overcome this feature importing and declaring a instance of nSessionFactory in the parent application will allow multiplex to work as expected.

Another possible solution would be to set the modules application domain to be the same as the parent application thus allowing the global nSessionFactory.

For more information see Adobe Documentation