当前位置: 代码迷 >> 应用服务器 >> tomcat没法启动,在线急等
  详细解决方案

tomcat没法启动,在线急等

热度:2998   发布时间:2013-02-26 00:00:00.0
tomcat无法启动,在线急等
我原来用的是zip版的tomcat,现在要求开机启动tomcat,还不能出现运行的那个框,所以下载了一个安装版的tomcat,但conf下没有Catalina文件夹,我的数据源是在Catalina文件夹下的配置文件中配置的。新建了一个文件夹,放上配置文件,但发现tomcat启动出错,
警告: A docBase D:\soft_stup\tomcat6.0\Tomcat 6.0\webapps\fileManagerSys inside the host appBase has been specified, and
 will be ignored
2012-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 is
java.lang.ClassNotFoundException: org.logicalcobwebs.proxool.ProxoolDataSource]
0    [Thread-1] ERROR org.springframework.web.context.ContextLoader  - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource': Invocation of init
method failed; nested exception is javax.naming.NamingException: Could not load resource factory class [Root exception i
s java.lang.ClassNotFoundException: org.logicalcobwebs.proxool.ProxoolDataSource]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireC
apableBeanFactory.java:1338)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCap
ableBeanFactory.java:473)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBea
nFactory.java:409)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapab
leBeanFactory.java:380)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegis
try.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(DefaultListable
BeanFactory.java:423)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplic
ationContext.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)
  相关解决方案