摘要: 今天linux服务器上tomcat重新配置,启动参数时报错:在设置tomcat 启动时,我把JAVA_OPTS 设成-Xms800m -Xmx1024m总是报 Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual machine.的错误, 只能设成小于256m的,请问这是什么原因。可能是TOMCAT JVM参数问题:在CATALINA_BASE之后配置JAVA_OPT的名称: %CATALINA_BA. 阅读全文
posted @ 2011-12-07 14:37 zento_AMr 阅读(6638) 评论(0) 推荐(0) 编辑
摘要: package easyway.tbs.file.transport.core.combine;import java.io.BufferedOutputStream;import java.io.File;import java.io.FileOutputStream;import java.io.IOException;import java.util.ArrayList;import java.util.Collection;import java.util.List;import org.apache.commons.io.FileUtils;import org.apache.com 阅读全文
posted @ 2011-12-07 14:33 zento_AMr 阅读(1027) 评论(0) 推荐(0) 编辑