<?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>RE: Handling clients behind a balancer and changing source IP</title>
  <link rel="alternate" href="http://www.liferay.com/c/message_boards/find_recent_posts?p_l_id=" />
  <subtitle>RE: Handling clients behind a balancer and changing source IP</subtitle>
  <entry>
    <title>RE: Bug on Liferay 6.1</title>
    <link rel="alternate" href="http://www.liferay.com/c/message_boards/find_message?p_l_id=&amp;messageId=12872145" />
    <author>
      <name>Binh Thanh Le</name>
    </author>
    <id>http://www.liferay.com/c/message_boards/find_message?p_l_id=&amp;messageId=12872145</id>
    <updated>2012-03-07T13:56:35Z</updated>
    <published>2012-03-07T13:56:35Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Tibor Kiss:&lt;/div&gt;&lt;div class="quote"&gt;&lt;div class="quote-content"&gt;What are the correct rules then? I also had similar issue, so &lt;a href="http&amp;#x3a;&amp;#x2f;&amp;#x2f;issues&amp;#x2e;liferay&amp;#x2e;com&amp;#x2f;browse&amp;#x2f;LPS-24069&amp;#x3f;focusedCommentId&amp;#x3d;175313&amp;#x23;comment-175313"&gt;I commented on jira&lt;/a&gt;.&lt;br /&gt;I was thinking that this is a simple question, but is not as simple, because I was setting up a full name.. in the sense that hostname . domainname then the robots are accessing with just the domain name.&lt;br /&gt;I have an apache on forefront which is redirecting correctly a browser url containing only the domain name, but not the robots.&lt;br /&gt;&lt;br /&gt;(Btw, this exception is in the log, but the Liferay does not crash (just as a remark to the initial post.)&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hello, just go there and fill in the actual virtual host address &lt;img alt="emoticon" src="http://www.liferay.comhttp://cdn.www.liferay.com/osb-community-theme/images/emoticons/happy.gif" &gt;</summary>
    <dc:creator>Binh Thanh Le</dc:creator>
    <dc:date>2012-03-07T13:56:35Z</dc:date>
  </entry>
  <entry>
    <title>RE: Bug on Liferay 6.1</title>
    <link rel="alternate" href="http://www.liferay.com/c/message_boards/find_message?p_l_id=&amp;messageId=12223949" />
    <author>
      <name>Binh Thanh Le</name>
    </author>
    <id>http://www.liferay.com/c/message_boards/find_message?p_l_id=&amp;messageId=12223949</id>
    <updated>2012-01-25T08:04:26Z</updated>
    <published>2012-01-25T08:04:26Z</published>
    <summary type="html">Go to your portal setting and change the virtual host setting there to the correct value.</summary>
    <dc:creator>Binh Thanh Le</dc:creator>
    <dc:date>2012-01-25T08:04:26Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay Structure</title>
    <link rel="alternate" href="http://www.liferay.com/c/message_boards/find_message?p_l_id=&amp;messageId=10903548" />
    <author>
      <name>Binh Thanh Le</name>
    </author>
    <id>http://www.liferay.com/c/message_boards/find_message?p_l_id=&amp;messageId=10903548</id>
    <updated>2011-09-26T16:33:39Z</updated>
    <published>2011-09-26T16:33:39Z</published>
    <summary type="html">it looks like u re not from Web Dev background.&lt;br /&gt;&lt;br /&gt;MySQL is the de factor database for the web, ok.</summary>
    <dc:creator>Binh Thanh Le</dc:creator>
    <dc:date>2011-09-26T16:33:39Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 6-Scheduler Engine design change...</title>
    <link rel="alternate" href="http://www.liferay.com/c/message_boards/find_message?p_l_id=&amp;messageId=7037091" />
    <author>
      <name>Binh Thanh Le</name>
    </author>
    <id>http://www.liferay.com/c/message_boards/find_message?p_l_id=&amp;messageId=7037091</id>
    <updated>2011-01-10T12:35:34Z</updated>
    <published>2011-01-10T12:35:03Z</published>
    <summary type="html">works like a charm, thanks very much&lt;br /&gt;Than u, Miguel and thank to jhf too.</summary>
    <dc:creator>Binh Thanh Le</dc:creator>
    <dc:date>2011-01-10T12:35:03Z</dc:date>
  </entry>
  <entry>
    <title>RE: Basic Security Permissions</title>
    <link rel="alternate" href="http://www.liferay.com/c/message_boards/find_message?p_l_id=&amp;messageId=6989136" />
    <author>
      <name>Binh Thanh Le</name>
    </author>
    <id>http://www.liferay.com/c/message_boards/find_message?p_l_id=&amp;messageId=6989136</id>
    <updated>2011-01-05T17:19:34Z</updated>
    <published>2011-01-05T17:19:34Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Sina J:&lt;/div&gt;&lt;div class="quote"&gt;&lt;div class="quote-content"&gt;Hi all,&lt;br /&gt;&lt;br /&gt;I have some general and basic questions about security in liferay:&lt;br /&gt;&lt;br /&gt;Firstly [url=http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Using+Liferay&amp;#039;s+Permission+System+from+a+portlet]here it is said to use API calls like &lt;div class="code"&gt;&lt;span class="code-lines"&gt;1&lt;/span&gt; resourceLocalService.addResources(...)&lt;/div&gt; and &lt;div class="code"&gt;&lt;span class="code-lines"&gt;1&lt;/span&gt; resourceLocalService.deleteResource(...)&lt;/div&gt;  to inform the permission system of new resources. On the other hand in Liferay in action book sample (book and publisher) this API call is not included and the system is working fine. I built a sample for myself and without API calls it seems to work fine. So what is the deal with adding and deleting resources. Why you guys are saying we have to have them in your wiki page? What limitations would I have if I don&amp;#039;t do this?&lt;br /&gt;&lt;br /&gt;Secondly, in all your security and permission samples your entities have two additional columns for groupId and companyId. Why would I need them inside&lt;strong&gt; my model&lt;/strong&gt;. I want this level of access but why should I add them to my entity and storing them in my database not liferay security database? What limitation would I have if I don&amp;#039;t have them?&lt;br /&gt;&lt;br /&gt;Thanks in advance for your time and consideration.&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;For future reference, This is basically for your non-instanceable portlet if want your portlet data to be community/organization aware.</summary>
    <dc:creator>Binh Thanh Le</dc:creator>
    <dc:date>2011-01-05T17:19:34Z</dc:date>
  </entry>
  <entry>
    <title>RE: Adding JARS to WEB-INF/lib of Liferay-Portlet</title>
    <link rel="alternate" href="http://www.liferay.com/c/message_boards/find_message?p_l_id=&amp;messageId=6987080" />
    <author>
      <name>Binh Thanh Le</name>
    </author>
    <id>http://www.liferay.com/c/message_boards/find_message?p_l_id=&amp;messageId=6987080</id>
    <updated>2011-01-05T14:59:12Z</updated>
    <published>2011-01-05T14:59:12Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Andew Jardine:&lt;/div&gt;&lt;div class="quote"&gt;&lt;div class="quote-content"&gt;&lt;br /&gt;Hi Binh,&lt;br /&gt;&lt;br /&gt;Thanks for the suggestion, but I don&amp;#039;t think that will solve my problem. What I understand is that the entries you make in that properties files will pull in libraries that are found in the Portal WEB-INF/lib. I&amp;#039;m trying to avoid putting them in there in the first place since, really, the portal doesn&amp;#039;t need them, just the portlet I have created does.&lt;br /&gt;&lt;br /&gt;Does anyone else have any suggestions?&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;No, this is to copy what is in WEB-INF/lib of the portal into your Portlet&amp;#039;s LIB folder.&lt;br /&gt;&lt;br /&gt;That s exactly what you need.</summary>
    <dc:creator>Binh Thanh Le</dc:creator>
    <dc:date>2011-01-05T14:59:12Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to route the console output to a log file...</title>
    <link rel="alternate" href="http://www.liferay.com/c/message_boards/find_message?p_l_id=&amp;messageId=6953934" />
    <author>
      <name>Binh Thanh Le</name>
    </author>
    <id>http://www.liferay.com/c/message_boards/find_message?p_l_id=&amp;messageId=6953934</id>
    <updated>2011-01-01T09:18:46Z</updated>
    <published>2011-01-01T09:18:46Z</published>
    <summary type="html">Try increasing the buffer of your cmd windows.&lt;img alt="emoticon" src="http://www.liferay.comhttp://cdn.www.liferay.com/osb-community-theme/images/emoticons/bashful.gif" &gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="quote-title"&gt;Gang Wu:&lt;/div&gt;&lt;div class="quote"&gt;&lt;div class="quote-content"&gt;I am using Liferay 6.05. New to this tool. &lt;br /&gt;&lt;br /&gt;I got some exceptions when running with Liferay. But I can&amp;#039;t get to full exception information as it roll out of range of the console.&lt;br /&gt;&lt;br /&gt;How to direct the console output to a file? The redirection of standard output doesn&amp;#039;t work. The modification of log4j.properties in the C:\liferay-portal-6.0.5\tomcat-6.0.26\webapps\ROOT\WEB-INF\classes directory does not work either. &lt;br /&gt;&lt;br /&gt;A pointer to understand the log files will be helpful. The Logging Wiki does not help me much... &lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;&lt;br /&gt;Gang&lt;/div&gt;&lt;/div&gt;</summary>
    <dc:creator>Binh Thanh Le</dc:creator>
    <dc:date>2011-01-01T09:18:46Z</dc:date>
  </entry>
  <entry>
    <title>RE: Adding JARS to WEB-INF/lib of Liferay-Portlet</title>
    <link rel="alternate" href="http://www.liferay.com/c/message_boards/find_message?p_l_id=&amp;messageId=6953665" />
    <author>
      <name>Binh Thanh Le</name>
    </author>
    <id>http://www.liferay.com/c/message_boards/find_message?p_l_id=&amp;messageId=6953665</id>
    <updated>2011-01-01T06:36:38Z</updated>
    <published>2011-01-01T06:36:21Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Andew Jardine:&lt;/div&gt;&lt;div class="quote"&gt;&lt;div class="quote-content"&gt;Hi Sandeep,&lt;br /&gt;&lt;br /&gt;I read your post again and realized what you were saying... to copy them into the $PLUGIN_SDK\portlets\${portlet.name}\docroot\WEB-INF\lib, rather than in the WEB-INF\lib of the deployed portlet.&lt;br /&gt;&lt;br /&gt;Once I do that I see them appear in eclipse. I think I have had this issue with Eclipse before... it allows you to specify libraries as dependencies, but provides no mechanism to bundle them as part of the JAR/WAR/. &lt;br /&gt;&lt;br /&gt;One thing though. For some reason, during the clean process, not all of my libraries are maintained. For example, Lets say I have 16 jars. I&amp;#039;ve noticed that sometimes it&amp;#039;ll selectively choose only a handful (say 7) to keep... whcih can cause my code to break. Have you see this before?&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;CHeck your WEB-INF/liferay-plugin-package.properties&lt;br /&gt;You ll see something like&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;span class="code-lines"&gt;&amp;nbsp;1&lt;/span&gt;name=Portlet name&lt;br /&gt;&lt;span class="code-lines"&gt;&amp;nbsp;2&lt;/span&gt;module-group-id=liferay portlet&lt;br /&gt;&lt;span class="code-lines"&gt;&amp;nbsp;3&lt;/span&gt;module-incremental-version=1&lt;br /&gt;&lt;span class="code-lines"&gt;&amp;nbsp;4&lt;/span&gt;tags=&lt;br /&gt;&lt;span class="code-lines"&gt;&amp;nbsp;5&lt;/span&gt;short-description=&lt;br /&gt;&lt;span class="code-lines"&gt;&amp;nbsp;6&lt;/span&gt;change-log=&lt;br /&gt;&lt;span class="code-lines"&gt;&amp;nbsp;7&lt;/span&gt;page-url=http://www.liferay.com&lt;br /&gt;&lt;span class="code-lines"&gt;&amp;nbsp;8&lt;/span&gt;author=Liferay, Inc.&lt;br /&gt;&lt;span class="code-lines"&gt;&amp;nbsp;9&lt;/span&gt;licenses=LGPL&lt;br /&gt;&lt;span class="code-lines"&gt;10&lt;/span&gt;&lt;br /&gt;&lt;span class="code-lines"&gt;11&lt;/span&gt;portal-dependency-jars=\&lt;br /&gt;&lt;span class="code-lines"&gt;12&lt;/span&gt;&amp;nbsp; &amp;nbsp; jstl-api.jar,\&lt;br /&gt;&lt;span class="code-lines"&gt;13&lt;/span&gt;&amp;nbsp; &amp;nbsp; jstl-impl.jar&lt;br /&gt;&lt;span class="code-lines"&gt;14&lt;/span&gt;&lt;br /&gt;&lt;span class="code-lines"&gt;15&lt;/span&gt;portal-dependency-tlds=\&lt;br /&gt;&lt;span class="code-lines"&gt;16&lt;/span&gt;&amp;nbsp; &amp;nbsp; c.tld&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;add them to your portal-dependency-jars</summary>
    <dc:creator>Binh Thanh Le</dc:creator>
    <dc:date>2011-01-01T06:36:21Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay IDE - Error running javac.exe compiler</title>
    <link rel="alternate" href="http://www.liferay.com/c/message_boards/find_message?p_l_id=&amp;messageId=6953523" />
    <author>
      <name>Binh Thanh Le</name>
    </author>
    <id>http://www.liferay.com/c/message_boards/find_message?p_l_id=&amp;messageId=6953523</id>
    <updated>2011-01-01T04:34:55Z</updated>
    <published>2011-01-01T04:30:26Z</published>
    <summary type="html">This is really nice, But can anyone explains to me the difference between the two?&lt;br /&gt;I think it would be better if we use the default Sun&amp;#039;s Compiler other than the&lt;br /&gt;Eclipse&amp;#039;s one ?&lt;br /&gt;&lt;br /&gt;&lt;div class="quote-title"&gt;Corné Aussems:&lt;/div&gt;&lt;div class="quote"&gt;&lt;div class="quote-content"&gt;OK i found it myself so for future reference;&lt;br /&gt;&lt;div class="code"&gt;&lt;span class="code-lines"&gt;1&lt;/span&gt;&lt;br /&gt;&lt;span class="code-lines"&gt;2&lt;/span&gt;##&lt;br /&gt;&lt;span class="code-lines"&gt;3&lt;/span&gt;## Compiler&lt;br /&gt;&lt;span class="code-lines"&gt;4&lt;/span&gt;##&lt;br /&gt;&lt;span class="code-lines"&gt;5&lt;/span&gt;....&lt;br /&gt;&lt;span class="code-lines"&gt;6&lt;/span&gt;&amp;nbsp; &amp;nbsp; javac.compiler=modern&lt;br /&gt;&lt;span class="code-lines"&gt;7&lt;/span&gt;&amp;nbsp; &amp;nbsp; #javac.compiler=org.eclipse.jdt.core.JDTCompilerAdapter&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;change to &lt;br /&gt;&lt;div class="code"&gt;&lt;span class="code-lines"&gt;1&lt;/span&gt;&lt;br /&gt;&lt;span class="code-lines"&gt;2&lt;/span&gt;&amp;nbsp; &amp;nbsp; #javac.compiler=modern&lt;br /&gt;&lt;span class="code-lines"&gt;3&lt;/span&gt;&amp;nbsp; &amp;nbsp; javac.compiler=org.eclipse.jdt.core.JDTCompilerAdapter&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</summary>
    <dc:creator>Binh Thanh Le</dc:creator>
    <dc:date>2011-01-01T04:30:26Z</dc:date>
  </entry>
  <entry>
    <title>RE: Reverse AJAX (Comet)</title>
    <link rel="alternate" href="http://www.liferay.com/c/message_boards/find_message?p_l_id=&amp;messageId=6935095" />
    <author>
      <name>Binh Thanh Le</name>
    </author>
    <id>http://www.liferay.com/c/message_boards/find_message?p_l_id=&amp;messageId=6935095</id>
    <updated>2010-12-29T17:22:16Z</updated>
    <published>2010-12-29T17:20:48Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Björn Ryding:&lt;/div&gt;&lt;div class="quote"&gt;&lt;div class="quote-content"&gt;I think that Liferay only uses Reverse AJAX (or Comet) for the Chat Portlet. That portlet subscribes to Jabber messages for a specific user on a XMPP server such as Wildfire.&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;Not really for Liferay 6.0.5&amp;#039;s Chat Portlet, It is not really (or no longer) a true real-time Reverse Ajax since it s using short polling which s not so compelling as compared to long-polling which is Comet.&lt;br /&gt;&lt;br /&gt;This thread is very old and I just post it here so that people interested may see it.</summary>
    <dc:creator>Binh Thanh Le</dc:creator>
    <dc:date>2010-12-29T17:20:48Z</dc:date>
  </entry>
  <entry>
    <title>Ajax Push with Liferay</title>
    <link rel="alternate" href="http://www.liferay.com/c/message_boards/find_message?p_l_id=&amp;messageId=6930706" />
    <author>
      <name>Binh Thanh Le</name>
    </author>
    <id>http://www.liferay.com/c/message_boards/find_message?p_l_id=&amp;messageId=6930706</id>
    <updated>2010-12-29T07:07:23Z</updated>
    <published>2010-12-29T07:07:11Z</published>
    <summary type="html">Is there any true Ajax push (real-time ajax) support in Liferay?&lt;br /&gt;&lt;br /&gt;Or s there any plan to incorporate this ?&lt;br /&gt;&lt;br /&gt;The chat portlet s not so real time and it s using short-polling which is not so competent in terms of performance. Hence, I dont think we should use Poller kit for our portlets.&lt;br /&gt;&lt;br /&gt;A true Ajax push solution for LIferay would be much much better.&lt;br /&gt;&lt;br /&gt;Any thoungts ?</summary>
    <dc:creator>Binh Thanh Le</dc:creator>
    <dc:date>2010-12-29T07:07:11Z</dc:date>
  </entry>
  <entry>
    <title>RE: How to use the poller service</title>
    <link rel="alternate" href="http://www.liferay.com/c/message_boards/find_message?p_l_id=&amp;messageId=6902017" />
    <author>
      <name>Binh Thanh Le</name>
    </author>
    <id>http://www.liferay.com/c/message_boards/find_message?p_l_id=&amp;messageId=6902017</id>
    <updated>2010-12-24T05:07:56Z</updated>
    <published>2010-12-24T05:07:56Z</published>
    <summary type="html">I believe you should do something like&lt;br /&gt;&lt;br /&gt;package com.liferayinaction.poller;&lt;br /&gt;&lt;br /&gt;import com.liferay.portal.kernel.poller.BasePollerProcessor;&lt;br /&gt;import com.liferay.portal.kernel.poller.PollerRequest;&lt;br /&gt;import com.liferay.portal.kernel.poller.PollerResponse;&lt;br /&gt;&lt;br /&gt;public class TestPollerProcessor extends BasePollerProcessor {&lt;br /&gt;&lt;br /&gt;	@Override&lt;br /&gt;	protected void doReceive(PollerRequest arg0, PollerResponse arg1)&lt;br /&gt;			throws Exception {&lt;br /&gt;		// TODO Auto-generated method stub&lt;br /&gt;		System.out.println(&amp;#034;doReceive is here&amp;#034;);&lt;br /&gt;	}&lt;br /&gt;&lt;br /&gt;	@Override&lt;br /&gt;	protected void doSend(PollerRequest arg0) throws Exception {&lt;br /&gt;		// TODO Auto-generated method stub&lt;br /&gt;		&lt;br /&gt;	}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;and add this to the liferay-portlet.xml&lt;br /&gt;&amp;lt;poller-processor-class&amp;gt;com.liferayinaction.poller.TestPollerProcessor&amp;lt;/poller-processor-class&amp;gt;&lt;br /&gt;&lt;br /&gt;in &amp;lt;portlet&amp;gt; tag</summary>
    <dc:creator>Binh Thanh Le</dc:creator>
    <dc:date>2010-12-24T05:07:56Z</dc:date>
  </entry>
  <entry>
    <title>RE: The 2010 Open Source CMS Market Survey - Have Your Say</title>
    <link rel="alternate" href="http://www.liferay.com/c/message_boards/find_message?p_l_id=&amp;messageId=6737104" />
    <author>
      <name>Binh Thanh Le</name>
    </author>
    <id>http://www.liferay.com/c/message_boards/find_message?p_l_id=&amp;messageId=6737104</id>
    <updated>2010-12-08T04:32:42Z</updated>
    <published>2010-12-08T04:32:42Z</published>
    <summary type="html">me too, I really want to know</summary>
    <dc:creator>Binh Thanh Le</dc:creator>
    <dc:date>2010-12-08T04:32:42Z</dc:date>
  </entry>
  <entry>
    <title>RE: Handling clients behind a balancer and changing source IP</title>
    <link rel="alternate" href="http://www.liferay.com/c/message_boards/find_message?p_l_id=&amp;messageId=6737009" />
    <author>
      <name>Binh Thanh Le</name>
    </author>
    <id>http://www.liferay.com/c/message_boards/find_message?p_l_id=&amp;messageId=6737009</id>
    <updated>2010-12-08T04:00:24Z</updated>
    <published>2010-12-08T04:00:24Z</published>
    <summary type="html">finally, you got your answer</summary>
    <dc:creator>Binh Thanh Le</dc:creator>
    <dc:date>2010-12-08T04:00:24Z</dc:date>
  </entry>
</feed>

