<?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>Facing issues with Hook and theme while restarting the server</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=31692634" />
  <subtitle>Facing issues with Hook and theme while restarting the server</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=31692634</id>
  <updated>2026-05-20T18:02:33Z</updated>
  <dc:date>2026-05-20T18:02:33Z</dc:date>
  <entry>
    <title>RE: Facing issues with Hook and theme while restarting the server</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=33183906" />
    <author>
      <name>Chitra Thambirajan</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=33183906</id>
    <updated>2014-01-15T15:18:21Z</updated>
    <published>2014-01-15T15:18:21Z</published>
    <summary type="html">Hi Milorad,&lt;br /&gt;&lt;br /&gt;Can I get the steps(script file commands) to do it in CentOS 6.3.&lt;br /&gt;&lt;br /&gt;My work going to be moved to production.&lt;br /&gt;&lt;br /&gt;Am sorry to say that I did not test it in my test (Windows) environment.&lt;br /&gt;&lt;br /&gt;So it would be helpful if I get that for my production environment for auto deploying themes and hooks while restarting the server.&lt;br /&gt;&lt;br /&gt;Thanks in advance&lt;br /&gt;Chitra.</summary>
    <dc:creator>Chitra Thambirajan</dc:creator>
    <dc:date>2014-01-15T15:18:21Z</dc:date>
  </entry>
  <entry>
    <title>RE: Facing issues with Hook and theme while restarting the server</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=31818218" />
    <author>
      <name>Chitra Thambirajan</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=31818218</id>
    <updated>2013-11-24T10:08:38Z</updated>
    <published>2013-11-24T10:08:38Z</published>
    <summary type="html">Thank you Milorad...Will give a try and update.</summary>
    <dc:creator>Chitra Thambirajan</dc:creator>
    <dc:date>2013-11-24T10:08:38Z</dc:date>
  </entry>
  <entry>
    <title>RE: Facing issues with Hook and theme while restarting the server</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=31810574" />
    <author>
      <name>Milorad Filipović</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=31810574</id>
    <updated>2013-11-23T12:25:12Z</updated>
    <published>2013-11-23T12:25:12Z</published>
    <summary type="html">Well, I&amp;#39;m not really into Windows servers, but I can try &lt;img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif" &gt;&lt;br /&gt;First, copy your war files to any folder on your server, lets call it &amp;#34;warsFolder&amp;#34; for now.&lt;br /&gt;Then modify your startup.bat script (located in bin folder of your tomcat server) by adding lines which copy your war files to deploy folder in the beginning of the file. &lt;br /&gt;Since windows copy command is &amp;#34;copy&amp;#34; it could go something like this:&lt;br /&gt;&lt;br /&gt;copy path/to/warsFolder/my-theme.war /path/to/liferay/deploy&lt;br /&gt;copy path/to/warsFolder/my-hook.war /path/to/liferay/deploy&lt;br /&gt;&lt;br /&gt;So, this basically forces liferay to redeploy wars on each startup. If you can find a real solution, please let me know.</summary>
    <dc:creator>Milorad Filipović</dc:creator>
    <dc:date>2013-11-23T12:25:12Z</dc:date>
  </entry>
  <entry>
    <title>RE: Facing issues with Hook and theme while restarting the server</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=31806569" />
    <author>
      <name>Chitra Thambirajan</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=31806569</id>
    <updated>2013-11-23T05:33:30Z</updated>
    <published>2013-11-23T05:33:30Z</published>
    <summary type="html">Oh...So it seems this is liferay&amp;#39;s feature..I thought this is only happening to me..&lt;br /&gt;&lt;br /&gt;Thank you so much Milorad..&lt;br /&gt;&lt;br /&gt;Could u pls guide me  to achieve this in Windows..?&lt;br /&gt;&lt;br /&gt;Chitra</summary>
    <dc:creator>Chitra Thambirajan</dc:creator>
    <dc:date>2013-11-23T05:33:30Z</dc:date>
  </entry>
  <entry>
    <title>RE: Facing issues with Hook and theme while restarting the server</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=31796442" />
    <author>
      <name>Milorad Filipović</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=31796442</id>
    <updated>2013-11-22T21:58:27Z</updated>
    <published>2013-11-22T21:58:27Z</published>
    <summary type="html">Hi Chitra,&lt;br /&gt;we had issuses with theme that gets &amp;#34;undeployed&amp;#34; after every server restart. I havent figured out the reason, but I came up with workaround. Since we are using linux server, i modified startup script for our tomcat server and added a line wich just copies theme war file into deploy folder before the server gets started so the theme gets deployed. Hope it helps &lt;img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif" &gt;</summary>
    <dc:creator>Milorad Filipović</dc:creator>
    <dc:date>2013-11-22T21:58:27Z</dc:date>
  </entry>
  <entry>
    <title>RE: Facing issues with Hook and theme while restarting the server</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=31780386" />
    <author>
      <name>Chitra Thambirajan</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=31780386</id>
    <updated>2013-11-22T12:27:59Z</updated>
    <published>2013-11-22T12:27:59Z</published>
    <summary type="html">These many views....but no one is answering...&lt;img alt="emoticon" src="@theme_images_path@/emoticons/roll_eyes.gif" &gt;&lt;br /&gt;&lt;br /&gt;As per my understanding,after disabled the developer mode in server,if I start server for the time pages are coming with some changes and some changes are missing..&lt;br /&gt;&lt;br /&gt;If I re-deploy only one theme/hook,at the time all themes/hooks are getting deployed..&lt;br /&gt;&lt;br /&gt;Still I don&amp;#39;t know the exact problem.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Chitra</summary>
    <dc:creator>Chitra Thambirajan</dc:creator>
    <dc:date>2013-11-22T12:27:59Z</dc:date>
  </entry>
  <entry>
    <title>Facing issues with Hook and theme while restarting the server</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=31692633" />
    <author>
      <name>Chitra Thambirajan</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=31692633</id>
    <updated>2013-11-20T11:16:31Z</updated>
    <published>2013-11-20T11:16:31Z</published>
    <summary type="html">Hi Friends,&lt;br /&gt;&lt;br /&gt;Am using Liferay portal 6.1.2 with Eclipse Juno,Liferay Plugin SDK.&lt;br /&gt;&lt;br /&gt;I have just created some post login hooks and themes and deployed it in liferay server.Its working fine.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;My issue,&lt;/strong&gt;&lt;br /&gt;Lets assume that am not using liferay for 2 days.After that if I run liferay server it is working with the default features.&lt;br /&gt;&lt;br /&gt;Am not able to see my post login hook and theme effects.Also one of my hook&amp;#39;s portal.properties file also missing..So am creating it again every time.&lt;br /&gt;&lt;br /&gt;If I re-deploy it again then it is working fine.&lt;br /&gt;&lt;br /&gt;I need to understand the why this is happening.&lt;br /&gt;&lt;br /&gt;Anyone faced this kind of issue..?&lt;br /&gt;&lt;br /&gt;Note: I have just enabled development mode in liferay server.May be due to this it is happening...?&lt;br /&gt;&lt;br /&gt;Please advice me.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Chitra</summary>
    <dc:creator>Chitra Thambirajan</dc:creator>
    <dc:date>2013-11-20T11:16:31Z</dc:date>
  </entry>
</feed>
