Tomcat中的war部署错误

时间:2013-11-14 14:28:53

标签: apache tomcat war

当我尝试部署战争(apache airavata-registry.war)时,我得到如下所示的错误。 可能是什么原因?

2013年11月14日下午7:41:19 org.apache.catalina.core.ApplicationContext log 信息:HTMLManager:list:列出虚拟主机'localhost'的上下文 2013年11月14日下午7:41:32 org.apache.catalina.core.ApplicationContext日志 信息:HTMLManager:开始:启动Web应用程序'/ airavata' 2013年11月14日下午7:41:35 org.apache.catalina.core.StandardContext listenerStart SEVERE:将上下文初始化事件发送到类org.apache.airavata.credential.store.servlet.CredentialBootstrapper的侦听器实例的异常 edu.uiuc.ncsa.security.core.exceptions.ConfigurationException:错误:无法加载配置     在edu.uiuc.ncsa.security.servlet.Bootstrapper.contextInitialized(Bootstrapper.java:42)     at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)     在org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)     在org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)     在org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1256)     在org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:714)     在org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:219)     在javax.servlet.http.HttpServlet.service(HttpServlet.java:647)     在javax.servlet.http.HttpServlet.service(HttpServlet.java:728)     在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)     在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)     在org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:212)     在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)     在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)     在org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)     在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)     在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)     在org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)     在org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)     在org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:611)     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)     在org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)     在org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)     在org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)     在org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)     在org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)     at org.apache.coyote.AbstractProtocol $ AbstractConnectionHandler.process(AbstractProtocol.java:589)     at org.apache.tomcat.util.net.JIoEndpoint $ SocketProcessor.run(JIoEndpoint.java:312)     在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)     at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:615)     在java.lang.Thread.run(Thread.java:744) 引起:edu.uiuc.ncsa.security.core.exceptions.ConfigurationException:错误:找不到任何配置。服务器启动中止了!     在edu.uiuc.ncsa.myproxy.oa4mp.client.loader.ClientBootstrapper.getConfigurationLoader(ClientBootstrapper.java:105)     在org.apache.airavata.credential.store.servlet.CredentialBootstrapper.getConfigurationLoader(CredentialBootstrapper.java:45)     在edu.uiuc.ncsa.security.servlet.Bootstrapper.contextInitialized(Bootstrapper.java:39)     ......还有30多个

1 个答案:

答案 0 :(得分:0)

请您在以下某个位置检查名为“client.xml”的文件:   - $ USER_HOME / client.xml   - $ USER_HOME / oa4mp / client.xml   - $ USER_DIR / client.xml   - /var/www/config/client.xml   - /var/www/config/oa4mp/client.xml。

参考GrepCode的声明,“edu.uiuc.ncsa.myproxy.oa4mp.client.loader.ClientBootstrapper”

“Tomcat所需的类。这是加载配置文件的入口点。其中一个特性是它将使用默认文件名client.xml搜索各种默认位置的配置”。

参考: http://grepcode.com/file/repo1.maven.org $ maven2的@ edu.uiuc.ncsa.myproxy $ oa4mp-客户您好​​!OAuth1 @ 1.0.6 @ edu的$ $ UIUC NCSA $ $ MYPROXY $ oa4mp客户$ $装载机ClientBootstrapper.java

希望有所帮助......