Fórum

portlet + hibernate

alan brito delgado, modificado 9 Anos atrás.

portlet + hibernate

New Member Postagens: 14 Data de Entrada: 30/05/14 Postagens Recentes
I'm trying to do a portlet with hibernate framework and i have that issue i'm using eclipse 6.2 + kepler, tomcat bundle 6.2 and sdk 6.2
i think that this is the problem
Queueing net-example05-portlet for deploy because it is missing marketplace-portlet
but i dont know how solve
thanks in advance


21:05:20,618 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:204] Processing net-example05-portlet-6.2.0.1.war
21:05:20,619 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][PortletAutoDeployListener:79] Copying portlets for D:\Liferay CE 6.2\bundles\liferay-portal-6.2-ce-ga2\deploy\net-example05-portlet-6.2.0.1.war
21:05:20,670 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseDeployer:859] Deploying net-example05-portlet-6.2.0.1.war
21:05:20,671 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseDeployer:962] Updating Net Example05 from version 6.2.0.1 to version 6.2.0.1
  Expanding: D:\Liferay CE 6.2\bundles\liferay-portal-6.2-ce-ga2\deploy\net-example05-portlet-6.2.0.1.war into D:\Liferay CE 6.2\bundles\liferay-portal-6.2-ce-ga2\tomcat-7.0.42\temp\20140611210520672
  Copying 1 file to D:\Liferay CE 6.2\bundles\liferay-portal-6.2-ce-ga2\tomcat-7.0.42\temp\20140611210520672\WEB-INF
  Copying 1 file to D:\Liferay CE 6.2\bundles\liferay-portal-6.2-ce-ga2\tomcat-7.0.42\temp\20140611210520672\WEB-INF\classes
  Copying 1 file to D:\Liferay CE 6.2\bundles\liferay-portal-6.2-ce-ga2\tomcat-7.0.42\temp\20140611210520672\WEB-INF\classes
  Copying 1 file to D:\Liferay CE 6.2\bundles\liferay-portal-6.2-ce-ga2\tomcat-7.0.42\temp\20140611210520672\WEB-INF\jsp
21:05:21,356 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseDeployer:2383] Modifying Servlet 2.4 D:\Liferay CE 6.2\bundles\liferay-portal-6.2-ce-ga2\tomcat-7.0.42\temp\20140611210520672\WEB-INF\web.xml
  Copying 54 files to D:\Liferay CE 6.2\bundles\liferay-portal-6.2-ce-ga2\tomcat-7.0.42\webapps\net-example05-portlet
  Copying 1 file to D:\Liferay CE 6.2\bundles\liferay-portal-6.2-ce-ga2\tomcat-7.0.42\webapps\net-example05-portlet
  Deleting directory D:\Liferay CE 6.2\bundles\liferay-portal-6.2-ce-ga2\tomcat-7.0.42\temp\20140611210520672
21:05:21,947 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][PortletAutoDeployListener:91] Portlets for D:\Liferay CE 6.2\bundles\liferay-portal-6.2-ce-ga2\deploy\net-example05-portlet-6.2.0.1.war copied successfully. Deployment will start in a few seconds.
11/06/2014 09:05:28 PM org.apache.catalina.startup.HostConfig deleteRedeployResources
INFO: Repliegue (undeploy) de la aplicación web que tiene como trayectoria de contexto /net-example05-portlet
21:05:28,066 INFO  [ContainerBackgroundProcessor[StandardEngine[Catalina]]][HotDeployEvent:130] Plugin net-example05-portlet requires marketplace-portlet
21:05:28,067 INFO  [ContainerBackgroundProcessor[StandardEngine[Catalina]]][PluginPackageUtil:1016] Reading plugin package for net-example05-portlet
11/06/2014 09:05:29 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio D:\Liferay CE 6.2\bundles\liferay-portal-6.2-ce-ga2\tomcat-7.0.42\webapps\net-example05-portlet de la aplicación web
11/06/2014 09:05:32 PM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
21:05:32,869 INFO  [localhost-startStop-8][HotDeployEvent:130] Plugin net-example05-portlet requires marketplace-portlet
21:05:32,869 INFO  [localhost-startStop-8][HotDeployImpl:252] Queueing net-example05-portlet for deploy because it is missing marketplace-portlet
thumbnail
Andew Jardine, modificado 9 Anos atrás.

RE: portlet + hibernate

Liferay Legend Postagens: 2416 Data de Entrada: 22/12/10 Postagens Recentes
The market-place portlet should be part of the bundle for 6.2. Do you not see it in the TOMCAT_HOME/webapps directory? Otherwise it sounds like your portlet has a dependency on the marketplace portlet context. Did you add that dependency in the liferay-plugin-package.properties file?
alan brito delgado, modificado 9 Anos atrás.

RE: portlet + hibernate

New Member Postagens: 14 Data de Entrada: 30/05/14 Postagens Recentes
this is my liferay-plugin-package.properties
i wanted share the proyect but i dont know how


name=Net Example05
module-group-id=liferay
module-incremental-version=1
tags=
short-description=
long-description=
change-log=
page-url=http://www.liferay.com
author=Liferay, Inc.
licenses=LGPL
liferay-versions=6.2.0+
portal-dependency-jars=\
    antlr2.jar,\
    commons-collections.jar,\
    commons-httpclient.jar,\
    dom4j.jar,\
    hibernate3.jar,\
    saaj-api.jar,\
    slf4j-api.jar
thumbnail
Meera Prince, modificado 9 Anos atrás.

RE: portlet + hibernate

Liferay Legend Postagens: 1111 Data de Entrada: 08/02/11 Postagens Recentes
Hi
Your liferay-plugin-package.properties seems to be fine i dont know whys its showing because it is missing marketplace-portlet.

Hi following is link for sample hibernate portlet you can use this as reference portlet and move forward.

https://github.com/liferay/liferay-plugins/tree/6.2.x/portlets/sample-hibernate-portlet


Regards,
Meera Prince
http://liferaysavvy.com
thumbnail
Riccardo Ferrari, modificado 9 Anos atrás.

RE: portlet + hibernate

Regular Member Postagens: 139 Data de Entrada: 13/11/10 Postagens Recentes
Hi,

Marketplace portlet is a "portal required" portlet since 6.2. Generally the portal will try to deploy it automatically. You can find more info about that here:
https://issues.liferay.com/browse/LPS-39277

Best,
Riccardo
thumbnail
babak naddaf, modificado 9 Anos atrás.

RE: portlet + hibernate

New Member Postagens: 23 Data de Entrada: 06/07/11 Postagens Recentes
Hi every one,

I had such a problem for a long time, that was a crazy problem,

i noticed every time i am extracting the Liferay.zip ,at the final steps, some of the files are corrupting (because of the long version number between Liferay and .zip

postfix), and this simply prevents Marketplace portlet to depploy,

BEST
alan brito delgado, modificado 9 Anos atrás.

RE: portlet + hibernate

New Member Postagens: 14 Data de Entrada: 30/05/14 Postagens Recentes
thanks for replying, the problem is solved.emoticon