Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
DJ Williams
Portlets Not Deploying
February 19, 2009 5:09 PM
Answer

DJ Williams

Rank: Junior Member

Posts: 25

Join Date: April 9, 2008

Recent Posts

I have just installed Liferay 5.2 and tried deploying a JSF portlet from the netbeans 6.5 and the portlet does not want to deploy. I am running the LR 5.2 w/ Glassfish and they are not deploying.

I have restarted numerous times, deploy manually nothing seems to work. I've seen that others are having the same problems.
Antonio Santos Teixeira
RE: Portlets Not Deploying
February 20, 2009 2:18 AM
Answer

Antonio Santos Teixeira

Rank: Junior Member

Posts: 32

Join Date: February 10, 2009

Recent Posts

In the properties of the project in NB have you configured the deployment dir and server?
DJ Williams
RE: Portlets Not Deploying
February 20, 2009 3:45 AM
Answer

DJ Williams

Rank: Junior Member

Posts: 25

Join Date: April 9, 2008

Recent Posts

In NB5 you set up a Liferay service so you don't have to. It deploys to the liferay directory, but in my case the war file sits in the Liferay deployment directory . Usually, when deployed in liferay, the file shows up and is deployed in glassfish. That's not happening.


Also, on a seperate note why am I seeing so many error with lucene during start up.
Antonio Santos Teixeira
RE: Portlets Not Deploying
February 20, 2009 4:23 AM
Answer

Antonio Santos Teixeira

Rank: Junior Member

Posts: 32

Join Date: February 10, 2009

Recent Posts

well im using NB 6.5 to deply portlets. I choose in the portlet properties, tab RUN, the server were to deploy the portlet. im using the portal addon too (3.0)
DJ Williams
RE: Portlets Not Deploying
February 21, 2009 5:53 AM
Answer

DJ Williams

Rank: Junior Member

Posts: 25

Join Date: April 9, 2008

Recent Posts

What app server, I think this works in with TC. Does not deploy with glassfish v2. I reinstalled everything and have created project using my old manual method (which works in previous release) and also the new Liferay Plugin for 5.1/5.2. Neither work the portlets deploy in liferay but never show up in the portlet display.
Antonio Santos Teixeira
RE: Portlets Not Deploying
February 23, 2009 1:37 AM
Answer

Antonio Santos Teixeira

Rank: Junior Member

Posts: 32

Join Date: February 10, 2009

Recent Posts

im using glassfish V2.
Do you create the .xml files for portlets?
you need them

liferay-display.xml
liferay-portlet.xml
portlet.xml
web.xml
DJ Williams
RE: Portlets Not Deploying
February 23, 2009 2:58 PM
Answer

DJ Williams

Rank: Junior Member

Posts: 25

Join Date: April 9, 2008

Recent Posts

Certainly, I had no problem with 5.1 but, 5.2 just isn't working. Actually NB6.5 creates all the files and I have checked and they look correct.

I switched back to 5.1 and deployed the same portlet with no problem.
Minhchau Dang
RE: Portlets Not Deploying
February 24, 2009 12:20 PM
Answer

Minhchau Dang

LIFERAY STAFF

Rank: Expert

Posts: 350

Join Date: October 22, 2007

Recent Posts

The default deploy directory in 5.2.x moved to the parent of the application server's home directory (as opposed to a "liferay" folder in the user's home directory). Are you making sure to deploy to the new location?

Participate in the State of Liferay Community 2017. Help the community and even win some prizes!