[jboss-user] [Beginners Corner] - Liferay with Jboss

vikramap do-not-reply at jboss.com
Fri Jun 6 07:20:06 EDT 2008


I am trying to create a simple PHP portlet in liferay:

Steps followed:
1. http://wiki.liferay.com/index.php/How_to_create_a_simple_php_portlet
on liferay-portal-jboss-tomcat-4.2-5.0.1

2. Log in as administrator(test at liferay.com/test). 
Select "add application"->Admin->PluginInstaller-> add

Error(in red):
 "An error occurred while retrieving available plugins."

The server.log has the following trace:
ERROR [PluginPackageUtil] Unable to load repository http://plugins.liferay.com/official com.liferay.portal.plugin.PluginPackageException: Unable to communicate with repository http://plugins.liferay.com/official
ERROR [PluginPackageUtil] Unable to load repository http://plugins.liferay.com/community com.liferay.portal.plugin.PluginPackageException: Unable to communicate with repository http://plugins.liferay.com/community
WARN  [PluginPackageUtil] Unable to communicate with repository http://plugins.liferay.com/official

3. Upload the php zipped file using the "upload file" tab -> Install
I got following success message:
The plugin was uploaded successfully and is now being installed. 
 
The server log has:
07:34:58,582 INFO  [PortletAutoDeployListener] Portlets for C:\Documents and Settings\m1006785\liferay\deploy\test_abc.zip copied successfully
07:35:01,317 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- Packages waiting for a deployer ---
org.jboss.deployment.DeploymentInfo at b25dfae { url=file:/D:/Liferay/liferay-portal-jboss-tomcat-4.2-5.0.1/server/default/deploy/test_abc.zip/ }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/D:/Liferay/liferay-portal-jboss-tomcat-4.2-5.0.1/server/default/deploy/test_abc.zip/
  altDD: null
  lastDeployed: 1212737701317
  lastModified: 1212737698442
  mbeans:

--- Incompletely deployed packages ---

4. Select "Return to full page" , Add application
By default the portlet was supposed to appear in "Undefined" category but DOESNOT appear. The error in plugin installer section continues to have:

"An error occurred while retrieving available plugins."

I am not sure if it is waiting for some plugins to be downloaded from site and is not able to proceed due to communication error while accessing the trusted adn untrusted repositories at  the following link:
http://plugins.liferay.com/official

Any help would be highly appreciated.
Thanks in advance.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4156271#4156271

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4156271



More information about the jboss-user mailing list