216 lines
13 KiB
Plaintext
216 lines
13 KiB
Plaintext
|
<?xml version="1.0"?>
|
|||
|
<configuration>
|
|||
|
<configSections>
|
|||
|
<!--企业库配置源信息-->
|
|||
|
<section name="policyInjection" type="Microsoft.Practices.EnterpriseLibrary.PolicyInjection.Configuration.PolicyInjectionSettings, Microsoft.Practices.EnterpriseLibrary.PolicyInjection, Version=4.1.0.0, Culture=neutral, PublicKeyToken=null" />
|
|||
|
<section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data, Version=4.1.0.0, Culture=neutral, PublicKeyToken=null" />
|
|||
|
<section name="cachingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Caching.Configuration.CacheManagerSettings, Microsoft.Practices.EnterpriseLibrary.Caching, Version=4.1.0.0, Culture=neutral, PublicKeyToken=null" />
|
|||
|
<section name="enterpriseLibrary.ConfigurationSource" type="Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationSourceSection, Microsoft.Practices.EnterpriseLibrary.Common, Version=4.1.0.0, Culture=neutral, PublicKeyToken=null" />
|
|||
|
<!--企业库缓存配置区段处理程序-->
|
|||
|
<!--策略注入模块配置区段处理程序-->
|
|||
|
<!-- required to read the <dataCacheClient> element -->
|
|||
|
<section name="dataCacheClient" type="Microsoft.Data.Caching.DataCacheClientSection,CacheBaseLibrary" allowLocation="true" allowDefinition="Everywhere" />
|
|||
|
<section name="workflow" type="Kingdee.BOS.Workflow.Configuration.WorkflowConfigSection, Kingdee.BOS.Workflow" />
|
|||
|
<section name="scripting" type="Kingdee.BOS.Scripting.Configuration.BOScriptConfiguration, Kingdee.BOS" />
|
|||
|
<section name="ScheduleServiceConfiguration" type="Kingdee.BOS.Schedule.Core.ScheduleServiceConfiguration, Kingdee.BOS.Schedule.Core" />
|
|||
|
<section name="ScheduleListProvider" type="Kingdee.BOS.Schedule.Core.ScheduleListProvider, Kingdee.BOS.Schedule.Core" />
|
|||
|
<!--日志组件配置-->
|
|||
|
<section name="log4net" type="System.Configuration.IgnoreSectionHandler" />
|
|||
|
<!-- KCacheSetting -->
|
|||
|
<section name="KCacheSetting" type="Kingdee.BOS.Cache.KCacheSetting, Kingdee.BOS" allowLocation="true" allowDefinition="Everywhere" />
|
|||
|
</configSections>
|
|||
|
<system.serviceModel>
|
|||
|
<!--Server Configuration-->
|
|||
|
<services>
|
|||
|
<!-- This section is optional with the new configuration model
|
|||
|
introduced in .NET Framework 4. -->
|
|||
|
<service name="Kingdee.BOS.Computing.Framework.SchedularService" behaviorConfiguration="SchedularServiceBehavior">
|
|||
|
<host>
|
|||
|
<baseAddresses>
|
|||
|
<add baseAddress="http://localhost:1983/Computing/service" />
|
|||
|
</baseAddresses>
|
|||
|
</host>
|
|||
|
<!-- this endpoint is exposed at the base address provided by host: http://localhost:1983/Computing/service -->
|
|||
|
<endpoint address="" binding="basicHttpBinding" contract="Kingdee.BOS.Computing.ISchedular" />
|
|||
|
<!-- the mex endpoint is exposed at http://localhost:1983/Computing/service/mex -->
|
|||
|
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
|
|||
|
</service>
|
|||
|
</services>
|
|||
|
<behaviors>
|
|||
|
<serviceBehaviors>
|
|||
|
<behavior name="SchedularServiceBehavior">
|
|||
|
<serviceMetadata httpGetEnabled="true" />
|
|||
|
<serviceDebug includeExceptionDetailInFaults="True" />
|
|||
|
</behavior>
|
|||
|
</serviceBehaviors>
|
|||
|
</behaviors>
|
|||
|
</system.serviceModel>
|
|||
|
<ScheduleServiceConfiguration>
|
|||
|
<BackJobCfg ScheduleInterval="10" Source="BackJob" LogLevel="Info">
|
|||
|
</BackJobCfg>
|
|||
|
<AsyncJobCfg Source="AsyncJob" LogLevel="Error">
|
|||
|
</AsyncJobCfg>
|
|||
|
</ScheduleServiceConfiguration>
|
|||
|
<!--执行计划列表提供者,该提供者同时负责计划的后续处理,如时间的更新等-->
|
|||
|
<ScheduleListProvider>
|
|||
|
<Items>
|
|||
|
<Item Schedule="Kingdee.BOS.Core.Schedule" Provider="Kingdee.BOS.App.Core.ScheduleService.ScheduleService, Kingdee.BOS.App.Core" />
|
|||
|
<Item Schedule="Kingdee.BOS.Core.Warn.WarnSchedule" Provider="Kingdee.BOS.App.Core.Warn.WarnScheduleService, Kingdee.BOS.App.Core" />
|
|||
|
</Items>
|
|||
|
</ScheduleListProvider>
|
|||
|
<workflow>
|
|||
|
<environment Source="workflow" LogLevel="Error" />
|
|||
|
<services>
|
|||
|
<!--<service name="ExpressionEvaluator" impl="Kingdee.BOS.Workflow.Contracts.PyEvaluator, Kingdee.BOS.Workflow" />-->
|
|||
|
<service name="BillService" impl="Kingdee.BOS.Workflow.App.Core.Repositories.BillRepository, Kingdee.BOS.Workflow.App.Core" />
|
|||
|
<service name="Participant" impl="Kingdee.BOS.Workflow.App.Core.ParticipantService, Kingdee.BOS.Workflow.App.Core" />
|
|||
|
<service name="LogService" impl="Kingdee.BOS.Workflow.App.Core.Log.WorkflowLogService, Kingdee.BOS.Workflow.App.Core" />
|
|||
|
<service name="WorkflowDataService" impl="Kingdee.BOS.Workflow.App.Core.WorkflowDataService, Kingdee.BOS.Workflow.App.Core" />
|
|||
|
</services>
|
|||
|
<assemblies>
|
|||
|
<assembly name="Kingdee.BOS.Workflow" />
|
|||
|
<assembly name="Kingdee.BOS.Workflow.Models" />
|
|||
|
<assembly name="Kingdee.BOS.Workflow.Extends" />
|
|||
|
<assembly name="Kingdee.BOS.ApprovalFlow" />
|
|||
|
</assemblies>
|
|||
|
</workflow>
|
|||
|
<scripting>
|
|||
|
<evaluators>
|
|||
|
<!-- 这是默认的解析器配置,请勿删除,如果需要添加写的解析器配置,可以参考其格式 -->
|
|||
|
<evaluator name="default" type="Kingdee.BOS.Scripting.PyExpressionEvaluator, Kingdee.BOS" cacheCapacity="100" minCacheMinutes="1" maxCacheMinutes="60" />
|
|||
|
</evaluators>
|
|||
|
</scripting>
|
|||
|
<policyInjection>
|
|||
|
<policies>
|
|||
|
<add name="KCache">
|
|||
|
<matchingRules>
|
|||
|
<add match="Kingdee.BOS.App.Core" type="Microsoft.Practices.EnterpriseLibrary.PolicyInjection.MatchingRules.AssemblyMatchingRule, Microsoft.Practices.EnterpriseLibrary.PolicyInjection, Version=4.1.0.0, Culture=neutral, PublicKeyToken=null" name="Assembly Matching Rule" />
|
|||
|
</matchingRules>
|
|||
|
<handlers>
|
|||
|
<add cachePolicyName="Entity Policy" order="0" type="Kingdee.BOS.Cache.KCacheMethodCallHandler, Kingdee.BOS" name="Cache Handler" />
|
|||
|
<add perfeventtype="Kingdee.BOS.Performance.Publisher.RpcPerfEvent" order="2" type="Kingdee.BOS.Performance.Publisher.PerformanceCallHandler,Kingdee.BOS.Performance" name="perfevent" />
|
|||
|
<add perfeventtype="Kingdee.BOS.Performance.Publisher.WebUIPerfEvent" order="3" type="Kingdee.BOS.Performance.Publisher.PerformanceCallHandler,Kingdee.BOS.Performance" name="webuiperfevent" />
|
|||
|
<add perfeventtype="Kingdee.BOS.Performance.Publisher.RpcSqlTransaction" order="1" type="Kingdee.BOS.Performance.Publisher.PerformanceCallHandler,Kingdee.BOS.Performance" name="sqltrans" />
|
|||
|
</handlers>
|
|||
|
</add>
|
|||
|
<add name="SqlPolicy">
|
|||
|
<matchingRules>
|
|||
|
<!--
|
|||
|
<add match="Execute*" ignoreCase="false" type="Microsoft.Practices.EnterpriseLibrary.PolicyInjection.MatchingRules.MethodSignatureMatchingRule, Microsoft.Practices.EnterpriseLibrary.PolicyInjection, Version=4.1.0.0, Culture=neutral, PublicKeyToken=null"
|
|||
|
name="Method Signature Matching Rule" />
|
|||
|
-->
|
|||
|
<add match="Kingdee.BOS.App" type="Microsoft.Practices.EnterpriseLibrary.PolicyInjection.MatchingRules.AssemblyMatchingRule, Microsoft.Practices.EnterpriseLibrary.PolicyInjection, Version=4.1.0.0, Culture=neutral, PublicKeyToken=null" name="Assembly Matching Rule" />
|
|||
|
<add type="Microsoft.Practices.EnterpriseLibrary.PolicyInjection.MatchingRules.MemberNameMatchingRule, Microsoft.Practices.EnterpriseLibrary.PolicyInjection, Version=4.1.0.0, Culture=neutral, PublicKeyToken=null" name="Member Name Matching Rule">
|
|||
|
<matches>
|
|||
|
<add match="BulkInserts" ignoreCase="false" />
|
|||
|
<add match="Execute*" ignoreCase="false" />
|
|||
|
</matches>
|
|||
|
</add>
|
|||
|
</matchingRules>
|
|||
|
<handlers>
|
|||
|
<add perfeventtype="Kingdee.BOS.Performance.Publisher.RpcSqlEvent" order="2" type="Kingdee.BOS.Performance.Publisher.PerformanceCallHandler,Kingdee.BOS.Performance" name="rpcsqkperfevent" />
|
|||
|
</handlers>
|
|||
|
</add>
|
|||
|
</policies>
|
|||
|
</policyInjection>
|
|||
|
<cachingConfiguration defaultCacheManager="Default Cache Manager">
|
|||
|
<cacheManagers>
|
|||
|
<add expirationPollFrequencyInSeconds="60" maximumElementsInCacheBeforeScavenging="1000000" numberToRemoveWhenScavenging="10" backingStoreName="Null Storage" type="Microsoft.Practices.EnterpriseLibrary.Caching.CacheManager, Microsoft.Practices.EnterpriseLibrary.Caching, Version=4.1.0.0, Culture=neutral, PublicKeyToken=null" name="Default Cache Manager" />
|
|||
|
</cacheManagers>
|
|||
|
<backingStores>
|
|||
|
<add encryptionProviderName="" type="Microsoft.Practices.EnterpriseLibrary.Caching.BackingStoreImplementations.NullBackingStore, Microsoft.Practices.EnterpriseLibrary.Caching, Version=4.1.0.0, Culture=neutral, PublicKeyToken=null" name="Null Storage" />
|
|||
|
</backingStores>
|
|||
|
</cachingConfiguration>
|
|||
|
<enterpriseLibrary.ConfigurationSource selectedSource="System Configuration Source">
|
|||
|
<sources>
|
|||
|
<!-- <add name="Sql Configuration Source" type="Microsoft.Practices.EnterpriseLibrary.SqlConfigurationSource.SqlConfigurationSource, Microsoft.Practices.EnterpriseLibrary.SqlConfigurationSource, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null"
|
|||
|
connectionString="Data Source=192.168.18.112;Initial Catalog=acctctl;User ID=sa;Password=sa"
|
|||
|
getStoredProcedure="EntLib_GetConfig" setStoredProcedure="EntLib_SetConfig"
|
|||
|
refreshStoredProcedure="UpdateSectionDate" removeStoredProcedure="EntLib_RemoveSection" /> -->
|
|||
|
<add name="System Configuration Source" type="Microsoft.Practices.EnterpriseLibrary.Common.Configuration.SystemConfigurationSource, Microsoft.Practices.EnterpriseLibrary.Common, Version=4.1.0.0, Culture=neutral, PublicKeyToken=null" />
|
|||
|
</sources>
|
|||
|
</enterpriseLibrary.ConfigurationSource>
|
|||
|
<appSettings>
|
|||
|
<!--性能发布参数配置-->
|
|||
|
<!--应用部署路径-->
|
|||
|
<add key="AppDeploymentPath" value="" />
|
|||
|
<!--性能订阅开关-->
|
|||
|
<add key="PerfSuberscriberServerIsValid" value="false" />
|
|||
|
<!--最大性能事务缓存数-->
|
|||
|
<add key="PerfTransMaxLength" value="50" />
|
|||
|
<!--每个性能事务包含的最大性能事件数-->
|
|||
|
<add key="PerfEventMaxLength" value="50" />
|
|||
|
<!--当性能事务最大时,过期时间-->
|
|||
|
<add key="PerfTransTimeOut" value="00:00:05" />
|
|||
|
<add key="PerfPubServers" value="localhost" />
|
|||
|
<add key="PerfPubWebServers" value="localhost" />
|
|||
|
<!--事件中的stackTrace默认不输出,只在分析具体问题时动态打开-->
|
|||
|
<add key="PerfEventOutputStackTrace" value="false" />
|
|||
|
<!--是否启动工作流服务-->
|
|||
|
<add key="EnableWorkflow" value="true" />
|
|||
|
<add key="ComputeSiteUrl" value="http://LOCALHOST/K3CloudApp/" />
|
|||
|
<add key="MCTag" value="MCTAG" />
|
|||
|
</appSettings>
|
|||
|
<!-- Enterprise Lib -->
|
|||
|
<!-- Velocity simple client -->
|
|||
|
<dataCacheClient deployment="routing">
|
|||
|
<!-- (optional) specify local cache-->
|
|||
|
<!--<localCache isEnabled="true" sync="TTLBased" objectCount="1000000" ttlValue="30"/>-->
|
|||
|
<!-- note: cache notifications are not supported with simple client -->
|
|||
|
<!-- cache host(s) -->
|
|||
|
<hosts>
|
|||
|
<host name="192.168.18.112" cachePort="22233" cacheHostName="DistributedCacheService" />
|
|||
|
</hosts>
|
|||
|
</dataCacheClient>
|
|||
|
<runtime>
|
|||
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|||
|
<dependentAssembly>
|
|||
|
<assemblyIdentity name="Oracle.DataAccess" publicKeyToken="89B483F429C47342" culture="neutral" />
|
|||
|
<bindingRedirect oldVersion="0.0.0.0-4.112.2.0" newVersion="4.112.2.0" />
|
|||
|
</dependentAssembly>
|
|||
|
</assemblyBinding>
|
|||
|
</runtime>
|
|||
|
<log4net>
|
|||
|
<!-- Define some output appenders -->
|
|||
|
<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
|
|||
|
<file value="..\App_Data\Log\" />
|
|||
|
<appendToFile value="true" />
|
|||
|
<maxSizeRollBackups value="10" />
|
|||
|
<maximumFileSize value="1MB" />
|
|||
|
<rollingStyle value="Date" />
|
|||
|
<datePattern value="yyyy-MM-dd/'JobProcess.log'" />
|
|||
|
<staticLogFileName value="false" />
|
|||
|
<param name="RollingStyle" value="Composite" />
|
|||
|
<layout type="log4net.Layout.PatternLayout">
|
|||
|
<conversionPattern value="%date [%thread] %-5level - %message%newline" />
|
|||
|
</layout>
|
|||
|
<param name="lockingModel" type="log4net.Appender.FileAppender+MinimalLock" />
|
|||
|
</appender>
|
|||
|
<root>
|
|||
|
<!--ALL,DEBUG,INFO,ERROR,OFF -->
|
|||
|
<level value="ALL" />
|
|||
|
<appender-ref ref="RollingLogFileAppender" />
|
|||
|
</root>
|
|||
|
</log4net>
|
|||
|
<!-- KCacheSetting -->
|
|||
|
<KCacheSetting CacheTypeID="EntLibCache" Switch="OFF" LogSwitch="OFF">
|
|||
|
<!--Kingdee Cache Setting -->
|
|||
|
<CacheType ID="DefaultSetting" Switch="ON" Type="Kingdee.BOS.Cache.KCacheManager, Kingdee.BOS" Description="Kingdee Cache Common Setting">
|
|||
|
<!--switch(ON/OFF);Timespan(s)-->
|
|||
|
<Item ID="default" Switch="ON" Timespan="30" />
|
|||
|
<Item ID="Kingdee_BOS" Switch="ON" Timespan="30" />
|
|||
|
<Item ID="Kingdee_BOS_Data" Switch="ON" Timespan="30" />
|
|||
|
<Item ID="Kingdee_BOS_App_Core" Switch="ON" Timespan="30" />
|
|||
|
<Item ID="BOS_QuickBaseDataCache" Switch="ON" Timespan="30" />
|
|||
|
</CacheType>
|
|||
|
<!--EntLib 4.1 Special Setting, 阀值1800秒-->
|
|||
|
<CacheType ID="EntLibCache" Switch="ON" Type="Kingdee.BOS.Cache.ECache.ECacheManager, Kingdee.BOS.Cache.ECache" Description="Enterprise Library 4.1 Caching">
|
|||
|
</CacheType>
|
|||
|
<!--Velocity 1.0 Special Setting-->
|
|||
|
<CacheType ID="VelocityCache" Switch="ON" Type="Kingdee.BOS.Cache.VCache.VCacheManager, Kingdee.BOS.Cache.VCache" Description="Microsoft Distribution Cache Server(Velocity)">
|
|||
|
</CacheType>
|
|||
|
</KCacheSetting>
|
|||
|
<startup>
|
|||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
|
|||
|
</startup>
|
|||
|
</configuration>
|