Foren

Deployment Liferay Jboss-Tomcat bundle

patrick pat, geändert vor 14 Jahren.

Deployment Liferay Jboss-Tomcat bundle

New Member Beiträge: 19 Beitrittsdatum: 24.04.09 Neueste Beiträge
Hi ,
I am trying to deploy a portlet using the plugin-sdk

I got this error :
E:\DONNEES\Download\liferay-plugins-sdk-5.2.2\build-common-plugin.xml:174: E:\DONNEES\liferay-portal-5.2.2\jboss-tomcat-5.0.0\server\default\lib\ext not found.

In my build.username.properties file i set this:
app.server.dir=E:/DONNEES/liferay-portal-5.2.2/jboss-tomcat-5.0.0
app.server.classes.portal.dir=${app.server.portal.dir}/WEB-INF/classes
app.server.lib.global.dir=${app.server.dir}/server/default/lib/ext
app.server.lib.portal.dir=${app.server.portal.dir}/WEB-INF/lib
app.server.portal.dir=${app.server.dir}/server/default/deploy/ROOT.war

and first of all i don't understand the third line in this file (app.server.lib.global.dir) because there is no folder .../server/default/lib/ext in the bundle(Jboss-tomcat 5.0).

Please can you help me.
patrick pat, geändert vor 14 Jahren.

RE: Deployment Liferay Jboss-Tomcat bundle

New Member Beiträge: 19 Beitrittsdatum: 24.04.09 Neueste Beiträge
I find one solution.
I took the previous bundle and now i am able to deploy my webapp.

But the problem still remain the same. For those who use the liferay plugins sdk. Do not download this bundle "JBoss+Tomcat 5.0" (if you plan tu use also the plugin sdk )because in the build.properties.file of this plugin, this line causes error:

# Specify the paths to an unzipped Tomcat 5.5.x bundle.
#
#app.server.dir=....
#app.server.classes.portal.dir=${app.server.portal.dir}/WEB-INF/classes
#app.server.lib.global.dir=${app.server.dir}/common/lib/ext
#app.server.lib.portal.dir=${app.server.portal.dir}/WEB-INF/lib
#app.server.portal.dir=${app.server.dir}/webapps/ROOT

Precisely the app.server.lib.global.dir . There is no such directory in the bundle.

ciao
Juan Pablo Pizarro, geändert vor 14 Jahren.

RE: Deployment Liferay Jboss-Tomcat bundle

New Member Beiträge: 3 Beitrittsdatum: 01.12.09 Neueste Beiträge
I copy the lib/ext from tomcat bundle into jboss bundle and it works. I know, is not the way, but to critical problems, hurry solutions. emoticon

Liferay guys.. maybe we need a document for rookies like me, thanks!!

see you

PS:

My build.USER.properties:

app.server.dir=D:/JAVA/liferay-portal-5.2.3
auto.deploy.dir=D:/JAVA/liferay-portal-5.2.3/deploy
app.server.lib.portal.dir=D:/JAVA/liferay-portal-5.2.3/jboss-tomcat-5.0.0/server/default/lib
app.server.portal.dir=D:/JAVA/liferay-portal-5.2.3/jboss-tomcat-5.0.0/server/default/deploy/ROOT.war
javac.compiler=modern
thumbnail
Vishal Panchal, geändert vor 11 Jahren.

RE: Deployment Liferay Jboss-Tomcat bundle

Expert Beiträge: 289 Beitrittsdatum: 20.05.12 Neueste Beiträge
Hi,

Thanks to all worked for me and saved my time too..!!



Regards,
Vishal R. Panchal