Print  
Gray star Gray star Gray star Gray star Gray star --Not rated--
703 Visits 2 Comments
Created
Wing Ko Wing Ko
Kablink Component
  • Teaming
I've just downloaded ICEcore for a spin over the weekend.  It's pretty nice, but I'm wondering if I can add or update Liferay portlets?  I can see it has Liferay v4.3.0, but many of the plugin update features are disabled.  I tried to add a Liferay plugin (WAR file) to the deploy directory, and Tomcat console reports that it's processing it and the file disappear, but no plugin.  Thanks.
Workflow
Process State Action
Discussion workflow Active
This entry is currently active
Attachments(0)
Entry History
Tags
 
Replies
Thumbnail Image
Brent McConnell Brent McConnell
Modified by
Brent McConnell Brent McConnell
Dec 11, 2007 2:50 PM

There is really two parts to your post.  I'll try to answer both.

The ICEcore installation disables many of the Liferay portlets but not the mechanism you use to deploy portlets.  By modifying the following files you can bring these back:

  1. liferay-display.xml - This file defines portlet categories.
  2. liferay-portlet.xml - This file defines portlets. We disabled many portlets by adding <include>false</include>

The original files are attached and should work if you drop them into the appropriate directory ($ICECORE_HOME/webapps/ROOT/WEB-INF).  I should warn you that these have not been tested with our software.

The second part of your question deals with the deployment of portlets.  If you look at the catalina.out log file and notice that a "copy" took place but not a "register" then the deployment has not succeeded.  The Liferay log entries are deceptive on this point because they show a successful copy and then the log just ends without error even though the deploy was unsuccessful.  The reason for this is probably that the auto.deploy.dest.dir variable in the portal-ext.properites file is a relative path.  This will not be resolved correctly unless ICEcore is run from the bin directory.  You can either run ICEcore from bin and see what happens or change the variable to an absolute and restart your server.

 

Attachments
  File Name Version Status Date Size Modified by Actions Edit
liferay-display.xml V1.0
Dec 11, 2007  2:37 PM 4KB Brent McConnell  
liferay-portlet.xml V1.0
Dec 11, 2007  2:38 PM 52KB Brent McConnell  
Thumbnail Image
Wing Ko Wing Ko
Thanks, Brent.  That's exactly what I am looking for.
Skip Footer Toolbar