Fórum

Deploy my portlet to Liferay CE 6.2 GA4 not error not appear

aroma defg, modificado 7 Anos atrás.

Deploy my portlet to Liferay CE 6.2 GA4 not error not appear

New Member Postagens: 12 Data de Entrada: 02/04/17 Postagens Recentes
I use dev studio create plugin project and try to deploy on Liferay CE 6.2 GA5 on my local, it's working but, when I deploy on server (Liferay CE 6.2 GA4), it's not working

log viewer (free portlet)
10:15:32,203 INFO  [AutoDeployDir:204] Processing LiferayPortlet.war
10:15:32,206 INFO  [PortletAutoDeployListener:79] Copying portlets for /var/lib/liferay/deploy/LiferayPortlet.war
10:15:32,216 INFO  [BaseDeployer:863] Deploying LiferayPortlet.war
10:15:32,931 INFO  [BaseDeployer:2391] Modifying Servlet 3.0 /opt/liferay/tomcat-7.0.42/temp/20170410101532217/WEB-INF/web.xml
10:15:33,336 INFO  [PortletAutoDeployListener:91] Portlets for /var/lib/liferay/deploy/LiferayPortlet.war copied successfully. Deployment will start in a few seconds.
10:15:44,521 INFO  [HotDeployEvent:145] Plugin LiferayPortlet requires marketplace-portlet
10:15:44,522 INFO  [HotDeployImpl:217] Deploying LiferayPortlet from queue
10:15:44,522 INFO  [PluginPackageUtil:1016] Reading plugin package for LiferayPortlet
10:15:44,522 WARN  [PluginPackageUtil:1114] Plugin package on context LiferayPortlet cannot be tracked because this WAR does not contain a liferay-plugin-package.xml file
10:15:45,407 INFO  [HookHotDeployListener:693] Registering hook for LiferayPortlet
10:15:45,409 INFO  [HookHotDeployListener:821] Hook for LiferayPortlet is available for use
10:15:45,410 INFO  [PortletHotDeployListener:344] Registering portlets for LiferayPortlet
10:15:45,766 INFO  [PortletHotDeployListener:497] 2 portlets for LiferayPortlet are available for use
10:15:46,284 INFO  [HotDeployEvent:145] Plugin LiferayPortlet requires marketplace-portlet
10:15:46,284 INFO  [PortletHotDeployListener:525] Unregistering portlets for LiferayPortlet
10:15:46,291 INFO  [PortletHotDeployListener:565] 2 portlets for LiferayPortlet were unregistered
10:15:46,292 INFO  [HookHotDeployListener:952] Hook for LiferayPortlet was unregistered
10:15:46,293 INFO  [PluginPackageUtil:1016] Reading plugin package for LiferayPortlet
10:15:46,294 WARN  [PluginPackageUtil:1114] Plugin package on context LiferayPortlet cannot be tracked because this WAR does not contain a liferay-plugin-package.xml file


log catalina
Apr 10, 2017 10:08:56 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /opt/liferay/tomcat-7.0.42/webapps/LiferayPortlet
Apr 10, 2017 10:09:00 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Apr 10, 2017 10:09:00 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/LiferayPortlet] startup failed due to previous errors
thumbnail
David H Nebinger, modificado 7 Anos atrás.

RE: Deploy my portlet to Liferay CE 6.2 GA4 not error not appear

Liferay Legend Postagens: 14918 Data de Entrada: 02/09/06 Postagens Recentes
aroma defg:
I use dev studio create plugin project and try to deploy on Liferay CE 6.2 GA5 on my local, it's working but, when I deploy on server (Liferay CE 6.2 GA4), it's not working


Who cares?

Not to sound harsh, but you should never stay at an older release like this. Clearly you've found a case where there was a bug that was found in GA4 and fixed in GA5. Why would you want to stay at GA4 knowing there's a bug there?

And to go even farther, you're actually testing on a buggy release since GA6 is available.

Come on folks, there is no reason whatsoever to not be on GA6 already. There is no code changes, no impact to your plugins and also no affect on your database. But it does address bugs, performance and stability issues over previous releases.

Moral of the story: Always use the latest release for the version you're on. When a new release comes out, update immediately. Period. No ifs, no ors, no buts. Just do it.









Come meet me at the 2017 LSNA!
aroma defg, modificado 7 Anos atrás.

RE: Deploy my portlet to Liferay CE 6.2 GA4 not error not appear

New Member Postagens: 12 Data de Entrada: 02/04/17 Postagens Recentes
How to upgrade to GA5, my server on linux(docker) or I must download GA5 and replace it .
thumbnail
David H Nebinger, modificado 7 Anos atrás.

RE: Deploy my portlet to Liferay CE 6.2 GA4 not error not appear

Liferay Legend Postagens: 14918 Data de Entrada: 02/09/06 Postagens Recentes
Don't download GA5, go straight to GA6.

You'll have to download the bundle and build your docker the way you initially did for GA4.

Again, do not stop at GA5, go straight to GA6.









Come meet me at the 2017 LSNA!
aroma defg, modificado 7 Anos atrás.

RE: Deploy my portlet to Liferay CE 6.2 GA4 not error not appear

New Member Postagens: 12 Data de Entrada: 02/04/17 Postagens Recentes
David H Nebinger:
Don't download GA5, go straight to GA6.

You'll have to download the bundle and build your docker the way you initially did for GA4.

Again, do not stop at GA5, go straight to GA6.









Come meet me at the 2017 LSNA!


I cant find an image docker for GA6 or GA5, this link tell me stable is GA4 and latest is 7.0m7, I need 6.2
thumbnail
David H Nebinger, modificado 7 Anos atrás.

RE: Deploy my portlet to Liferay CE 6.2 GA4 not error not appear

Liferay Legend Postagens: 14918 Data de Entrada: 02/09/06 Postagens Recentes
Um, maybe you missed this part of the blog:

Disclaimer and feedback request

I hope you'll enjoy liferayctl and the images and find them useful. Please keep in mind they are NOT meant to be used in production!


And it's not even maintained. Like you found, there is no GA6 even though that is the latest. And 7.0m7 is an early milestone release well over a year old.

These things are not meant for you to use in production in any way.

If you want a docker, fine, then you have to create your docker image just like everyone else online. But build it with the latest stable tools and don't settle for an early image just because it saves you from creating one yourself.








Come meet me at the 2017 LSNA!