Skip to content

Fixed xmldsrawdump StackOverflowError by streaming XML from Groovy event (OFBIZ-13400)#1165

Merged
dixitdeepak merged 2 commits intoapache:trunkfrom
dixitdeepak:OFBIZ-13400-xmldsrawdump
May 6, 2026
Merged

Fixed xmldsrawdump StackOverflowError by streaming XML from Groovy event (OFBIZ-13400)#1165
dixitdeepak merged 2 commits intoapache:trunkfrom
dixitdeepak:OFBIZ-13400-xmldsrawdump

Conversation

@dixitdeepak
Copy link
Copy Markdown
Contributor

Route the WebTools xmldsrawdump request to a Groovy event and return a none response instead of rendering the legacy JSP view. The JSP view could re-enter the controller/view rendering path and repeatedly render xmldsrawdump until Tomcat failed with StackOverflowError.

Remove the obsolete xmldsrawdump.jsp view and its view-map. The new raw dump event streams XML directly, uses EntityQuery, and closes the iterator with withCloseable.

…t (OFBIZ-13400)

Route the WebTools xmldsrawdump request to a Groovy event and return a
none response instead of rendering the legacy JSP view. The JSP view could
re-enter the controller/view rendering path and repeatedly render
xmldsrawdump until Tomcat failed with StackOverflowError.

Remove the obsolete xmldsrawdump.jsp view and its view-map. The new raw
dump event streams XML directly, uses EntityQuery, and closes the iterator
with withCloseable.
@dixitdeepak dixitdeepak merged commit 2d3874b into apache:trunk May 6, 2026
5 checks passed
@dixitdeepak dixitdeepak deleted the OFBIZ-13400-xmldsrawdump branch May 7, 2026 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant