(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