Foren

Unable to access ManagedBean Content in Liferay Portlet in Payara GlassFish

thumbnail
Shiva Prasad Gaddameedi, geändert vor 8 Jahren.

Unable to access ManagedBean Content in Liferay Portlet in Payara GlassFish

New Member Beiträge: 6 Beitrittsdatum: 01.09.15 Neueste Beiträge
Hello,

I installed the Liferay on Payara GlassFish using the same steps of Installing Liferay on GlassFish 4.
I'm not able to access managed bean within the Liferay portlets in Payara Glassfish Server. But the same portlet is working fine in GlassFish 4.1. Please refer the attached screenshot of Liferay portlet.

Anybody know what are the configuration changes we need to make for Payara GlassFish server in order to make it work.

Thanks,
Shiva Prasad
thumbnail
Juan Gonzalez, geändert vor 8 Jahren.

RE: Unable to access ManagedBean Content in Liferay Portlet in Payara Glass

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
Hi Shiva,

any error in logs?

did you create that demo portlet using glassfish profile (so it doesn't include the jsf-api and jsf-impl libraries)?
thumbnail
Juan Gonzalez, geändert vor 8 Jahren.

Moved to Liferay Faces category

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
Moved to Liferay Faces category
thumbnail
Nicholas John Koch, geändert vor 8 Jahren.

RE: Unable to access ManagedBean Content in Liferay Portlet in Payara Glass

New Member Beiträge: 6 Beitrittsdatum: 25.11.12 Neueste Beiträge
Hi there,

have you found a solution? I have the same problem.
thumbnail
Neil Griffin, geändert vor 8 Jahren.

RE: Unable to access ManagedBean Content in Liferay Portlet in Payara Glass

Liferay Legend Beiträge: 2655 Beitrittsdatum: 27.07.05 Neueste Beiträge
To build upon what Juan wrote, please build the jsf2-portlet with the GlassFish profile and try to deploy the jsf2-portlet-4.2.5-ga5.war artifact to GlassFish 4:
mvn -P liferay,glassfish clean package