![]() ![]() I also followed the guide's command to check if tomcat7 is running and listening to port 8080: $ sudo fuser -v -n tcp 8080 ![]() I can confirm that my security group is correct (I've previously run Jetty from port 8080 with this same security group). I have installed all of the Tomcat7 packages (see step #5 in the article linked at start of this post) and so I should be seeing the default Tomcat home page (I'd even be happy with a 400 response code!) When I started up the server and try to connect to my machine's address on port 8080, I get a blank page or the request simply hangs. OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)Īnd I've installed Tomcat7. I have installed Java 7 on the machine: $/bin/java -version I am running an AWS EC2 instance with the Amazon Linux AMI (Amazon Machine Image): Amazon Linux AMI 2014.03.2 (HVM) - ami-d13845e1 ![]() 严重: Exception sending context initialized event to listener instance of class cn.itcast.oa.listener.initServletContextListenerĪt .ContextLoader.initWebApplicationContext(ContextLoader.I have followed the installation guide available here: BeanCreationException: Error creating bean with name 'installer': Injection of resource fields failed nested exception is .BeanCreationException: Error creating bean with name 'sessionFactory' defined in file : Invocation of init method failed nested exception is : Could not parse configuration: file:/D:/apache-tomcat-7.0.55-windows-圆4/apache-tomcat-7.0.55/webapps/oa/WEB-INF/classes/Īt .CommonAnnotationBeanPostProcessor.postProcessAfterInstantiation(CommonAnnotationBeanPostProcessor.java:292)Īt .(AbstractAutowireCapableBeanFactory.java:959)Īt .(AbstractAutowireCapableBeanFactory.java:472)Īt .support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)Īt (Native Method)Īt .(AbstractAutowireCapableBeanFactory.java:380)Īt .support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)Īt .(DefaultSingletonBeanRegistry.java:222)Īt .(AbstractBeanFactory.java:261)Īt .(AbstractBeanFactory.java:185)Īt .(AbstractBeanFactory.java:164)Īt .(DefaultListableBeanFactory.java:429)Īt .AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)Īt .AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)Īt .ContextLoader.createWebApplicationContext(ContextLoader.java:255)Īt .ContextLoader.initWebApplicationContext(ContextLoader.java:199)Īt .ntextInitialized(ContextLoaderListener.java:45)Īt .StandardContext.listenerStart(StandardContext.java:4992)Īt .StandardContext.startInternal(StandardContext.java:5490)Īt .LifecycleBase.start(LifecycleBase.java:150)Īt .ContainerBase.addChildInternal(ContainerBase.java:901)Īt .ContainerBase.addChild(ContainerBase.java:877)Īt .StandardHost.addChild(StandardHost.java:649)Īt .ployDirectory(HostConfig.java:1247)Īt .HostConfig$n(HostConfig.java:1898)Īt $RunnableAdapter.call(Unknown Source)Īt $Sync.innerRun(Unknown Source)Īt .run(Unknown Source)Īt $nTask(Unknown Source)Īt $n(Unknown Source)Ĭaused by: .BeanCreationException: Error creating bean with name 'sessionFactory' defined in file : Invocation of init method failed nested exception is : Could not parse configuration: file:/D:/apache-tomcat-7.0.55-windows-圆4/apache-tomcat-7.0.55/webapps/oa/WEB-INF/classes/Īt .(AbstractAutowireCapableBeanFactory.java:1338)Īt .(AbstractAutowireCapableBeanFactory.java:473)Īt .(AbstractBeanFactory.java:168)Īt .towireResource(CommonAnnotationBeanPostProcessor.java:435)Īt .CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:409)Īt .CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:537)Īt .annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:180)Īt .(InjectionMetadata.java:105)Īt .CommonAnnotationBeanPostProcessor.postProcessAfterInstantiation(CommonAnnotationBeanPostProcessor.java:289)Ĭaused by: : Could not parse configuration: file:/D:/apache-tomcat-7.0.55-windows-圆4/apache-tomcat-7.0.55/webapps/oa/WEB-INF/classes/Īt .doConfigure(Configuration.java:1528)Īt .configure(Configuration.java:1477)Īt 3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:601)Īt 3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)Īt .(AbstractAutowireCapableBeanFactory.java:1369)Īt .(AbstractAutowireCapableBeanFactory.java:1335)Ĭaused by: : Nested exception: at .SAXReader.read(SAXReader.java:484)Īt .doConfigure(Configuration.java:1518) 严重: Exception sending context initialized event to listener instance of class .ContextLoaderListener
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |