当前位置: 代码迷 >> Web前端 >> D.D.D sample reload web.xml 出现的异常
  详细解决方案

D.D.D sample reload web.xml 出现的异常

热度:940   发布时间:2012-11-04 10:42:42.0
D.D.D sample reload web.xml 出现的错误
发生的一个错误,暂时记录下,回头偶研究

2010-9-17 2:32:43 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-808
2010-9-17 2:32:43 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2010-9-17 2:32:43 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/47  config=null
2010-9-17 2:32:43 org.apache.catalina.startup.Catalina start
信息: Server startup in 35389 ms
2010-9-17 2:32:49 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 22 in the generated java file
The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory

Stacktrace:
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:299)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:619)
2010-9-17 2:34:54 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 22 in the generated java file
The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory

Stacktrace:
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:299)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:619)
2010-9-17 2:35:32 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring FrameworkServlet 'tracking'
2010-09-17 02:35:32,406 INFO [org.springframework.web.servlet.DispatcherServlet] - FrameworkServlet 'tracking': initialization started
2010-09-17 02:35:32,406 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@57fc5f: display name [WebApplicationContext for namespace 'tracking-servlet']; startup date [Fri Sep 17 02:35:32 CST 2010]; parent: org.springframework.web.context.support.XmlWebApplicationContext@b6d990
2010-09-17 02:35:32,406 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext resource [/WEB-INF/tracking-servlet.xml]
2010-09-17 02:35:32,500 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@57fc5f]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1055191
2010-09-17 02:35:32,703 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1055191: defining beans [org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping#0,/track,trackCommandValidator]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@18aecf1
2010-09-17 02:35:33,265 INFO [org.springframework.web.servlet.DispatcherServlet] - FrameworkServlet 'tracking': initialization completed in 859 ms
2010-09-17 02:35:33,625 WARN [org.springframework.web.servlet.view.InternalResourceViewResolver] - View caching is SWITCHED OFF -- DEVELOPMENT SETTING ONLY: This can severely impair performance
2010-9-17 2:35:34 org.apache.catalina.core.ApplicationDispatcher invoke
严重: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 22 in the generated java file
The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory

Stacktrace:
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:299)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:236)
at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:257)
at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1183)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:902)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:619)
2010-9-17 2:35:34 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet tracking threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 22 in the generated java file
The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory

