Fóruns

Início » Liferay Portal » English » 3. Development

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Meera Prince
How to deploy CE plugin portlets in Liferay EE environment
4 de Junho de 2013 00:48
Resposta

Meera Prince

Ranking: Liferay Master

Mensagens: 862

Data de entrada: 8 de Fevereiro de 2011

Mensagens recentes

HI
How to deploy Liferay CE plugin portlets into Liferay EE Portal.

My development environment is Liferay 6.1GA2+JBoss 7.1 AS+Oracle 11g+Liferay 6.1.1GA2 Plugins SDK

My Production environment is Liferay 6.1.2EE+JBoss 7.1AS+Oracle 11g

i developed some portlets using above mention development environment when i deploy portlet war file into production deployment auto deploy scanner not deployed portlet into EE portal.

Errors like.
does not support this version of liferay

some times war in deploy folder keep same its wont be copied into jboss standalone deployment directory
Manish Yadav
RE: How to deploy CE plugin portlets in Liferay EE environment
4 de Junho de 2013 01:31
Resposta

Manish Yadav

Ranking: Expert

Mensagens: 385

Data de entrada: 26 de Maio de 2012

Mensagens recentes

meera prince:
HI
How to deploy Liferay CE plugin portlets into Liferay EE Portal.

My development environment is Liferay 6.1GA2+JBoss 7.1 AS+Oracle 11g+Liferay 6.1.1GA2 Plugins SDK

My Production environment is Liferay 6.1.2EE+JBoss 7.1AS+Oracle 11g

i developed some portlets using above mention development environment when i deploy portlet war file into production deployment auto deploy scanner not deployed portlet into EE portal.

Errors like.
does not support this version of liferay

some times war in deploy folder keep same its wont be copied into jboss standalone deployment directory


Hi Meera,

Liferay CE and Liferay EE both are different product ,you can't same war file for CE and EE. You have to build again war file with plugin sdk of EE.

Thanks & Regards
Manish Banwari lal Yadav
Email:- manishyadav1103@gmail.com
David H Nebinger
RE: How to deploy CE plugin portlets in Liferay EE environment
4 de Junho de 2013 05:38
Resposta

David H Nebinger

Community Moderator

Ranking: Liferay Legend

Mensagens: 8956

Data de entrada: 1 de Setembro de 2006

Mensagens recentes

First, if you're an EE customer you can get developer EE instances along with the developer EE SDK so you don't have these kinds of build problems.

Second, version is checked in the liferay-plugin-package.properties file. You can edit it so that it is marked as compatible for both environments.
James Falkner
RE: How to deploy CE plugin portlets in Liferay EE environment
4 de Junho de 2013 07:36
Resposta

James Falkner

LIFERAY STAFF

Ranking: Liferay Legend

Mensagens: 1344

Data de entrada: 17 de Setembro de 2010

Mensagens recentes

David H Nebinger:
First, if you're an EE customer you can get developer EE instances along with the developer EE SDK so you don't have these kinds of build problems.

Second, version is checked in the liferay-plugin-package.properties file. You can edit it so that it is marked as compatible for both environments.


Yeah, it is possible to build a single plugin that works with EE and CE. In fact, that's our goal: to ensure that apps built on CE work with EE. This is usually the case, but historically there have been exceptions, so testing against both is important if you wish to support both.

If you do build a single app/plugin that works on CE and EE, as Dave confirms, just edit your liferay-plugin-package.properties and change the value of the liferay-versions property to specify the version range(s) you support, for example to support Liferay Portal 6.1 CE GA2 and later, and Liferay Portal 6.1 EE GA2 and later, use liferay-versions=6.1.1+,6.1.20+
Meera Prince
RE: How to deploy CE plugin portlets in Liferay EE environment
5 de Junho de 2013 00:41
Resposta

Meera Prince

Ranking: Liferay Master

Mensagens: 862

Data de entrada: 8 de Fevereiro de 2011

Mensagens recentes

Thanks ALL.

HI I created war against EE and i have changed version in liferay-plugin-package.properties once war is created i moved to production server then portlet is deployed successfully but i am unable to see portlet in list of portlets which is in add more list..

My production server is

OS: Oracle Linux 6.3EE
Liferay 6.1.2EE+Oracle 11G database+JBOSS 7.1.1AS
Manish Yadav
RE: How to deploy CE plugin portlets in Liferay EE environment
5 de Junho de 2013 05:29
Resposta

Manish Yadav

Ranking: Expert

Mensagens: 385

Data de entrada: 26 de Maio de 2012

Mensagens recentes

meera prince:
Thanks ALL.

HI I created war against EE and i have changed version in liferay-plugin-package.properties once war is created i moved to production server then portlet is deployed successfully but i am unable to see portlet in list of portlets which is in add more list..

My production server is

OS: Oracle Linux 6.3EE
Liferay 6.1.2EE+Oracle 11G database+JBOSS 7.1.1AS


Please share Log file .Without logs its difficult to predict problem

Thanks & Regards
Manish Banwari lal Yadav
Email:- manishyadav1103@gmail.com
Meera Prince
RE: How to deploy CE plugin portlets in Liferay EE environment
5 de Junho de 2013 18:28
Resposta

Meera Prince

Ranking: Liferay Master

Mensagens: 862

Data de entrada: 8 de Fevereiro de 2011

Mensagens recentes

Hi Manish..
I have observed the log file MVCPortlet.class not found expectation... i just add util bridges jar in liferay-plugin.-packages.poperties file then i got portlet in add more list..

when i work with CE i did not mention util bridges jar files in liferay-plugin.-packages.poperties but for EE i need to mention dependency jar file porperty in liferay-plugin.-packages.poperties.

Thank you manish..