<?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>Hotdeploy Liferay 4.0 RC2 vs Liferay 4.0.0 (doesn&amp;#39;t work)</title>
  <link rel="self" href="https://liferay.dev/de/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=77078" />
  <subtitle>Hotdeploy Liferay 4.0 RC2 vs Liferay 4.0.0 (doesn&amp;#39;t work)</subtitle>
  <id>https://liferay.dev/de/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=77078</id>
  <updated>2026-05-09T00:13:15Z</updated>
  <dc:date>2026-05-09T00:13:15Z</dc:date>
  <entry>
    <title>Hotdeploy Liferay 4.0 RC2 vs Liferay 4.0.0 (doesn&amp;#39;t work)</title>
    <link rel="alternate" href="https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=77082" />
    <author>
      <name>Mika Koivisto</name>
    </author>
    <id>https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=77082</id>
    <updated>2006-06-18T14:52:07Z</updated>
    <published>2006-06-18T14:52:07Z</published>
    <summary type="html">I had the same problem. It seems that there is a bug in CachePortlet. See &amp;lt;a href=&amp;#34;http://www.liferay.com/web/guest/community/forums/message_boards/message/77250&amp;#34; target=&amp;#34;_blank&amp;#34;&amp;gt;http://www.liferay.com/web/guest/community/forums/message_boards/message/77250&amp;lt;/a&amp;gt;</summary>
    <dc:creator>Mika Koivisto</dc:creator>
    <dc:date>2006-06-18T14:52:07Z</dc:date>
  </entry>
  <entry>
    <title>Hotdeploy Liferay 4.0 RC2 vs Liferay 4.0.0 (doesn&amp;#39;t work)</title>
    <link rel="alternate" href="https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=77080" />
    <author>
      <name>John Ryan</name>
    </author>
    <id>https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=77080</id>
    <updated>2006-06-14T14:49:50Z</updated>
    <published>2006-06-14T14:49:50Z</published>
    <summary type="html">&lt;blockquote&gt;&amp;lt;br /&amp;gt;On Liferay 4.0 Candidate 2 I put spring_-portlet-sample.war in /home/liferay/deploy and restart tomcat.  I tries to deploy and there is a spring-portlet-sample in webapps and it shows up in the  Admin/portlets page.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;I Liferay 4.0.0 I drop the file in /home/liferay/deploy and I get no error messages but also nothing in webapps.  I think that the install fails silently without a warning.  When I look for anything with the name spring in it&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;amp;#036; find . -name &amp;amp;#092;*spring&amp;amp;#092;* -print&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;nothing shows up.  Therefore nothing deployed.  &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Here is catalina.out.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;08:54:05,022 INFO  [org.apache.catalina.core.AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;...&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;/blockquote&gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Almost there&amp;amp;#33;  So Close but still no joy&amp;amp;#33;&amp;amp;#036;##*%*.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;O.K.  I Just wanted to say I resolved my problem (sort of)  I did a fresh install of the liferay4.0.0-tomcat-jdk5 bundle. &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;I thought there might be a permission problem beccause I could see things left over in the temp directory.  So I removed the old installation.  Then I created a /home/liferay/deploy directory and put the spring-sample-portlet.war in it.  Then I went into ~/liferay/bin and made the shell scripts executable and started liferay.  that is I ran &amp;amp;quot;sudo ./startup.sh; tail -f ../logs/catalina.out&amp;amp;quot;;  EVERYTHING worked&amp;amp;#33;  I saw the spring-sample-portlet deploy.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;I logged in as test@liferay.com/test and selected the Admin/Portlets tab and saw the portlets &amp;amp;quot;Books, Hello World, Mode Name View, Redirect,Test Exceptions, and WSRP Upload&amp;amp;quot;.  Hurray&amp;amp;#33; Next I added Users &amp;amp;quot;Power User, User (one per line) to the books portlet. Then I  went to add the pages to my homepage with &amp;amp;quot;Add Content&amp;amp;quot; and lo and behold there were the portlets under &amp;amp;quot;Undefined&amp;amp;quot;.  I added the books portlet to my page successfully&amp;amp;#33;  Then I clicked on a book and ist properly sent me to the next page.  So far so goood&amp;amp;#33;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Now for the bad news.  I selected Edit and the whole thing fell apart and took out the rest of my homepage as well.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Here is the error message from catalina.out.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt; &amp;amp;lt;Successfully completed request&amp;amp;gt;&amp;lt;br /&amp;gt;2006-06-14 14:46:03,511 DEBUG [org.springframework.web.portlet.context.XmlPortletApplicationContext] - &amp;amp;lt;Publishing event in context [PortletApplicationContext for namespace &amp;amp;#39;books-portlet&amp;amp;#39;]: PortletRequestHandledEvent: portlet=[books]; mode=[view]; type=[render]; session=[2C57D6C0A3DDBE3848275DC511A77819]; user=[liferay.com.1]; time=[1897ms]; status=[OK]&amp;amp;gt;&amp;lt;br /&amp;gt;2006-06-14 14:46:03,554 ERROR [portal-web.docroot.html.portal.render_portlet.jsp] - &amp;amp;lt;java.lang.ClassCastException: [Ljava.lang.String;&amp;lt;br /&amp;gt;        at com.liferay.portlet.CachePortlet._invoke(CachePortlet.java:328)&amp;lt;br /&amp;gt;        at com.liferay.portlet.CachePortlet.render(CachePortlet.java:153)&amp;lt;br /&amp;gt;        at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:629)&amp;lt;br /&amp;gt;.....&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Now whenever I log in I get a page wherin all the portlets say &amp;amp;quot;Navigation is temporarily unavailable, Analog clock is temporarily unavailable, ...Books is temporarily unavailabe&amp;amp;quot;  So now the whole installlation is horked and useless.  &amp;amp;quot;The guest home page is unaffected&amp;amp;quot;.  Restarting tomcat fixes the problem.  (of course users woun&amp;amp;#39;t be able to fis the problem this way so something has to be done&amp;amp;#33;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Any one else get this far and have any ideas?</summary>
    <dc:creator>John Ryan</dc:creator>
    <dc:date>2006-06-14T14:49:50Z</dc:date>
  </entry>
  <entry>
    <title>Hotdeploy Liferay 4.0 RC2 vs Liferay 4.0.0 (doesn&amp;#39;t work)</title>
    <link rel="alternate" href="https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=77077" />
    <author>
      <name>John Ryan</name>
    </author>
    <id>https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=77077</id>
    <updated>2006-06-13T09:10:02Z</updated>
    <published>2006-06-13T09:10:02Z</published>
    <summary type="html">On Liferay 4.0 Candidate 2 I put spring_-portlet-sample.war in /home/liferay/deploy and restart tomcat.  I tries to deploy and there is a spring-portlet-sample in webapps and it shows up in the  Admin/portlets page.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;I Liferay 4.0.0 I drop the file in /home/liferay/deploy and I get no error messages but also nothing in webapps.  I think that the install fails silently without a warning.  When I look for anything with the name spring in it&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;amp;#036; find . -name &amp;amp;#092;*spring&amp;amp;#092;* -print&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;nothing shows up.  Therefore nothing deployed.  &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;Here is catalina.out.&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;08:54:05,022 INFO  [org.apache.catalina.core.AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java&amp;lt;br /&amp;gt;08:54:05,143 INFO  [org.apache.coyote.http11.Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-8080&amp;lt;br /&amp;gt;08:54:05,146 INFO  [org.apache.catalina.startup.Catalina] Initialization processed in 1209 ms&amp;lt;br /&amp;gt;08:54:05,385 INFO  [org.apache.catalina.core.StandardService] Starting service Catalina&amp;lt;br /&amp;gt;08:54:05,392 INFO  [org.apache.catalina.core.StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.17&amp;lt;br /&amp;gt;08:54:05,419 INFO  [org.apache.catalina.core.StandardHost] XML validation disabled&amp;lt;br /&amp;gt;08:54:05,561 INFO  [org.apache.catalina.realm.JAASRealm] Setting useContextClassLoader = false&amp;lt;br /&amp;gt;Loading jar:file:/Users/johnryan/dev/liferay4.0.0/liferay/WEB-INF/lib/portal-ejb.jar&amp;amp;#33;/system.properties&amp;lt;br /&amp;gt;Loading jar:file:/Users/johnryan/dev/liferay4.0.0/liferay/WEB-INF/lib/portal-ejb.jar&amp;amp;#33;/portal.properties&amp;lt;br /&amp;gt;Loading file:/Users/johnryan/dev/liferay4.0.0/liferay/WEB-INF/classes/portal-ext.properties&amp;lt;br /&amp;gt;Starting Liferay Portal Professional 4.0.0 (Lloyd-Jones / Build 2987 / June 2, 2006)&amp;lt;br /&amp;gt;Loading jar:file:/Users/johnryan/dev/liferay4.0.0/liferay/WEB-INF/lib/portal-ejb.jar&amp;amp;#33;/cache-multi-vm.properties&amp;lt;br /&amp;gt;08:54:29,246 INFO  [com.liferay.portal.shared.util.ServerDetector] Detected server tomcat&amp;lt;br /&amp;gt;08:54:29,647 INFO  [com.liferay.portal.shared.deploy.AutoDeployDir] Auto deploy scanner started for /home/liferay/deploy&amp;lt;br /&amp;gt;08:54:53,298 INFO  [org.apache.catalina.realm.JAASRealm] Setting useContextClassLoader = false&amp;lt;br /&amp;gt;08:54:53,508 INFO  [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/tunnel]] Loading Spring root WebApplicationContext&amp;lt;br /&amp;gt;08:55:00,851 INFO  [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/tunnel]] Loading WebApplicationContext for Spring FrameworkServlet &amp;amp;#39;SpringServlet&amp;amp;#39;&amp;lt;br /&amp;gt;Loading file:/Users/johnryan/dev/liferay4.0.0/webapps/cms/WEB-INF/classes/cms-redirects.properties&amp;lt;br /&amp;gt;08:55:01,311 INFO  [org.apache.coyote.http11.Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-8080&amp;lt;br /&amp;gt;08:55:01,571 INFO  [org.apache.catalina.storeconfig.StoreLoader] Find registry server-registry.xml at classpath resource&amp;lt;br /&amp;gt;08:55:01,733 INFO  [org.apache.catalina.startup.Catalina] Server startup in 56586 ms&amp;lt;br /&amp;gt;Loading jar:file:/Users/johnryan/dev/liferay4.0.0/liferay/WEB-INF/lib/portal-ejb.jar&amp;amp;#33;/portal.properties for liferay.com&amp;lt;br /&amp;gt;Loading file:/Users/johnryan/dev/liferay4.0.0/liferay/WEB-INF/classes/portal-ext.properties for liferay.com&amp;lt;br /&amp;gt;Loading jar:file:/Users/johnryan/dev/liferay4.0.0/liferay/WEB-INF/lib/portal-ejb.jar&amp;amp;#33;/cache-single-vm.properties&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;It looks like it checked the correct directory, and the war file is gone from /home/liferay/deploy, so something happend, but not a hot deploy.  The &amp;amp;quot;Book&amp;amp;quot; portlet did not show up, nor dit any of the other spring portlets, redirect etc. Why does it fail silently on 4.0.0?</summary>
    <dc:creator>John Ryan</dc:creator>
    <dc:date>2006-06-13T09:10:02Z</dc:date>
  </entry>
</feed>
