Bug 1006623

Summary: Cross-context forward/include call from another web app breaks HttpRequestContext cleanup
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Lyle Wang <lywang>
Component: CDI/WeldAssignee: Stuart Douglas <sdouglas>
Status: CLOSED DUPLICATE QA Contact: Marek Schmidt <maschmid>
Severity: unspecified Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.1.1CC: jlivings, pmuir
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: WeldListener would clean up the bound context request when servlet processed finished, even if it was being sent to another servlet Consequence: A NullPointerException would result when the subsequent servlet tried to access the context Fix: Do not clean up the bound context if the servlet is being redirected. Result: No exception occurs when getRequestDispatcher().include() is used to forward requests between servlets.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-11 00:14:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1003581    
Bug Blocks:    

Description Lyle Wang 2013-09-10 23:55:07 UTC
Description of problem:

Reference JIRA https://issues.jboss.org/browse/Weld-1415

Version-Release number of selected component (if applicable):

weld-core-1.1.13.Final-redhat-1

Comment 1 James Livingston 2013-09-11 00:14:10 UTC

*** This bug has been marked as a duplicate of bug 956631 ***

Comment 2 JBoss JIRA Server 2013-09-18 16:49:10 UTC
Ron Šmeral <rsmeral> updated the status of jira WELD-1415 to Reopened

Comment 3 JBoss JIRA Server 2013-09-18 16:49:10 UTC
Ron Šmeral <rsmeral> made a comment on jira WELD-1415

Only the inclusion is resolved. The cross-context forwarding still does not work. See the updated test: https://github.com/weld/core/pull/372

Comment 4 JBoss JIRA Server 2013-09-19 07:12:45 UTC
Jozef Hartinger <jharting> updated the status of jira WELD-1415 to Resolved

Comment 5 JBoss JIRA Server 2013-09-19 07:12:45 UTC
Jozef Hartinger <jharting> made a comment on jira WELD-1415

Closing not to break release notes. I am going to create another issue for forwards.