`
utopialxw
  • 浏览: 369617 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

异步日志中的No modifications are allowed to a locked ParameterMap

    博客分类:
  • java
阅读更多
在使用@Async异步线程记录日志的时候,不能传递request参数到异步service中去获取session等参数值,否则在用户不停的快速登录,退出的情况下,有可能会报错
No modifications are allowed to a locked ParameterMap
这是因为当用户退出时,session已经失效了,但是异步日志service还没有获取到session值,再去获取的时候就报错了。所以需要先从request中获取需要的session等数据,再提交到异步任务中
分享到:
评论

相关推荐

    acoustic toolbox

    A common input structure has been used throughout so that only minor modifications are needed to switch from one program to another. All the models produce `shade' files that can be processed using a...

    a project model for the FreeBSD Project.7z

    This project model is not meant to be a tool to justify creating impositions for developers, but as a tool to facilitate coordination. It is meant as a description of the project, with an overview of...

    VclZip pro v3.10.1

    This was due to a problem where it would be freed automatically if there was a problem with the ArchiveStream when trying to open it as a zip file (possibly corrupt). Best practice is that ...

    Universal-USB-Installer

    part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must ...

    oracle DBA_TAB_MODIFICATIONS 刷新

    Oracle DBA_TAB_MODIFICATIONS 是一个系统视图,用于跟踪数据库中的表在最近的DML(数据操纵语言)操作后的变化情况。这个视图是数据库性能监控的重要工具,它记录了表的插入、更新和删除等操作的信息。然而,它有...

    Net开源日志组件

    facility refers to a function or data to be supplied by an Application that uses the facility (other than as an argument passed when the facility is invoked), then you may convey a copy of the ...

    Qt5.0.2_WinXP_SP3_modified_files.zip

    I used the following options to run configure: -opensource -platform win32-msvc2005 -no-opengl -no-openssl manually add /FORCE to the Makefile.* of qmake (this doesn't seem to automatically happen, ...

    WizFlow网页编辑

    Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This license, the Lesser General Public License, applies to ...

    hibernate-shards.jar

    Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This license, the Lesser General Public License, applies to ...

    Introduction to Deep Learning: From Logical Calculus to Artificial Intelligence

    This textbook presents a concise, accessible and engaging first introduction to deep learning, offering a wide range of connectionist models which represent the current state-of-the-art. The text ...

    微软内部资料-SQL性能优化5

    The trees are managed, and branches are grafted as necessary, so that navigating down the tree to find a value and locate a specific record takes only a few page accesses. Because the trees are ...

    Introduction_to_Optimum_Design.pdf

    The document "Introduction_to_Optimum_Design.pdf" delves deeply into the principles and methods of optimum design, which is a critical area within engineering and applied mathematics. This field ...

    MIPI_Specification for D-PHY_V1.1

    These modifications are intended to ease implementation for designs supporting HS bitrates > 1 Gbps, allowing for slightly greater conformance margins for these parameters, to better allow for ...

    数据库系统原理英文课件:ch16 Concurrency Control.ppt

    This allows transactions to read older versions while newer modifications are being executed, reducing conflicts. The impact of concurrency control on **Insert and Delete Operations** is covered, as...

    ONVIF-PTZ-Service-Spec-v240.pdf

    No modifications to the document are allowed without express permission. The document is provided "as is," and neither the corporation nor its members make any representations or warranties regarding...

    Sakemail

    If you are strongly opossed to this change, drop me a line and tell me why (I‘m in doubts).1.8.5- Greg Nixon added the priority property. The default priority for each msg created will be prNormal, ...

    AVG 破解版

    During the software commitment to a third party the Licensee shall not be allowed to use the full version of the software. 3. The Licensee shall immediately inform the Licensor in written form on ...

    Fast and Accurate Calibration of a Kinect Sensor

    The article describes a new algorithm for calibrating a Kinect sensor that achieves high accuracy using only 6 to 10 image-disparity pairs of a planar checkerboard pattern. The method estimates the ...

Global site tag (gtag.js) - Google Analytics