Tomcat 启动加载Resources 失败问题
问题补充说明:呼叫Java高手,牛人请帮忙回答。Tomcat启动错误日志:########################################信息: Starting Servlet Engine: Apache Tomcat/6.0.92009-11-11 15:23:03 org.apache.catalina.core.NamingContextListener addResource警告: Failed to register in JMX: javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.ExceptionInInitializerError]2009-11-11 15:23:03 org.apache.catalina.core.StandardContext start严重: Error listenerStart2009-11-11 15:23:03 org.apache.catalina.core.StandardContext start严重: Context [/web] startup failed due to previous errors########################################在Tomcat中conf下context.xml中数据源配置如下#####################################
我个人感觉应该是objectweb-dataso听孩边略就urce.jar的位置不对。你是不是把objectweb-datasource.jar放到WEB-INF/lib目录下了?这样的话Tomcat的ClassLoader无法找到org.objectweb.jndi.DataSourceFactory跟名称关系,现在的问题是"Couldnotcreateresourcefactoryinstance",所以从这找原因吧
标签:Tomcat,Resources,加载