Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
murali krishna
custom portlet applicaton war inside liferay server on jelastic cloud
November 13, 2011 10:59 PM
Answer

murali krishna

Rank: New Member

Posts: 11

Join Date: July 19, 2011

Recent Posts

Hi,

i uploaded my own custom application war(spring mvc portlet+hibernet) inside liferay.. my liferay already hosted on jelastic cloud. my app is sucessfully uploaded.. but it is not showing inside UPDATE MANAGER list and it is not showing inside add pages list..

then how can i upload(pluggin) my custom application war's inside liferay on jelastic cloud environment?


my log's file:


14:59:14,427 INFO [PortletAutoDeployListener:71] Copying portlets for /opt/tomcat/temp/liferay/deploy/DEPLOY_TO__paas.war
Expanding: /opt/tomcat/temp/liferay/deploy/DEPLOY_TO__paas.war into /opt/tomcat/temp/20111110145914430
Copying 1 file to /opt/tomcat/temp/20111110145914430/WEB-INF/classes
Copying 1 file to /opt/tomcat/temp/20111110145914430/META-INF
Copying 49 files to /opt/tomcat/webapps/paas
Copied 18 empty directories to 2 empty directories under /opt/tomcat/webapps/paas
Copying 1 file to /opt/tomcat/webapps/paas
Deleting directory /opt/tomcat/temp/20111110145914430
14:59:17,815 INFO [PortletAutoDeployListener:81] Portlets for /opt/tomcat/temp/liferay/deploy/DEPLOY_TO__paas.war copied successfully. Deployment will start in a few seconds.
Nov 10, 2011 2:59:24 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.liferay.portal.kernel.servlet.SerializableSessionAttributeListener" is already configured for this context. The duplicate definition has been ignored.
Nov 10, 2011 2:59:24 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.liferay.portal.kernel.servlet.PortletContextListener" is already configured for this context. The duplicate definition has been ignored.
14:59:37,575 INFO [PluginPackageUtil:1109] Reloading repositories
14:59:41,987 INFO [PluginPackageUtil:1230] Checking for available updates
14:59:41,987 INFO [PluginPackageUtil:1274] Finished checking for available updates in 0 ms
15:37:10,729 INFO [PluginPackageUtil:1109] Reloading repositories
15:37:13,645 INFO [PluginPackageUtil:1230] Checking for available updates
15:37:13,646 INFO [PluginPackageUtil:1274] Finished checking for available updates in 0 ms
15:48:02,294 INFO [PluginPackageUtil:1109] Reloading repositories
15:48:04,980 INFO [PluginPackageUtil:1230] Checking for available updates
15:48:04,980 INFO [PluginPackageUtil:1274] Finished checking for available updates in 0 ms
15:55:35,323 INFO [PluginPackageUtil:1109] Reloading repositories
15:55:38,001 INFO [PluginPackageUtil:1230] Checking for available updates
15:55:38,002 INFO [PluginPackageUtil:1274] Finished checking for available updates in 0 ms
14:49:27,267 INFO [PluginPackageUtil:1109] Reloading repositories
14:49:27,266 INFO [PluginPackageUtil:1109] Reloading repositories
14:49:27,266 INFO [PluginPackageUtil:1109] Reloading repositories
08:21:23,561 INFO [PluginPackageUtil:1230] Checking for available updates
08:21:23,561 INFO [PluginPackageUtil:1274] Finished checking for available updates in 0 ms
08:35:38,927 INFO [PluginPackageUtil:1109] Reloading repositories
08:35:41,852 INFO [PluginPackageUtil:1230] Checking for available updates
08:35:41,853 INFO [PluginPackageUtil:1274] Finished checking for available updates in 0 ms
08:36:01,081 INFO [AutoDeployDir:167] Processing weather-portlet-6.0.5.1.war
08:36:01,082 INFO [PortletAutoDeployListener:71] Copying portlets for /opt/tomcat/temp/liferay/deploy/weather-portlet-6.0.5.1.war
Expanding: /opt/tomcat/temp/liferay/deploy/weather-portlet-6.0.5.1.war into /opt/tomcat/temp/20111114083601098
Copying 1 file to /opt/tomcat/temp/20111114083601098/WEB-INF
Copying 1 file to /opt/tomcat/temp/20111114083601098/WEB-INF/classes
Copying 1 file to /opt/tomcat/temp/20111114083601098/WEB-INF/classes
Copying 1 file to /opt/tomcat/temp/20111114083601098/META-INF
Copying 37 files to /opt/tomcat/webapps/weather-portlet
Copying 1 file to /opt/tomcat/webapps/weather-portlet
Deleting directory /opt/tomcat/temp/20111114083601098
08:36:04,219 INFO [PortletAutoDeployListener:81] Portlets for /opt/tomcat/temp/liferay/deploy/weather-portlet-6.0.5.1.war copied successfully. Deployment will start in a few seconds.
Nov 14, 2011 8:36:04 AM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.liferay.portal.kernel.servlet.SerializableSessionAttributeListener" is already configured for this context. The duplicate definition has been ignored.
Nov 14, 2011 8:36:04 AM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.liferay.portal.kernel.servlet.PortletContextListener" is already configured for this context. The duplicate definition has been ignored.
08:36:33,454 INFO [PluginPackageUtil:1109] Reloading repositories
08:36:36,172 INFO [PluginPackageUtil:1230] Checking for available updates
08:36:36,173 INFO [PluginPackageUtil:1274] Finished checking for available updates in 0 ms
Thiago Leão Moreira
RE: custom portlet applicaton war inside liferay server on jelastic cloud
November 14, 2011 3:30 AM
Answer