Stacktrace:
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:299)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:236)
at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:257)
at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1183)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:902)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:619)
2010-9-17 2:37:03 org.apache.catalina.startup.HostConfig checkResources
信息: Reloading context [/dddsample2]
2010-9-17 2:37:03 org.apache.catalina.core.ApplicationContext log
信息: Destroying Spring FrameworkServlet 'tracking'
2010-09-17 02:37:03,984 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Closing org.springframework.web.context.support.XmlWebApplicationContext@57fc5f: display name [WebApplicationContext for namespace 'tracking-servlet']; startup date [Fri Sep 17 02:35:32 CST 2010]; parent: org.springframework.web.context.support.XmlWebApplicationContext@b6d990
2010-09-17 02:37:03,984 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1055191: defining beans [org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping#0,/track,trackCommandValidator]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@18aecf1
2010-9-17 2:37:04 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext
2010-09-17 02:37:04,171 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Closing org.springframework.web.context.support.XmlWebApplicationContext@b6d990: display name [Root WebApplicationContext]; startup date [Fri Sep 17 02:32:13 CST 2010]; root of context hierarchy
2010-09-17 02:37:04,171 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@18aecf1: defining beans [internalGraphTraversalService,graphDAO,rmiGraphTraversalService,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,dataSource,sessionFactory,transactionManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,cargoRepository,handlingEventRepository,voyageRepository,locationRepository,jmsConnectionFactory,cargoHandledQueue,misdirectedCargoQueue,deliveredCargoQueue,handlingEventRegistrationAttemptQueue,rejectedRegistrationAttemptsQueue,org.springframework.jms.listener.DefaultMessageListenerContainer#0,org.springframework.jms.listener.DefaultMessageListenerContainer#1,org.springframework.jms.listener.DefaultMessageListenerContainer#2,org.springframework.jms.listener.DefaultMessageListenerContainer#3,org.springframework.jms.listener.DefaultMessageListenerContainer#4,jmsOperations,applicationEvents,cargoHandledConsumer,handlingEventRegistrationAttemptConsumer,simpleLoggingConsumer,routingService,graphTraversalService,bookingService,cargoInspectionService,handlingEventService,handlingEventFactory,cxf,org.apache.cxf.bus.spring.BusApplicationListener,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.resource.ResourceManager,org.apache.cxf.configuration.Configurer,org.apache.cxf.binding.BindingFactoryManager,org.apache.cxf.transport.DestinationFactoryManager,org.apache.cxf.transport.ConduitInitiatorManager,org.apache.cxf.wsdl.WSDLManager,org.apache.cxf.phase.PhaseManager,org.apache.cxf.workqueue.WorkQueueManager,org.apache.cxf.buslifecycle.BusLifeCycleManager,org.apache.cxf.endpoint.ServerRegistry,org.apache.cxf.endpoint.ServerLifeCycleManager,org.apache.cxf.endpoint.ClientLifeCycleManager,org.apache.cxf.transports.http.QueryHandlerRegistry,org.apache.cxf.endpoint.EndpointResolverRegistry,org.apache.cxf.headers.HeaderManager,org.apache.cxf.catalog.OASISCatalogManager,org.apache.cxf.endpoint.ServiceContractResolverRegistry,org.apache.cxf.transport.servlet.ServletTransportFactory,org.apache.cxf.binding.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransportFactory,org.apache.cxf.binding.soap.customEditorConfigurer,org.apache.cxf.jaxws.context.WebServiceContextResourceResolver,org.apache.cxf.jaxws.context.WebServiceContextImpl,jax-ws.http,handlingReportService,scheduledTask,uploadDirectoryScanner,handlingReportConsumptionSupport,timerFactory,hibernateInterceptor,bookingServiceFacade,bookingServiceFacadeTarget,org.springframework.remoting.rmi.RmiServiceExporter#0,viewResolver,messageSource,localeResolver,openSessionInViewInterceptor]; root of factory hierarchy
2010-09-17 02:37:04,171 INFO [org.springframework.remoting.rmi.RmiServiceExporter] - Unbinding RMI service 'BookingService' from registry at port '1099'
2010-09-17 02:37:04,171 INFO [org.springframework.scheduling.timer.TimerFactoryBean] - Cancelling Timer
2010-09-17 02:37:04,953 INFO [org.apache.activemq.broker.TransportConnector] - Connector vm://localhost Stopped
2010-09-17 02:37:04,953 INFO [org.apache.activemq.broker.BrokerService] - ActiveMQ Message Broker (localhost, ID:ly-2031-1284661950703-0:0) is shutting down
2010-09-17 02:37:04,968 INFO [org.apache.activemq.broker.BrokerService] - ActiveMQ JMS Message Broker (localhost, ID:ly-2031-1284661950703-0:0) stopped
2010-09-17 02:37:04,984 INFO [org.springframework.orm.hibernate3.LocalSessionFactoryBean] - Closing Hibernate SessionFactory
2010-09-17 02:37:04,984 INFO [org.hibernate.impl.SessionFactoryImpl] - closing
2010-09-17 02:37:04,984 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] - Running hbm2ddl schema export
2010-09-17 02:37:04,984 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] - exporting generated schema to database
2010-09-17 02:37:04,984 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] - schema export complete
2010-09-17 02:37:04,984 INFO [org.springframework.remoting.rmi.RmiServiceExporter] - Unbinding RMI service 'PathFinder' from registry at port '1099'
2010-9-17 2:37:04 org.apache.catalina.core.ApplicationContext log
信息: Shutting down log4j
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
2010-9-17 2:37:08 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(D:\apache-tomcat-6.0.20\webapps\dddsample2\WEB-INF\lib\geronimo-servlet_2.5_spec-1.2.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
2010-9-17 2:37:08 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(D:\apache-tomcat-6.0.20\webapps\dddsample2\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
2010-9-17 2:37:10 org.apache.catalina.core.StandardContext addApplicationListener
信息: The listener "com.sun.faces.util.ReflectionUtils$ReflectionUtilsListener" is already configured for this context. The duplicate definition has been ignored.
2010-9-17 2:37:10 org.apache.catalina.core.StandardContext addApplicationListener
信息: The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.
2010-9-17 2:37:10 org.apache.catalina.core.StandardContext addApplicationListener
信息: The listener "com.sun.faces.application.WebappLifecycleListener" is already configured for this context. The duplicate definition has been ignored.
2010-9-17 2:37:10 org.apache.catalina.core.ApplicationContext log
信息: Set web app root system property: 'webapp.root' = [D:\apache-tomcat-6.0.20\webapps\dddsample2\]
2010-9-17 2:37:10 org.apache.catalina.core.ApplicationContext log
信息: Initializing log4j from [classpath:log4j.properties]
2010-9-17 2:37:11 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
2010-09-17 02:37:11,468 INFO [org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization started
2010-09-17 02:37:11,718 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@1fc9ad0: display name [Root WebApplicationContext]; startup date [Fri Sep 17 02:37:11 CST 2010]; root of context hierarchy
2010-09-17 02:37:12,125 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [com/pathfinder/internal/applicationContext.xml]
2010-09-17 02:37:12,375 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [context-infrastructure.xml]
2010-09-17 02:37:12,390 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [context-infrastructure-persistence.xml]
2010-09-17 02:37:12,828 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [context-infrastructure-messaging.xml]
2010-09-17 02:37:16,250 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [context-application.xml]
2010-09-17 02:37:16,265 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [context-domain.xml]
2010-09-17 02:37:16,296 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [context-interfaces.xml]
2010-09-17 02:37:16,359 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [META-INF/cxf/cxf.xml]
2010-09-17 02:37:16,406 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-servlet.xml]
2010-09-17 02:37:16,437 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-soap.xml]
2010-09-17 02:37:16,453 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-extension-jaxws.xml]
2010-09-17 02:37:16,687 INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@1fc9ad0]: org.springframework.beans.factory.support.DefaultListableBeanFactory@134b28b
2010-09-17 02:37:18,453 INFO [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] - Loading properties file from class path resource [jdbc.properties]
2010-09-17 02:37:18,968 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@134b28b: defining beans [internalGraphTraversalService,graphDAO,rmiGraphTraversalService,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,dataSource,sessionFactory,transactionManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,cargoRepository,handlingEventRepository,voyageRepository,locationRepository,jmsConnectionFactory,cargoHandledQueue,misdirectedCargoQueue,deliveredCargoQueue,handlingEventRegistrationAttemptQueue,rejectedRegistrationAttemptsQueue,org.springframework.jms.listener.DefaultMessageListenerContainer#0,org.springframework.jms.listener.DefaultMessageListenerContainer#1,org.springframework.jms.listener.DefaultMessageListenerContainer#2,org.springframework.jms.listener.DefaultMessageListenerContainer#3,org.springframework.jms.listener.DefaultMessageListenerContainer#4,jmsOperations,applicationEvents,cargoHandledConsumer,handlingEventRegistrationAttemptConsumer,simpleLoggingConsumer,routingService,graphTraversalService,bookingService,cargoInspectionService,handlingEventService,handlingEventFactory,cxf,org.apache.cxf.bus.spring.BusApplicationListener,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.resource.ResourceManager,org.apache.cxf.configuration.Configurer,org.apache.cxf.binding.BindingFactoryManager,org.apache.cxf.transport.DestinationFactoryManager,org.apache.cxf.transport.ConduitInitiatorManager,org.apache.cxf.wsdl.WSDLManager,org.apache.cxf.phase.PhaseManager,org.apache.cxf.workqueue.WorkQueueManager,org.apache.cxf.buslifecycle.BusLifeCycleManager,org.apache.cxf.endpoint.ServerRegistry,org.apache.cxf.endpoint.ServerLifeCycleManager,org.apache.cxf.endpoint.ClientLifeCycleManager,org.apache.cxf.transports.http.QueryHandlerRegistry,org.apache.cxf.endpoint.EndpointResolverRegistry,org.apache.cxf.headers.HeaderManager,org.apache.cxf.catalog.OASISCatalogManager,org.apache.cxf.endpoint.ServiceContractResolverRegistry,org.apache.cxf.transport.servlet.ServletTransportFactory,org.apache.cxf.binding.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransportFactory,org.apache.cxf.binding.soap.customEditorConfigurer,org.apache.cxf.jaxws.context.WebServiceContextResourceResolver,org.apache.cxf.jaxws.context.WebServiceContextImpl,jax-ws.http,handlingReportService,scheduledTask,uploadDirectoryScanner,handlingReportConsumptionSupport,timerFactory,hibernateInterceptor,bookingServiceFacade,bookingServiceFacadeTarget,org.springframework.remoting.rmi.RmiServiceExporter#0,viewResolver,messageSource,localeResolver,openSessionInViewInterceptor]; root of factory hierarchy
2010-09-17 02:37:19,078 INFO [org.springframework.remoting.rmi.RmiServiceExporter] - Looking for RMI registry at port '1099'
2010-09-17 02:37:19,078 INFO [org.springframework.remoting.rmi.RmiServiceExporter] - Binding service 'PathFinder' to RMI registry: RegistryImpl_Stub[UnicastRef [liveRef: [endpoint:[169.254.13.6:1099](remote),objID:[0:0:0, 0]]]]
2010-09-17 02:37:19,500 INFO [org.hibernate.cfg.Environment] - Hibernate 3.2.6
2010-09-17 02:37:19,515 INFO [org.hibernate.cfg.Environment] - loaded properties from resource hibernate.properties: {hibernate.bytecode.use_reflection_optimizer=false, hibernate.format_sql=true, hibernate.hbm2ddl.auto=create-drop}
2010-09-17 02:37:19,531 INFO [org.hibernate.cfg.Environment] - Bytecode provider name : cglib
2010-09-17 02:37:19,562 INFO [org.hibernate.cfg.Environment] - using JDK 1.4 java.sql.Timestamp handling
2010-09-17 02:37:20,015 INFO [org.hibernate.cfg.Configuration] - configuring from url: file:/D:/apache-tomcat-6.0.20/webapps/dddsample2/WEB-INF/classes/hibernate.cfg.xml
2010-09-17 02:37:20,375 INFO [org.hibernate.cfg.Configuration] - Reading mappings from resource : se/citerus/dddsample/infrastructure/persistence/hibernate/Cargo.hbm.xml
2010-09-17 02:37:20,687 INFO [org.hibernate.cfg.HbmBinder] - Mapping class: se.citerus.dddsample.domain.model.cargo.Cargo -> Cargo
2010-09-17 02:37:21,828 INFO [org.hibernate.cfg.Configuration] - Reading mappings from resource : se/citerus/dddsample/infrastructure/persistence/hibernate/Voyage.hbm.xml
2010-09-17 02:37:21,859 INFO [org.hibernate.cfg.HbmBinder] - Mapping class: se.citerus.dddsample.domain.model.voyage.Voyage -> Voyage
2010-09-17 02:37:21,921 INFO [org.hibernate.cfg.Configuration] - Reading mappings from resource : se/citerus/dddsample/infrastructure/persistence/hibernate/Leg.hbm.xml
2010-09-17 02:37:21,937 INFO [org.hibernate.cfg.HbmBinder] - Mapping class: se.citerus.dddsample.domain.model.cargo.Leg -> Leg
2010-09-17 02:37:21,968 INFO [org.hibernate.cfg.Configuration] - Reading mappings from resource : se/citerus/dddsample/infrastructure/persistence/hibernate/Location.hbm.xml
2010-09-17 02:37:22,000 INFO [org.hibernate.cfg.HbmBinder] - Mapping class: se.citerus.dddsample.domain.model.location.Location -> Location
2010-09-17 02:37:22,046 INFO [org.hibernate.cfg.Configuration] - Reading mappings from resource : se/citerus/dddsample/infrastructure/persistence/hibernate/CarrierMovement.hbm.xml
2010-09-17 02:37:22,078 INFO [org.hibernate.cfg.HbmBinder] - Mapping class: se.citerus.dddsample.domain.model.voyage.CarrierMovement -> CarrierMovement
2010-09-17 02:37:22,109 INFO [org.hibernate.cfg.Configuration] - Reading mappings from resource : se/citerus/dddsample/infrastructure/persistence/hibernate/HandlingEvent.hbm.xml
2010-09-17 02:37:22,140 INFO [org.hibernate.cfg.HbmBinder] - Mapping class: se.citerus.dddsample.domain.model.handling.HandlingEvent -> HandlingEvent
2010-09-17 02:37:22,140 INFO [org.hibernate.cfg.Configuration] - Configured SessionFactory: null
2010-09-17 02:37:22,171 INFO [org.hibernate.cfg.HbmBinder] - Mapping collection: se.citerus.dddsample.domain.model.cargo.Cargo.itinerary.legs -> Leg
2010-09-17 02:37:22,171 INFO [org.hibernate.cfg.HbmBinder] - Mapping collection: se.citerus.dddsample.domain.model.voyage.Voyage.schedule.carrierMovements -> CarrierMovement
2010-09-17 02:37:22,171 INFO [org.springframework.orm.hibernate3.LocalSessionFactoryBean] - Building new Hibernate SessionFactory
2010-09-17 02:37:22,515 INFO [org.hibernate.connection.ConnectionProviderFactory] - Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
2010-09-17 02:37:23,328 INFO [org.hibernate.cfg.SettingsFactory] - RDBMS: HSQL Database Engine, version: 1.8.0
2010-09-17 02:37:23,328 INFO [org.hibernate.cfg.SettingsFactory] - JDBC driver: HSQL Database Engine Driver, version: 1.8.0
2010-09-17 02:37:23,453 INFO [org.hibernate.dialect.Dialect] - Using dialect: org.hibernate.dialect.HSQLDialect
2010-09-17 02:37:23,484 INFO [org.hibernate.transaction.TransactionFactoryFactory] - Transaction strategy: org.springframework.orm.hibernate3.SpringTransactionFactory
2010-09-17 02:37:23,500 INFO [org.hibernate.transaction.TransactionManagerLookupFactory] - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
2010-09-17 02:37:23,500 INFO [org.hibernate.cfg.SettingsFactory] - Automatic flush during beforeCompletion(): disabled
2010-09-17 02:37:23,500 INFO [org.hibernate.cfg.SettingsFactory] - Automatic session close at end of transaction: disabled
2010-09-17 02:37:23,500 INFO [org.hibernate.cfg.SettingsFactory] - JDBC batch size: 15
2010-09-17 02:37:23,500 INFO [org.hibernate.cfg.SettingsFactory] - JDBC batch updates for versioned data: disabled
2010-09-17 02:37:23,500 INFO [org.hibernate.cfg.SettingsFactory] - Scrollable result sets: enabled
2010-09-17 02:37:23,500 INFO [org.hibernate.cfg.SettingsFactory] - JDBC3 getGeneratedKeys(): disabled
2010-09-17 02:37:23,500 INFO [org.hibernate.cfg.SettingsFactory] - Connection release mode: auto
2010-09-17 02:37:23,500 INFO [org.hibernate.cfg.SettingsFactory] - Default batch fetch size: 1
2010-09-17 02:37:23,500 INFO [org.hibernate.cfg.SettingsFactory] - Generate SQL with comments: disabled
2010-09-17 02:37:23,500 INFO [org.hibernate.cfg.SettingsFactory] - Order SQL updates by primary key: disabled
2010-09-17 02:37:23,500 INFO [org.hibernate.cfg.SettingsFactory] - Order SQL inserts for batching: disabled
2010-09-17 02:37:23,500 INFO [org.hibernate.cfg.SettingsFactory] - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
2010-09-17 02:37:23,531 INFO [org.hibernate.hql.ast.ASTQueryTranslatorFactory] - Using ASTQueryTranslatorFactory
2010-09-17 02:37:23,531 INFO [org.hibernate.cfg.SettingsFactory] - Query language substitutions: {}
2010-09-17 02:37:23,531 INFO [org.hibernate.cfg.SettingsFactory] - JPA-QL strict compliance: disabled
2010-09-17 02:37:23,531 INFO [org.hibernate.cfg.SettingsFactory] - Second-level cache: enabled
2010-09-17 02:37:23,531 INFO [org.hibernate.cfg.SettingsFactory] - Query cache: disabled
2010-09-17 02:37:23,531 INFO [org.hibernate.cfg.SettingsFactory] - Cache provider: org.hibernate.cache.NoCacheProvider
2010-09-17 02:37:23,531 INFO [org.hibernate.cfg.SettingsFactory] - Optimize cache for minimal puts: disabled
2010-09-17 02:37:23,531 INFO [org.hibernate.cfg.SettingsFactory] - Structured second-level cache entries: disabled
2010-09-17 02:37:23,562 INFO [org.hibernate.cfg.SettingsFactory] - Statistics: disabled
2010-09-17 02:37:23,562 INFO [org.hibernate.cfg.SettingsFactory] - Deleted entity synthetic identifier rollback: disabled
2010-09-17 02:37:23,562 INFO [org.hibernate.cfg.SettingsFactory] - Default entity-mode: pojo
2010-09-17 02:37:23,562 INFO [org.hibernate.cfg.SettingsFactory] - Named query checking : enabled
2010-09-17 02:37:23,734 INFO [org.hibernate.impl.SessionFactoryImpl] - building session factory
2010-09-17 02:37:25,515 INFO [org.hibernate.impl.SessionFactoryObjectFactory] - Not binding factory to JNDI, no JNDI name configured
2010-09-17 02:37:25,546 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] - Running hbm2ddl schema export
2010-09-17 02:37:25,546 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] - exporting generated schema to database
2010-09-17 02:37:25,625 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table HandlingEvent add constraint voyage_fk foreign key (voyage_id) references Voyage
2010-09-17 02:37:25,625 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] - Constraint already exists: VOYAGE_FK in statement [alter table HandlingEvent add constraint voyage_fk foreign key (voyage_id) references Voyage]
2010-09-17 02:37:25,625 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table Leg add constraint voyage_fk foreign key (voyage_id) references Voyage
2010-09-17 02:37:25,625 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] - Constraint already exists: VOYAGE_FK in statement [alter table Leg add constraint voyage_fk foreign key (voyage_id) references Voyage]
2010-09-17 02:37:25,625 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] - schema export complete
2010-09-17 02:37:25,984 INFO [org.springframework.orm.hibernate3.HibernateTransactionManager] - Using DataSource [org.apache.commons.dbcp.BasicDataSource@17a1389] of Hibernate SessionFactory for HibernateTransactionManager
2010-09-17 02:37:27,093 INFO [org.apache.activemq.broker.BrokerService] - Using Persistence Adapter: MemoryPersistenceAdapter
2010-09-17 02:37:27,109 INFO [org.apache.activemq.broker.BrokerService] - ActiveMQ null JMS Message Broker (localhost) is starting
2010-09-17 02:37:27,109 INFO [org.apache.activemq.broker.BrokerService] - For help or more information please see: http://activemq.apache.org/
2010-09-17 02:37:27,578 INFO [org.apache.activemq.broker.BrokerService] - ActiveMQ JMS Message Broker (localhost, ID:ly-2065-1284662247187-0:0) started
2010-09-17 02:37:27,609 INFO [org.apache.activemq.broker.TransportConnector] - Connector vm://localhost Started
2010-09-17 02:37:28,859 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@134b28b: defining beans [internalGraphTraversalService,graphDAO,rmiGraphTraversalService,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,dataSource,sessionFactory,transactionManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,cargoRepository,handlingEventRepository,voyageRepository,locationRepository,jmsConnectionFactory,cargoHandledQueue,misdirectedCargoQueue,deliveredCargoQueue,handlingEventRegistrationAttemptQueue,rejectedRegistrationAttemptsQueue,org.springframework.jms.listener.DefaultMessageListenerContainer#0,org.springframework.jms.listener.DefaultMessageListenerContainer#1,org.springframework.jms.listener.DefaultMessageListenerContainer#2,org.springframework.jms.listener.DefaultMessageListenerContainer#3,org.springframework.jms.listener.DefaultMessageListenerContainer#4,jmsOperations,applicationEvents,cargoHandledConsumer,handlingEventRegistrationAttemptConsumer,simpleLoggingConsumer,routingService,graphTraversalService,bookingService,cargoInspectionService,handlingEventService,handlingEventFactory,cxf,org.apache.cxf.bus.spring.BusApplicationListener,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.resource.ResourceManager,org.apache.cxf.configuration.Configurer,org.apache.cxf.binding.BindingFactoryManager,org.apache.cxf.transport.DestinationFactoryManager,org.apache.cxf.transport.ConduitInitiatorManager,org.apache.cxf.wsdl.WSDLManager,org.apache.cxf.phase.PhaseManager,org.apache.cxf.workqueue.WorkQueueManager,org.apache.cxf.buslifecycle.BusLifeCycleManager,org.apache.cxf.endpoint.ServerRegistry,org.apache.cxf.endpoint.ServerLifeCycleManager,org.apache.cxf.endpoint.ClientLifeCycleManager,org.apache.cxf.transports.http.QueryHandlerRegistry,org.apache.cxf.endpoint.EndpointResolverRegistry,org.apache.cxf.headers.HeaderManager,org.apache.cxf.catalog.OASISCatalogManager,org.apache.cxf.endpoint.ServiceContractResolverRegistry,org.apache.cxf.transport.servlet.ServletTransportFactory,org.apache.cxf.binding.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransportFactory,org.apache.cxf.binding.soap.customEditorConfigurer,org.apache.cxf.jaxws.context.WebServiceContextResourceResolver,org.apache.cxf.jaxws.context.WebServiceContextImpl,jax-ws.http,handlingReportService,scheduledTask,uploadDirectoryScanner,handlingReportConsumptionSupport,timerFactory,hibernateInterceptor,bookingServiceFacade,bookingServiceFacadeTarget,org.springframework.remoting.rmi.RmiServiceExporter#0,viewResolver,messageSource,localeResolver,openSessionInViewInterceptor]; root of factory hierarchy
2010-09-17 02:37:32,062 INFO [org.apache.activemq.broker.TransportConnector] - Connector vm://localhost Stopped
2010-09-17 02:37:32,062 INFO [org.apache.activemq.broker.BrokerService] - ActiveMQ Message Broker (localhost, ID:ly-2065-1284662247187-0:0) is shutting down
2010-09-17 02:37:32,109 INFO [org.apache.activemq.broker.BrokerService] - ActiveMQ JMS Message Broker (localhost, ID:ly-2065-1284662247187-0:0) stopped
2010-09-17 02:37:32,125 INFO [org.springframework.orm.hibernate3.LocalSessionFactoryBean] - Closing Hibernate SessionFactory
2010-09-17 02:37:32,125 INFO [org.hibernate.impl.SessionFactoryImpl] - closing
2010-09-17 02:37:32,125 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] - Running hbm2ddl schema export
2010-09-17 02:37:32,171 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] - exporting generated schema to database
2010-09-17 02:37:32,187 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] - schema export complete
2010-09-17 02:37:32,187 INFO [org.springframework.remoting.rmi.RmiServiceExporter] - Unbinding RMI service 'PathFinder' from registry at port '1099'
2010-09-17 02:37:32,203 ERROR [org.springframework.web.context.ContextLoader] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'graphTraversalService' defined in class path resource [context-infrastructure.xml]: Invocation of init method failed; nested exception is org.springframework.remoting.RemoteLookupFailureException: Lookup of RMI stub failed; nested exception is java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.io.EOFException
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1173)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1271)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:296)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.springframework.remoting.RemoteLookupFailureException: Lookup of RMI stub failed; nested exception is java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.io.EOFException
at org.springframework.remoting.rmi.RmiClientInterceptor.lookupStub(RmiClientInterceptor.java:214)
at org.springframework.remoting.rmi.RmiClientInterceptor.prepare(RmiClientInterceptor.java:146)
at org.springframework.remoting.rmi.RmiClientInterceptor.afterPropertiesSet(RmiClientInterceptor.java:134)
at org.springframework.remoting.rmi.RmiProxyFactoryBean.afterPropertiesSet(RmiProxyFactoryBean.java:67)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
... 26 more
Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.io.EOFException
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Naming.java:84)
at org.springframework.remoting.rmi.RmiClientInterceptor.lookupStub(RmiClientInterceptor.java:199)
... 31 more
Caused by: java.io.EOFException
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2554)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at sun.rmi.server.MarshalInputStream.readLocation(MarshalInputStream.java:285)
at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:228)
at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1531)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1493)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
... 34 more
2010-9-17 2:37:32 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'graphTraversalService' defined in class path resource [context-infrastructure.xml]: Invocation of init method failed; nested exception is org.springframework.remoting.RemoteLookupFailureException: Lookup of RMI stub failed; nested exception is java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.io.EOFException
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1173)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1271)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:296)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.springframework.remoting.RemoteLookupFailureException: Lookup of RMI stub failed; nested exception is java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.io.EOFException
at org.springframework.remoting.rmi.RmiClientInterceptor.lookupStub(RmiClientInterceptor.java:214)
at org.springframework.remoting.rmi.RmiClientInterceptor.prepare(RmiClientInterceptor.java:146)
at org.springframework.remoting.rmi.RmiClientInterceptor.afterPropertiesSet(RmiClientInterceptor.java:134)
at org.springframework.remoting.rmi.RmiProxyFactoryBean.afterPropertiesSet(RmiProxyFactoryBean.java:67)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
... 26 more
Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.io.EOFException
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Naming.java:84)
at org.springframework.remoting.rmi.RmiClientInterceptor.lookupStub(RmiClientInterceptor.java:199)
... 31 more
Caused by: java.io.EOFException
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2554)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at sun.rmi.server.MarshalInputStream.readLocation(MarshalInputStream.java:285)
at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:228)
at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1531)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1493)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
... 34 more
2010-9-17 2:37:32 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class se.citerus.dddsample.application.util.SampleDataGenerator
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'graphTraversalService' defined in class path resource [context-infrastructure.xml]: Invocation of init method failed; nested exception is org.springframework.remoting.RemoteLookupFailureException: Lookup of RMI stub failed; nested exception is java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.io.EOFException
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1173)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1271)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:296)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.springframework.remoting.RemoteLookupFailureException: Lookup of RMI stub failed; nested exception is java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.io.EOFException
at org.springframework.remoting.rmi.RmiClientInterceptor.lookupStub(RmiClientInterceptor.java:214)
at org.springframework.remoting.rmi.RmiClientInterceptor.prepare(RmiClientInterceptor.java:146)
at org.springframework.remoting.rmi.RmiClientInterceptor.afterPropertiesSet(RmiClientInterceptor.java:134)
at org.springframework.remoting.rmi.RmiProxyFactoryBean.afterPropertiesSet(RmiProxyFactoryBean.java:67)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
... 26 more
Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.io.EOFException
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Naming.java:84)
at org.springframework.remoting.rmi.RmiClientInterceptor.lookupStub(RmiClientInterceptor.java:199)
... 31 more
Caused by: java.io.EOFException
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2554)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at sun.rmi.server.MarshalInputStream.readLocation(MarshalInputStream.java:285)
at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:228)
at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1531)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1493)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
... 34 more
2010-9-17 2:37:32 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
2010-9-17 2:37:32 org.apache.catalina.core.StandardContext start
严重: Context [/dddsample2] startup failed due to previous errors
2010-9-17 2:37:32 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext
2010-9-17 2:37:32 org.apache.catalina.core.ApplicationContext log
信息: Shutting down log4j
  相关解决方案