Saturday, 12 January 2013

Liferay: Unable To Communicate With Repository

Generally, we(Software Developers) ignore exceptions, but when it comes to production, people are particular about each and every exception, even though it is ignorable, people need explanation to ignore it.

Recently one thing happened to me while using liferay. They use proxy servers in their production servers, hence people are getting following exception.  

Unable to communicate with repository http://plugins.liferay.com/enterprise

Even though it is ignorable, they don't want this exception in their log files. 

Following entry in portlet-ext.properties does the trick. 
(Keep the values black) . 
plugin.repositories.trusted=
plugin.repositories.untrusted=


And restart the server, then this exception will never appear in log files. 

1 comment:

  1. Really cool post, highly informative and professionally written and I am glad to be a visitor of this perfect blog, thank you for this rare info!
    Regards liferay training in hyderabad

    ReplyDelete