Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Hive-3.3/sources/HeuristicLab.Hive/HiveWeb/Hive-3.3/Web.config @ 5171

Last change on this file since 5171 was 5171, checked in by cneumuel, 14 years ago

#1260

  • still having issues with multiple appdomains on IIS. therefore disabled server heartbeats, so that slaves are not set to offline when they are disconnected, which prevents setting them offline when they are still online (which causes all jobs to be aborted)
  • re-enabled some well working abort-statements in ProcessHeartBeat
  • added a script in PreBuildEvent.cmd which makes it easier to change the config (for localhost or services.heuristiclab.com as server)
  • increased transmission quotas for jobs to 300mb
File size: 7.8 KB
Line 
1<?xml version="1.0"?>
2<configuration>
3  <configSections>
4    <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
5      <section name="HeuristicLab.Tracing.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
6    </sectionGroup>
7  </configSections>
8 
9  <!--<system.diagnostics>
10    <sources>
11      <source name="System.ServiceModel.MessageLogging" switchValue="Warning, ActivityTracing">
12        <listeners>
13          <add type="System.Diagnostics.DefaultTraceListener" name="Default">
14            <filter type="" />
15          </add>
16          <add name="ServiceModelMessageLoggingListener">
17            <filter type="" />
18          </add>
19        </listeners>
20      </source>
21      <source name="System.ServiceModel" switchValue="Information,ActivityTracing">
22        <listeners>
23          <add type="System.Diagnostics.DefaultTraceListener" name="Default">
24            <filter type="" />
25          </add>
26          <add name="ServiceModelTraceListener">
27            <filter type="" />
28          </add>
29        </listeners>
30      </source>
31    </sources>
32    <sharedListeners>
33      <add initializeData="c:\ch\stuff\log\web_messages.svclog"
34        type="System.Diagnostics.XmlWriterTraceListener, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
35        name="ServiceModelMessageLoggingListener" traceOutputOptions="DateTime, Timestamp">
36        <filter type="" />
37      </add>
38      <add initializeData="c:\ch\stuff\log\web_tracelog.svclog"
39        type="System.Diagnostics.XmlWriterTraceListener, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
40        name="ServiceModelTraceListener" traceOutputOptions="DateTime, Timestamp">
41        <filter type="" />
42      </add>
43    </sharedListeners>
44  </system.diagnostics>-->
45 
46  <applicationSettings>
47    <HeuristicLab.Tracing.Properties.Settings>
48      <setting name="TracingLog4netConfigFile" serializeAs="String">
49        <value/>
50      </setting>
51    </HeuristicLab.Tracing.Properties.Settings>
52  </applicationSettings>
53 
54  <connectionStrings>
55    <add name="HeuristicLab.Authentication" connectionString="data source=localhost;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication"/>
56  </connectionStrings>
57 
58  <system.web>
59    <compilation debug="true" targetFramework="4.0">
60    </compilation>
61    <membership>
62      <providers>
63        <clear/>
64        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="HeuristicLab.Authentication"/>
65      </providers>
66    </membership>
67    <roleManager enabled="true">
68      <providers>
69        <clear/>
70        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication"/>
71      </providers>
72    </roleManager>
73    <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>
74  </system.web>
75 
76  <system.serviceModel>
77    <diagnostics>
78      <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000"/>
79    </diagnostics>
80   
81    <bindings>
82      <netTcpBinding>
83        <binding name="TcpStreamedBinding" sendTimeout="00:10:00" transferMode="Streamed" maxBufferPoolSize="314572800" maxBufferSize="314572800" maxReceivedMessageSize="314572800">
84          <readerQuotas maxStringContentLength="314572800" maxArrayLength="314572800"/>
85          <security mode="TransportWithMessageCredential">
86            <transport clientCredentialType="Certificate"/>
87            <message clientCredentialType="UserName"/>
88          </security>
89        </binding>
90      </netTcpBinding>
91      <wsHttpBinding>
92        <binding name="HiveServerHttpBinding" maxReceivedMessageSize="314572800">
93          <readerQuotas maxStringContentLength="314572800" maxArrayLength="314572800"/>
94          <security mode="Message">
95            <transport/>
96            <message clientCredentialType="UserName"/>
97          </security>
98        </binding>
99      </wsHttpBinding>
100    </bindings>
101   
102    <behaviors>
103      <serviceBehaviors>
104        <behavior name="ServiceBehaviour">
105          <serviceMetadata httpGetEnabled="false" httpsGetEnabled="false"/>
106          <serviceDebug includeExceptionDetailInFaults="true"/>
107          <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider"/>
108          <serviceCredentials>
109            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName"/>
110            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider"/>
111          </serviceCredentials>
112          <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="false" messageAuthenticationAuditLevel="SuccessOrFailure"/>
113          <serviceThrottling maxConcurrentCalls="100"/>
114        </behavior>
115      </serviceBehaviors>
116    </behaviors>
117   
118    <services>
119      <service behaviorConfiguration="ServiceBehaviour" name="HeuristicLab.Hive.Server.Core.SlaveFacade">
120        <endpoint address="" binding="wsHttpBinding" bindingConfiguration="HiveServerHttpBinding" name="SlaveHttpEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.ISlaveFacade"/>
121        <endpoint address="mex" binding="mexHttpBinding" name="SlaveMexEndpoint" contract="IMetadataExchange"/>
122        <endpoint address="" binding="netTcpBinding" bindingConfiguration="TcpStreamedBinding" name="SlaveTcpStreamedEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.ISlaveFacade" />
123        <endpoint address="mex" binding="mexTcpBinding" name="ClientNetTcpMexEndpoint" contract="IMetadataExchange"/>
124      </service>
125      <service behaviorConfiguration="ServiceBehaviour" name="HeuristicLab.Hive.Server.Core.ServerConsoleFacade">
126        <endpoint address="" binding="wsHttpBinding" bindingConfiguration="HiveServerHttpBinding" name="ServerConsoleHttpEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.IServerConsoleFacade"/>
127        <endpoint address="mex" binding="mexHttpBinding" name="ServerConsoleMexEndpoint" contract="IMetadataExchange"/>
128      </service>
129      <service behaviorConfiguration="ServiceBehaviour" name="HeuristicLab.Hive.Server.Core.ClientFacade">
130        <endpoint address="" binding="wsHttpBinding" bindingConfiguration="HiveServerHttpBinding" name="ClientHttpEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade"/>
131        <endpoint address="mex" binding="mexHttpBinding" name="ClientHttpMexEndpoint" contract="IMetadataExchange"/>
132        <endpoint address="" binding="netTcpBinding" bindingConfiguration="TcpStreamedBinding" name="ClientTcpStreamedEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade" />
133        <endpoint address="mex" binding="mexTcpBinding" name="ClientNetTcpMexEndpoint" contract="IMetadataExchange"/>
134      </service>
135    </services>
136   
137  </system.serviceModel>
138 
139  <system.webServer>
140    <modules runAllManagedModulesForAllRequests="true">
141      <add name="HiveServerModule" type="HeuristicLab.Hive.Server.Core.IISModules.HiveServerModule"/>
142    </modules>
143    <directoryBrowse enabled="true"/>
144  </system.webServer>
145 
146</configuration>
Note: See TracBrowser for help on using the repository browser.