Forums

Home » Liferay IDE » English

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Kevin Gebel
Liferay IDE with non bundle tomcat
September 20, 2011 7:23 AM
Answer

Kevin Gebel

Rank: Junior Member

Posts: 80

Join Date: May 27, 2010

Recent Posts

Hello !

I deployed the Liferay war file on a standalone Tomcat. Then I tried to deploy a ext plugin on it (right click on project -> Liferay -> SDK -> deploy). The following error is displayed :

BUILD FAILED
D:\Projets\Liferay\dev\liferay-plugins-sdk-6.0.6-20110225\ext\build-common-ext.xml:303: D:\Projets\Liferay\dev\serveur_web\apache-tomcat-6.0.33\lib\ext does not exist.

So here is my question :
How to configure plugin SDK with a non bundle Liferay release ?

Thanks,
Kevin.
David H Nebinger
RE: Liferay IDE with non bundle tomcat
September 20, 2011 7:45 AM
Answer

David H Nebinger

Community Moderator

Rank: Liferay Legend

Posts: 11770

Join Date: September 1, 2006

Recent Posts

There's additional steps to deploying Liferay on an existing tomcat, including the creation of the ${CATALINA_HOME}/lib/ext directory and dropping some shared jars in there. You also need to update the catalina.properties file to include the new directory handling.

All of this should already be documented in the wiki...
Kevin Gebel
RE: Liferay IDE with non bundle tomcat
September 20, 2011 7:59 AM
Answer

Kevin Gebel

Rank: Junior Member

Posts: 80

Join Date: May 27, 2010

Recent Posts

Thanks David. Have you got a link dealing with this documentation ?
Dave Weitzel
RE: Liferay IDE with non bundle tomcat
September 20, 2011 7:59 AM
Answer

Dave Weitzel

Rank: Regular Member

Posts: 204

Join Date: November 18, 2009

Recent Posts

You should also ensure you have your server configured in your IDE correctly, or if just using the SDK in there.

you need the build.<username>.properties file in the SDK root folder and also may need the portal.ide.properties file in the tomcat bundle root (beneath the tomcat-6.0.29 directory)

It would help if you could tell us what file structure you do have rather than just the one it cannot find!
David H Nebinger
RE: Liferay IDE with non bundle tomcat
September 20, 2011 8:02 AM
Answer

David H Nebinger

Community Moderator

Rank: Liferay Legend

Posts: 11770

Join Date: September 1, 2006

Recent Posts

Kevin Gebel:
Thanks David. Have you got a link dealing with this documentation ?


Not handy, but you should be able to find it by searching LR...
Kevin Gebel
RE: Liferay IDE with non bundle tomcat
September 20, 2011 8:48 AM
Answer

Kevin Gebel

Rank: Junior Member

Posts: 80

Join Date: May 27, 2010

Recent Posts

Sorry but I can't find the wiki dealing with Liferay deployement on an existing Tomcat...
Kamesh Sampath
RE: Liferay IDE with non bundle tomcat
September 20, 2011 12:57 PM
Answer

Kamesh Sampath

Rank: Regular Member

Posts: 159

Join Date: May 26, 2010

Recent Posts

Check out the Admin Guide here --> Liferay Portal Admin Guide
Kevin Gebel
RE: Liferay IDE with non bundle tomcat
September 23, 2011 1:03 AM
Answer

Kevin Gebel

Rank: Junior Member

Posts: 80

Join Date: May 27, 2010

Recent Posts

Ok, thanks. I would like to keep %TOMCAT_HOME%\lib as my global librairies directory for tomcat. So in build.${whoami}.properties of plugins SDK, I override the property app.server.lib.global.dir. But when I deploy a ext plugin with it, Liferay IDE replaces it with its own value. How can I override a property in build.${whoami}.properties ?
Gregory Amerson
RE: Liferay IDE with non bundle tomcat
September 23, 2011 1:17 AM
Answer

Gregory Amerson

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1041

Join Date: February 16, 2010

Recent Posts

Hey Kevin,

You can go to Window > Preferences > Liferay > Install SDKs at the bottom of that page you will see some options and you can tell Liferay IDE to never overwrite the build.<user>.properties. Let me know if that works for you.
Kevin Gebel
RE: Liferay IDE with non bundle tomcat
September 23, 2011 1:26 AM
Answer

Kevin Gebel

Rank: Junior Member

Posts: 80

Join Date: May 27, 2010

Recent Posts

I didn't see it ! Thank you so much !
Kevin Gebel
RE: Liferay IDE with non bundle tomcat
September 23, 2011 1:48 AM
Answer

Kevin Gebel

Rank: Junior Member

Posts: 80

Join Date: May 27, 2010

Recent Posts

One more little thing : remove Liferay IDE comment from build.${whoami}.properties !