Fórum

Trying to run portals in action JSF 2.0 example in Liferay on Glassfish

Jeroen Kops, modificado 13 Anos atrás.

Trying to run portals in action JSF 2.0 example in Liferay on Glassfish

New Member Postagens: 3 Data de Entrada: 24/01/11 Postagens Recentes
Hi,

We are having some problems with running the portlet-in-action JSF 2.0 example (http://code.google.com/p/portletsinaction/source/checkout).
We have two different installations of Liferay

installation 1: the Glassfish/Liferay bundle
installation 2: Liferay installed an an existing Glassfish server

The example appliction works on "installation 1"
Our goal is to make the example work on "installation 2".

When we run the portlet on "installation 2" the following exception is thrown:
javax.el.PropertyNotFoundException: /xhtml/home.xhtml @43,89 action="#{bookCatalogBean.showAddBookForm}":
Target Unreachable, identifier 'bookCatalogBean' resolved to null a javax.el.PropertyNotFoundException.

(see attached logfile)

I tried the following steps:
1. replace the modules folder of "installation 2" with the modules folder of "installation 1"
2. started "installation 2"
3. Tested the portlet but still getting the same exception
4. Stopped "installation 2"
5. reverted the change made in step 1
6. replace the portlet.jar and portlet-service.jar of "installation 2" with the portlet.jar and portlet-service.jar of "installation 1"
7. started "installation 2"
8. Tested the portlet but still getting the same exception

We want to make use of an existing Glassfish server because:
1. We are already running this in production
2. We need JMS which is not installed by default with the Liferay/Glassfish bundle

So now I'm stuck, and I hope somebody of this forum can help me with this problem.

Regards,

Jeroen Kops
Jeroen Kops, modificado 13 Anos atrás.

RE: Trying to run portals in action JSF 2.0 example in Liferay on Glassfish

New Member Postagens: 3 Data de Entrada: 24/01/11 Postagens Recentes
Forgot to mention that I am using Glassfish version 3.0.1 and Liferay version 6.0.5

JK
Jeroen Kops, modificado 13 Anos atrás.

RE: Trying to run portals in action JSF 2.0 example in Liferay on Glassfish

New Member Postagens: 3 Data de Entrada: 24/01/11 Postagens Recentes
Upgrading to Glassfish 3.1 and Liferay 6.0.6 solved the problem