Liferay OSGi Config Generator
Generate Liferay OSGi .config files for osgi/configs. Pick a component for a typed property form, or use custom mode for any PID. Correct Felix format.
1. Choose a component
2. Configure properties
Maximum stored versions per article. 0 keeps all versions.
IntegerInterval, in minutes, for the job that publishes and expires scheduled articles.
IntegerMaximum number of articles processed per check run.
IntegerEnable comments on Web Content articles.
BooleanKeep article version history by default.
BooleanIndex all article versions for search.
BooleanToken that splits an article into multiple pages.
StringAdd another property
3. Generated com.liferay.journal.configuration.JournalServiceConfiguration.config
Drop this file into [Liferay Home]/osgi/configs/.
Prefer the plain .cfg format? (com.liferay.journal.configuration.JournalServiceConfiguration.cfg)
The .config format is preferred — it carries types and supports multi-valued properties. Use .cfg only for simple scalar values.
Liferay Web Content (Journal) OSGi Configuration
Service-level settings for Web Content articles, structures, and the scheduled check job.
PID: com.liferay.journal.configuration.JournalServiceConfiguration
Properties
| Property | Type | Default | Description |
|---|---|---|---|
| journalArticleMaxVersionCount | Integer | 0 | Maximum stored versions per article. 0 keeps all versions. |
| checkInterval | Integer | 15 | Interval, in minutes, for the job that publishes and expires scheduled articles. |
| journalArticleCheckLimit | Integer | 100 | Maximum number of articles processed per check run. |
| articleCommentsEnabled | Boolean | true | Enable comments on Web Content articles. |
| versionHistoryByDefaultEnabled | Boolean | true | Keep article version history by default. |
| indexAllArticleVersionsEnabled | Boolean | true | Index all article versions for search. |
| journalArticlePageBreakToken | String | @page_break@ | Token that splits an article into multiple pages. |
These are the common, verified properties. Add any others for this PID with the custom-property row in the form above, then drop the file into [Liferay Home]/osgi/configs.