Portal-ext.properties

From Null-pointer

Jump to: navigation, search

/ROOT/WEB-INF/classes/portal-ext.properties

Contents

JDBC

jdbc.default.driverClassName=com.mysql.jdbc.Driver
jdbc.default.url=jdbc:mysql://localhost/lportal?useUnicode=true&characterEncoding=\
 UTF-8&useFastDateParsing=false
jdbc.default.username=portal
jdbc.default.password=[password]

# http://forums.mysql.com/read.php?39,139821,160175
# a note in this thread says that my SQL connection close with 8 hrs of no activity!!!!.

jdbc.default.idleConnectionTestPeriod=1800
jdbc.default.maxConnectionAge=14400
jdbc.default.maxIdleTime=10800
jdbc.default.preferredTestQuery=SELECT 1;

default brower launch behaviour

browser.launcher.url=

company specific properties

   #
   # Each portal instance can have its own overriden property file following
   # the convention portal-companyId.properties. To enable this feature, set
   # the "company-id-properties" system property to true.
   #
   # To enable:
   #
   #     java ... -Dcompany-id-properties=true
   #
   # The read order will now be: portal.properties, then portal-ext.properties,
   # and then portal-liferay.com.properties.
   #
   include-and-override=portal-${easyconf:companyId}.properties
   include-and-override=${liferay.home}/portal-${easyconf:companyId}.properties

additional mime types

##
## Mime Types
##

   #
   # Input a list of comma delimited mime types that are not available by
   # default from javax.activation.MimetypesFileTypeMap.
   #
   mime.types=\
       application/msword doc,\
       application/pdf pdf,\
       application/vnd.ms-excel xls,\
       application/vnd.ms-powerpoint ppt,\
       application/x-ms-wmp wmv,\
       application/x-shockwave-flash swf flv,\
       text/css css,\
       text/xml xml dtd\

Editors

##
## Editors
##

   #
   # You can configure individual JSP pages to use a specific implementation of
   # the available WYSIWYG editors: liferay, fckeditor, simple, tinymce,
   # or tinymcesimple.
   #
   editor.wysiwyg.default=tinymce
   editor.wysiwyg.portal-web.docroot.html.portlet.blogs.edit_entry.jsp=tinymce
   editor.wysiwyg.portal-web.docroot.html.portlet.calendar.edit_configuration.jsp=tinymce
   editor.wysiwyg.portal-web.docroot.html.portlet.enterprise_admin.view.jsp=tinymce
   editor.wysiwyg.portal-web.docroot.html.portlet.invitation.edit_configuration.jsp=tinymce
   editor.wysiwyg.portal-web.docroot.html.portlet.journal.edit_article_content.jsp=tinymce
   editor.wysiwyg.portal-web.docroot.html.portlet.journal.edit_article_content_xsd_el.jsp=tinymce
   editor.wysiwyg.portal-web.docroot.html.portlet.journal.edit_configuration.jsp=tinymce
   editor.wysiwyg.portal-web.docroot.html.portlet.login.configuration.jsp=tinymce
   editor.wysiwyg.portal-web.docroot.html.portlet.mail.edit.jsp=tinymce
   editor.wysiwyg.portal-web.docroot.html.portlet.mail.edit_message.jsp=tinymce
   editor.wysiwyg.portal-web.docroot.html.portlet.message_boards.edit_configuration.jsp=tinymce
   editor.wysiwyg.portal-web.docroot.html.portlet.shopping.edit_configuration.jsp=tinymce
   editor.wysiwyg.portal-web.docroot.html.portlet.wiki.edit.html.jsp=tinymce
   editor.wysiwyg.docroot.mycoursesdocs.admin=tinymcesimple
   editor.wysiwyg.docroot.mycoursesdocs.admin.editProgramme.jsp=tinymcesimple

See also

portal.properties

Personal tools