===
Resolves an issue where the classes folder cannot be published to Tomcat under Eclipse _nautilus_ Sina Blog
Http://blog.sina.com.cn/s/blog_484d8777010130n5.html
Just came in the morning, updated the project's SVN, and then released to Tomcat, the strange problem arises, tomcat boot is very simple to complete, the deployment of the project can not be identified. Look at the Publish directory Web-inf only the Lib directory, other such as the classes directory, the Web. xml file does not exist. Don't know where the problem is?
After the investigation, finally found the problem in the eclipse of the. classpath file, in which there is such an article:
The items that work correctly are written like this:
<classpathentry kind= "Output" path= "Target/classes"/>
The. Classpath of a project that is not functioning properly is written like this:
<classpathentry kind= "Output" path= "Webcontent/web-inf/classes"/>
There will be no problem after the change. Waiting to find out why? Do not know what is the problem of the link? See the project has a compiled class file under Target and web-inf/. But why can't we specify the latter?
====
==
The problem with Tomcat publishing is slow
--
Terminate the process with Java and start eclipse again.
--
Remove Eclipse's auto-compiled class and don't let eclipse automatically compile class files
Once you've written some Java code, stop Tomcat, compile it manually, and publish
Frequent hot deployment is going to explode memory, Tomcat has this problem, WebLogic also has
So try to avoid frequent hot deployment, more manual compilation, deployment
---Eclipse.ini
-vmargs
-xms512m
-xmx512m
-xmn128m
-dcom.sun.management.jmxremote
-xx:permsize=96m
-xx:maxpermsize=96m
-xverify:none
-xx:+disableexplicitgc
-xnoclassgc
-xx:+useparnewgc
-xx:+useconcmarksweepgc
-xx:cmsinitiatingoccupancyfraction=85
Eclipse Classes folder cannot be published to Tomcat problem--tomcat issue slow release