IBatis.net在多线程中报错“WebSessionStore: Could not obtain reference to HttpContext”

分析:

因为ibatis的ISqlMapSession是存储在Http.Request.Items上的,在你新开的线程里是不能操作IIS的上的线程的,根据ibatis的文档上说的,可以用:HybridWebThreadSessionStore

The DatatMapper component store his working ISqlMapSession on different session store. 

On Web environnement, the session is stored Http.Request.Items.

On windows environnement on the current thread. 

You can configure the session storage by specifing the property ISessionStore on ISqlMapper.

This will allow to set a custom session store like the HybridWebThreadSessionStore This is used for scenarios where most of the you need per request session, but you also does some work outside a request (in a thread pool thread, for instance).

Set it after the configuration and before use of the ISqlMapper.

解决:

重新指定SessionStore

_SqlMapper.SessionStore = new HybridWebThreadSessionStore(_SqlMapper.Id);

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcQAAADtCAIAAACu6ZICAAAgAElEQVR4nO2dbWwbV77ed9DiFm2B26JAW6Ag7vYutimkAgtsga4r5u4Shm+B2IXai2sjX+4C2kQvg3zxJgGayDGMgmt7N3GUKLlN1rIkt16/XSVRYkuylPgttuTYsi1aiiPSlkVREiWalChRLxQpUuKL+uHMy5mZM+RQosSh9Dx4IIwOZ86cOZz58f8/Zzj80fGPz8IwDMMb9I+Of3z2Ru8QDMNwoXxd44I3KVcDpjAMF97X7z2VSXrvKWAKwzC8HiMyhWEYzoPpmBQwhWEYXqd3aGTa1vb155e+LnjTYRjeNt6JY6afX+r6pv3g9evfXL3jLHjrYRjeHt5xken1e0+uXOlZW+Me3/4XrZeuGduq51C5zVJqs5Tadh/tudH7RUWp8K+l1GYpPVxvsK1tn+wutVnKP7mofkmocPfRHqGk6bCl1GZ57QvDvaBsEmMX+bbusZjSpLU59Ge2eoxXmK9dw6b3jhszbfn80o3W/74W49ZS3MM7zR3Xeo1t+EWFzA5qORtTLh6tsJRWHGobutGb4bqSUChy2QBMFTUrmrdZNnYspjRgCm++zRmZnjlz5syZM5lLJOcA065bjx71969GuJqa/11R8b98D//87n2XsTbpwDQLxUhIKyEvY+XE5KrLDlNVzV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01duVD9YU036EkrJE0Xy4RYUqGSkmaP9KunoDSS/MJWDPCVDfNd5S1h9kwfejm7JNO8Y6oDaT5MlgNwTQ6VUmPnyrGTI2m+cJQKcGlMGYqDpUKhdo0f7iVhKV274Ai8adgijQfMAVM6buj1PeZyoVSNBqq4V01zS7lrJQQugpZvMqK3yl5Lk1APb3iFCeg5NkkzQSUnOZXNznFaSXhPtP2JsUKmgkoFUD1YLoa7xPnptgTUMpJp8ZgLB5+X/h5FXdV9sg0fvkUcwJKNWAqxKqKCSg1TJWZPp3mR8Qh0WwTUK82DArr9Mqz+VRhVDMBJQ2Yzv1BOOrhV7SR6WJk4a4wCIAJKMB0Z8PU6DegFGOmtDubVVNPebw1SvXTpPgG1Pq+AaUYM8U3oABTwNSUMPX7rXb/kDGSAqaAKWAKmAKmWpgu19uFcYBNu2kfMAVMAVPAdLvB1DzfgAJM8aATwBQwBUwBU8AUMAVMAVPAFDAFTAFTwBQwBUwBU8AUMDUOUzwcGjAFTAFTwDRfMF1bW9PjKWAKmAKmgClgmg2m/uMfn529sluAKZOngClgCpgCpoBpRpj6CT+nPv8vP5LQSYpgGIZh4+5t+MsbH/77r47+xf8HMeNs8AXDBhkAAAAASUVORK5CYII=" alt="" />

