Title: MCP Server can not support cluster · Issue #201 · modelcontextprotocol/java-sdk · GitHub
Open Graph Title: MCP Server can not support cluster · Issue #201 · modelcontextprotocol/java-sdk
X Title: MCP Server can not support cluster · Issue #201 · modelcontextprotocol/java-sdk
Description: Hi the this code : if (this.isClosing) { return ServerResponse.status(HttpStatus.SERVICE_UNAVAILABLE) .body("Server is shutting down"); } if (request.param("sessionId").isEmpty()) { return ServerResponse.badRequest() .body(new McpError("...
Open Graph Description: Hi the this code : if (this.isClosing) { return ServerResponse.status(HttpStatus.SERVICE_UNAVAILABLE) .body("Server is shutting down"); } if (request.param("sessionId").isEmpty()) { return ServerRe...
X Description: Hi the this code : if (this.isClosing) { return ServerResponse.status(HttpStatus.SERVICE_UNAVAILABLE) .body("Server is shutting down"); } if (request.param("sessionId").isEmpty(...
Opengraph URL: https://github.com/modelcontextprotocol/java-sdk/issues/201
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"MCP Server can not support cluster","articleBody":"\n\nHi the this code : \n```java\n if (this.isClosing) {\n return ServerResponse.status(HttpStatus.SERVICE_UNAVAILABLE)\n .body(\"Server is shutting down\");\n }\n\n if (request.param(\"sessionId\").isEmpty()) {\n return ServerResponse.badRequest()\n .body(new McpError(\"Session ID missing in message endpoint\"));\n }\n\n String sessionId = request.param(\"sessionId\").get();\n McpServerSession session = sessions.get(sessionId);\n\n if (session == null) {\n return ServerResponse.status(HttpStatus.NOT_FOUND)\n .body(new McpError(\"Session not found: \" + sessionId));\n }\n````\n\nwhen mcp server is cluster model. McpServerSession session = sessions.get(sessionId); is null\n\n\n","author":{"url":"https://github.com/yu199195","@type":"Person","name":"yu199195"},"datePublished":"2025-04-25T08:13:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/201/java-sdk/issues/201"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2dd58dfb-82ff-eeb5-2d96-4691c677614e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9BAE:ACCAF:24BA564:3183303:6A59B286 |
| html-safe-nonce | 35fa1c002ea215aafd0ac5076de1ece9d9c44ad9fbe14918751e26890bad473f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QkFFOkFDQ0FGOjI0QkE1NjQ6MzE4MzMwMzo2QTU5QjI4NiIsInZpc2l0b3JfaWQiOiI0MjkyMzc4NzUxMDU5NzM1MTc0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3f66e6228295caf823d9f7a836c511b2193140969dbc71592ac4e5cecf6a62de |
| hovercard-subject-tag | issue:3019330197 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/modelcontextprotocol/java-sdk/201/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9b99c424dbc28c99bb9ad11e1e6d03a44616a37aad61b56a39eb5f0c6e4c7bd9/modelcontextprotocol/java-sdk/issues/201 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9b99c424dbc28c99bb9ad11e1e6d03a44616a37aad61b56a39eb5f0c6e4c7bd9/modelcontextprotocol/java-sdk/issues/201 |
| og:image:alt | Hi the this code : if (this.isClosing) { return ServerResponse.status(HttpStatus.SERVICE_UNAVAILABLE) .body("Server is shutting down"); } if (request.param("sessionId").isEmpty()) { return ServerRe... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | yu199195 |
| hostname | github.com |
| expected-hostname | github.com |
| None | ba3976babb66479b1c943a8edc0777d96157da48fadc0161f9ddb219deee8353 |
| turbo-cache-control | no-preview |
| go-import | github.com/modelcontextprotocol/java-sdk git https://github.com/modelcontextprotocol/java-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 919609219 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/java-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 919609219 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/java-sdk |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ab680789ae4a316cdaf0d5a292a1760140931cc4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width