Ask a questionAsk a question
 

Questionhow to set service library path

  • Monday, October 05, 2009 1:50 PMPhil Molzer Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,
    how do I configure the library path for a service?  Is it just PATH var in <environmentVariables> in the service .config?  If so, is %PATH%;newstuff the correct syntax?
    Other vendors do this like so
    DataSynapse - grid-library.xml file - <grid-library><lib-path> section
    Platform - service profile - <Profile><Service><osTypes><osType><env> section
    thanks
    Phil

All Replies

  • Thursday, October 08, 2009 8:35 AMyidingzMSFTUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    What do you mean by library path here? Is it the directories to search for referenced dlls? If so, HPC 2008 doesn't support syntax like %PATH%;newstuff, the %PATH% part in the value field won't be expanded.

    If you do need to expand this variable, I suggest using the customized service host command line as a work around.

    -yiding
  • Thursday, October 08, 2009 3:20 PMPhil Molzer Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi,
    I'm trying to append to the system %PATH% variable within the context of my service.  As I mentioned, both DataSynapse and Platform provide a mechanism for this.  What is the equivalent mechanism with HPC Server?
    thanks
    Phil