Replies: 1 comment
|
Your sample pins Java SDK At webapp shutdown, after closing the MCP server, Sources: SDK 0.15.0 server close, servlet transport, and Reactor Schedulers. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Pre-submission Checklist
Question Category
Your Question
I implemented a very basic Hello World MCP server - https://github.com/i23098/mcp-server-java
On the servlet destroy method, it destroys the server by doing:
I use the MCP Inspector to test the server, works fine, responds, all ok...
But, if I do some code changes and redeploy the war (i.e. copy a new war to the tomcat webapps directory), I get some errors related to threads not being stopped:
Is this a bug or am I missing something in the destroy()?
All reactions