Configuring Package for Microsoft .NET
Overview
This chapter explains how to configure/modify some basic settings for the Package for Microsoft .NET. These basic settings are configured by modifying the wmSystem.exe.config file, part of the IBMwebMethods_directory/DotNetHost folder. IBM recommends that you must modify only the properties mentioned in the below sections. You must not modify any of the other options in the wmSystem.exe.config file.
Specifying white-listed directories
About this task
By default, C:\ is the configured white-listed directory. You can specify multiple directories as white-listed directories. You can also specify a UNC Path as part of the white-listed directories.
To use UNC Path, the Package for Microsoft .NET and the specified UNC Path must be running under the same user-account. Use two slashes (//) or backslashes (\\) to indicate the machine name and one slash or backslash to indicate the path or shared directory on the machine.
For example, //test1/MyFolder/MyAssemblies
provides
the UNC path to the MyAssemblies directory on the machine test1.
IBM recommends that you add only a restricted set of directories, as white-listed directories.
To specify white-listed directories
Procedure
Modifying CLR Version
About this task
To modify the version of CLR
Procedure
- Go to IBMwebMethods_directory/DotNetHost folder.
- Open wmSystem.exe.config file.
-
Change the CLR version value by commenting the already set value, and un-commenting
the required CLR version in startup section as displayed below:
<startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/> <!-- <supportedRuntime version="v2.0.50727"/> --> </startup>
- Restart the Package for Microsoft .NET windows service.
Modifying HTTP port
About this task
To modify HTTP port
Procedure
Manually installing DotNetHost as Windows Service
About this task
To manually install DotNetHost as Windows Service :