您的位置:首页 > 编程语言 > Java开发

如何优化ECLIPSE的WEB工程启动速度

2009-09-29 14:50 555 查看
 问题的描述如下:
我新到一家公司,有一个WEB工程,500多M,我使用ECLIPSE集成TOMCAT来运行,启动需要13到15分钟,但是我的同事们启动都大约在3到5分钟,现在就是很奇怪了,机器的配置基本是一致的(双核2.1,2G内存的HP本本),软件配置我都修改过多次,和他们一样也不行,请大家帮我看看,谢谢!

软件环境:MyEclipse 6.0
JDK 1.5
TOMCAT 6.0

我的 eclipse.ini文件的设置

-clean
-showsplash
com.genuitec.myeclipse.blue.product.ide
--launcher.XXMaxPermSize
256m
-vmargs
-Xms256m
-Xmx512m
-Duser.language=en
-XX:PermSize=128M
-XX:MaxPermSize=220M


我的MyEclipse的TOMCAT下JDK的设置为

-Xms256m -Xmx1024m -XX:MaxPermSize=512m
 

项目启动日志

2009-9-29 14:01:42 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:/Program Files/Java/jdk1.5.0/bin;D:/service/apache-tomcat-6.0.16/bin
2009-9-29 14:01:42 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2009-9-29 14:01:42 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 651 ms
2009-9-29 14:01:42 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2009-9-29 14:01:42 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.16
2009-9-29 14:01:43 org.apache.catalina.core.StandardContext addApplicationListener
信息: The listener "listeners.ContextListener" is already configured for this context. The duplicate definition has been ignored.
2009-9-29 14:01:43 org.apache.catalina.core.StandardContext addApplicationListener
信息: The listener "listeners.SessionListener" is already configured for this context. The duplicate definition has been ignored.
2009-9-29 14:01:43 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2009-9-29 14:01:43 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2009-9-29 14:01:45 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(D:/service/apache-tomcat-6.0.16/webapps/myProject/WEB-INF/lib/geronimo-servlet_2.5_spec-
2009-9-29 14:05:37 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bris.com/services/}ICVVBatchService from class com.myCompany.xbankmibs.service.cardmade.webserviceclient.ICVVBatch
2009-9-29 14:05:38 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://service.bas.service.xbankmibs.myCompany.com/}ICounterCallHandlerServiceService from class com.myCompany.xbankmibs.service.bas.service.ICounterCallHandlerService
2009-9-29 14:05:39 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://service.xbankmibs.myCompany.com/}RequestServerService from class com.myCompany.xbankmibs.service.RequestServer
2009-9-29 14:05:39 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://endpoint.service.xbankmibs.myCompany.com/}IEndpointService from class com.myCompany.xbankmibs.service.endpoint.IEndpoint
2009-9-29 14:05:39 org.apache.cxf.endpoint.ServerImpl initDestination
信息: Setting the server's publish address to be /EndpointService
2009-9-29 14:05:39 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://service.bas.service.xbankmibs.myCompany.com/}IUserInfoServiceService from class com.myCompany.xbankmibs.service.bas.service.IUserInfoService
2009-9-29 14:05:40 org.apache.cxf.endpoint.ServerImpl initDestination
信息: Setting the server's publish address to be /userInfoService
2009-9-29 14:05:40 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://service.webservice.xbankmibs.myCompany.com/}IBankServiceHanderService from class com.myCompany.xbankmibs.webservice.service.IBankServiceHander
2009-9-29 14:05:41 org.apache.cxf.endpoint.ServerImpl initDestination
信息: Setting the server's publish address to be /BankTradeWebService
2009-9-29 14:05:41 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://giantstone.com/bosent/webservice/}CashDrawerService from class com.myCompany.xbankmibs.webservice.cd.cashdrawerservice.CashDrawer
2009-9-29 14:05:46 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://soap.huarong.com/RFQprice/}RFQFXIpriceService from class com.myCompany.xbankmibs.webservice.foreignexchange.rfq.RFQFXIprice
2009-9-29 14:05:46 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://www.example.org/LdlServer/}LdlServerService from class com.myCompany.xbankmibs.webservice.ldl.LdlServer
2009-9-29 14:05:47 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://com.huarong.soap/FxipServer/}FxipServerService from class com.myCompany.xbankmibs.webservice.foreignexchange.fxip.FxipServer
2009-9-29 14:05:49 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://com.huarong.soap/GoldServer/}GoldServerService from class com.myCompany.xbankmibs.webservice.foreignexchange.goldservice.GoldServer
2009-9-29 14:05:53 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://www.example.org/Peprfe/}PeprfeService from class com.myCompany.xbankmibs.webservice.foreignexchange.exchange.Peprfe
2009-9-29 14:05:55 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/giftcard/webservices/cardmanage/}PPCARDmanegeService from class com.myCompany.xbankmibs.webservice.savingscard.PPCARDmanege
2009-9-29 14:05:57 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/merchant/}CustomerService from class com.myCompany.xbankmibs.webservice.merchant.Customer
2009-9-29 14:05:59 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/bond/outeriface/ws/channelquery/}ChannelQueryService from class com.myCompany.xbankmibs.webservice.bond.channelquery.ChannelQuery
2009-9-29 14:06:11 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/bond/outeriface/ws/channeltrade/}ChannelTradeService from class com.myCompany.xbankmibs.webservice.bond.channeltrade.ChannelTrade
2009-9-29 14:06:20 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/bond/outeriface/ws/channelquery/}ChannelQueryService from class com.myCompany.xbankmibs.webservice.bond.channelqueryservice.ChannelQuery
2009-9-29 14:06:31 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://xbank.webservice.bank.business.anyi.com/}XbankCommunicatorService from class com.myCompany.xbankmibs.webservice.transferpayment.XbankCommunicator
2009-9-29 14:06:32 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cam/webservices/certificate/}CAMDepositCertificateService from class com.myCompany.xbankmibs.webservice.deposit.CAMDepositCertificate
2009-9-29 14:06:35 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cam/webservices/guarantee/}CAMGuaranteeService from class com.myCompany.xbankmibs.webservice.guarantee.CAMGuarantee
2009-9-29 14:06:38 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cam/webservices/travelcheque/}CAMTravelChequeService from class com.myCompany.xbankmibs.webservice.travelcheque.CAMTravelCheque
2009-9-29 14:06:41 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cam/webservices/asstmonitor/}QueryCustAssetBalanceService from class com.myCompany.xbankmibs.webservice.custassetbalance.QueryCustAssetBalance
2009-9-29 14:06:42 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://acpt.client.ba.bbsp.leadmind.com/}ISearchAllAcptServiceService from class com.myCompany.xbankmibs.webservice.acpt.allacpt.ISearchAllAcptService
2009-9-29 14:06:43 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://acpt.client.ba.bbsp.leadmind.com/}IAcptForXbankService from class com.myCompany.xbankmibs.webservice.acpt.acptxb.IAcptForXbank
2009-9-29 14:06:46 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cmbcpayment/webservices/peservice/}PEBillQueryService from class com.myCompany.xbankmibs.webservice.pe.pebillqueryservice.PEBillQuery
2009-9-29 14:06:50 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cmbcgold/webservice/}BusinessManageServicesService from class com.myCompany.xbankmibs.webservice.gold.goldbussinessmanage.BusinessManageServices
2009-9-29 14:06:53 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/po/webservices/}POServicesService from class com.myCompany.xbankmibs.webservice.interpay.POServices
2009-9-29 14:06:54 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://entsign.server.ws.hitrust.com}EbankSignEntSearchServicePortTypeService from class com.myCompany.xbankmibs.webservice.internetbank.publicservice.ebanksignentSearch.EbankSignEntSearchServicePortType
2009-9-29 14:06:57 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://pri.ebank.adtec.com}EBankPriCustInfoSignServicePortTypeService from class com.myCompany.xbankmibs.webservice.internetbank.privateservice.EBankPriCustInfoSignServicePortType
2009-9-29 14:06:59 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://entsign.server.ws.hitrust.com}EbankSignEntMainServicePortTypeService from class com.myCompany.xbankmibs.webservice.internetbank.publicservice.ebanksignentmain.EbankSignEntMainServicePortType
2009-9-29 14:07:01 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/agentframework/webservices/channel/agent/}AgentPaymentService from class com.myCompany.xbankmibs.webservice.agent.agentpayment.AgentPayment
2009-9-29 14:08:57 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://service.webservice.myCompany.com/}IBusinessLogServiceService from class com.myCompany.xbankmibs.adapter.log.client.IBusinessLogService
2009-9-29 14:08:57 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://giantstone.com/billing/server/service/}BillingService from class com.myCompany.xbankmibs.webservice.bill.Billing
2009-9-29 14:09:09 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://giantstone.com/bosent/webservice/cashmanager/cashmanager/}CashManagerService from class com.myCompany.xbankmibs.webservice.cashmanager.cashmanagerservice.CashManager
2009-9-29 14:09:44 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cmbcpayment/webservices/peservice/}PEETGPPServiceService from class com.myCompany.xbankmibs.webservice.pe.peetgppserviceservice.PEETGPPService
2009-9-29 14:09:53 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cmbcpayment/webservices/peservice/}PETOCServiceService from class com.myCompany.xbankmibs.webservice.pe.petocserviceservice.PETOCService
2009-9-29 14:10:00 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cmbcpayment/webservices/peservice/}PETodServiceService from class com.myCompany.xbankmibs.webservice.pe.petodserviceservice.PETodService
2009-9-29 14:10:05 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cmbcpayment/webservices/peservice/}PETidServiceService from class com.myCompany.xbankmibs.webservice.pe.petidserviceservice.PETidService
2009-9-29 14:10:10 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cmbcpayment/webservices/peservice/}PETICServiceService from class com.myCompany.xbankmibs.webservice.pe.peticserviceservice.PETICService
2009-9-29 14:10:25 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cmbcpayment/webservices/peservice/}PEsueServiceService from class com.myCompany.xbankmibs.webservice.pe.pesueserviceservice.PEsueService
2009-9-29 14:10:32 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cmbcpayment/webservices/peservice/}PEextendServiceService from class com.myCompany.xbankmibs.webservice.pe.peextendserviceservice.PEextendService
2009-9-29 14:10:35 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cmbcpayment/webservices/peservice/}PEccServiceService from class com.myCompany.xbankmibs.webservice.pe.peccserviceservice.PEccService
2009-9-29 14:10:43 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cmbcpayment/webservices/peservice/}PEdraftServiceService from class com.myCompany.xbankmibs.webservice.pe.pedraftserviceservice.PEdraftService
2009-9-29 14:10:51 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cmbcpayment/webservices/peservice/}PEqueryBERServiceService from class com.myCompany.xbankmibs.webservice.pe.pequeryberserviceservice.PEqueryBERService
2009-9-29 14:11:06 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cmbcpayment/webservices/peservice/}PEbourseServiceService from class com.myCompany.xbankmibs.webservice.pe.pebourseserviceservice.PEbourseService
2009-9-29 14:11:14 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cmbcpayment/webservices/peservice/}PESICBCServiceService from class com.myCompany.xbankmibs.webservice.pe.pesicbcserviceservice.PESICBCService
2009-9-29 14:11:16 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cmbcpayment/webservices/peservice/}PESASRServiceService from class com.myCompany.xbankmibs.webservice.pe.pesasrserviceservice.PESASRService
2009-9-29 14:11:20 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cmbcpayment/webservices/peservice/}PEQueryInfoService from class com.myCompany.xbankmibs.webservice.pe.pequeryinfoservice.PEQueryInfo
2009-9-29 14:11:32 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cmbcpayment/webservices/peservice/}PEPVVoucherServiceService from class com.myCompany.xbankmibs.webservice.pe.pepvvoucherserviceservice.PEPVVoucherService
2009-9-29 14:11:35 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cmbcpayment/webservices/peservice/}PEPPFServiceService from class com.myCompany.xbankmibs.webservice.pe.peppfserviceservice.PEPPFService
2009-9-29 14:11:36 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cmbcpayment/webservices/peservice/}PEPartyCCServiceService from class com.myCompany.xbankmibs.webservice.pe.pepartyccserviceservice.PEPartyCCService
2009-9-29 14:11:46 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cmbcpayment/webservices/peservice/}PEICBCServiceService from class

