0 Replies Latest reply on Sep 16, 2010 12:23 PM by cm_suter

    Problem with a web application in jboss and weblogic.

    cm_suter Newbie

      Hello everyone. I have a big problem and I hope that together we can help  solve.


      Start by explaining how I have deployed my web application. My web  application I have it deployed in jboss. This application  uses a library that contains EJB3. The libraries, or rather the EJB3 project  with a machine is in Weblogic 10.3.
      JSP sample I made  to see their operation and this is correct. That is, I send  my request through Jboss and get the EJB3 remote JNDI in Weblogic and  you run the code I've written.


      So far so good. The problem  appears when I launch my web application, which clearly has a much more  complex code to the examples mentioned above.


      Total the error I  get is:

       

      18:10:06,832 ERROR [STDERR] java.lang.IllegalStateException:   Cannot create a session after the response has been committed

      18:10:06,832 ERROR [STDERR]     at org.apache.catalina.connector.Request.doGetSession(Request.java:2282)

      18:10:06,832 ERROR [STDERR]     at org.apache.catalina.connector.Request.getSession(Request.java:2064)
      18:10:06,832 ERROR [STDERR]     at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:833)
      18:10:06,832 ERROR [STDERR]     at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:844)
      18:10:06,832 ERROR [STDERR]     at es.fujitsu.mdcs2.server.servlets.OperationServletCajamar.sessionSave(OperationServletCajamar.java:673)
      18:10:06,832 ERROR [STDERR]     at es.fujitsu.mdcs2.server.servlets.OperationServletCajamar.end(OperationServletCajamar.java:481)
      18:10:06,832 ERROR [STDERR]     at es.fujitsu.mdcs2.server.servlets.OperationServletCajamar.doPost(OperationServletCajamar.java:183)
      18:10:06,832 ERROR [STDERR]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
      18:10:06,833 ERROR [STDERR]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      18:10:06,833 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      18:10:06,833 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      18:10:06,833 ERROR [STDERR]     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      18:10:06,833 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      18:10:06,833 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      18:10:06,833 ERROR [STDERR]     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      18:10:06,833 ERROR [STDERR]     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
      18:10:06,833 ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
      18:10:06,833 ERROR [STDERR]     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      18:10:06,833 ERROR [STDERR]     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      18:10:06,833 ERROR [STDERR]     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
      18:10:06,833 ERROR [STDERR]     at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      18:10:06,833 ERROR [STDERR]     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:543)
      18:10:06,833 ERROR [STDERR]     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:543)
      18:10:06,833 ERROR [STDERR]     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      18:10:06,833 ERROR [STDERR]     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
      18:10:06,833 ERROR [STDERR]     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      18:10:06,833 ERROR [STDERR]     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      18:10:06,833 ERROR [STDERR]     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      18:10:06,833 ERROR [STDERR]     at java.lang.Thread.run(Thread.java:595)

       

      Any idea will be welcome.