1. 程式人生 > >關於jeesite登入“顯示系統出現點異常,請稍後再試”問題解決方案

關於jeesite登入“顯示系統出現點異常,請稍後再試”問題解決方案

2018-04-19 14:13:36,851 DEBUG [modules.sys.dao.UserDao.getByLoginName] - ==> Parameters: admin(String), 0(String)
org.apache.shiro.authc.AuthenticationException: Authentication failed for token submission [com.thinkgem.jeesite.modules.sys.security.UsernamePasswordToken - admin, rememberMe=false (127.0.0.1)]. Possible unexpected error? (Typical or expected login exceptions should extend from AuthenticationException).
at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:214)
at org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106)
at org.apache.shiro.mgt.DefaultSecurityManager.login(DefaultSecurityManager.java:270)
at org.apache.shiro.subject.support.DelegatingSubject.login(DelegatingSubject.java:256)
at org.apache.shiro.web.filter.authc.AuthenticatingFilter.executeLogin(AuthenticatingFilter.java:53)
at org.apache.shiro.web.filter.authc.FormAuthenticationFilter.onAccessDenied(FormAuthenticationFilter.java:154)
at org.apache.shiro.web.filter.AccessControlFilter.onAccessDenied(AccessControlFilter.java:133)
at org.apache.shiro.web.filter.AccessControlFilter.onPreHandle(AccessControlFilter.java:162)
at org.apache.shiro.web.filter.PathMatchingFilter.isFilterChainContinued(PathMatchingFilter.java:203)
at org.apache.shiro.web.filter.PathMatchingFilter.preHandle(PathMatchingFilter.java:178)
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:131)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)

at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)

at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:85)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2555)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2544)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.springframework.dao.TransientDataAccessResourceException: 
### Error querying database. Cause: com.mysql.jdbc.PacketTooBigException: Packet for query is too large (1762 > 1024). You can change this value on the server by setting the max_allowed_packet' variable.
### The error may exist in file [E:\apache-tomcat-7.0.85\webapps\jeesite-master\WEB-INF\classes\mappings\modules\sys\UserDao.xml]
### The error may involve com.thinkgem.jeesite.modules.sys.dao.UserDao.getByLoginName-Inline
### The error occurred while setting parameters
### SQL: SELECT a.id, a.company_id AS "company.id", a.office_id AS "office.id", a.login_name, a.password, a.no, a.name, a.email, a.phone, a.mobile, a.user_type, a.login_ip, a.login_date, a.remarks, a.login_flag, a.photo, a.create_by AS "createBy.id", a.create_date, a.update_by AS "updateBy.id", a.update_date, a.del_flag, c.name AS "company.name", c.parent_id AS "company.parent.id", c.parent_ids AS "company.parentIds", ca.id AS "company.area.id", ca.name AS "company.area.name", ca.parent_id AS "company.area.parent.id", ca.parent_ids AS "company.area.parentIds", o.name AS "office.name", o.parent_id AS "office.parent.id", o.parent_ids AS "office.parentIds", oa.id AS "office.area.id", oa.name AS "office.area.name", oa.parent_id AS "office.area.parent.id", oa.parent_ids AS "office.area.parentIds", cu.id AS "company.primaryPerson.id", cu.name AS "company.primaryPerson.name", cu2.id AS "company.deputyPerson.id", cu2.name AS "company.deputyPerson.name", ou.id AS "office.primaryPerson.id", ou.name AS "office.primaryPerson.name", ou2.id AS "office.deputyPerson.id", ou2.name AS "office.deputyPerson.name" FROM sys_user a LEFT JOIN sys_office c ON c.id = a.company_id LEFT JOIN sys_area ca ON ca.id = c.area_id LEFT JOIN sys_office o ON o.id = a.office_id LEFT JOIN sys_area oa ON oa.id = o.area_id LEFT JOIN sys_user cu ON cu.id = c.primary_person LEFT JOIN sys_user cu2 ON cu2.id = c.deputy_person LEFT JOIN sys_user ou ON ou.id = o.primary_person LEFT JOIN sys_user ou2 ON ou2.id = o.deputy_person WHERE a.login_name = ? AND a.del_flag = ?
### Cause: com.mysql.jdbc.PacketTooBigException: Packet for query is too large (1762 > 1024). You can change this value on the server by setting the max_allowed_packet' variable.
; SQL []; Packet for query is too large (1762 > 1024). You can change this value on the server by setting the max_allowed_packet' variable.; nested exception is com.mysql.jdbc.PacketTooBigException: Packet for query is too large (1762 > 1024). You can change this value on the server by setting the max_allowed_packet' variable.
at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:108)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:74)
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:399)
at com.sun.proxy.$Proxy33.selectOne(Unknown Source)
at org.mybatis.spring.SqlSessionTemplate.selectOne(SqlSessionTemplate.java:165)

at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:68)
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:52)
at com.sun.proxy.$Proxy70.getByLoginName(Unknown Source)
at com.thinkgem.jeesite.modules.sys.utils.UserUtils.getByLoginName(UserUtils.java:81)
at com.thinkgem.jeesite.modules.sys.service.SystemService.getUserByLoginName(SystemService.java:88)

