Cannot start Tomcat in Eclipse after change app context pathCannot start Tomcat in Eclipse after change app context pathhttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1048331422024-03-29T05:43:58Z2024-03-29T05:43:58ZRE: Cannot start Tomcat in Eclipse after change app context pathJose Gomezhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1048894972018-03-06T09:49:00Z2018-03-06T09:49:00Z<div class="quote-title">Joye Luo:</div><blockquote>Hey Jose,<br /><br />This link may help you solve this problem.<br /><a href="https://web.liferay.com/zh/community/forums/-/message_boards/message/79010552">https://web.liferay.com/zh/community/forums/-/message_boards/message/79010552</a><br /><br />Hope that can work for u.</blockquote><br /><br />Hi Joye Luo!<br /><br />I saw that thread before, I did the same changes but it wasn't working. Finally, I deleted my liferay installation and took a backup, I follow the same steps again and know it is working. Maybe one file had some misconfiguration. <br /><br />The only thing is wrong now is that theme isn't loading some images, but I think that is an apache's configuration thing.<br /><br /><br />Thanks for your help!Jose Gomez2018-03-06T09:49:00ZRE: Cannot start Tomcat in Eclipse after change app context pathJoye Luohttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1048753292018-03-06T02:41:14Z2018-03-06T02:41:14ZHey Jose,<br /><br />This link may help you solve this problem.<br /><a href="https://web.liferay.com/zh/community/forums/-/message_boards/message/79010552">https://web.liferay.com/zh/community/forums/-/message_boards/message/79010552</a><br /><br />Hope that can work for u.Joye Luo2018-03-06T02:41:14ZCannot start Tomcat in Eclipse after change app context pathJose Gomezhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1048331412018-03-05T11:17:01Z2018-03-05T11:17:01ZHi everyone!<br /><br />I'm trying to change the application context path of my current local Liferay installation and because of our needs, I must set double context ( /context/path ). I've already done the following:<br /><br />1. renamed '/webapps/ROOT' to '/webapps/context/path'<br />2. in 'tomcat-7.0.62/conf/server.xml' I added the following line:<br />...<br /><Host appBase="webapps" autoDeploy="true" name="localhost" unpackWARs="true"><br /> <strong><Context docBase="/context/path" path="/context/path"/></strong><br />...<br />3. in 'tomcat-7.0.62/conf/Catalina/localhost/ROOT.xml' I added:<br /><Context <strong>path="/context/path"</strong> crossContext="true"><br /><br />4. in portal-ext.properties I added the key: <br />portal.ctx=/context/path<br /><br /><br />But when I try to run tomcat in eclipse, or try to create a new runtime environment a nullpointerexception is shown in log. I think that eclipse cannot find liferay installa