WebSessionStore: Could not obtain reference to HttpContext的更多相关文章

  1. Ibatis.Net各类的作用说明(三)

    一.SqlMapper类 Ibatis中,加载.分析配置以及映射文件是在创建SqlMapper实例的时候进行的,另外对数据库的操作,也是在SqlMapper实例上调用方法来完成.在IBatis外部的程 ...

  2. ibatis.net 多线程的调试

    ibatis是一个挺不错的半自动orm框架,从java移植到c# 在ibatis中是支持多线程操作的,但是这几天的使用过程中发现就框架本身任然存在一些问题,可能会让你对多线程的使用并不是那么的顺利 在 ...

  3. Ibatis.Net 各类的作用说明学习(三)

    Ibatis中,加载.分析配置及映射文件是在创建SqlMapper实例的时候进行的,另外对数据库的操作,也是在SqlMapper实例上调用方法来完成.创建SqlMapper的实例的方式是: ISqlM ...

  4. What is httpcontext

    https://docs.microsoft.com/en-us/dotnet/api/system.web.httpcontext?view=netframework-4.8 Encapsulate ...

  5. jxl.dll操作总结

    1)Jxl是一个开源的Java Excel API项目,通过Jxl,Java可以很方便的操作微软的Excel文档.除了Jxl之外,还有Apache的一个POI项目,也可以操作Excel,两者相比之下: ...

  6. 译:Spring框架参考文档之IoC容器(未完成)

    6. IoC容器 6.1 Spring IoC容器和bean介绍 这一章节介绍了Spring框架的控制反转(IoC)实现的原理.IoC也被称作依赖注入(DI).It is a process wher ...

  7. Netty源代码学习——Included transports(变速箱)

    Transport API核心: Channel介面 类图表示Channel含有Pipeline和Config接口,pipeline上一节有所介绍. Channel是线程安全的,这表示在多线环境下操作 ...

  8. Netty In Action中文版 - 第四章:Transports(传输)

    本章内容 Transports(传输) NIO(non-blocking IO,New IO), OIO(Old IO,blocking IO), Local(本地), Embedded(嵌入式) U ...

  9. Java review-basic1

    1. Dependency Injection Answer: Any application is composed of many objects that collaborate with ea ...

随机推荐

  1. 带你从头到尾捋一遍MySQL索引结构(1)

    从一个简单的表开始 create table user( id int primary key, age int, height int, weight int, name varchar(32) ) ...

  2. [TimLinux] MySQL 导入sql文件数据慢的问题解决办法

    慢的时候执行的命令: mysql -uusername -p -hip_address -Ddb_name < ./db.sql 快的时候执行的命令: mysql -uusername -p - ...

  3. CF296C Greg and Array 查分数组

    题目链接:http://codeforces.com/problemset/problem/296/C 题意:给你n.m.k,表示n个数a[i],m个对数的操作,k个对操作的操作.m个操作:数a[l] ...

  4. SPOJ Distanct Substrings(求不同子串的数量)

    Given a string, we need to find the total number of its distinct substrings. Input T- number of test ...

  5. 2018HDU多校二 -F 题 Naive Operations(线段树)

    题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=6315 In a galaxy far, far away, there are two integer ...

  6. 嵌入式—ASCII码

    为了可以在计算机保存他们的文字,他们决定采用 127号之后的空位来表示这些新的字母.符号,还加入了很多画表格时需要用下到的横线.竖线.交叉等形状,一直把序号编到了最后一个状态255.从128 到255 ...

  7. django学习01-建project和app

    按装完成后,执行命令 django-admin startproject mysite 建一个名字为mysite的工程.运行 python manage.py runserver 启动网络服务器,然后 ...

  8. 简单了解一下K8S,并搭建自己的集群

    距离上次更新已经有一个月了,主要是最近工作上的变动有点频繁,现在才暂时稳定下来.这篇博客的本意是带大家从零开始搭建K8S集群的.但是我后面一想,如果是我看了这篇文章,会收获什么?就是跟着步骤一步一走吗 ...

  9. Linux环境(服务器)下非root用户安装Python3.6

    Linux环境(服务器)下非root用户安装Python3.6 在管理实验室集群时候,遇到的问题--非root用户在搭建自己环境时候,如何搭建. 注意: root用户的根目录是root,非root用户 ...

  10. 基于python的种子搜索网站(三)项目部署

    项目部署过程 系统要求:ubuntu 16.04(或以上) 环境搭建和配置,必须严格按照以下步骤来安装部署!如有问题可以咨询(weixin:java2048) 安装部分 安装nginx sudo ap ...