Eclipse-based RCP deployment, release, and upgrade implementation

Source: Internet
Author: User

(1) first, import the gemship_server to the. War file and deploy it in the Tomcat webapps directory.

1. Right-click gemship_server, click Export, and select war file. click Next.

2. Then, export the war export to the webapps directory of Tomcat and click finsh. The export is complete.

(2) Import gemship_client into eclipse product and release it
1. Right-click gemship_client, click Export, and select eclipse Product

2. Select the directory to be released. D:/publish/dfams. Click finsh.

(3) test after the project is deployed and released.
1. to avoid Tomcat application server, 98% of the time in JVM is used for GC and the available heap size is less than 2%. will throw this exception information (Java. lang. outofmemoryerror: Java heap space) error,

We can use options such as-xmn-XMS-xmx provided by JVM to set them in advance:

Open Catalina. bat with ue in the tomcat_home/bin directory, and run the command in echo using catalina_base: % catalina_base %.Code

Add: Set java_opts = % java_opts %-xms128m-xmx512m

2. After setting, click startup in the d:/tomcat 5.0/bin directory to start Tomcat. Then, runProgram.

(4)Eclipse-based RCP upgrade implementation

Related Article

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.