掲示板

Liferay developer studio & EE 6.2: Unable to change port

10年前 に Micael Ericsson によって更新されました。

Liferay developer studio & EE 6.2: Unable to change port

Regular Member 投稿: 169 参加年月日: 12/12/11 最新の投稿
At current I have a project with Liferay 6.1.2 CE - (Windows 7, NetBeans 7.4, Liferay bundled with Tomcat).
In my developing environment I also have Glassfish v3 running at port 8080.

In order to test Liferay 6.2 I downloaded Liferay Developer Studio bundled with Liferay 6.2 EE (Tomcat) and installed it.
Started a simple Portlet Plugin project.
In server tab I have "Liferay v6.2 EE server (Tomcat 7)".

First try to start Liferay gave me a conflict on port 8080.
So I edited c:\liferay-developer-studio\liferay-portal-6.2.10.1-ee-ga1\tomcat-7.0.42\conf\server.xml. Changed port to 8088.
Same problem when starting Liferay. I noticed in server.xml that port was back to 8080.

Googled and found that change could/should be done in:
C:\liferay-developer-studio\workspace\Servers\Liferay v6.2 EE Server (Tomcat 7) at localhost-config\server.xml. Changed port to 8088.
Try to start server. This time I got the following error message:
Could not load the Tomcat server configuration at \Servers\Liferay v6.2 EE Server (Tomcat 7) at localhost-config. The configuration may be corrupt or incomplete.
Resource is out of sync with the file system: '/Servers/Liferay v6.2 EE Server (Tomcat 7) at localhost-config/server.xml'.

Googled again and found others with same problem. Suggested solution was to copy all in "liferay v6.2 EE..\conf" to "C:\liferay-developer-studio\workspace\Servers\Liferay v6.2 EE Server (Tomcat 7) at localhost-config". I changed port in server.xml first and then copied files.

Still same error message - could not load...

Suggestions on:
a) how to get server running
b) running on port 8088
thumbnail
9年前 に Vijay Gohil によって更新されました。

RE: Liferay developer studio & EE 6.2: Unable to change port

New Member 投稿: 16 参加年月日: 10/06/29 最新の投稿
Did you find the answer of this problem? I am getting same issue

Thanks,
Vijay
thumbnail
9年前 に David H Nebinger によって更新されました。

RE: Liferay developer studio & EE 6.2: Unable to change port

Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
You cannot change the server.xml file in the filesystem.

Instead within the Liferay IDE or Liferay Dev Studio, go to the servers view and drill into your server. In there you'll find a server.xml file. This one overwrites whatever change you make to the one in the filesystem.
8年前 に Shravan Kumar Amancha によって更新されました。

RE: Liferay developer studio & EE 6.2: Unable to change port

New Member 投稿: 1 参加年月日: 15/03/25 最新の投稿
Right click on server->Properties ->General

Click on Switch Location(Location where your tomcat server is. )


This was worked for me...