com.myCompany.xbankmibs.webservice.pe.peicbcserviceservice.PEICBCService
2009-9-29 14:11:49 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cmbcpayment/webservices/peservice/}PEEasyRemitServiceService from class

com.myCompany.xbankmibs.webservice.pe.peeasyremitserviceservice.PEEasyRemitService
2009-9-29 14:11:54 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cmbcpayment/webservices/peservice/}PEBillOperateServiceService from class

com.myCompany.xbankmibs.webservice.pe.pebilloperateserviceservice.PEBillOperateService
2009-9-29 14:11:59 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cmbcpayment/webservices/peservice/}PEBillQueryService from class

com.myCompany.xbankmibs.webservice.pe.pebillqueryservice.PEBillQuery
2009-9-29 14:11:59 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cmbcpayment/webservices/peservice/}PEServiceService from class

com.myCompany.xbankmibs.webservice.pe.peserviceservice.PEService
2009-9-29 14:12:02 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cmbcpayment/webservices/peservice/}PESEServiceService from class

com.myCompany.xbankmibs.webservice.pe.peseserviceservice.PESEService
2009-9-29 14:12:08 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cmbcpayment/webservices/peservice/}PERTTServiceService from class

com.myCompany.xbankmibs.webservice.pe.perttserviceservice.PERTTService
2009-9-29 14:12:12 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cmbcpayment/webservices/peservice/}PEETGServiceService from class

