You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2020/07/23 10:34:47 UTC

[GitHub] [servicecomb-java-chassis] liuyifeng1992 opened a new issue #1892: CSE的sdk中getServletContext以及获取session的方法固定抛出异常

liuyifeng1992 opened a new issue #1892:
URL: https://github.com/apache/servicecomb-java-chassis/issues/1892


   请问如果需要获取这两个对象,有没有什么方法呢?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #1892: CSE的sdk中getServletContext以及获取session的方法固定抛出异常

Posted by GitBox <gi...@apache.org>.
liubao68 commented on issue #1892:
URL: https://github.com/apache/servicecomb-java-chassis/issues/1892#issuecomment-663306262


   你的运行环境是怎么样的? rest over vert.x HTTP server还是rest over Servlet? 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] liubao68 edited a comment on issue #1892: CSE的sdk中getServletContext以及获取session的方法固定抛出异常

Posted by GitBox <gi...@apache.org>.
liubao68 edited a comment on issue #1892:
URL: https://github.com/apache/servicecomb-java-chassis/issues/1892#issuecomment-663306262


   你的运行环境是怎么样的? rest over vert.x HTTP server还是rest over Servlet?  java-chassis 没有实现会话管理,这个功能依赖于运行环境自生的支持。 另外, 微服务架构下的会话管理机制和传统的web应用是不一样的,通常调用servlet协议下的会话管理接口都是一个错误。 详细解决方案得结合业务实际的会话管理机制分析。 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org