Skip to content

add option to do a Jetty server dump to help with debug (jetty9)#102

Merged
copybara-service[bot] merged 3 commits intomainfrom
jetty-server-dump
Apr 23, 2024
Merged

add option to do a Jetty server dump to help with debug (jetty9)#102
copybara-service[bot] merged 3 commits intomainfrom
jetty-server-dump

Conversation

@lachlan-roberts
Copy link
Collaborator

@lachlan-roberts lachlan-roberts commented Mar 20, 2024

builds upon the work from PR #101

Now the Jetty Server dump displays correctly for all runtimes.

In Jetty 12 runtimes we no longer manually start the context, it is started when it is added to the HotSwapHandler.

In Jetty 9.4 runtimes we now add the context as a managed bean onto the AppVersionHandlerMap so it is correctly displayed in the dump.

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
@lachlan-roberts
Copy link
Collaborator Author

The output of this only includes a very basic dump of the AppengineWebAppContext, I think this is due to the setup with the AppVersionHandlerMap. So I think this needs a bit more work before it should be merged.

@gregw
Copy link
Contributor

gregw commented Mar 22, 2024

@lachlan-roberts can you include a comment with an example of the dump as it currently is... we can then look at AppVersionHandlerMap to see how we can improve its dumpability (and general containment tree).

@lachlan-roberts lachlan-roberts requested a review from gregw April 18, 2024 07:27
Copy link
Contributor

@gregw gregw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is kind of strange the context is started before we add it... but hey, it works

@copybara-service copybara-service bot merged commit d02cb29 into main Apr 23, 2024
srinjoyray pushed a commit that referenced this pull request Nov 12, 2024
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
srinjoyray pushed a commit that referenced this pull request Nov 12, 2024
PiperOrigin-RevId: 627463828
Change-Id: If7aeed512156a5cab5110ad568587d2136b5bff9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants