问题描述
我已经准备好了新的Liferay网站,并试图在真实环境中对其进行测试.我刚刚在服务器上成功安装了Tomcat-Liferay捆绑包,并根据一些论坛的说明和评论将.war文件复制到了tomcat旁边的deploy目录中;但是转到URL后,我仍然看到默认的Liferay页面,并且页面没有显示出来.我在这里做错什么了?
I have my new Liferay site ready and trying to test it in a real environment. I just got Tomcat-Liferay bundle installed on my server successfully and copied the .war file into the deploy directory next to tomcat according to instructions from some forums and comments; but after going to the URL, I still see the default Liferay page and my page doesn't get diplayed. What an I doing wrong here?
提前谢谢!
推荐答案
使其正常运行.将them.war文件拖放到tomcat文件夹旁边的deploy文件夹中,如果存在Liferay自己的数据库以外的数据库,请在portal-ext.properties文件中定义其参数.另外,如果您已将任何文件保存在tomcat旁边的数据文件夹中,则可能也需要导入该文件.
Got it working. Drop them.war file into the deploy folder next to tomcat folder, and if there is a database other than Liferay's own database, define its parameters in the portal-ext.properties file. Also if you have saved any files in the data folder next to tomcat, you might need to import that as well.
这篇关于在服务器上部署.war文件(Liferay + Tomcat捆绑包)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!