Spring is a property in the portal.properties file, which is the default configuration file for Sun GlassFish Web Space Server. You can override this property using portal-ext.properties file.
Input a list of comma-delimited Spring configurations. These will be loaded after the bean definitions specified in the contextConfigLocation parameter in web.xml.
spring.configs=\ META-INF/data-source-spring.xml,\ META-INF/misc-spring.xml,\ META-INF/counter-spring.xml,\ META-INF/documentlibrary-spring.xml,\ META-INF/lock-spring.xml,\ META-INF/mail-spring.xml,\ META-INF/portal-spring.xml,\ META-INF/portal-spring-jcr.xml,\ META-INF/ext-spring.xml |
Set the bean name for the Liferay data source.
spring.hibernate.data.source=liferayDataSource |
Set the bean name for the Liferay session factory.
spring.hibernate.session.factory=&liferaySessionFactory |