Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 4857 invoked from network); 20 Jan 2010 14:11:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Jan 2010 14:11:12 -0000 Received: (qmail 97048 invoked by uid 500); 20 Jan 2010 14:11:09 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 96998 invoked by uid 500); 20 Jan 2010 14:11:09 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 96988 invoked by uid 99); 20 Jan 2010 14:11:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jan 2010 14:11:09 +0000 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [66.163.178.173] (HELO web34507.mail.mud.yahoo.com) (66.163.178.173) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 20 Jan 2010 14:11:00 +0000 Received: (qmail 31389 invoked by uid 60001); 20 Jan 2010 14:10:39 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1263996639; bh=SObD5793qGY1aAGXV3gPp5yVXDWlWSJg2Cj7suYs56w=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=LZnsA7Tu1hmi+0Zl99xZm3lvQdlbgPEXnd+KfTUxQ/TvF2H/qu3d7gLtLTx5y57IxE7VFrURD080i0RT6gn0/1qLc19fr216F2gXA8XhnJy8C+Yzp6rfIqufOL0iom8JTrHdUtvssTOLCQ+df0PigjSxJKQKnl+YXBiPypwtMWs= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=041BF65vc1tP7jNJIByputOfxxJhFbHTpeV0/1oYx9fEXrdZGKpsp0+z8IyPDMtKBJLViA8Pa+kWhx75dwhNjYIh1NcpmU74vCrOI+9nIi6aqKFjXuyT9HhegaqS4OHuoudHtrmHvjGf6vGtIzu3oEgAu5zKffsm1aNnHaHJRrQ=; Message-ID: <243450.28366.qm@web34507.mail.mud.yahoo.com> X-YMail-OSG: ct996KIVM1kx3OCoa8gQjmHiu9sEADP3hQBs0A_AbFAl6.wd3_x8J5vJ7GdxyJx3217yzDDS5HXphfg97pF2gbwPqYMe6rrI72v1VMxf_madRSDNKq7pbCSoZl19Yvj.mF4NJgu27was4MX_QmCUHoIUtiv6_CNPzILheELfAlDKbXr2G8E.YEI7PlWHq0TaNgsSCbdmbSSPFScgwh0Im6qY0twzE62RpSA5laJ73uOP7KXzzXeWGzX5FHAR3WQgpS.3YvzmuUVYCZc2GZFuCdtGC5EuF8dF5LJEi2M6gYDOf.aD63.LqrvAHHKKDPH2o3PfwSOp0y1rL9HccA87yEp00O.ea0zb5ff944389ycQYetuOPrHv3EtVcWnokSvbIAUjHC.YEHyhjkQ5C0wx.puPCgZXcrzOe_qLIakPFtbBLNP.M1vCFtjaTSLV6L0O6RWPoWMd45KzFK9IQXLnNH6sf712q2P3BYzBFeQ3wmAEw-- Received: from [172.21.171.239] by web34507.mail.mud.yahoo.com via HTTP; Wed, 20 Jan 2010 06:10:39 PST X-Mailer: YahooMailClassic/9.1.10 YahooMailWebService/0.8.100.260964 Date: Wed, 20 Jan 2010 06:10:39 -0800 (PST) From: Celinio Fernandes Subject: [Struts 2] OGNL debug console not working To: Struts Users Mailing List In-Reply-To: <27241877.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1585963769-1263996639=:28366" X-Virus-Checked: Checked by ClamAV on apache.org --0-1585963769-1263996639=:28366 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi, I am trying to run the debug console that is available in a popup when you = append the URL with ?debug=3Dconsole It is described here :=20 http://struts.apache.org/2.0.14/docs/debugging.html Here is the URL i used : http://localhost:8085/myWebApp/doLogin.action?debug.console It complains that it cannot create a session after the response was sent. As a consequence, i believe, the console is read only, I cannot type anythi= ng. What did i do wrong or what am i missing ? Thanks for helping. Here is the stack trace i get : Struts Problem Report Struts has detected an unhandled exception: # Messages: =A0=A0 =A0Impossible de cr=EF=BF=BDer une sessionapr=EF=BF=BDs = que la r=EF=BF=BDponse ait =EF=BF=BDt=EF=BF=BD envoy=EF=BF=BDe File: =A0=A0 =A0org/apache/catalina/connector/Request.java Line number: =A0=A0 =A02 338 Stacktraces java.lang.IllegalStateException: Impossible de creer une session apres que = la reponse ait ete envoyee =A0=A0=A0 org.apache.catalina.connector.Request.doGetSession(Request.java:2= 338) =A0=A0=A0 org.apache.catalina.connector.Request.getSession(Request.java:209= 4) =A0=A0=A0 org.apache.catalina.connector.RequestFacade.getSession(RequestFac= ade.java:833) =A0=A0=A0 javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServl= etRequestWrapper.java:216) =A0=A0=A0 org.apache.struts2.dispatcher.SessionMap.put(SessionMap.java:179) =A0=A0=A0 org.apache.struts2.interceptor.debugging.DebuggingInterceptor.int= ercept(DebuggingInterceptor.java:272) =A0=A0=A0 com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultAct= ionInvocation.java:237) =A0=A0=A0 com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept= (ChainingInterceptor.java:126) =A0=A0=A0 com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultAct= ionInvocation.java:237) =A0=A0=A0 com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercep= t(PrepareInterceptor.java:138) =A0=A0=A0 com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.inter= cept(MethodFilterInterceptor.java:87) =A0=A0=A0 com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultAct= ionInvocation.java:237) =A0=A0=A0 com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18= nInterceptor.java:165) =A0=A0=A0 com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultAct= ionInvocation.java:237) =A0=A0=A0 org.apache.struts2.interceptor.ServletConfigInterceptor.intercept= (ServletConfigInterceptor.java:164) =A0=A0=A0 com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultAct= ionInvocation.java:237) =A0=A0=A0 com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(Al= iasInterceptor.java:179) =A0=A0=A0 com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultAct= ionInvocation.java:237) =A0=A0=A0 com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.i= ntercept(ExceptionMappingInterceptor.java:176) =A0=A0=A0 com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultAct= ionInvocation.java:237) =A0=A0=A0 org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionPro= xy.java:52) =A0=A0=A0 org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher= .java:488) =A0=A0=A0 org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(= ExecuteOperations.java:77) =A0=A0=A0 org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFi= lter.doFilter(StrutsPrepareAndExecuteFilter.java:91) =A0=A0=A0 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(= ApplicationFilterChain.java:235) =A0=A0=A0 org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicat= ionFilterChain.java:206) =A0=A0=A0 org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHead= erFilter.java:96) =A0=A0=A0 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(= ApplicationFilterChain.java:235) =A0=A0=A0 org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicat= ionFilterChain.java:206) =A0=A0=A0 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrap= perValve.java:235) =A0=A0=A0 org.apache.catalina.core.StandardContextValve.invoke(StandardCont= extValve.java:191) =A0=A0=A0 org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Sec= urityAssociationValve.java:183) =A0=A0=A0 org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContext= Valve.java:95) =A0=A0=A0 org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.p= rocess(SecurityContextEstablishmentValve.java:126) =A0=A0=A0 org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.i= nvoke(SecurityContextEstablishmentValve.java:70) =A0=A0=A0 org.apache.catalina.core.StandardHostValve.invoke(StandardHostVal= ve.java:127) =A0=A0=A0 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportVal= ve.java:102) =A0=A0=A0 org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(Cac= hedConnectionValve.java:158) =A0=A0=A0 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngin= eValve.java:109) =A0=A0=A0 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter= .java:330) =A0=A0=A0 org.apache.coyote.http11.Http11Processor.process(Http11Processor.= java:829) =A0=A0=A0 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.p= rocess(Http11Protocol.java:598) =A0=A0=A0 org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.jav= a:447) =A0=A0=A0 java.lang.Thread.run(Unknown Source) =A0=A0 =A0 You are seeing this page because development mode is enabled. Development m= ode, or devMode, enables extra debugging behaviors and reports to assist de= velopers. To disable this mode, set: =A0 struts.devMode=3Dfalse in your WEB-INF/classes/struts.properties file.=20 =0A=0A=0A --0-1585963769-1263996639=:28366--