com.myCompany.xbankmibs.webservice.pe.peetgserviceservice.PEETGService
2009-9-29 14:12:21 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://bosent.com/cmbcpayment/webservices/peservice/}PETradeServiceService from class

com.myCompany.xbankmibs.webservice.pe.petradeserviceservice.PETradeService
2009-9-29 14:12:26 org.apache.catalina.core.ApplicationContext log
信息: Initializing WebApplicationContext for Struts ActionServlet 'action', module ''
Hibernate:
SELECT
frontSerialNumber.ID as ID801_0_,
frontSerialNumber.STRORGNUM as STRORGNUM801_0_,
frontSerialNumber.DTTRDATE as DTTRDATE801_0_,
frontSerialNumber.LSEQ as LSEQ801_0_,
frontSerialNumber.IFLAG as IFLAG801_0_
FROM
MIBS.FRONTSERIALNUMBER frontSerialNumber
order by
frontSerialNumber.strorgnum
Hibernate:
select
transregis0_.SCENEFLOWSN as col_0_0_,
transregis0_.ADJUSTTIME as col_1_0_,
transregis0_.ADJUSTPRIORITYLEVEL as col_2_0_,
transregis0_.UPLOADTIME as col_3_0_
from
MIBS.TRANSREGISTER transregis0_
where
TransStatus=4
and transregis0_.ADJUSTPRIORITYLEVEL<>transregis0_.PRIORITYLEVEL
2009-9-29 14:13:18 org.apache.cxf.transport.servlet.CXFServlet loadSpringBus
信息: Load the bus with application context
2009-9-29 14:13:20 org.apache.cxf.bus.spring.BusApplicationContext getConfigResources
信息: No cxf.xml configuration file detected, relying on defaults.
2009-9-29 14:13:20 org.apache.cxf.transport.servlet.AbstractCXFServlet replaceDestinationFactory
信息: Servlet transport factory already registered
2009-9-29 14:13:40 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2009-9-29 14:13:40 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2009-9-29 14:13:40 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/62  config=null
2009-9-29 14:13:40 org.apache.catalina.startup.Catalina start
信息: Server startup in 718683 ms




                                            
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息