我們系統JDK由1.6升級到1.7程序中,在驗證環境部署程式正常,在生產環境(作業系統同驗證環境)能正常啟動,但是一登錄就報錯,同樣的代碼在驗證環境都可運行正常,各位大神幫忙看看。
<Jan 12, 2021 9:14:22 AM CST> <Notice> <WebLogicServer> <BEA-000330> <Started WebLogic Managed Server "server7001" for domain "newaueic" running in Production Mode>
<Jan 12, 2021 9:14:25 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Jan 12, 2021 9:14:25 AM CST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
org.springframework.jdbc.UncategorizedSQLException: SqlMapClient operation; uncategorized SQLException for SQL []; SQL state [null]; error code [0];
--- The error occurred in com/frontier/sysmanage/model/queryStatMain.xml.
--- The error occurred while applying a result map.
--- Check the QueryStatMain.findRoleId-AutoResultMap.
--- Check the result mapping for the 'ROLE_ID' property.
--- Cause: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessDeclaredMembers"); nested exception is com.ibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred in com/frontier/sysmanage/model/queryStatMain.xml.
--- The error occurred while applying a result map.
--- Check the QueryStatMain.findRoleId-AutoResultMap.
--- Check the result mapping for the 'ROLE_ID' property.
--- Cause: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessDeclaredMembers")
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:90)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:82)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:82)
at org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:203)
at org.springframework.orm.ibatis.SqlMapClientTemplate.queryForList(SqlMapClientTemplate.java:293)
at com.frontier.framework.dao.impl.BaseDaoIbatisImpl.selectObjects(BaseDaoIbatisImpl.java:254)
at com.frontier.framework.service.impl.BaseServiceIbatisImpl.findObjects(BaseServiceIbatisImpl.java:163)
at sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.aop.framework.adapter.ThrowsAdviceInterceptor.invoke(ThrowsAdviceInterceptor.java:113)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
at com.sun.proxy.$Proxy57.findObjects(Unknown Source)
at com.frontier.sysmanage.action.RedirectAction.doRedirect(RedirectAction.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at ognl.security.UserMethod.run(UserMethod.java:24)
at java.security.AccessController.doPrivileged(Native Method)
at ognl.OgnlRuntime.invokeMethodInsideSandbox(OgnlRuntime.java:1258)
at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:1211)
at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1920)
at ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:68)
at com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethodWithDebugInfo(XWorkMethodAccessor.java:98)
at com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethod(XWorkMethodAccessor.java:90)
at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:1996)
at ognl.ASTMethod.getValueBody(ASTMethod.java:91)
at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)
at ognl.SimpleNode.getValue(SimpleNode.java:258)
at ognl.Ognl.getValue(Ognl.java:537)
at ognl.Ognl.getValue(Ognl.java:501)
at com.opensymphony.xwork2.ognl.OgnlUtil$3.execute(OgnlUtil.java:492)
at com.opensymphony.xwork2.ognl.OgnlUtil.compileAndExecuteMethod(OgnlUtil.java:544)
at com.opensymphony.xwork2.ognl.OgnlUtil.callMethod(OgnlUtil.java:490)
at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:438)
uj5u.com熱心網友回復:
是不是和weblogic配置了什么資訊有關系呢轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/247888.html
標籤:應用服務器
上一篇:Web前端之HTML