Thiago Leão Moreira

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1433

Join Date: October 10, 2007

Recent Posts

Hi murali,

Have you tested your portlets in a none elastic environment? Is your Tomcat provided by the elastic cloud? Or did you install it?
Thiago Leão Moreira
RE: custom portlet applicaton war inside liferay server on jelastic cloud
November 14, 2011 3:34 AM
Answer

Thiago Leão Moreira

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1433

Join Date: October 10, 2007

Recent Posts

If you are working with Amazon, James my coworker, has a nice blog about Liferay + AWS.
Liferay on Amazon Elastic Beanstalk and EC2
Thiago Leão Moreira
RE: custom portlet applicaton war inside liferay server on jelastic cloud
November 14, 2011 4:04 AM
Answer

Thiago Leão Moreira

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1433

Join Date: October 10, 2007

Recent Posts

Ops! You are using www.jelastic.com this is new for me.
murali krishna
RE: custom portlet applicaton war inside liferay server on jelastic cloud
November 14, 2011 5:22 AM
Answer

murali krishna

Rank: New Member

Posts: 11

Join Date: July 19, 2011

Recent Posts

how to add custom portlets inside liferay on jelastic cloud..........
murali krishna
RE: custom portlet applicaton war inside liferay server on jelastic cloud
November 14, 2011 5:23 AM
Answer

murali krishna

Rank: New Member

Posts: 11

Join Date: July 19, 2011

Recent Posts

yes i am using www.jelastic.com only
Tejas Kanani
RE: custom portlet applicaton war inside liferay server on jelastic cloud
November 16, 2011 3:50 PM
Answer

Tejas Kanani

Rank: Liferay Master

Posts: 655

Join Date: January 6, 2009

Recent Posts

Hi Krishna,

I've tried to deploy the weather portlet in Liferay hosted in jelastic. And it worked fine for me. Please see below logs.

 102:41:08,916 INFO  [PluginPackageUtil:1230] Checking for available updates
 202:41:08,917 INFO  [PluginPackageUtil:1274] Finished checking for available updates in 0 ms
 302:43:26,625 INFO  [AutoDeployDir:167] Processing weather-portlet-6.0.6.1.war
 402:43:26,626 INFO  [PortletAutoDeployListener:71] Copying portlets for /opt/tomcat/temp/liferay60-6/deploy/weather-portlet-6.0.6.1.war
 5  Expanding: /opt/tomcat/temp/liferay60-6/deploy/weather-portlet-6.0.6.1.war into /opt/tomcat/temp/20111117024326631
 6  Copying 1 file to /opt/tomcat/temp/20111117024326631/WEB-INF
 7  Copying 1 file to /opt/tomcat/temp/20111117024326631/WEB-INF/classes
 8  Copying 1 file to /opt/tomcat/temp/20111117024326631/WEB-INF/classes
 9  Copying 1 file to /opt/tomcat/temp/20111117024326631/META-INF
10  Copying 37 files to /opt/tomcat/webapps/weather-portlet
11  Copying 1 file to /opt/tomcat/webapps/weather-portlet
12  Deleting directory /opt/tomcat/temp/20111117024326631
1302:43:28,149 INFO  [PortletAutoDeployListener:81] Portlets for /opt/tomcat/temp/liferay60-6/deploy/weather-portlet-6.0.6.1.war copied successfully. Deployment will start in a few seconds.
14Nov 17, 2011 2:43:29 AM org.apache.catalina.core.StandardContext addApplicationListener
15INFO: The listener "com.liferay.portal.kernel.servlet.SerializableSessionAttributeListener" is already configured for this context. The duplicate definition has been ignored.
16Nov 17, 2011 2:43:29 AM org.apache.catalina.core.StandardContext addApplicationListener
17INFO: The listener "com.liferay.portal.kernel.servlet.PortletContextListener" is already configured for this context. The duplicate definition has been ignored.
1802:43:29,306 INFO  [PortletHotDeployListener:220] Registering portlets for weather-portlet
1902:43:29,440 INFO  [PortletHotDeployListener:369] 1 portlet for weather-portlet is available for use
2002:43:36,911 INFO  [PluginPackageUtil:1230] Checking for available updates
2102:43:36,912 INFO  [PluginPackageUtil:1274] Finished checking for available updates in 0 ms


Just check whether you have setup your jelastic environment correctly or not.
Have a look at Deploy Liferay to Jelastic Cloud and verify whether you've missed any thing?

Regards,
Tejas Kanani
OpenSourceForLife