Foros de discusión

error upgrading from Liferay tomcat bundle 6.2 to 7.0

thumbnail
Philippe Thibault, modificado hace 7 años.

error upgrading from Liferay tomcat bundle 6.2 to 7.0

Junior Member Mensajes: 46 Fecha de incorporación: 11/09/12 Mensajes recientes
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

Archivos adjuntos:

thumbnail
Alberto Chaparro, modificado hace 7 años.

RE: error upgrading from Liferay tomcat bundle 6.2 to 7.0

Liferay Master Mensajes: 549 Fecha de incorporación: 25/04/11 Mensajes recientes
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
Philippe Thibault, modificado hace 7 años.

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

Junior Member Mensajes: 46 Fecha de incorporación: 11/09/12 Mensajes recientes
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).