11-19-2013 08:07 AM
11-20-2013 02:15 AM
<bean id="custom-properties" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="ignoreUnresolvablePlaceholders">
<value>true</value>
</property>
<property name="locations">
<list>
<value>classpath:alfresco/extension/custom.properties</value>
</list>
</property>
</bean>
<bean id="customDataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName">
<value>${custom.db.driver}</value>
</property>
<property name="url">
<value>${custom.db.url}</value>
</property>
<property name="username">
<value>${custom.db.username}</value>
</property>
<property name="password">
<value>${custom.db.password}</value>
</property>
</bean>
custom.db.username=alfresco
custom.db.password=alfresco
custom.db.driver=org.gjt.mm.mysql.Driver
custom.db.url=jdbc:mysql://192.168.1.118:3306/alfresco401
11-24-2013 07:43 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.