使用resin碰到的一个非常奇怪的异常...寻求大家的意见!!!

    先简单说一下环境
    因为项目的需要,web服务器需要使用resin,自己下了一个resin集成到MyEclipse里面,然后用MyEclipse启动这个resin,系统很正常,但是今天测试的时候直接在硬盘里双击httpd.exe启动resin的时候出现了下面这个异常...
开始以为是哪里改了一下忘了重新部署...结果我打开MyEclipse,用MyEclipse启动resin却是正常的!很是奇怪
     Google了一下,有很多报同样的错误的,但是都没有一个解决方案...还请大家帮忙看看这个异常!!!
    然后我又用tomcat测试了一下,发现都没问题。不论是单独启动还是集成到MyEclipse里面启动都是正常的。只要是双击httpd.exe启动resin就会报下面的错误!

javax.servlet.ServletException: java.lang.IllegalArgumentException: Resource
path [E:\Java\jdk1.6.0_07\jre\lib\ext\meta-index] does not denote a directory
at com.caucho.server.dispatch.FilterManager.createFilter(FilterManager.java:174)
at com.caucho.server.dispatch.FilterMapper.buildDispatchChain(FilterMapper.java:166)
at com.caucho.server.webapp.WebApp.buildInvocation(WebApp.java:2067)
at com.caucho.server.webapp.WebAppContainer.buildInvocation(WebAppContainer.java:716)
at com.caucho.server.host.Host.buildInvocation(Host.java:489)
at com.caucho.server.host.HostContainer.buildInvocation(HostContainer.java:314)
at com.caucho.server.cluster.Server.buildInvocation(Server.java:1009)
at com.caucho.server.dispatch.DispatchServer.buildInvocation(DispatchServer.java:209)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:262)
at com.caucho.server.port.TcpConnection.run(TcpConnection.java:678)
at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721)
at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:643)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.IllegalArgumentException: Resource path [E:\Java\jdk1.6.0_07\jre\lib\ext\meta-index]
does not denote a directory
at org.springframework.core.io.support.PathMatchingResourcePatternResolver.retrieveMatchingFiles(PathMatchingResourcePatternResolver.java:563)
at org.springframework.core.io.support.PathMatchingResourcePatternResolver.doFindMatchingFileSystemResources(PathMatchingResourcePatternResolver.java:543)
at org.springframework.core.io.support.PathMatchingResourcePatternResolver.doFindPathMatchingFileResources(PathMatchingResourcePatternResolver.java:526)
at org.springframework.web.context.support.ServletContextResourcePatternResolver.doFindPathMatchingFileResources(ServletContextResourcePatternResolver.java:80)
at org.springframework.core.io.support.PathMatchingResourcePatternResolver.findPathMatchingResources(PathMatchingResourcePatternResolver.java:342)
at org.springframework.core.io.support.PathMatchingResourcePatternResolver.getResources(PathMatchingResourcePatternResolver.java:263)
at org.springframework.context.support.AbstractApplicationContext.getResources(AbstractApplicationContext.java:1019)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:177)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:92)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:423)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:353)
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 com.caucho.server.webapp.WebApp.start(WebApp.java:1864)
at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667)
at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549)
at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160)
at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659)
at com.caucho.server.host.Host.start(Host.java:450)
at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667)
at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549)
at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160)
at com.caucho.server.host.HostContainer.start(HostContainer.java:484)
at com.caucho.server.cluster.Server.start(Server.java:1315)
at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710)
at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542)
at com.caucho.server.resin.Resin.start(Resin.java:703)
at com.caucho.server.resin.Resin.initMain(Resin.java:1157)
at com.caucho.server.resin.Resin.main(Resin.java:1360)

你可能感兴趣的:(resin tomcat)