How is liferay configured on a specific tomcat server?

Source: Internet
Author: User

Today, I opened two liferay-portlet environments on the E drive. They were all downloaded and bound. A bundles (with tomcat in it) + plugins-sdk (with portlet-related configurations ). Every time there is a ready-made one, the Manager will give it to us and we can use it directly. Today we don't know why we can't. Once we deploy A portlet, we will say build. cannot find D: \ develop \ bundles \ tomcat-6.0.18 \ lib in xml. I don't know. I used to be able to use it directly. Why can't I do it now. I want to estimate that I have also done this development environment on drive D. I want to move it to the current drive E and delete all the drive D. Is it a sequent issue? No way, I had to know it myself.

Why does the current liferay folder fail to find tomcat bound to bundles in the same folder? Instead, you have to find the D disk path that does not exist? Why can I deploy another liferay environment in the same edisk? Which of the following determines this? I want to know exactly what it is!

In fact, it is a waste of time to say so much:The server path for ant deployment reads 650 from where) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/155259EA-0.gif "/>

This is also the sadness of a programmer like me who just got started. It is easy to understand. You have talked a lot about it here, and no one else is doing well. It is not difficult to find this problem. Create a file under plugins-sdk,

Name: build. {user. name}. properties. This file is used to personalize our own configuration information. The user. name here is the login user of the current system. If the current logon user on my computer is administrator, this file is named build. administrator. properties. Write this app. server. dir =$ {project. dir}/../bundles/tomcat-6.0.26. You can change the path after this step. For example, if I have an edisk, change it

App. server. dir = E:/liferay/develop/bundles/tomcat-6.0.18. In this way, once deployed, it will automatically generate a line of code java. compiler = modern. Note that the forward and backward slashes of the path. In Windows, the file path is the opposite of the one mentioned here.


Reference: http://blog.csdn.net/zhichao_boole/article/details/6562151

This article is from the "on the road" blog, please be sure to keep this source http://javafanpeng.blog.51cto.com/2209268/1288790

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.