document.write(''); document.write(''); document.write(''); document.write(''); document.write('Paste provided by Paste.ee - View Original - View Raw - Download
'); document.write('
\<\?xml version="1.0" encoding="UTF-8"?>\n<Configuration Version="7.1"\n         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\n         xsi:noNamespaceSchemaLocation="schemas/cd_storage_conf.xsd">\n    <Global>\n        <!--Optional:-->\n        <ObjectCache Enabled="false">\n            <!--Optional:-->\n            <Policy Type="LRU" Class="com.tridion.cache.LRUPolicy">\n				<!--\n					The maximum size of memory used by the cache. The string must consist a number \n					followed by units: "k" or "kb" for kilobytes; "m" or "mb" for megabytes (case insensitive)\n				-->\n				<Param Name="MemSize" Value="16mb"/>\n			</Policy>\n			\n            <!--Optional:-->\n            <!-- The Features element specifies classes that add additional functionality to the cache. -->\n			<Features>\n				<Feature Type="DependencyTracker" Class="com.tridion.cache.DependencyTracker"/>\n			</Features>\n          <!--Optional:-->\n          <!--\n					The optional RemoteSynchronization element specifies a remote Cache Channel Service.\n					The remote Cache Channel Service is used to send messages between caches that are running\n					on separate virtual machines. (For example, if the Broker and the Deployer run on separate\n					virtual machines.)\n					The Cache Channel Service must be running and listening on the configured host and port for\n					remote synchronization to function.\n					If this element is omitted, the cache does not use any inter-virtual machine cache communication.\n					You must use the RemoteSynchronization element in conjunction with the Cache Channel service in\n					order for objects to be updated or removed from the Broker\'s object cache when they are published\n					or unpublished using the Deployer.\n			-->\n          <!-- RMI CacheChannel Connector example\n			 \n            <RemoteSynchronization Queuesize="128" ServiceMonitorInterval="10000" FlushCacheDuringDisconnectInterval="20000">\n				<Connector Class="com.tridion.cache.RMICacheChannelConnector" Host="127.0.0.1" Port="1099" />\n			</RemoteSynchronization>\n			-->\n\n          <!-- JMS CacheChannel Connector example\n \n            <RemoteSynchronization Queuesize="128" ServiceMonitorInterval="10000" FlushCacheDuringDisconnectInterval="20000">\n				<Connector Class="com.tridion.cache.JMSCacheChannelConnector" Topic="topicName" TopicConnectionFactory="jndiNameOfConnectionFactory"/>\n			</RemoteSynchronization>\n			-->\n        </ObjectCache>\n        <!--Optional:-->\n		<!-- The optional MetaQueryConstants section allows setting of some advanced properties.\n			   FindByURLCaseSensitivity overrides the default behaviour of the findByURL methods\n			   for retrieving BinaryMeta and PageMeta data.\n		<MetaQueryConstants>				\n			<FindByURLCaseSensitivity Value="false"/>\n			<CategoryQuerySeparator Value="/"/>\n		</MetaQueryConstants>\n              -->\n		<!--\n		Specify RMI listening port\n		-->\n		<!--\n		<RMIChannel ListenerPort="1050"/>\n		-->\n        <Storages>\n            <!--\n            Optional\n            Overriding default Tridion dao bundles.\n            -->\n            <StorageBindings>\n                <Bundle src="preview_dao_bundle.xml"/>\n            <!--    <Bundle src="myDAO.xml"/>\n                <Bundle src="mybindings.xml"/>\n            -->\n            </StorageBindings>\n\n            \n            <Wrappers>\n                <!--\n                In order to allow storing of the session data a mechanism should be in place to support storing and \n                retrieving data in a specific user session.\n                -->\n\n                <Wrapper Name="SessionWrapper">\n                    <!--\n                    Optional:\n                    Timeout - The session timeout expressed in milliseconds. \n                    \n                    <Timeout>60000</Timeout>\n                    -->\n\n                    <!--\n                     Optional:\n                     Machine name - The name of the machine where this instance is run\n\n                     <MachineName>MachineName</MachineName>\n                    -->\n\n                    <!--\n                    Optional: Definition of session storage.\n                    -->\n                    <Storage Type="persistence" Id="sessionDb" dialect="MSSQL" Class="com.tridion.storage.persistence.JPADAOFactory">\n                        <Pool Type="jdbc" Size="10" MonitorInterval="60" IdleTimeout="120" CheckoutTimeout="120" />\n                        <DataSource Class="com.microsoft.sqlserver.jdbc.SQLServerDataSource">\n                            <Property Name="serverName" Value="MyServerNameComesHere" />\n                            <Property Name="portNumber" Value="1198" />\n                            <Property Name="databaseName" Value="Tridion_Broker_Session"/>\n                            <Property Name="user" Value="TridionBrokerUser"/>\n                            <Property Name="password" Value="CpS$!@%4125ab"/>\n                        </DataSource>\n                    </Storage>\n                  \n                </Wrapper>\n            </Wrappers>\n			\n			<!--\n                For Database elements of type sql, you can specify the pooling that\n                should be used with a Pool element. This pooling is independent of the selected database driver.\n                \n                This element has the following attributes:\n                    Type               The type should be either jdbc or tridion.\n                    Size               Maximum number of connections to open.\n                    MonitorInterval    Number of seconds between checks on the pool.\n                    IdleTimeout        Number of seconds a connection can be idle before it is closed.\n                    CheckoutTimeout    Number of seconds a connection can be checked out before it is returned to pool.\n            -->\n			<!--			\n				Configuration example for MS SQL Server 2008 R2 SP1 & 2012 SP1, using the MSSQL JDBC driver.\n\n				The DataSource element specifies the class name of the DataSource to use and properties specific to the datasource.\n				For the MSSQL JDBC driver the minimum set of properties to set are:\n					serverName: name of the server that hosts the database\n					portNumber: configuration of the port used for TCP/IP connections to the database. 1433 is the default port.\n					databaseName: name of the database to access\n					userName: username used to access the database\n					password: password used to access the database\n			-->	\n			\n			<Storage Type="persistence" Id="defaultdb" dialect="MSSQL" Class="com.tridion.storage.persistence.JPADAOFactory">\n				<Pool Type="jdbc" Size="10" MonitorInterval="60" IdleTimeout="120" CheckoutTimeout="120" />\n				<DataSource Class="com.microsoft.sqlserver.jdbc.SQLServerDataSource">\n					<Property Name="serverName" Value="MyServerNameComesHere" />\n					<Property Name="portNumber" Value="1198" />\n					<Property Name="databaseName" Value="Tridion_Broker_Staging" />\n					<Property Name="user" Value="TridionBrokerUser" />\n					<Property Name="password" Value="CpS$!@%4125ab" />\n				</DataSource>\n			</Storage>\n			\n			\n			<!--			\n				Configuration example for DB2 Version 9.7\n\n				The DataSource element specifies the class name of the DataSource to use and properties specific to the datasource.\n				For the DB2 Version 9.7 driver the minimum set of properties to set are:\n					serverName: name of the server that hosts the database\n					portNumber: configuration of the port used for TCP/IP connections to the database. 50000 is the default port.\n					databaseName: name of the database to access\n					userName: username used to access the database\n					password: password used to access the database\n					driverType: set to "4" to indicate a pure java driver so no client installations of the driver are required.\n				\n			\n			<Storage Type="persistence" Id="defaultdb1" dialect="DB2" Class="com.tridion.storage.persistence.JPADAOFactory">\n				<Pool Type="jdbc" Size="10" MonitorInterval="60" IdleTimeout="120" CheckoutTimeout="120" />\n				<DataSource Class="com.ibm.db2.jcc.DB2SimpleDataSource">\n					<Property Name="serverName" Value="SERVER_NAME"/>\n					<Property Name="portNumber" Value="50000"/>\n					<Property Name="databaseName" Value="DATABASE_NAME"/>\n					<Property Name="user" Value="USER_NAME"/>\n					<Property Name="password" Value="PASSWORD"/>\n					<Property Name="driverType" Value="4"/>\n				</DataSource>\n			</Storage>\n			-->\n			\n			<!--			\n				Configuration example for Oracle 10 and Oracle 11. \n\n				The DataSource element specifies the class name of the DataSource to use and properties specific to the datasource.\n				For the Oracle 10 driver the minimum set of properties to set are:			\n					driverType: set to value "thin". Indicates the type of driver to use, by using "thin" no oracle client installation is required.\n					networkProtocol: "tcp". Indicates TCP/IP will be used for connectivity.\n					serverName: name of the server that hosts the database\n					portNumber: configuration of the port used for TCP/IP connections to the database. 1521 is the default port.\n					databaseName: name of the database to access\n					userName: username used to access the database\n					password: password used to access the database				\n			\n			<Storage Type="persistence" Id="defaultdb2" dialect="ORACLESQL" Class="com.tridion.storage.persistence.JPADAOFactory">\n				<Pool Type="jdbc" Size="10" MonitorInterval="60" IdleTimeout="120" CheckoutTimeout="120" />\n				<DataSource Class="oracle.jdbc.pool.OracleDataSource">\n					<Property Name="driverType" Value="thin"/>\n					<Property Name="networkProtocol" Value="tcp"/>\n					<Property Name="serverName" Value="SERVER_NAME"/>\n					<Property Name="portNumber" Value="1521"/>\n					<Property Name="databaseName" Value="DATABASE_NAME"/>\n					<Property Name="user" Value="USER_NAME"/>\n					<Property Name="password" Value="PASSWORD"/>\n				</DataSource>\n			</Storage>\n			-->\n			<!--			\n				Configuration example for using a old style compatible JDBC Driver datasources. \n			\n			<Storage Type="persistence" Class="com.tridion.storage.persistence.JPADAOFactory" dialect="MSSQL" Id="defaultdb3" Url="JDBC_URL_CONNECTION_STRING" Username="USERNAME" Password="PASSWORD" Driver="DRIVER_CLASS">\n				<Pool Type="jdbc2" Size="10" MonitorInterval="60" IdleTimeout="120" CheckoutTimeout="120"/>\n			</Storage>\n			-->\n			\n			<!--			\n				Configuration example for using an Oracle based JNDI datasource.\n			\n			<Storage Type="persistence" Class="com.tridion.storage.persistence.JPADAOFactory" dialect="ORACLESQL" Id="defaultdb4" JNDIName="java:comp/env/jdbc/DATA_SOURCE_NAME"/>\n			-->\n			\n			<!--			\n				Configuration example for using a MS SQL based JNDI datasource.\n			\n			<Storage Type="persistence" Class="com.tridion.storage.persistence.JPADAOFactory" dialect="MSSQL" Id="defaultdb5" JNDIName="java:comp/env/jdbc/DATA_SOURCE_NAME"/>\n			-->\n			\n			<!--			\n				Configuration example for using a DB2 based JNDI datasource.\n			\n			<Storage Type="persistence" Class="com.tridion.storage.persistence.JPADAOFactory" dialect="DB2" Id="defaultdb6" JNDIName="java:comp/env/jdbc/DATA_SOURCE_NAME"/>\n			-->\n						\n			<!--			\n				Configuration example for using filesystem as data storage. \n			-->\n			<Storage Type="filesystem" Class="com.tridion.storage.filesystem.FSDAOFactory" Id="defaultFile" defaultFilesystem="false">\n				<Root Path="D:\websites\staging" />\n			</Storage>\n			<!--\n            <Storage Type="filesystem" Class="com.tridion.storage.filesystem.FSDAOFactory" Id="defaultDataFile" defaultFilesystem="true" defaultStorage="true">\n				<Root Path="c:\temp\data" />\n			</Storage>\n			-->\n			<!--\n			Configuration Example for SearchFilter home used by the SearchFilter Query API\n\n			<SearchFilter Name="SearchFilter" Class="com.tridion.broker.components.meta.OracleSearchFilterHome" defaultStorageId="defaultdb2"/>\n			-->\n			<!--\n			<SearchFilter Name="SearchFilter" Class="com.tridion.broker.components.meta.DB2SearchFilterHome" defaultStorageId="defaultdb1"/>\n			-->\n			<!--\n			<SearchFilter Name="SearchFilter" Class="com.tridion.broker.components.meta.MsSqlSearchFilterHome" defaultStorageId="defaultdb"/>\n			-->\n        </Storages>\n		<!-- This configures the taxonomy reference count for keywords, if CountEnabled is \n		set to False the reference count for keywords will not get updated. The default setting is keyword counts are enabled. --> \n		<!--<Taxonomies CountEnabled="false"/>-->\n		\n		<!-- Configures transaction storage settings, how long before a transaction gets rolledback and on which interval to monitor for\n		outstanding transactions. Default timeout is 120000 ms. (2 minutes) and Default interval is 5000ms. (5 seconds) -->\n		<!-- <Transaction Timeout="120000" MonitorInterval="5000"/> -->\n    </Global>\n	<!-- If no item type mappings are defined within ItemTypes or if storages on a lower level do not exist then the storage defined by defaultStorageId attribute will be used.\n		 If storage defined by defaultStorageId does not exist then exception will be thrown. -->\n    <ItemTypes defaultStorageId="defaultdb" cached="false">\n		<!-- Query type mapping is replacement for Query gnenerator. If there was query generator defined in a Broker configuration then  Query type mapping should be binded to default DB. -->\n		<!--\n		<Item typeMapping="Query" storageId="defaultdb"/>\n		-->\n		<!--Optional:-->\n		<!-- If the item type mapping is defined and storage defined by storageId is the existing one then that one will be used.\n			 If storage defined by storageId does not exist then default storage defined by ItemTypes element will be used. -->\n		<!--\n		<Item typeMapping="Binary" itemExtension=".pdf" storageId="defaultFile" cached="true"/>\n		<Item typeMapping="Binary" itemExtension=".iso" storageId="defaultFile" cached="false"/>\n        <Item typeMapping="ComponentLinkClick" cached="true" storageId="defaultFile"/>\n		<Item typeMapping="Metadata" cached="true" storageId="defaultFile"/>\n        <Item typeMapping="ComponentVisit" cached="true" storageId="defaultFile"/>\n        <Item typeMapping="DynamicLinkInfo" cached="true" storageId="defaultFile"/>\n        -->\n        <Item typeMapping="Page" cached="false" storageId="defaultdb"/>\n		<Item typeMapping="Binary" cached="false" storageId="defaultdb"/>\n        <!--\n		<Item typeMapping="Personalization" cached="true" storageId="defaultdb"/>		\n		<Item typeMapping="Taxonomy" cached="true" storageId="defaultdb"/>\n		<Item typeMapping="Timeframe" cached="true" storageId="defaultFile"/>\n		<Item typeMapping="TrackedPage" cached="true" storageId="defaultFile"/>\n		<Item typeMapping="XSLT" cached="true" storageId="defaultFile"/>\n		<Item typeMapping="ExtensionData" cached="true" storageId="defaultdb"/>\n		-->\n		<!-- UGC -->\n        <!--\n        <Item typeMapping="Comment" storageId="ugcdb"/>\n        <Item typeMapping="Rating" storageId="ugcdb"/>\n        <Item typeMapping="UGCUser" storageId="ugcdb"/>\n        <Item typeMapping="UGCItemStats" storageId="ugcdb"/>\n		-->\n		\n		<!--Optional:-->\n		<!-- If the publication is defined and storage defined by defaultStorageId is the existing one then that one will be used for that publication unless it is overwriten on a lower level.\n			 If storage defined by storageId does not exist then default storage defined by ItemTypes element will be used unless lower level type mappings are not matched. -->\n		<!--\n		<Publication Id="1" defaultStorageId="defaultFile" cached="false">\n		-->\n			<!--Optional:-->\n			<!-- If there is a type mapping match and storage is defined for storageId then that storage will be used.\n				 Otherwise; first storage defined within publication element will be referenced, and if that one does not exist then the storage from Item elements will be referenced. \n				 and at the end storage defined within ItemTypes will be used.-->\n			<!--\n			<Item typeMapping="ComponentPresentation" itemExtension=".Jsp" storageId="defaultFile"/>\n			<Item typeMapping="ComponentPresentation" itemExtension=".Asp" storageId="defaultFile"/>\n			<Item typeMapping="ComponentPresentation" itemExtension=".Xml" storageId="defaultFile"/>\n			<Item typeMapping="ComponentPresentation" itemExtension=".Txt" storageId="defaultFile"/>\n			<Item typeMapping="Metadata" cached="true" storageId="defaultFile"/>\n            <Item typeMapping="Binary" itemExtension=".pdf" storageId="defaultFile" cached="true"/>\n            <Item typeMapping="Binary" itemExtension=".iso" storageId="defaultFile" cached="false"/>\n            <Item typeMapping="ComponentLinkClick" cached="true" storageId="defaultFile"/>\n            <Item typeMapping="ComponentVisit" cached="true" storageId="defaultFile"/>\n            <Item typeMapping="DynamicLinkInfo" cached="true" storageId="defaultFile"/>\n			<Item typeMapping="Page" cached="true" storageId="defaultFile"/>\n            <Item typeMapping="Personalization" cached="true" storageId="defaultdb"/>\n            <Item typeMapping="Taxonomy" cached="true" storageId="defaultdb"/>\n            <Item typeMapping="Timeframe" cached="true" storageId="defaultFile"/>\n            <Item typeMapping="TrackedPage" cached="true" storageId="defaultFile"/>\n            <Item typeMapping="XSLT" cached="true" storageId="defaultFile"/>\n            <Item typeMapping="ExtensionData" cached="true" storageId="defaultdb"/>\n            -->\n            <!-- UGC -->\n            <!--\n            <Item typeMapping="Comment" storageId="ugcdb"/>\n            <Item typeMapping="Rating" storageId="ugcdb"/>\n            <Item typeMapping="UGCUser" storageId="ugcdb"/>\n            <Item typeMapping="UGCItemStats" storageId="ugcdb"/>\n			-->\n		<!--\n        </Publication>\n		-->\n    </ItemTypes>\n    \n    <!-- Specifies the location of the license file. -->\n   \n    <License Location="C:\DevLicenceForSdl\cd_licenses.xml"/>\n    \n</Configuration>\n
'); function initEmbeddedPaste_1pqIsOZrImoqA5gU() { hljs.highlightBlock(document.getElementById('pastee-1pqIsOZrImoqA5gU-content')); } addEventListener('DOMContentLoaded', initEmbeddedPaste_1pqIsOZrImoqA5gU, false); addEventListener('load', initEmbeddedPaste_1pqIsOZrImoqA5gU, false);