Skip to content

上传补丁包 , was not registered for synchronization because synchronization is not active #46

@xiemuyou

Description

@xiemuyou

上传补丁包,
1.填写好补丁描述
2.选择好文件
3.点击创建
后台log日志,
网上的解决方法:需要在service上加注解@transactional,但是我用的是war.
请问是这个问题,还是其他的什么原因呢?
stat_minute 2018-03-28 10:17:00 ,minuteViewsCount: 0 ,minuteMaxViewsCount: 0
DispatcherServlet with name 'dispatcherServlet' processing POST request for [/hotfix-console/patch/add]
Looking up handler method for path /patch/add
Returning handler method [public org.springframework.web.servlet.ModelAndView com.dx168.patchserver.manager.web.ManagerController.patch_create(java.lang.String,java.lang.String,java.lang.String,org.springframework.web.multipart.MultipartFile)]
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@493f8511] was not registered for synchronization because synchronization is not active
JDBC Connection [ProxyConnection[PooledConnection[com.mysql.jdbc.JDBC4Connection@7263e832]]] will not be managed by Spring
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@493f8511]
Skip CORS processing: request is from same origin
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@5c243a1b] was not registered for synchronization because synchronization is not active
JDBC Connection [ProxyConnection[PooledConnection[com.mysql.jdbc.JDBC4Connection@7263e832]]] will not be managed by Spring
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@5c243a1b]
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@4b1b213a] was not registered for synchronization because synchronization is not active
JDBC Connection [ProxyConnection[PooledConnection[com.mysql.jdbc.JDBC4Connection@7263e832]]] will not be managed by Spring
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@4b1b213a]
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@6e25c6e7] was not registered for synchronization because synchronization is not active
JDBC Connection [ProxyConnection[PooledConnection[com.mysql.jdbc.JDBC4Connection@7263e832]]] will not be managed by Spring
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@6e25c6e7]
Requested media types are [text/html, application/xhtml+xml, image/webp, image/apng, application/xml;q=0.9, /;q=0.8] based on Accept header types and producible media types [/])
No matching bean found for view name 'redirect:/app/version?appUid=20180327192635128-6617&versionName=1.0.0&msg=%E6%96%87%E4%BB%B6%E7%9B%AE%E5%BD%95%E5%88%9B%E5%BB%BA%E5%A4%B1%E8%B4%A5'
Returning redirect view [org.springframework.web.servlet.view.RedirectView: name 'redirect:/app/version?appUid=20180327192635128-6617&versionName=1.0.0&msg=%E6%96%87%E4%BB%B6%E7%9B%AE%E5%BD%95%E5%88%9B%E5%BB%BA%E5%A4%B1%E8%B4%A5'; URL [/app/version?appUid=20180327192635128-6617&versionName=1.0.0&msg=%E6%96%87%E4%BB%B6%E7%9B%AE%E5%BD%95%E5%88%9B%E5%BB%BA%E5%A4%B1%E8%B4%A5]]
Rendering view [org.springframework.web.servlet.view.RedirectView: name 'redirect:/app/version?appUid=20180327192635128-6617&versionName=1.0.0&msg=%E6%96%87%E4%BB%B6%E7%9B%AE%E5%BD%95%E5%88%9B%E5%BB%BA%E5%A4%B1%E8%B4%A5'; URL [/app/version?appUid=20180327192635128-6617&versionName=1.0.0&msg=%E6%96%87%E4%BB%B6%E7%9B%AE%E5%BD%95%E5%88%9B%E5%BB%BA%E5%A4%B1%E8%B4%A5]] in DispatcherServlet with name 'dispatcherServlet'
Successfully completed request
DispatcherServlet with name 'dispatcherServlet' processing GET request for [/hotfix-console/app/version]
Looking up handler method for path /app/version
Returning handler method [public org.springframework.web.servlet.ModelAndView com.dx168.patchserver.manager.web.ManagerController.app_version(javax.servlet.http.HttpServletRequest,java.lang.String,java.lang.String)]
Last-Modified value for [/hotfix-console/app/version] is: -1
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@3765ac6a] was not registered for synchronization because synchronization is not active
JDBC Connection [ProxyConnection[PooledConnection[com.mysql.jdbc.JDBC4Connection@7263e832]]] will not be managed by Spring
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@3765ac6a]
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@27dfbbb] was not registered for synchronization because synchronization is not active
JDBC Connection [ProxyConnection[PooledConnection[com.mysql.jdbc.JDBC4Connection@7263e832]]] will not be managed by Spring
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@27dfbbb]
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@7766eebc] was not registered for synchronization because synchronization is not active
JDBC Connection [ProxyConnection[PooledConnection[com.mysql.jdbc.JDBC4Connection@7263e832]]] will not be managed by Spring
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@7766eebc]
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@188ac029] was not registered for synchronization because synchronization is not active
JDBC Connection [ProxyConnection[PooledConnection[com.mysql.jdbc.JDBC4Connection@7263e832]]] will not be managed by Spring
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@188ac029]
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@66959d77] was not registered for synchronization because synchronization is not active
JDBC Connection [ProxyConnection[PooledConnection[com.mysql.jdbc.JDBC4Connection@7263e832]]] will not be managed by Spring
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@66959d77]
Creating a new SqlSession
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@6a144047] was not registered for synchronization because synchronization is not active
JDBC Connection [ProxyConnection[PooledConnection[com.mysql.jdbc.JDBC4Connection@7263e832]]] will not be managed by Spring
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@6a144047]
Requested media types are [text/html, application/xhtml+xml, image/webp, image/apng, application/xml;q=0.9, /;q=0.8] based on Accept header types and producible media types [/])
No matching bean found for view name 'version'
Returning [org.springframework.boot.web.servlet.view.velocity.EmbeddedVelocityToolboxView: name 'version'; URL [version.vm]] based on requested media type 'text/html'
Rendering view [org.springframework.boot.web.servlet.view.velocity.EmbeddedVelocityToolboxView: name 'version'; URL [version.vm]] in DispatcherServlet with name 'dispatcherServlet'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions