Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Jeroen Kops
Trying to run portals in action JSF 2.0 example in Liferay on Glassfish
January 24, 2011 1:24 AM
Answer

Jeroen Kops

Rank: New Member

Posts: 3

Join Date: January 24, 2011

Recent Posts

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
Attachments: server.log (18.4k)
Jeroen Kops
RE: Trying to run portals in action JSF 2.0 example in Liferay on Glassfish
January 24, 2011 6:43 AM
Answer

Jeroen Kops

Rank: New Member

Posts: 3

Join Date: January 24, 2011

Recent Posts

Forgot to mention that I am using Glassfish version 3.0.1 and Liferay version 6.0.5

JK
Jeroen Kops
RE: Trying to run portals in action JSF 2.0 example in Liferay on Glassfish
March 16, 2011 9:42 AM
Answer

Jeroen Kops

Rank: New Member

Posts: 3

Join Date: January 24, 2011

Recent Posts

Upgrading to Glassfish 3.1 and Liferay 6.0.6 solved the problem