-3

我正在尝试通过本地启动 Web 应用程序。我有一个单独的战争来生成 PDF。当我点击我的应用程序并尝试为我的应用程序信息创建报告的 PDF 时,当操作从我的应用程序战争转发到 PDF 生成器战争时,我收到了错误:

SEVERE: Servlet.service() for servlet livexpactionservlet threw exception java.lang.IllegalStateException

因此,一切都失败了。我正在使用 jboss.4.0.3

JDK 1.5.0_22

请让我知道如何进行

我添加了整个异常堆栈:

SEVERE: Invalid path /jsp/errors/notAuthorized.jsp?nonSecure=true was requested
13:53:58,440 INFO  [STDOUT] Apr 5, 2013 1:53:58 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet livexpactionservlet threw exception
java.lang.IllegalStateException
        at org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:423)
        at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:125)
        at livexp.ui.web.BaseLiveXPRequestProcessor.processException(BaseLiveXPRequestProcessor.java:368)
        at livexp.ui.web.BaseLiveXPRequestProcessor.process(BaseLiveXPRequestProcessor.java:598)
        at livexp.ui.web.EnhancedLiveXPActionServlet.process(EnhancedLiveXPActionServlet.java:316)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at livexp.ui.web.SetCookieFilter.doFilter(SetCookieFilter.java:31)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at livexp.ui.web.MarkupFilter.doFilter(MarkupFilter.java:30)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at edu.yale.its.tp.cas.client.filter.CASFilter.doFilter(CASFilter.java:404)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
        at java.lang.Thread.run(Thread.java:595)
4

1 回答 1

0

该操作从我的应用程序战争转发到 PDF 生成器战争我收到错误

所以你试图将请求从一个 .war 转发到另一个?那是行不通的,它们是单独的应用程序。您需要配置共享上下文或向客户端发送重定向到其他 .war。或者将应用程序组合到单一战争中。

于 2013-04-05T12:41:56.620 回答