<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Portal Instance Properties and Liferay Hook deployment</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=7095234" />
  <subtitle>Portal Instance Properties and Liferay Hook deployment</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=7095234</id>
  <updated>2026-04-06T10:16:22Z</updated>
  <dc:date>2026-04-06T10:16:22Z</dc:date>
  <entry>
    <title>RE: Portal Instance Properties and Liferay Hook deployment</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=7100207" />
    <author>
      <name>Tarkan Corak</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=7100207</id>
    <updated>2011-01-14T09:33:23Z</updated>
    <published>2011-01-14T09:33:23Z</published>
    <summary type="html">Hi Chad,&lt;br /&gt;&lt;br /&gt;AFAIK this is not possible. But it would be a nice feature. As currently portal-ext.properties already can be deployed by Ext Plugins I&amp;#39;d like to see instance specific portal.properties there as well.&lt;br /&gt;&lt;br /&gt;Tarkan</summary>
    <dc:creator>Tarkan Corak</dc:creator>
    <dc:date>2011-01-14T09:33:23Z</dc:date>
  </entry>
  <entry>
    <title>Portal Instance Properties and Liferay Hook deployment</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=7095233" />
    <author>
      <name>Chad Allen</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=7095233</id>
    <updated>2011-01-13T22:54:57Z</updated>
    <published>2011-01-13T22:54:57Z</published>
    <summary type="html">I&amp;#39;m using Liferay 6.0.5, and I&amp;#39;ve been experimenting with the instance specific portal properties, as described in &lt;a href="http://issues.liferay.com/browse/LPS-9"&gt;LPS-9&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m wondering if it is possible to hot deploy custom instance specific portal properties using the liferay-hook mechansism.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve created a hook project, specifying:&lt;br /&gt;&lt;br /&gt;&amp;lt;hook&amp;gt;&lt;br /&gt;	&amp;lt;portal-properties&amp;gt;portal-company2.properties&amp;lt;/portal-properties&amp;gt;&lt;br /&gt;&amp;lt;/hook&amp;gt;&lt;br /&gt;&lt;br /&gt;and I&amp;#39;ve got a copy of portal-company2.properties in my docroot/WEB-INF/src.  When I deploy the hook, I see:&lt;br /&gt;&lt;br /&gt;22:45:53,411 INFO  [HookHotDeployListener:394] Registering hook for test-property-hook&lt;br /&gt;Loading file:/D:/Development/liferay-portal-6.0.5/tomcat-6.0.26/webapps/test-property-hook/WEB-INF/classes/portal-company2.properties&lt;br /&gt;22:45:53,458 INFO  [HookHotDeployListener:649] Hook for test-property-hook is available for use&lt;br /&gt;&lt;br /&gt;But when I try to retrieve a custom property using PropsUtil.get() it is returning null.&lt;br /&gt;&lt;br /&gt;If I manually place the portal-company2.properties into ROOT/WEB-INF/classes it works fine.&lt;br /&gt;&lt;br /&gt;Can anyone recommend what else I may try to get this hot deployment to work.  When running multiple instances, I want to avoid a system restart as that impacts all instances. Is there a better way of getting custom instance properties loaded without a restart?</summary>
    <dc:creator>Chad Allen</dc:creator>
    <dc:date>2011-01-13T22:54:57Z</dc:date>
  </entry>
</feed>
