license location for IIS running under identity NetworkServi

User 4140faeba5

16-03-2011 12:27:08

Hi.


We have a .NET application running under IIS.


The IIS is using Identity NetworkService.


When I run the reactor from commandline it works since the license is under my user/chemaxon directory.


But, when I run the reactor from the .NET application, I get the following error.


SEVERE: No license file found.
Product name: Reactor
License path:
Please contact sales _at_ chemaxon.com to obtain the corresponding license.
Students and academic researchers are entitled of free use
through our Academic Package, for more information
please visit: http://www.chemaxon.com/acpack_conditions.html  [main|chemaxon.reaction.ConcurrentReactorProcessor.run|03/16/2011 12:19:25]
chemaxon.reaction.ReactionException: chemaxon.util.concurrent.processors.WorkUnitException: chemaxon.license.LicenseException: No license file found.
Product name: Reactor
License path:
Please contact sales _at_ chemaxon.com to obtain the corresponding license.
Students and academic researchers are entitled of free use
through our Academic Package, for more information
please visit: http://www.chemaxon.com/acpack_conditions.html />Caused by:
chemaxon.license.LicenseException: No license file found.
Product name: Reactor
License path:
Please contact sales _at_ chemaxon.com to obtain the corresponding license.
Students and academic researchers are entitled of free use
through our Academic Package, for more information
please visit: http://www.chemaxon.com/acpack_conditions.html />Caused by:
No license file found.
Product name: Reactor
License path:
Please contact sales _at_ chemaxon.com to obtain the corresponding license.
Students and academic researchers are entitled of free use
through our Academic Package, for more information
please visit: http://www.chemaxon.com/acpack_conditions.html />    at chemaxon.reaction.ConcurrentReactorProcessor.init(ConcurrentReactorProcessor.java:490)
    at chemaxon.reaction.ConcurrentReactorProcessor.react(ConcurrentReactorProcessor.java:509)
    at chemaxon.reaction.ConcurrentReactorProcessor.run(ConcurrentReactorProcessor.java:626)
    at chemaxon.reaction.ConcurrentReactorProcessor.main(ConcurrentReactorProcessor.java:1134)
    at chemaxon.reaction.Reactor.main(Reactor.java:1497)
Caused by: chemaxon.util.concurrent.processors.WorkUnitException: chemaxon.license.LicenseException: No license file found.
Product name: Reactor
License path:
Please contact sales _at_ chemaxon.com to obtain the corresponding license.
Students and academic researchers are entitled of free use
through our Academic Package, for more information
please visit: http://www.chemaxon.com/acpack_conditions.html />    at chemaxon.util.concurrent.processors.InputOrderedWorkUnitProcessor.process(Unknown Source)
    at chemaxon.util.concurrent.processors.InputOrderedWorkUnitProcessor.processInput(Unknown Source)
    at chemaxon.util.concurrent.processors.WorkUnitWorker.work0(Unknown Source)
    at chemaxon.util.concurrent.processors.WorkUnitWorker.work(Unknown Source)
    at chemaxon.util.concurrent.worker.Worker$1.call(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at chemaxon.util.concurrent.worker.Worker.run(Unknown Source)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: chemaxon.license.LicenseException: No license file found.
Product name: Reactor
License path:
Please contact sales _at_ chemaxon.com to obtain the corresponding license.
Students and academic researchers are entitled of free use
through our Academic Package, for more information
please visit: http://www.chemaxon.com/acpack_conditions.html />    at chemaxon.license.LicenseHandler.checkLicense(Unknown Source)
    at chemaxon.reaction.Reactor.checkLicense(Reactor.java:1486)
    at chemaxon.reaction.Reactor.react(Reactor.java:1276)
    at chemaxon.reaction.ConcurrentReactorProcessor$ReactorWorkUnit.call(ConcurrentReactorProcessor.java:347)
    ... 14 more


Where shall I put the license file to have the reactor find it when it's used by NetworkService identity ?


Regards,


Micke

User 4140faeba5

16-03-2011 12:43:15

Ahh, silly me.


I set the environment for CHEMAXON_LICENSE_URL but didn't restart the IIS.


 


Regards,


Micke

ChemAxon e274e1bada

16-03-2011 13:16:20

Hi Micke,


Yes, I would have recommended the environment variable for defineing the licesne path.
I'm glad that your problem was solved.


Edvard