Community Forums
Combination View Flat View Tree View
Threads [ Previous | Next ]
RE: Portlet Installation Issues
toggle
Portlet Installation Issues
1/4/08 10:10 AM
Hi,

I am running Liferay 4. from a http://bitnami.org/ installation on Centos 4.5. emoticon

I have installed the system as root user.

The issue I have is that when I install a Portlet any portlet it does not show up in the Add Content window.

The portlets seems to install, as I see , I see this in the catalina.out log. As shown below...

I cannot see any documentation about adding portlets anyway apart from the add content.

Any help would be very much appreciated.

Regards

Mark

11:09:28,483 INFO [PortletAutoDeployListener:87] Portlets for /opt/liferay-4.3.5/apps/liferay/data/deploy/google-gadget-portlet-4.3.4.1.war copied successfully
11:13:58,556 INFO [AutoDeployDir:76] Processing DEPLOY_TO__sample-ruby-portlet.war
11:13:58,558 INFO [PortletAutoDeployListener:77] Copying portlets for /opt/liferay-4.3.5/apps/liferay/data/deploy/DEPLOY_TO__sample-ruby-portlet.war
11:13:58,559 INFO [BaseDeployer:484] Deploying DEPLOY_TO__sample-ruby-portlet.war
Expanding: /opt/liferay-4.3.5/apps/liferay/data/deploy/DEPLOY_TO__sample-ruby-portlet.war into /opt/liferay-4.3.5/apache-tomcat/temp/20080104111358559
Copying 1 file to /opt/liferay-4.3.5/apache-tomcat/temp/20080104111358559/WEB-INF
11:13:59,106 INFO [BaseDeployer:1075] Modifying Geronimo /opt/liferay-4.3.5/apache-tomcat/temp/20080104111358559/WEB-INF/geronimo-web.xml
11:13:59,111 INFO [BaseDeployer:1119] Modifying Servlet 2.3 /opt/liferay-4.3.5/apache-tomcat/temp/20080104111358559/WEB-INF/web.xml
Copying 27 files to /opt/liferay-4.3.5/../webapps/sample-ruby-portlet
Copying 1 file to /opt/liferay-4.3.5/../webapps/sample-ruby-portlet
Deleting directory /opt/liferay-4.3.5/apache-tomcat/temp/20080104111358559
11:13:59,161 INFO [PortletAutoDeployListener:87] Portlets for /opt/liferay-4.3.5/apps/liferay/data/deploy/DEPLOY_TO__sample-ruby-portlet.war copied successfully
RE: Portlet Installation Issues
1/4/08 11:57 AM as a reply to Mark Ellul.
Please read this:

http://wiki.liferay.com/index.php/Hot_Deploy_Troubleshooting

http://wiki.liferay.com/index.php/Plugin_Deployment_Troubleshooting
RE: Portlet Installation Issues
1/4/08 1:26 PM as a reply to Mark Ellul.
Your portlet needs to also show 'registered succesfully' after the 'copied succesfully'.... You may have issues that could be explained in the urls offered in the previous post...
RE: Portlet Installation Issues
4/8/08 11:49 PM as a reply to Alex Wallace.
Hi,
I'm new to Liferay Portals; right now evaluating the product. I'm working in version 4.4.2 or liferay. I'm also facing the issue of portlet not getting listed even after a successful deployment. I checked the above links and tried adding the webapps folder path of Tomcat in portal-ext.properites. I've given the path as :
auto.deploy.dest.dir=C:/Training/Liferay/tomcat/webapps

But this doesn't seem to solve the issue. The portlet is still not displayed in the application.

Please provide some suggestions to figure out the issue.


Thanks.
RE: Portlet Installation Issues
4/9/08 1:06 AM as a reply to G Joseph.
G Joseph:
Hi,
I'm new to Liferay Portals; right now evaluating the product. I'm working in version 4.4.2 or liferay. I'm also facing the issue of portlet not getting listed even after a successful deployment. I checked the above links and tried adding the webapps folder path of Tomcat in portal-ext.properites. I've given the path as :
auto.deploy.dest.dir=C:/Training/Liferay/tomcat/webapps

But this doesn't seem to solve the issue. The portlet is still not displayed in the application.

Please provide some suggestions to figure out the issue.


Thanks.


Did you redeploy after you changed the portal-ext.properites?
RE: Portlet Installation Issues
4/9/08 1:40 AM as a reply to Mark Ellul.
Mark Ellul:
Hi,

I am running Liferay 4. from a http://bitnami.org/ installation on Centos 4.5. emoticon

I have installed the system as root user.

The issue I have is that when I install a Portlet any portlet it does not show up in the Add Content window.

The portlets seems to install, as I see , I see this in the catalina.out log. As shown below...

I cannot see any documentation about adding portlets anyway apart from the add content.

Any help would be very much appreciated.

Regards

Mark

11:09:28,483 INFO [PortletAutoDeployListener:87] Portlets for /opt/liferay-4.3.5/apps/liferay/data/deploy/google-gadget-portlet-4.3.4.1.war copied successfully
11:13:58,556 INFO [AutoDeployDir:76] Processing DEPLOY_TO__sample-ruby-portlet.war
11:13:58,558 INFO [PortletAutoDeployListener:77] Copying portlets for /opt/liferay-4.3.5/apps/liferay/data/deploy/DEPLOY_TO__sample-ruby-portlet.war
11:13:58,559 INFO [BaseDeployer:484] Deploying DEPLOY_TO__sample-ruby-portlet.war
Expanding: /opt/liferay-4.3.5/apps/liferay/data/deploy/DEPLOY_TO__sample-ruby-portlet.war into /opt/liferay-4.3.5/apache-tomcat/temp/20080104111358559
Copying 1 file to /opt/liferay-4.3.5/apache-tomcat/temp/20080104111358559/WEB-INF
11:13:59,106 INFO [BaseDeployer:1075] Modifying Geronimo /opt/liferay-4.3.5/apache-tomcat/temp/20080104111358559/WEB-INF/geronimo-web.xml
11:13:59,111 INFO [BaseDeployer:1119] Modifying Servlet 2.3 /opt/liferay-4.3.5/apache-tomcat/temp/20080104111358559/WEB-INF/web.xml
Copying 27 files to /opt/liferay-4.3.5/../webapps/sample-ruby-portlet
Copying 1 file to /opt/liferay-4.3.5/../webapps/sample-ruby-portlet
Deleting directory /opt/liferay-4.3.5/apache-tomcat/temp/20080104111358559
11:13:59,161 INFO [PortletAutoDeployListener:87] Portlets for /opt/liferay-4.3.5/apps/liferay/data/deploy/DEPLOY_TO__sample-ruby-portlet.war copied successfully


Most of the time this is due to /opt/liferay-4.3.5/../webapps/ should not be the right place.
RE: Portlet Installation Issues
4/9/08 2:23 AM as a reply to Arcko Duan.
Arcko Duan:


Did you redeploy after you changed the portal-ext.properites?



I tried earlier without redeploying and found that the portlet was not getting listed.

I just tried redeploying few mins back and found the portal-ext.properties file overwritten. The deploy destination path got erased and the file is blank.

Anyway the portlet is not getting listed in the 'Add Application' with our without redeploying.
RE: Portlet Installation Issues
4/9/08 6:00 AM as a reply to Mark Ellul.
Make sure you get the portlet(s) for liferay version 4.3.5. The portlets in the repository will have 4.3.5 in the war name. These will come with the necessary liferay configuration files to properly deploy in liferay and be displayed in the Add Content/Application (4.4.x) window.