掲示板

error upgrading from Liferay tomcat bundle 6.2 to 7.0

thumbnail
7年前 に Philippe Thibault によって更新されました。

error upgrading from Liferay tomcat bundle 6.2 to 7.0

Junior Member 投稿: 46 参加年月日: 12/09/11 最新の投稿
Hi,

I'm trying to move my liferay 6.2 portal to 7.0 following instructions here. I'm at the step of launching the upgrade tool com.liferay.portal.tools.db.upgrade.client.jar but it fails at an early stage with "com.liferay.portal.kernel.process.TerminationProcessException: Subprocess terminated with exit code 1". I have attached the log output with complete stacktrace.

any help on making this upgrade tool work or suggestion of alternative solutions to move to 7.0 would be greatly appreciated!

thanks!

Phil

添付ファイル:

thumbnail
7年前 に Alberto Chaparro によって更新されました。

RE: error upgrading from Liferay tomcat bundle 6.2 to 7.0

Liferay Master 投稿: 549 参加年月日: 11/04/25 最新の投稿
Hi Philippe,

This a known issue when the url properties finishing with an slash "/":
https://issues.liferay.com/browse/LPS-66559

It's going to be fixed in next CE or fix pack for EE users but meanwhile you can remove the slash at the end of your URLs.

Please, let us know about the results.

Thanks!
thumbnail
7年前 に Philippe Thibault によって更新されました。

RE: error upgrading from Liferay tomcat bundle 6.2 to 7.0 (回答)

Junior Member 投稿: 46 参加年月日: 12/09/11 最新の投稿
Sorry for the late response. The problem was not about "slash-ending" url in configs (which I haven't) but about the Java environment of the linux box I used to do the installation upgrade process. There was a clash between $JAVA_HOME and $PATH precedence when looking to execute java. Details here : https://web.liferay.com/community/forums/-/message_boards/message/80783301 .

So in my case the solution was just to set PATH environment according to JAVA_HOME (e.g. PATH = $JAVA_HOME/bin:$PATH).