Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
alan brito delgado
portlet + hibernate
June 11, 2014 2:29 PM
Answer

alan brito delgado

Rank: New Member

Posts: 14

Join Date: May 30, 2014

Recent Posts

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

 1
 221:05:20,618 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:204] Processing net-example05-portlet-6.2.0.1.war
 321: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
 421:05:20,670 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseDeployer:859] Deploying net-example05-portlet-6.2.0.1.war
 521: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
 6  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
 7  Copying 1 file to D:\Liferay CE 6.2\bundles\liferay-portal-6.2-ce-ga2\tomcat-7.0.42\temp\20140611210520672\WEB-INF
 8  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
 9  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
10  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
1121: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
12  Copying 54 files to D:\Liferay CE 6.2\bundles\liferay-portal-6.2-ce-ga2\tomcat-7.0.42\webapps\net-example05-portlet
13  Copying 1 file to D:\Liferay CE 6.2\bundles\liferay-portal-6.2-ce-ga2\tomcat-7.0.42\webapps\net-example05-portlet
14  Deleting directory D:\Liferay CE 6.2\bundles\liferay-portal-6.2-ce-ga2\tomcat-7.0.42\temp\20140611210520672
1521: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.
1611/06/2014 09:05:28 PM org.apache.catalina.startup.HostConfig deleteRedeployResources
17INFO: Repliegue (undeploy) de la aplicación web que tiene como trayectoria de contexto /net-example05-portlet
1821:05:28,066 INFO  [ContainerBackgroundProcessor[StandardEngine[Catalina]]][HotDeployEvent:130] Plugin net-example05-portlet requires marketplace-portlet
1921:05:28,067 INFO  [ContainerBackgroundProcessor[StandardEngine[Catalina]]][PluginPackageUtil:1016] Reading plugin package for net-example05-portlet
2011/06/2014 09:05:29 PM org.apache.catalina.startup.HostConfig deployDirectory
21INFO: 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
2211/06/2014 09:05:32 PM org.apache.catalina.core.ApplicationContext log
23INFO: No Spring WebApplicationInitializer types detected on classpath
2421:05:32,869 INFO  [localhost-startStop-8][HotDeployEvent:130] Plugin net-example05-portlet requires marketplace-portlet
2521:05:32,869 INFO  [localhost-startStop-8][HotDeployImpl:252] Queueing net-example05-portlet for deploy because it is missing marketplace-portlet
Andew Jardine
RE: portlet + hibernate
June 11, 2014 2:55 PM
Answer

Andew Jardine

Rank: Expert

Posts: 252

Join Date: December 22, 2010

Recent Posts

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
RE: portlet + hibernate
June 11, 2014 3:23 PM
Answer

alan brito delgado

Rank: New Member

Posts: 14

Join Date: May 30, 2014

Recent Posts

this is my liferay-plugin-package.properties
i wanted share the proyect but i dont know how

 1
 2name=Net Example05
 3module-group-id=liferay
 4module-incremental-version=1
 5tags=
 6short-description=
 7long-description=
 8change-log=
 9page-url=http://www.liferay.com
10author=Liferay, Inc.
11licenses=LGPL
12liferay-versions=6.2.0+
13portal-dependency-jars=\
14    antlr2.jar,\
15    commons-collections.jar,\
16    commons-httpclient.jar,\
17    dom4j.jar,\
18    hibernate3.jar,\
19    saaj-api.jar,\
20    slf4j-api.jar
Meera Prince
RE: portlet + hibernate
June 11, 2014 7:09 PM
Answer

Meera Prince

Rank: Liferay Master

Posts: 820

Join Date: February 8, 2011

Recent Posts

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
Riccardo Ferrari
RE: portlet + hibernate
June 17, 2014 9:22 AM
Answer

Riccardo Ferrari

Rank: Regular Member

Posts: 137

Join Date: November 13, 2010

Recent Posts

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
babak naddaf
RE: portlet + hibernate
July 12, 2014 10:01 PM
Answer

babak naddaf

Rank: New Member

Posts: 12

Join Date: July 6, 2011

Recent Posts

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
RE: portlet + hibernate
July 22, 2014 3:42 PM
Answer

alan brito delgado

Rank: New Member

Posts: 14

Join Date: May 30, 2014

Recent Posts

thanks for replying, the problem is solved.emoticon