at com.thinkgem.jeesite.modules.sys.service.SystemService$$FastClassBySpringCGLIB$$4ff9ba04.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:718)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653)
at com.thinkgem.jeesite.modules.sys.service.SystemService$$EnhancerBySpringCGLIB$$edf3a65.getUserByLoginName(<generated>)
at com.thinkgem.jeesite.modules.sys.service.SystemService$$FastClassBySpringCGLIB$$4ff9ba04.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:718)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)

at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653)
at com.thinkgem.jeesite.modules.sys.service.SystemService$$EnhancerBySpringCGLIB$$ddf96f5b.getUserByLoginName(<generated>)
at com.thinkgem.jeesite.modules.sys.security.SystemAuthorizingRealm.doGetAuthenticationInfo(SystemAuthorizingRealm.java:81)
at org.apache.shiro.realm.AuthenticatingRealm.getAuthenticationInfo(AuthenticatingRealm.java:568)
at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doSingleRealmAuthentication(ModularRealmAuthenticator.java:180)
at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doAuthenticate(ModularRealmAuthenticator.java:267)
at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:198)
... 42 more
Caused by: com.mysql.jdbc.PacketTooBigException: Packet for query is too large (1762 > 1024). You can change this value on the server by setting the max_allowed_packet' variable.
at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3910)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2596)

at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
at com.alibaba.druid.filter.FilterChainImpl.preparedStatement_execute(FilterChainImpl.java:2931)
at com.alibaba.druid.filter.FilterEventAdapter.preparedStatement_execute(FilterEventAdapter.java:440)
at com.alibaba.druid.filter.FilterChainImpl.preparedStatement_execute(FilterChainImpl.java:2929)

at com.alibaba.druid.proxy.jdbc.PreparedStatementProxyImpl.execute(PreparedStatementProxyImpl.java:131)
at com.alibaba.druid.pool.DruidPooledPreparedStatement.execute(DruidPooledPreparedStatement.java:493)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:62)
at com.sun.proxy.$Proxy89.execute(Unknown Source)
at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:59)
at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:73)
at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:60)
at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:267)
at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:137)
at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:96)
at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:49)
at com.thinkgem.jeesite.common.persistence.interceptor.PaginationInterceptor.intercept(PaginationInterceptor.java:82)
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:60)
at com.sun.proxy.$Proxy87.query(Unknown Source)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:108)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:102)
at org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:386)
... 74 more

相關推薦

關於jeesite登入顯示系統出現異常稍後”問題解決方案

2018-04-19 14:13:36,851 DEBUG [modules.sys.dao.UserDao.getByLoginName] - ==> Parameters: admin(String), 0(String)org.apache.shiro.authc.AuthenticationEx

支付寶報錯“暫時無法獲取訂單資訊稍後解決方法

這個問題在網上找到好多,說法五花八門,單沒有一個方法解決。最後一行一行的測試發現,原來這個錯誤的真正原因是。 total_amount付款金額不能是0! total_amount付款金額不能是0! total_amount付款金額不能是0!

我的QQ顯示暫時無法登入稍後錯誤碼0x0006000d

先開啟工作管理員(快捷鍵:Ctrl+Alt+Delete),選擇“程序”中將QQ.exe結束程序後,然後刪除號碼資料夾後在嘗試重新登入。 資料夾可以不用刪,把所有QQ程序都結束後,再試一下就成功了。如

支付寶手機網站支付出現系統繁忙稍後

今日在做一個檔案搞定支付寶系列時,其中在做支付寶手機網站相容微信瀏覽器時,遇到了不少坑,這裡詳細記錄一下。 1.驗簽出錯 按照支付寶提供的demo(alipay_in_weixin_demo),裡面只傳了少部分引數,跟手機版支付有很大差別。按照手機版網頁

"該公眾號提供的服務出現故障稍後"sh*t!

記錄一個微信公眾號開發的坑! 後臺伺服器是 Codeigniter,在控制器裡配置了一個路徑,web 訪問沒有問題,微信公眾號伺服器 URL 配置也通過了,但死活收不訊息。使用者收到反饋資訊“該公眾號提供的服務出現故障,請稍後再試”,伺服器根本收不到資訊。 花了我三個小時,最後看

微信公眾開發-“該公眾號提供的服務出現故障稍後

解決辦法: 1、確定是否超時5秒,還未迴應; 2、後臺列印返回的資料,確認返回資料的格式是否正確; 3、檢視是否授權第三方,檢視方法:登入微信公眾平臺後臺,左側“功能”下面選擇“新增功能外掛”,再點選授權管理; 4、屬性名稱首字母大寫!!!!

終於解決了QQ互聯總是系統繁忙稍後的問題。內詳!

接觸DZ有一段時間了,但是從來沒用過雲平臺和雲平臺的服務,前幾天才開始研究使用雲平臺才發有現很多棘手的問題。經過幾天的研究終於將QQ互聯的問題解決了,現總結一下discuz X3.3QQ互聯 1.18.2(qqconnect)我以前沒有開通過雲平臺及其雲平臺裡的服務,最近才

