Jboss抛出IllegalStateException

时间:2013-04-05 10:11:41

标签: java java-ee servlets jboss

我正在尝试通过我的本地启动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)

1 个答案:

答案 0 :(得分:0)

  

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

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