首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > 应用服务器 >

tomcat无法启动,在线急等解决办法

2013-09-11 
tomcat无法启动,在线急等我原来用的是zip版的tomcat,现在要求开机启动tomcat,还不能出现运行的那个框,所以

tomcat无法启动,在线急等
我原来用的是zip版的tomcat,现在要求开机启动tomcat,还不能出现运行的那个框,所以下载了一个安装版的tomcat,但conf下没有Catalina文件夹,我的数据源是在Catalina文件夹下的配置文件中配置的。新建了一个文件夹,放上配置文件,但发现tomcat启动出错,

Java code
警告: A docBase D:\soft_stup\tomcat6.0\Tomcat 6.0\webapps\fileManagerSys inside the host appBase has been specified, and will be ignored2012-2-25 11:44:23 org.apache.catalina.core.NamingContextListener addResource警告: Failed to register in JMX: javax.naming.NamingException: Could not load resource factory class [Root exception isjava.lang.ClassNotFoundException: org.logicalcobwebs.proxool.ProxoolDataSource]0    [Thread-1] ERROR org.springframework.web.context.ContextLoader  - Context initialization failedorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource': Invocation of initmethod failed; nested exception is javax.naming.NamingException: Could not load resource factory class [Root exception is java.lang.ClassNotFoundException: org.logicalcobwebs.proxool.ProxoolDataSource]        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:3843)        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:627)        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)        at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)        at org.apache.catalina.core.StandardService.start(StandardService.java:516)        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)        at org.apache.catalina.startup.Catalina.start(Catalina.java:578)        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)        at java.lang.reflect.Method.invoke(Method.java:597)        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)Caused by: javax.naming.NamingException: Could not load resource factory class [Root exception is java.lang.ClassNotFoundException: org.logicalcobwebs.proxool.ProxoolDataSource]        at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:81)        at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)        at org.apache.naming.NamingContext.lookup(NamingContext.java:793)        at org.apache.naming.NamingContext.lookup(NamingContext.java:140)        at org.apache.naming.NamingContext.lookup(NamingContext.java:781)        at org.apache.naming.NamingContext.lookup(NamingContext.java:140)        at org.apache.naming.NamingContext.lookup(NamingContext.java:781)        at org.apache.naming.NamingContext.lookup(NamingContext.java:153)        at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)        at javax.naming.InitialContext.lookup(InitialContext.java:392)        at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:155)        at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:88)        at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:153)        at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:178)        at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:95)        at org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:105)        at org.springframework.jndi.JndiObjectFactoryBean.lookupWithFallback(JndiObjectFactoryBean.java:200)        at org.springframework.jndi.JndiObjectFactoryBean.afterPropertiesSet(JndiObjectFactoryBean.java:186)        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)        ... 39 moreCaused by: java.lang.ClassNotFoundException: org.logicalcobwebs.proxool.ProxoolDataSource        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)        at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:79)        ... 58 more2012-2-25 11:44:24 org.apache.catalina.core.StandardContext start严重: Error listenerStart 



[解决办法]
server.xml里面的指定了 路径 D:\soft_stup\tomcat6.0\Tomcat 6.0\webapps\fileManagerSys 吧,这个是重复的,放在webapps下,不需要再次自己指定
我的异常网推荐解决方案:org.springframework.beans.factory.BeanCreationException:,http://www.myexception.cn/j2ee/10759.html

热点排行