Remember that the more you hack at environment properties, property files, startup batch scripts, etc. If you keep things simple and only set what you absolutely need to, your ability to change and maintain the environment will be much simpler. So the Parent Directory structure changed. This was just a test run getting the flavours of liferay But I will keep this mind as we move to our potential staging and production servers.
I don't know what was in your "test piece", but I've never developed any plugin that needed to know what liferay. I think if you find yourself hard-coding paths in your code you're doing something wrong. David H Nebinger:. Nitin Yeola, modified 6 Years ago. Hi Pawan, Have you mention new path for "liferay. You should never define liferay. We usually default liferay. Either two things are going on: 1.
Set this property to false for easier debugging for development. You can. See the property "theme. Set this property to true to load the theme's merged image files for.
Set this property to true to allow directly invoked JSPs to be overridden. Set the theme's shortcut icon. Set this with an absolute path to specify where imported theme files from. This path will override the file-storage path. Themes can be imported via LAR files. Set this to true if imported themes. This will ensure that a copy of. However, this. It is recommended that you set this to false.
Set this to true to decorate portlets by default. Set this to true to expose sharing icons for portlets by default. Resource Actions. Input a list of comma delimited resource action configurations that will. This should only be set to false when it is called by Service Builder. Set this property to true to only read portlet resources from web modules. Set this property to false to allow reading portlet and model. Model Hints. Input a list of comma delimited model hints configurations.
Model Tree Path. Set the batch size of database query results returned during the tree. If set to -1, the results will not be paginated and. Input a list of comma delimited Spring configurations. These will be. Input a list of comma delimited Spring infrastructure configurations.
These will be loaded after the module framework is initialized but before. Set this property to true to verify that the session factory is owned by. Set this property to false to turn off. Set the list of portal classes that will be preloaded by the. PreloadClassloader and therefore available to a plugin's Hibernate session.
Set this property to false to manually open and close sessions. Input a list of comma delimited Hibernate configurations. Liferay will automatically detect the Hibernate dialect in. Set this property. Set the Hibernate connection release mode. You should not modify this. The default setting works best for. Spring managed transactions. See the method buildSessionFactory in class. LocalSessionFactoryBean and search for.
Set the JDBC batch size to improve performance. See LPS for. See LEP for more. Set other miscellaneous Hibernate properties. Use the classic query factory until WebLogic and Hibernate 3 can get. Set this property to true to enable Hibernate cache monitoring.
LPS for more information. Set the regexp pattern to filter a Hibernate session factory imported. This is used to fix the infamous Hibernate ReflectHelper. For more details, see the Hibernate issues. If no regexp pattern is set, classloader resolving is skipped, resulting. The wildcard pattern ". Any other pattern resolves the class name against the configuration's.
If it can not be resolved, it attempts to match this. If it matches, continue with classloader resolving; otherwise,. Set this property to true to enable constraint propagation to DDL.
If none is set, then the. Set the properties used to create the JDBC data source. These properties.
The default settings are configured for an in-memory database called. Hypersonic that is not recommended for production use. Please change the. To configure the portal to use one data source for read calls and another. Similar to the settings prefixed with "jdbc. Add "jdbc. Add dynamic-data-source-spring. SQL Server. See com. DataSourceFactoryBean for the. It is important to understand the strengths and. Provider specific properties can also be passed.
For example, the property. The default provider is HikariCP. The following properties will be read by C3PO if Liferay is configured to. The following properties will be read by HikariCP if Liferay is configured. HikariCP recommends to also tune database settings. Connection Pool in the property "jdbc. Custom SQL. Set this property to true to automatically escape wildcards to literal. Input a list of comma delimited custom SQL configurations. Set the. There is no need to manually set these properties because.
PortalHibernateConfiguration already sets it. However, these properties are available so that you can see how you can. MySQL for testing only.
Data Limit. Set the maximum allowed document library storage size per company. Set the maximum allowed mail messages per company within a period. Set the maximum allowed mail messages per period in seconds. Set this to 0. Set the maximum allowed asset categories per company. Set this to 0 or a. Set the maximum allowed asset tags per company. Set the maximum allowed asset vocabularies per company.
Set the maximum allowed blogs entries per company. Set the maximum allowed document library file entries per company. Set the maximum allowed document library folders per company.
Set this to. Set the maximum allowed journal articles per company. Set the maximum allowed journal folders per company. Set the maximum allowed knowledge base articles per company. Set the maximum allowed knowledge base folders per company. Set the maximum allowed message board categories per company. Set the maximum allowed message board messages per company.
Set the maximum allowed groups per company. Set this to 0 or a negative. Set the maximum allowed layouts per company. Set the maximum allowed organizations per company. Set the maximum allowed roles per company. Set the maximum allowed teams per company. Set the maximum allowed users per company.
Set the maximum allowed site navigation menu items per company. Set this. Set the maximum allowed wiki nodes per company. Set the maximum allowed wiki pages per company. Set the maximum allowed sites per company.
Set this property to true to update database indexes on startup. Make sure that your custom indexes do not match the. Liferay pattern to ensure that your custom indexes are not removed as. Set the max number of parameters for an IN clause. Set the max length for string type of index.
Specify any database vendor specific settings. Set the MySQL engine type. InnoDB is the recommended engine because it. Set the transaction isolation level for the Counter service. The preferred value. If the transaction manager. Set the definition of the "portal" transaction isolation level. It is. Set the value to -1 to use the database's default isolation. Set the value to 2 to use "read committed".
Set the value to 1 to. Set the value to 4 to use "repeatable read". Additional properties that follow the pattern. Transactional Cache. Set this property to true to enable transactional cache.
When enabled,. Caches rollback when transactions rollback. Set a list of comma delimited transactional portal cache names. XTIVIA needs the contact information you provide to us to contact you about our products and services. You may unsubscribe from these communications at anytime, read our Privacy Policy here. Privacy Policy. How can I obtain in Liferay portlet JSP the directory of the data folder usually it's in the home directory of liferay?
Thank's Olaf. How are we doing? Please help us improve Stack Overflow. Take our short survey. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Collectives on Stack Overflow. Learn more.
0コメント