Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
pgrenier
Partner - Creator III
Partner - Creator III

NPrinting 17.2.1 Engine always offline

Hello,

Maybe someone here can help with this installation process.

We are currently trying to set up an environment with Qlik NPrinting 17.2.1 but the Engine service is always offline.

The name of the server has been respected, the credentials are good.

Here is what can be read in the log file:

Qlik.NPrinting.Engine17.2.1.0Qlik.NPrinting.Engine.EngineService20161212T150837.548-05:00INFOPOC-DATAVIS0200000000Starting up Engine service
Qlik.NPrinting.Engine17.2.1.0Qlik.NPrinting.Engine.EngineService20161212T150839.931-05:00FATALPOC-DATAVIS0200000000Unable to start the Slave Engine ServiceAn error occurred while attempting to automatically activate registration 'Activator = Engine (ReflectionActivator), Services = [Qlik.NPrinting.Common.Engine.IEngine, Qlik.NPrinting.Engine.IHasEngineConfiguration, AutoActivate], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope'. See the inner exception for information on the source of the failure. ---> An exception was thrown while invoking the constructor 'Void .ctor(Autofac.Features.Indexed.IIndex`2[System.Type,Qlik.Printing.Producer.IComposer], Qlik.NPrinting.Common.Messages.IContentProductionRabbitTopology)' on type 'EngineCompositionService'. ---> The boundedCapacity argument must be positive.??Parameter name: boundedCapacity??Actual value was 0. (See inner exception for details.) (See inner exception for details.)??=============??      _printStack??      Fatal??      Start??      Start??      Execute??      RunInternal??      Run??      ExecuteWithThreadLocal??      ExecuteEntry??      Dispatch????=============??
n/an/an/a20161212T150839.933-05:00FATALPOC-DATAVIS0200000000Cannot start engine service: System.AggregateException: One or more errors occurred. ---> Autofac.Core.DependencyResolutionException: An error occurred while attempting to automatically activate registration 'Activator = Engine (ReflectionActivator), Services = [Qlik.NPrinting.Common.Engine.IEngine, Qlik.NPrinting.Engine.IHasEngineConfiguration, AutoActivate], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope'. See the inner exception for information on the source of the failure. ---> An exception was thrown while invoking the constructor 'Void .ctor(Autofac.Features.Indexed.IIndex`2[System.Type,Qlik.Printing.Producer.IComposer], Qlik.NPrinting.Common.Messages.IContentProductionRabbitTopology)' on type 'EngineCompositionService'. ---> The boundedCapacity argument must be positive.??Parameter name: boundedCapacity??Actual value was 0. (See inner exception for details.) (See inner exception for details.) ---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(Autofac.Features.Indexed.IIndex`2[System.Type,Qlik.Printing.Producer.IComposer], Qlik.NPrinting.Common.Messages.IContentProductionRabbitTopology)' on type 'EngineCompositionService'. ---> The boundedCapacity argument must be positive.??Parameter name: boundedCapacity??Actual value was 0. (See inner exception for details.) ---> System.ArgumentOutOfRangeException: The boundedCapacity argument must be positive.??Parameter name: boundedCapacity??Actual value was 0.??   at System.Collections.Concurrent.BlockingCollection`1..ctor(IProducerConsumerCollection`1 collection, Int32 boundedCapacity)??   at Qlik.NPrinting.Engine.Composition.EngineCompositionService..ctor(IIndex`2 producerMap, IContentProductionRabbitTopology topology) in c:\Jws\workspace\OP-3828-BR-01-build\server\NPrinting\src\Engine\Composition\EngineCompositionService.cs:line 46??   at lambda_method(Closure , Object[] )??   at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()??   --- End of inner exception stack trace ---??   at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()??   at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)??   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)??   at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator)??   at Autofac.Core.Resolving.InstanceLookup.Execute()??   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)??   at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()??   at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)??   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)??   at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator)??   at Autofac.Core.Resolving.InstanceLookup.Execute()??   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)??   at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)??   at Autofac.ContainerBuilder.StartStartableComponents(IComponentContext componentContext)??   --- End of inner exception stack trace ---??   at Autofac.ContainerBuilder.StartStartableComponents(IComponentContext componentContext)??   at Qlik.NPrinting.Engine.EngineService.Start(Options options) in c:\Jws\workspace\OP-3828-BR-01-build\server\NPrinting\src\Engine\EngineService.cs:line 221??   at Qlik.NPrinting.Engine.EngineService.Start(String[] args) in c:\Jws\workspace\OP-3828-BR-01-build\server\NPrinting\src\Engine\EngineService.cs:line 99??   at System.Threading.Tasks.Task.Execute()??   --- End of inner exception stack trace ---??---> (Inner Exception #0) Autofac.Core.DependencyResolutionException: An error occurred while attempting to automatically activate registration 'Activator = Engine (ReflectionActivator), Services = [Qlik.NPrinting.Common.Engine.IEngine, Qlik.NPrinting.Engine.IHasEngineConfiguration, AutoActivate], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope'. See the inner exception for information on the source of the failure. ---> An exception was thrown while invoking the constructor 'Void .ctor(Autofac.Features.Indexed.IIndex`2[System.Type,Qlik.Printing.Producer.IComposer], Qlik.NPrinting.Common.Messages.IContentProductionRabbitTopology)' on type 'EngineCompositionService'. ---> The boundedCapacity argument must be positive.??Parameter name: boundedCapacity??Actual value was 0. (See inner exception for details.) (See inner exception for details.) ---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(Autofac.Features.Indexed.IIndex`2[System.Type,Qlik.Printing.Producer.IComposer], Qlik.NPrinting.Common.Messages.IContentProductionRabbitTopology)' on type 'EngineCompositionService'. ---> The boundedCapacity argument must be positive.??Parameter name: boundedCapacity??Actual value was 0. (See inner exception for details.) ---> System.ArgumentOutOfRangeException: The boundedCapacity argument must be positive.??Parameter name: boundedCapacity??Actual value was 0.??   at System.Collections.Concurrent.BlockingCollection`1..ctor(IProducerConsumerCollection`1 collection, Int32 boundedCapacity)??   at Qlik.NPrinting.Engine.Composition.EngineCompositionService..ctor(IIndex`2 producerMap, IContentProductionRabbitTopology topology) in c:\Jws\workspace\OP-3828-BR-01-build\server\NPrinting\src\Engine\Composition\EngineCompositionService.cs:line 46??   at lambda_method(Closure , Object[] )??   at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()??   --- End of inner exception stack trace ---??   at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()??   at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)??   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)??   at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator)??   at Autofac.Core.Resolving.InstanceLookup.Execute()??   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)??   at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()??   at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)??   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)??   at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator)??   at Autofac.Core.Resolving.InstanceLookup.Execute()??   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)??   at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)??   at Autofac.ContainerBuilder.StartStartableComponents(IComponentContext componentContext)??   --- End of inner exception stack trace ---??   at Autofac.ContainerBuilder.StartStartableComponents(IComponentContext componentContext)??   at Qlik.NPrinting.Engine.EngineService.Start(Options options) in c:\Jws\workspace\OP-3828-BR-01-build\server\NPrinting\src\Engine\EngineService.cs:line 221??   at Qlik.NPrinting.Engine.EngineService.Start(String[] args) in c:\Jws\workspace\OP-3828-BR-01-build\server\NPrinting\src\Engine\EngineService.cs:line 99??   at System.Threading.Tasks.Task.Execute()<---??
Qlik.NPrinting.Engine17.2.1.0Qlik.NPrinting.Engine.EngineService20161212T150839.944-05:00WARNPOC-DATAVIS0200000000Exception disposing EngineService: Value cannot be null.??Parameter name: context
Qlik.NPrinting.Engine17.2.1.0Qlik.NPrinting.Engine.EngineService20161212T150839.945-05:00INFOPOC-DATAVIS0200000000Engine service stopped

Can someone make any sense of this?

1 Reply
pgrenier
Partner - Creator III
Partner - Creator III
Author

Hello,

I cannot decipher the meaning of this puzzle that gets logged when trying to start the NPrinting Engine service:

An error occurred while attempting to automatically activate registration 'Activator = Engine (ReflectionActivator), Services = [Qlik.NPrinting.Common.Engine.IEngine, Qlik.NPrinting.Engine.IHasEngineConfiguration, AutoActivate], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope'. See the inner exception for information on the source of the failure. ---> An exception was thrown while invoking the constructor 'Void .ctor(Autofac.Features.Indexed.IIndex`2[System.Type,Qlik.Printing.Producer.IComposer], Qlik.NPrinting.Common.Messages.IContentProductionRabbitTopology)' on type 'EngineCompositionService'. ---> The boundedCapacity argument must be positive.??Parameter name: boundedCapacity??Actual value was 0. (See inner exception for details.) (See inner exception for details.)


Did anyone experience this before?


Is there a solution that can be applied?