Advertisement
Guest User

Untitled

a guest
Apr 30th, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.09 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?><Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="8.5" xsi:noNamespaceSchemaLocation="schemas/cd_storage_conf.xsd">
  2. <!--Optional:-->
  3. <!--
  4. Default Namespace Configuration
  5. The parameter to determine the default namespace
  6. 'tcm' - SDL Web
  7. -->
  8. <!--<Namespace default="${namespaceprefix:-tcm}"/>-->
  9. <Global>
  10. <!--Optional:-->
  11. <ObjectCache Enabled="false">
  12. <!--Optional:-->
  13. <Policy Class="com.tridion.cache.LRUPolicy" Type="LRU">
  14. <!--
  15. The maximum size of memory used by the cache. The string must consist a number
  16. followed by units: "k" or "kb" for kilobytes; "m" or "mb" for megabytes (case insensitive)
  17. -->
  18. <Param Name="MemSize" Value="16mb"/>
  19. </Policy>
  20. <!--Optional:-->
  21. <!-- The Features element specifies classes that add additional functionality to the cache. -->
  22. <Features>
  23. <Feature Class="com.tridion.cache.DependencyTracker" Type="DependencyTracker"/>
  24. </Features>
  25. <!--Optional:-->
  26. <!--
  27. The optional RemoteSynchronization element specifies a remote Cache Channel Service.
  28. The remote Cache Channel Service is used to send messages between caches that are running
  29. on separate virtual machines. (For example, if the Broker and the Deployer run on separate
  30. virtual machines.)
  31. The Cache Channel Service must be running and listening on the configured host and port for
  32. remote synchronization to function.
  33. If this element is omitted, the cache does not use any inter-virtual machine cache communication.
  34. You must use the RemoteSynchronization element in conjunction with the Cache Channel service in
  35. order for objects to be updated or removed from the Broker's object cache when they are published
  36. or unpublished using the Deployer.
  37. -->
  38. <!-- RMI CacheChannel Connector example
  39.  
  40. <RemoteSynchronization Queuesize="128" ServiceMonitorInterval="10000"
  41. FlushCacheDuringDisconnectInterval="20000">
  42.  
  43. <Connector Class="com.tridion.cache.RMICacheChannelConnector" Host="127.0.0.1" Port="1099" />
  44. </RemoteSynchronization>
  45. -->
  46. <!-- JMS CacheChannel Connector example
  47.  
  48. <RemoteSynchronization Queuesize="128" ServiceMonitorInterval="10000"
  49. FlushCacheDuringDisconnectInterval="20000">
  50.  
  51. <Connector Class="com.tridion.cache.JMSCacheChannelConnector" Topic="topicName"
  52. TopicConnectionFactory="jndiNameOfConnectionFactory"/>
  53. </RemoteSynchronization>
  54. -->
  55. </ObjectCache>
  56. <!--Optional:-->
  57. <!-- The optional MetaQueryConstants section allows setting of some advanced properties.
  58. FindByURLCaseSensitivity overrides the default behaviour of the findByURL methods
  59. for retrieving BinaryMeta and PageMeta data.
  60. <MetaQueryConstants>
  61. <FindByURLCaseSensitivity Value="false"/>
  62. <CategoryQuerySeparator Value="/"/>
  63. </MetaQueryConstants>
  64. -->
  65. <!-- Specify RMI listening port -->
  66. <!-- <RMIChannel ListenerPort="1050"/> -->
  67. <Storages>
  68. <!--
  69. <StorageBindings>
  70. -->
  71. <!-- Optional
  72. Overriding default SDL Web dao bundles. -->
  73. <!--
  74. <Bundle src="storage_extension_dao_bundle.xml"/>
  75. -->
  76. <!--
  77. </StorageBindings>
  78. -->
  79. <!--
  80. Optional: Wrappers enhances the behaviour of DAOs for specific use cases.
  81. -->
  82. <!--
  83. <Wrappers>
  84. -->
  85. <!--
  86. Optional:
  87. Wrapper definition for StorageLayer wrapping.
  88. This element has the following attributes:
  89. Name The bean wrapper name.
  90. -->
  91. <!--
  92. <Wrapper Name="WrapperName"></Wrapper>
  93. -->
  94. <!--
  95. In order to allow storing of the session data a mechanism should be in place to support storing and
  96. retrieving data in a specific user session.
  97. -->
  98. <!--
  99. </Wrappers>
  100. -->
  101. <!--
  102. For Database elements of type sql, you can specify the pooling that
  103. should be used with a Pool element. This pooling is independent of the selected database driver.
  104.  
  105. This element has the following attributes:
  106. Type The type should be either jdbc or tridion.
  107. Size Maximum number of connections to open.
  108. MonitorInterval Number of seconds between checks on the pool.
  109. IdleTimeout Number of seconds a connection can be idle before it is closed.
  110. CheckoutTimeout Number of seconds a connection can be checked out before it is returned to pool.
  111. -->
  112. <!--
  113. Configuration example for MS SQL Database using the MSSQL JDBC driver.
  114.  
  115. The DataSource element specifies the class name of the DataSource to use
  116. and properties specific to the datasource.
  117. For the MSSQL JDBC driver the minimum set of properties to set are:
  118. serverName: name of the server that hosts the database
  119. portNumber: port number (default 1433) used for TCP/IP connections to the database.
  120. databaseName: name of the database to access
  121. userName: username used to access the database
  122. password: password used to access the database
  123.  
  124.  
  125. <Storage Type="persistence" Id="defaultdb" dialect="MSSQL"
  126. Class="com.tridion.storage.persistence.JPADAOFactory">
  127.  
  128. <Pool Type="jdbc" Size="10" MonitorInterval="60" IdleTimeout="120" CheckoutTimeout="120" />
  129. <DataSource Class="com.microsoft.sqlserver.jdbc.SQLServerDataSource">
  130. <Property Name="serverName" Value="SERVER_NAME" />
  131. <Property Name="portNumber" Value="1433" />
  132. <Property Name="databaseName" Value="DATABASE_NAME" />
  133. <Property Name="user" Value="USER_NAME" />
  134. <Property Name="password" Value="PASSWORD" />
  135. </DataSource>
  136. </Storage>
  137. -->
  138. <!--
  139. Configuration example for Oracle Database using the Oracle JDBC driver.
  140.  
  141. The DataSource element specifies the class name of the DataSource to use
  142. and properties specific to the datasource.
  143.  
  144. For the Oracle driver the minimum set of properties to set are:
  145. driverType: set to value "thin". Indicates the type of driver to use,
  146. by using "thin" no oracle client installation is required.
  147. networkProtocol: "tcp". Indicates TCP/IP will be used for connectivity.
  148. serverName: name of the server that hosts the database
  149. portNumber: port number (default 1521) used for TCP/IP connections to the database.
  150. databaseName: name of the database to access
  151. userName: username used to access the database
  152. password: password used to access the database
  153.  
  154. <Storage Type="persistence" Id="defaultdb2" dialect="ORACLESQL"
  155. Class="com.tridion.storage.persistence.JPADAOFactory">
  156.  
  157. <Pool Type="jdbc" Size="10" MonitorInterval="60" IdleTimeout="120" CheckoutTimeout="120" />
  158. <DataSource Class="oracle.jdbc.pool.OracleDataSource">
  159. <Property Name="driverType" Value="thin"/>
  160. <Property Name="networkProtocol" Value="tcp"/>
  161. <Property Name="serverName" Value="SERVER_NAME"/>
  162. <Property Name="portNumber" Value="1521"/>
  163. <Property Name="databaseName" Value="DATABASE_NAME"/>
  164. <Property Name="user" Value="USER_NAME"/>
  165. <Property Name="password" Value="PASSWORD"/>
  166. </DataSource>
  167. </Storage>
  168. -->
  169. <!--
  170. Configuration of Storage where some values are parameterized.
  171.  
  172. Usage: parameters are specified in form of "${parameter_name}".
  173. Then the parameters might be specified either as operating system environment variables before running
  174. service or as arguments to bash/powershell script in form of "-Dparameter_name=parameter_value"
  175.  
  176. -->
  177. <Storage Class="com.tridion.storage.persistence.JPADAOFactory" Id="defaultdb" Type="persistence" dialect="${dbtype}">
  178. <Pool CheckoutTimeout="120" IdleTimeout="120" MonitorInterval="60" Size="5" Type="jdbc"/>
  179. <DataSource Class="${dbclass}">
  180. <Property Name="serverName" Value="${dbhost}"/>
  181. <Property Name="portNumber" Value="${dbport}"/>
  182. <Property Name="databaseName" Value="${dbname}"/>
  183. <Property Name="user" Value="${dbuser}"/>
  184. <Property Name="password" Value="$(dbpassword)"/>
  185. </DataSource>
  186. </Storage>
  187. <!--
  188. Configuration example for using a old style compatible JDBC Driver datasources.
  189.  
  190. <Storage Type="persistence" Class="com.tridion.storage.persistence.JPADAOFactory" dialect="MSSQL"
  191. Id="defaultdb3" Url="JDBC_URL_CONNECTION_STRING" Username="USERNAME" Password="PASSWORD"
  192. Driver="DRIVER_CLASS">
  193.  
  194. <Pool Type="jdbc2" Size="10" MonitorInterval="60" IdleTimeout="120" CheckoutTimeout="120"/>
  195. </Storage>
  196. -->
  197. <!-- Configuration example for using filesystem as data storage. -->
  198. <!--
  199. <Storage Type="filesystem" Class="com.tridion.storage.filesystem.FSDAOFactory" Id="defaultFile"
  200. defaultFilesystem="false">
  201. <Root Path="${rootPath}"/>
  202. </Storage>
  203. <Storage Type="filesystem" Class="com.tridion.storage.filesystem.FSDAOFactory" Id="defaultDataFile"
  204. defaultFilesystem="true" defaultStorage="true">
  205. <Root Path="${rootPath}/data"/>
  206. </Storage>
  207. -->
  208. </Storages>
  209. <!--
  210. This configures the taxonomy reference count for keywords,
  211. if CountEnabled is set to False the reference count for keywords will not get updated.
  212. The default setting is keyword counts are enabled.
  213. -->
  214. <!-- <Taxonomies CountEnabled="false"/> -->
  215. <!--
  216. Configures transaction storage settings:
  217. how long before a transaction gets rolled back (default is 600000 ms) and
  218. interval to monitor for outstanding transactions (default is 5000ms).
  219. -->
  220. <Transaction MonitorInterval="5000" Timeout="600000"/>
  221. </Global>
  222. <ItemTypes cached="false" defaultStorageId="defaultdb">
  223. <!--
  224. Query type mapping is replacement for Query generator.
  225. If query generator was defined in a Broker configuration, Query type mapping should be bind to default DB.
  226. -->
  227. <!-- <Item typeMapping="Query" storageId="defaultdb"/> -->
  228. <!--Optional:-->
  229. <!-- If no item type mappings are defined within ItemTypes or if storages on a lower level do not exist
  230. then the storage defined by defaultStorageId attribute will be used.
  231. If storage defined by defaultStorageId does not exist then exception will be thrown.
  232. -->
  233. <!--
  234. <Item typeMapping="Binary" itemExtension=".pdf" storageId="defaultFile" cached="true"/>
  235. <Item typeMapping="Binary" itemExtension=".iso" storageId="defaultFile" cached="false"/>
  236. <Item typeMapping="ComponentLinkClick" cached="true" storageId="defaultFile"/>
  237. <Item typeMapping="Metadata" cached="true" storageId="defaultFile"/>
  238. <Item typeMapping="ComponentVisit" cached="true" storageId="defaultFile"/>
  239. <Item typeMapping="DynamicLinkInfo" cached="true" storageId="defaultFile"/>
  240.  
  241. <Item typeMapping="Page" cached="false" storageId="defaultFile"/>
  242.  
  243. <Item typeMapping="Personalization" cached="true" storageId="defaultdb"/>
  244. <Item typeMapping="Taxonomy" cached="true" storageId="defaultdb"/>
  245. <Item typeMapping="Timeframe" cached="true" storageId="defaultFile"/>
  246. <Item typeMapping="TrackedPage" cached="true" storageId="defaultFile"/>
  247. <Item typeMapping="XSLT" cached="true" storageId="defaultFile"/>
  248. <Item typeMapping="ExtensionData" cached="true" storageId="defaultdb"/>
  249. -->
  250. <!--Optional:-->
  251. <!--
  252. If the publication is defined and storage defined by defaultStorageId is the existing one,
  253. that one will be used for that publication unless it is overwritten on a lower level.
  254.  
  255. If storage defined by storageId does not exist,
  256. then default storage defined by ItemTypes element will be used
  257. unless lower level type mappings are not matched.
  258. -->
  259. <!--
  260. <Publication Id="1" defaultStorageId="defaultFile" cached="false">
  261. -->
  262. <!--Optional:-->
  263. <!--
  264. If there is a type mapping match and storage is defined for storageId then that storage will be used.
  265. Otherwise; first storage defined within publication element will be referenced,
  266. and if that one does not exist then the storage from Item elements will be referenced.
  267. and at the end storage defined within ItemTypes will be used.
  268. -->
  269. <!--
  270. <Item typeMapping="ComponentPresentation" itemExtension=".Jsp" storageId="defaultFile"/>
  271. <Item typeMapping="ComponentPresentation" itemExtension=".Asp" storageId="defaultFile"/>
  272. <Item typeMapping="ComponentPresentation" itemExtension=".Xml" storageId="defaultFile"/>
  273. <Item typeMapping="ComponentPresentation" itemExtension=".Txt" storageId="defaultFile"/>
  274. <Item typeMapping="Metadata" cached="true" storageId="defaultFile"/>
  275. <Item typeMapping="Binary" itemExtension=".pdf" storageId="defaultFile" cached="true"/>
  276. <Item typeMapping="Binary" itemExtension=".iso" storageId="defaultFile" cached="false"/>
  277. <Item typeMapping="ComponentLinkClick" cached="true" storageId="defaultFile"/>
  278. <Item typeMapping="ComponentVisit" cached="true" storageId="defaultFile"/>
  279. <Item typeMapping="DynamicLinkInfo" cached="true" storageId="defaultFile"/>
  280. <Item typeMapping="Page" cached="true" storageId="defaultFile"/>
  281. <Item typeMapping="Personalization" cached="true" storageId="defaultdb"/>
  282. <Item typeMapping="Taxonomy" cached="true" storageId="defaultdb"/>
  283. <Item typeMapping="Timeframe" cached="true" storageId="defaultFile"/>
  284. <Item typeMapping="TrackedPage" cached="true" storageId="defaultFile"/>
  285. <Item typeMapping="XSLT" cached="true" storageId="defaultFile"/>
  286. <Item typeMapping="ExtensionData" cached="true" storageId="defaultdb"/>
  287. -->
  288. <!--
  289. </Publication>
  290. -->
  291. </ItemTypes>
  292. <!--
  293. <ConfigRepository ServiceUri="${discoveryurl:-http://localhost:8082/discovery.svc}"
  294. ConnectionTimeout="10000"
  295. CacheEnabled="true"
  296. CacheExpirationDuration="600"
  297. ServiceMonitorPollDuration="10"
  298. ClientId="registration"
  299. ClientSecret="encrypted:HzfQh9wYwAKShDxCm4DnnBnysAz9PtbDMFXMbPszSVY="
  300. TokenServiceUrl="${tokenurl:-http://localhost:8082/token.svc}">
  301. <Roles>
  302. <Role Name="DeployerCapability" Url="${deployerurl:-http://localhost:8084/httpupload}">
  303. <Property Name="encoding" Value="UTF-8"/>
  304. </Role>
  305. </Roles>
  306. </ConfigRepository>
  307. -->
  308. <!-- Specifies the location of the license file. -->
  309. <!--<License Location="D:\Licenses\cd_licenses.xml"/>-->
  310. </Configuration><?xml version="1.0" encoding="UTF-8"?><Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="8.5" xsi:noNamespaceSchemaLocation="schemas/cd_storage_conf.xsd">
  311. <!--Optional:-->
  312. <!--
  313. Default Namespace Configuration
  314. The parameter to determine the default namespace
  315. 'tcm' - SDL Web
  316. -->
  317. <!--<Namespace default="${namespaceprefix:-tcm}"/>-->
  318. <Global>
  319. <!--Optional:-->
  320. <ObjectCache Enabled="false">
  321. <!--Optional:-->
  322. <Policy Class="com.tridion.cache.LRUPolicy" Type="LRU">
  323. <!--
  324. The maximum size of memory used by the cache. The string must consist a number
  325. followed by units: "k" or "kb" for kilobytes; "m" or "mb" for megabytes (case insensitive)
  326. -->
  327. <Param Name="MemSize" Value="16mb"/>
  328. </Policy>
  329. <!--Optional:-->
  330. <!-- The Features element specifies classes that add additional functionality to the cache. -->
  331. <Features>
  332. <Feature Class="com.tridion.cache.DependencyTracker" Type="DependencyTracker"/>
  333. </Features>
  334. <!--Optional:-->
  335. <!--
  336. The optional RemoteSynchronization element specifies a remote Cache Channel Service.
  337. The remote Cache Channel Service is used to send messages between caches that are running
  338. on separate virtual machines. (For example, if the Broker and the Deployer run on separate
  339. virtual machines.)
  340. The Cache Channel Service must be running and listening on the configured host and port for
  341. remote synchronization to function.
  342. If this element is omitted, the cache does not use any inter-virtual machine cache communication.
  343. You must use the RemoteSynchronization element in conjunction with the Cache Channel service in
  344. order for objects to be updated or removed from the Broker's object cache when they are published
  345. or unpublished using the Deployer.
  346. -->
  347. <!-- RMI CacheChannel Connector example
  348.  
  349. <RemoteSynchronization Queuesize="128" ServiceMonitorInterval="10000"
  350. FlushCacheDuringDisconnectInterval="20000">
  351.  
  352. <Connector Class="com.tridion.cache.RMICacheChannelConnector" Host="127.0.0.1" Port="1099" />
  353. </RemoteSynchronization>
  354. -->
  355. <!-- JMS CacheChannel Connector example
  356.  
  357. <RemoteSynchronization Queuesize="128" ServiceMonitorInterval="10000"
  358. FlushCacheDuringDisconnectInterval="20000">
  359.  
  360. <Connector Class="com.tridion.cache.JMSCacheChannelConnector" Topic="topicName"
  361. TopicConnectionFactory="jndiNameOfConnectionFactory"/>
  362. </RemoteSynchronization>
  363. -->
  364. </ObjectCache>
  365. <!--Optional:-->
  366. <!-- The optional MetaQueryConstants section allows setting of some advanced properties.
  367. FindByURLCaseSensitivity overrides the default behaviour of the findByURL methods
  368. for retrieving BinaryMeta and PageMeta data.
  369. <MetaQueryConstants>
  370. <FindByURLCaseSensitivity Value="false"/>
  371. <CategoryQuerySeparator Value="/"/>
  372. </MetaQueryConstants>
  373. -->
  374. <!-- Specify RMI listening port -->
  375. <!-- <RMIChannel ListenerPort="1050"/> -->
  376. <Storages>
  377. <!--
  378. <StorageBindings>
  379. -->
  380. <!-- Optional
  381. Overriding default SDL Web dao bundles. -->
  382. <!--
  383. <Bundle src="storage_extension_dao_bundle.xml"/>
  384. -->
  385. <!--
  386. </StorageBindings>
  387. -->
  388. <!--
  389. Optional: Wrappers enhances the behaviour of DAOs for specific use cases.
  390. -->
  391. <!--
  392. <Wrappers>
  393. -->
  394. <!--
  395. Optional:
  396. Wrapper definition for StorageLayer wrapping.
  397. This element has the following attributes:
  398. Name The bean wrapper name.
  399. -->
  400. <!--
  401. <Wrapper Name="WrapperName"></Wrapper>
  402. -->
  403. <!--
  404. In order to allow storing of the session data a mechanism should be in place to support storing and
  405. retrieving data in a specific user session.
  406. -->
  407. <!--
  408. </Wrappers>
  409. -->
  410. <!--
  411. For Database elements of type sql, you can specify the pooling that
  412. should be used with a Pool element. This pooling is independent of the selected database driver.
  413.  
  414. This element has the following attributes:
  415. Type The type should be either jdbc or tridion.
  416. Size Maximum number of connections to open.
  417. MonitorInterval Number of seconds between checks on the pool.
  418. IdleTimeout Number of seconds a connection can be idle before it is closed.
  419. CheckoutTimeout Number of seconds a connection can be checked out before it is returned to pool.
  420. -->
  421. <!--
  422. Configuration example for MS SQL Database using the MSSQL JDBC driver.
  423.  
  424. The DataSource element specifies the class name of the DataSource to use
  425. and properties specific to the datasource.
  426. For the MSSQL JDBC driver the minimum set of properties to set are:
  427. serverName: name of the server that hosts the database
  428. portNumber: port number (default 1433) used for TCP/IP connections to the database.
  429. databaseName: name of the database to access
  430. userName: username used to access the database
  431. password: password used to access the database
  432.  
  433.  
  434. <Storage Type="persistence" Id="defaultdb" dialect="MSSQL"
  435. Class="com.tridion.storage.persistence.JPADAOFactory">
  436.  
  437. <Pool Type="jdbc" Size="10" MonitorInterval="60" IdleTimeout="120" CheckoutTimeout="120" />
  438. <DataSource Class="com.microsoft.sqlserver.jdbc.SQLServerDataSource">
  439. <Property Name="serverName" Value="SERVER_NAME" />
  440. <Property Name="portNumber" Value="1433" />
  441. <Property Name="databaseName" Value="DATABASE_NAME" />
  442. <Property Name="user" Value="USER_NAME" />
  443. <Property Name="password" Value="PASSWORD" />
  444. </DataSource>
  445. </Storage>
  446. -->
  447. <!--
  448. Configuration example for Oracle Database using the Oracle JDBC driver.
  449.  
  450. The DataSource element specifies the class name of the DataSource to use
  451. and properties specific to the datasource.
  452.  
  453. For the Oracle driver the minimum set of properties to set are:
  454. driverType: set to value "thin". Indicates the type of driver to use,
  455. by using "thin" no oracle client installation is required.
  456. networkProtocol: "tcp". Indicates TCP/IP will be used for connectivity.
  457. serverName: name of the server that hosts the database
  458. portNumber: port number (default 1521) used for TCP/IP connections to the database.
  459. databaseName: name of the database to access
  460. userName: username used to access the database
  461. password: password used to access the database
  462.  
  463. <Storage Type="persistence" Id="defaultdb2" dialect="ORACLESQL"
  464. Class="com.tridion.storage.persistence.JPADAOFactory">
  465.  
  466. <Pool Type="jdbc" Size="10" MonitorInterval="60" IdleTimeout="120" CheckoutTimeout="120" />
  467. <DataSource Class="oracle.jdbc.pool.OracleDataSource">
  468. <Property Name="driverType" Value="thin"/>
  469. <Property Name="networkProtocol" Value="tcp"/>
  470. <Property Name="serverName" Value="SERVER_NAME"/>
  471. <Property Name="portNumber" Value="1521"/>
  472. <Property Name="databaseName" Value="DATABASE_NAME"/>
  473. <Property Name="user" Value="USER_NAME"/>
  474. <Property Name="password" Value="PASSWORD"/>
  475. </DataSource>
  476. </Storage>
  477. -->
  478. <!--
  479. Configuration of Storage where some values are parameterized.
  480.  
  481. Usage: parameters are specified in form of "${parameter_name}".
  482. Then the parameters might be specified either as operating system environment variables before running
  483. service or as arguments to bash/powershell script in form of "-Dparameter_name=parameter_value"
  484.  
  485. -->
  486. <Storage Class="com.tridion.storage.persistence.JPADAOFactory" Id="defaultdb" Type="persistence" dialect="${dbtype}">
  487. <Pool CheckoutTimeout="120" IdleTimeout="120" MonitorInterval="60" Size="5" Type="jdbc"/>
  488. <DataSource Class="${dbclass}">
  489. <Property Name="serverName" Value="${dbhost}"/>
  490. <Property Name="portNumber" Value="${dbport}"/>
  491. <Property Name="databaseName" Value="${dbname}"/>
  492. <Property Name="user" Value="${dbuser}"/>
  493. <Property Name="password" Value="$(dbpassword)"/>
  494. </DataSource>
  495. </Storage>
  496. <!--
  497. Configuration example for using a old style compatible JDBC Driver datasources.
  498.  
  499. <Storage Type="persistence" Class="com.tridion.storage.persistence.JPADAOFactory" dialect="MSSQL"
  500. Id="defaultdb3" Url="JDBC_URL_CONNECTION_STRING" Username="USERNAME" Password="PASSWORD"
  501. Driver="DRIVER_CLASS">
  502.  
  503. <Pool Type="jdbc2" Size="10" MonitorInterval="60" IdleTimeout="120" CheckoutTimeout="120"/>
  504. </Storage>
  505. -->
  506. <!-- Configuration example for using filesystem as data storage. -->
  507. <!--
  508. <Storage Type="filesystem" Class="com.tridion.storage.filesystem.FSDAOFactory" Id="defaultFile"
  509. defaultFilesystem="false">
  510. <Root Path="${rootPath}"/>
  511. </Storage>
  512. <Storage Type="filesystem" Class="com.tridion.storage.filesystem.FSDAOFactory" Id="defaultDataFile"
  513. defaultFilesystem="true" defaultStorage="true">
  514. <Root Path="${rootPath}/data"/>
  515. </Storage>
  516. -->
  517. </Storages>
  518. <!--
  519. This configures the taxonomy reference count for keywords,
  520. if CountEnabled is set to False the reference count for keywords will not get updated.
  521. The default setting is keyword counts are enabled.
  522. -->
  523. <!-- <Taxonomies CountEnabled="false"/> -->
  524. <!--
  525. Configures transaction storage settings:
  526. how long before a transaction gets rolled back (default is 600000 ms) and
  527. interval to monitor for outstanding transactions (default is 5000ms).
  528. -->
  529. <Transaction MonitorInterval="5000" Timeout="600000"/>
  530. </Global>
  531. <ItemTypes cached="false" defaultStorageId="defaultdb">
  532. <!--
  533. Query type mapping is replacement for Query generator.
  534. If query generator was defined in a Broker configuration, Query type mapping should be bind to default DB.
  535. -->
  536. <!-- <Item typeMapping="Query" storageId="defaultdb"/> -->
  537. <!--Optional:-->
  538. <!-- If no item type mappings are defined within ItemTypes or if storages on a lower level do not exist
  539. then the storage defined by defaultStorageId attribute will be used.
  540. If storage defined by defaultStorageId does not exist then exception will be thrown.
  541. -->
  542. <!--
  543. <Item typeMapping="Binary" itemExtension=".pdf" storageId="defaultFile" cached="true"/>
  544. <Item typeMapping="Binary" itemExtension=".iso" storageId="defaultFile" cached="false"/>
  545. <Item typeMapping="ComponentLinkClick" cached="true" storageId="defaultFile"/>
  546. <Item typeMapping="Metadata" cached="true" storageId="defaultFile"/>
  547. <Item typeMapping="ComponentVisit" cached="true" storageId="defaultFile"/>
  548. <Item typeMapping="DynamicLinkInfo" cached="true" storageId="defaultFile"/>
  549.  
  550. <Item typeMapping="Page" cached="false" storageId="defaultFile"/>
  551.  
  552. <Item typeMapping="Personalization" cached="true" storageId="defaultdb"/>
  553. <Item typeMapping="Taxonomy" cached="true" storageId="defaultdb"/>
  554. <Item typeMapping="Timeframe" cached="true" storageId="defaultFile"/>
  555. <Item typeMapping="TrackedPage" cached="true" storageId="defaultFile"/>
  556. <Item typeMapping="XSLT" cached="true" storageId="defaultFile"/>
  557. <Item typeMapping="ExtensionData" cached="true" storageId="defaultdb"/>
  558. -->
  559. <!--Optional:-->
  560. <!--
  561. If the publication is defined and storage defined by defaultStorageId is the existing one,
  562. that one will be used for that publication unless it is overwritten on a lower level.
  563.  
  564. If storage defined by storageId does not exist,
  565. then default storage defined by ItemTypes element will be used
  566. unless lower level type mappings are not matched.
  567. -->
  568. <!--
  569. <Publication Id="1" defaultStorageId="defaultFile" cached="false">
  570. -->
  571. <!--Optional:-->
  572. <!--
  573. If there is a type mapping match and storage is defined for storageId then that storage will be used.
  574. Otherwise; first storage defined within publication element will be referenced,
  575. and if that one does not exist then the storage from Item elements will be referenced.
  576. and at the end storage defined within ItemTypes will be used.
  577. -->
  578. <!--
  579. <Item typeMapping="ComponentPresentation" itemExtension=".Jsp" storageId="defaultFile"/>
  580. <Item typeMapping="ComponentPresentation" itemExtension=".Asp" storageId="defaultFile"/>
  581. <Item typeMapping="ComponentPresentation" itemExtension=".Xml" storageId="defaultFile"/>
  582. <Item typeMapping="ComponentPresentation" itemExtension=".Txt" storageId="defaultFile"/>
  583. <Item typeMapping="Metadata" cached="true" storageId="defaultFile"/>
  584. <Item typeMapping="Binary" itemExtension=".pdf" storageId="defaultFile" cached="true"/>
  585. <Item typeMapping="Binary" itemExtension=".iso" storageId="defaultFile" cached="false"/>
  586. <Item typeMapping="ComponentLinkClick" cached="true" storageId="defaultFile"/>
  587. <Item typeMapping="ComponentVisit" cached="true" storageId="defaultFile"/>
  588. <Item typeMapping="DynamicLinkInfo" cached="true" storageId="defaultFile"/>
  589. <Item typeMapping="Page" cached="true" storageId="defaultFile"/>
  590. <Item typeMapping="Personalization" cached="true" storageId="defaultdb"/>
  591. <Item typeMapping="Taxonomy" cached="true" storageId="defaultdb"/>
  592. <Item typeMapping="Timeframe" cached="true" storageId="defaultFile"/>
  593. <Item typeMapping="TrackedPage" cached="true" storageId="defaultFile"/>
  594. <Item typeMapping="XSLT" cached="true" storageId="defaultFile"/>
  595. <Item typeMapping="ExtensionData" cached="true" storageId="defaultdb"/>
  596. -->
  597. <!--
  598. </Publication>
  599. -->
  600. </ItemTypes>
  601. <!--
  602. <ConfigRepository ServiceUri="${discoveryurl:-http://localhost:8082/discovery.svc}"
  603. ConnectionTimeout="10000"
  604. CacheEnabled="true"
  605. CacheExpirationDuration="600"
  606. ServiceMonitorPollDuration="10"
  607. ClientId="registration"
  608. ClientSecret="encrypted:HzfQh9wYwAKShDxCm4DnnBnysAz9PtbDMFXMbPszSVY="
  609. TokenServiceUrl="${tokenurl:-http://localhost:8082/token.svc}">
  610. <Roles>
  611. <Role Name="DeployerCapability" Url="${deployerurl:-http://localhost:8084/httpupload}">
  612. <Property Name="encoding" Value="UTF-8"/>
  613. </Role>
  614. </Roles>
  615. </ConfigRepository>
  616. -->
  617. <!-- Specifies the location of the license file. -->
  618. <!--<License Location="D:\Licenses\cd_licenses.xml"/>-->
  619. </Configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement