无法从 Lifteray 包、liferay-ce-portal-tomcat-7.0-ga6 运行 tomcat-8.0.32

问题描述

我从此 link 下载了 liferay-ce-portal-tomcat-7.0-ga6 并尝试使用 ./startup.sh 运行 tomcat 服务器,结果如下:

newuser@my-Notebook:~/Downloads/liferay-ce-portal-tomcat-7.0-ga6-20180320170724974/liferay-ce-portal-7.0-ga6/tomcat-8.0.32/bin$ ./startup.sh 
Using CATALINA_BASE:   /home/newuser/Downloads/liferay-ce-portal-tomcat-7.0-ga6-20180320170724974/liferay-ce-portal-7.0-ga6/tomcat-8.0.32
Using CATALINA_HOME:   /home/newuser/Downloads/liferay-ce-portal-tomcat-7.0-ga6-20180320170724974/liferay-ce-portal-7.0-ga6/tomcat-8.0.32
Using CATALINA_TMPDIR: /home/newuser/Downloads/liferay-ce-portal-tomcat-7.0-ga6-20180320170724974/liferay-ce-portal-7.0-ga6/tomcat-8.0.32/temp
Using JRE_HOME:        /usr
Using CLASSPATH:       /home/newuser/Downloads/liferay-ce-portal-tomcat-7.0-ga6-20180320170724974/liferay-ce-portal-7.0-ga6/tomcat-8.0.32/bin/bootstrap.jar:/home/newuser/Downloads/liferay-ce-portal-tomcat-7.0-ga6-20180320170724974/liferay-ce-portal-7.0-ga6/tomcat-8.0.32/bin/tomcat-juli.jar

在日志文件中,catalina.out它给出了错误:

OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
-Djava.endorsed.dirs=/home/ltiuser/Downloads/liferay-ce-portal-tomcat-7.0-ga6-20180320170724974/liferay-ce-portal-7.0-ga6/tomcat-8.0.32/endorsed is not supported. Endorsed standards and standalone APIs
in modular form will be supported via the concept of upgradeable modules.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

我使用的是 Ubuntu 18.04 LTS。
如何解决这个问题?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)