接入支付寶出現交易訂單處理失敗稍後(ALI64)的錯誤

上次在接入支付寶的時候就碰到了交易訂單處理失敗,請稍後再試(ALI64)這樣的錯誤,後來經過排查和總結,一般來講這種問題都是公鑰和私鑰沒有正確配置造成的。支付寶這邊為了保證資料在傳輸時不被篡改,使用了rsa這種非對稱的加密方式。大概的流程如下: 支付寶互動資料流程

微信服務號被動回覆訊息:該公眾號提供的服務出現故障稍後

我這出現這個問題的原因是我回復的 XML 中有空格,如: <xml> <ToUserName>< ![CDATA[toUser] ]></ToUserName> <FromUserName>< ![CDATA[f

微信H5支付 提示"網絡環境未能通過安全驗證稍後"

微信 h5 支付 按照官方https://pay.weixin.qq.com/wiki/doc/api/H5.php?chapter=15_4#接入微信的H5支付,提示“網絡環境未能通過安全驗證,請稍後再試”,經排查發現服務器有前端機子,原先獲取IP的方法有誤,不能正確獲取客戶的IP。更改獲取IP

微信公號開發“該公眾號暫時無法提供服務稍後”問題解決,OpenId獲取

遇到這個問題,折騰了半天,真是夠辛苦! 不過這一步應該是微信公號開發必須要經歷的,因為只有回覆訊息,伺服器那邊返回回來,才說明走通嘛。 網路上有很多答案,但都沒有解答我的問題,我用除錯工具除錯了下,也

支付寶 支付返回 4000 系統繁忙稍後

今天支付 ,遇到問題 4000,開始以為是 前臺應用的 bug ,然後各種嘗試,後臺發現 IOS 與 Android 同時出現該問題,這就明白是後臺配置可能不對。 首先檢查了 支付寶公鑰 (需要配置到

支付寶APP支付 顯示 系統繁忙 稍後 ALI40247

PHP服務端生成地址傳給IOS端呼叫 一直顯示系統繁忙 請稍後再試 ALI40247   金鑰也正常 也按照官方說明來走。 官方的PHP端SDK是錯誤的  根本不加密biz_content 欄位   隨後百度找不到相關的資料 只有人說換成 1.0版本 也就是 移動支付 

關於 “該公眾號提供的服務出現故障稍後”系列問題

近來做了微信公眾號一些小功能,踩了一些坑,特發此部落格,希望能幫到你們。 出現的問題: 官方給出的解釋是: 其實還有一種情況(也是我遇到的): 大家都明白,當普通微信使用者向公眾賬號發訊息時,微信伺服器將以POST方式傳送XML資料包到開發者填寫的URL上。

網絡環境未能通過安全驗證稍候

支付 安全 nbsp 未能 h5支付 http img 參數 width 1.調用第三方支付接口的時候,出現如下信息: 2.問題原因:   此處是調用的H5支付,參數IP寫的內網的IP地址。 3.解決方法:   使用H5支付的需要傳如客戶端的

visudo: /etc/sudoers 忙稍後

ubuntn 修改了 /etc/sudoers 之後 sudo出錯了(改錯了。。。) 輸入 sudo 會提示解決失敗 輸入   visudo: /etc/sudoers 忙,請稍後重試 這時怎麼解決呢? 參考 http://blog.sina.com.cn/s/blog_1

SQLSERVER2008中無法獲得資料庫 'model' 上的排他鎖稍後該操作怎麼解決

只需在查詢分析其中執行如下程式碼即可: declare @sql varchar(100)  while 1=1  begin  select top 1 @sql = 'kill '+cast(spid as varchar(3))  from master..syspr

win10 windows無法立即啟用稍後嘗試啟用解決方案

win10 家庭版 首先找到命令列提示符,可以直接使用Cortana搜尋,然後右鍵點選以管理員身份執行。 依次輸入以下命令即可解決。 C:\WINDOWS\system32>slmgr.vbs /upk C:\WINDOWS\system32>slmgr /ipk

ThinkPHP3.0 出現“您瀏覽的頁面暫時發生了錯誤!稍後~”的解決辦法

ThinkPHP3.0 第一次執行入口檔案,之後在修改Action只要是有資料庫操作,就會出現“您瀏覽的頁面暫時發生了錯誤!請稍後再試~”的系統提示錯誤。 解決辦法是: 把專案裡自動生成的runtime資料夾下~runtime.php檔案刪掉,再重新整理瀏覽器頁面就會正常顯示資料庫提取的資訊。 如果還不好

微信支付出現支付請求引數錯誤,核實或交易出錯,稍後的可能原因

轉載地址: http://blog.sina.com.cn/s/blog_63eb3eec0101h7x1.html 微信支付經常會出現有些奇怪找不到原因的問題,下面就是其中的一個例子當你的微信支付出現 “支付請求引數錯誤,請核實再試”或 “交易出錯,請稍後再試”的錯誤的