Project deployment summary

    After recently doing data migration, data migration part of the test deployment project, started the project when the error occurred.

As the company integrates various frameworks, log4j output only exception. Problems encountered today reported only a mistake,

Just a simple reminder: The system failed to start, java VM.

    Puzzling, please view the company's large cattle, engage in 20 minutes, to no avail.

    Daniel finally left helpless, and I continue to find a cause. I noticed the error message mentioned in the java VM.

Guess whether because the virtual machine memory configuration problem. In Internet search, there is mentioned because the virtual machine memory

Argument too small and can not start the project. The setting method is: MyEclipse -> Perferences ->

Servers –> Tomcat –> Tomcat6.x –> JDK , 在Optional Java VM arguments

In -Xms256m -Xmx512m written. And then re-deploy the project, started successfully. The problem is

Cock to get rid of, so you can successfully start pretty excited.

 

    Another problem found after importing the project can not be deployed. The reason is not .mymetadata. This one

Configuration parameters are as follows:

<?xml version="1.0" encoding="UTF-8"?>
<project-module
  type="WEB"
  name="STRONG_UPCME"
  id="myeclipse.1345532347562"
  context-root="/STRONG_UPCME"
  j2ee-spec="5.0"
  archive="STRONG_UPCME.war">
  <attributes>
    <attribute name="webrootdir" value="WebRoot" />
  </attributes>
</project-module>

Note that this context-root parameter configuration. When moving items easily lost.

Reproduced in: https: //my.oschina.net/cestbon/blog/78403

Guess you like

Origin blog.csdn.net/weixin_34162695/article/details/91885631