Foros de discusión

App.server.dir is invalid, please reconfigure Plugins SDK settings

thumbnail
Jobin Mathew, modificado hace 6 años.

App.server.dir is invalid, please reconfigure Plugins SDK settings

Junior Member Mensajes: 77 Fecha de incorporación: 4/07/14 Mensajes recientes
Hi,
I am trying to upgrade my Liferay 6.2 project to 7 using Liferay code upgrade Tool.
but i am getting the error as
App.server.dir is invalid, please reconfigure Plugins SDK setting: app server dir=E:\...


I am using Eclipse Neon.3 +Liferay IDE 3.1.0 B1

is there anything to be changed in the build.properties?

Please help.

Thanks,
Jobin
thumbnail
Ying Xu, modificado hace 6 años.

RE: App.server.dir is invalid, please reconfigure Plugins SDK settings

New Member Mensajes: 2 Fecha de incorporación: 17/10/13 Mensajes recientes
Hello Jobin,
I suggest you could check this one "app.server.tomcat.dir=${app.server.parent.dir}/tomcat-*** " in build.properties file, if it is different with your tomcat version, you could config "app.server.tomcat.dir" in your build.${username}.properties file or change tomcat version in build.properties file.

If you still have problem, please feel free ask.

Ying.
thumbnail
Jobin Mathew, modificado hace 6 años.

RE: App.server.dir is invalid, please reconfigure Plugins SDK settings

Junior Member Mensajes: 77 Fecha de incorporación: 4/07/14 Mensajes recientes
Ying Xu:

I suggest you could check this one "app.server.tomcat.dir=${app.server.parent.dir}/tomcat-*** " in build.properties file, if it is different with your tomcat version, you could config "app.server.tomcat.dir" in your build.${username}.properties file or change tomcat version in build.properties file.

Ying.




Thanks a lot Ying Xu,

i corrected my build.${username}.properties file and running fine now.
Ashu Phaugat, modificado hace 6 años.

RE: App.server.dir is invalid, please reconfigure Plugins SDK settings

New Member Mensaje: 1 Fecha de incorporación: 29/07/17 Mensajes recientes
Hi Ying Xu,

I'm also facing same problem,
App.server.dir is invalid, please reconfigure Plugins SDK setting: app server dir=E:\...
.
1) Plugin folder: ../com.liferay.portal.plugins.sdk-1.0.11
In plugin folder I have only one property files i.e., build.properties and the entry of app.server is like below:
app.server.tomcat.dir=${app.server.parent.dir}/tomcat-8.0.32


2) In liferay portal folder, tomcat version is same, see below:
D:\Softwares\Liferay\liferay-ce-portal-7.0-ga4\tomcat-8.0.32

But still I'm facing same problem
App.server.dir is invalid, please reconfigure Plugins SDK setting: app server dir=E:\...


Could you please help here.

Thanks,
Ashu Phaugat

Archivos adjuntos:

thumbnail
Joye Luo, modificado hace 6 años.

RE: App.server.dir is invalid, please reconfigure Plugins SDK settings

Regular Member Mensajes: 144 Fecha de incorporación: 3/05/16 Mensajes recientes
Hey Ashu,

You said that "In plugin folder I have only one property files i.e., build.properties ". That's right. The build.${usename}.properties file is created by user. For me, the user name of my computer is liferay, and then I create a file named build.liferay.properties.
And following is my file content:
app.server.type = tomcat
app.server.parent.dir = F:/liferay-bundle/liferay-ce-portal-7.0-ga2
app.server.tomcat.dir = ${app.server.parent.dir}/tomcat-8.0.32

Hope thatt can work for u.