2
回答
jfinal项目发布到sae
注册华为云得mate10,2.9折抢先购!>>>   

想将jfinal的项目发布到sae上去,试了下,没搞定,请@JFinal帮忙看下

 Failed to set up a PooledDataSourceManager mBean. [com.mchange.v2.c3p0:type=PooledDataSource[2ui4va8u1rpktzejjzd3y|644cd580]] [c3p0 will still functioning normally, but management via JMX may not be possible.]
java.security.AccessControlException: access denied (javax.management.MBeanTrustPermission register)
java.security.AccessControlContext.checkPermission(AccessControlContext.java:393)
java.lang.SecurityManager.checkPermission(SecurityManager.java:585)
com.sina.sae.security.SaeSecurityManager.checkPermission(SaeSecurityManager.java:356)
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.checkMBeanTrustPermission(DefaultMBeanServerInterceptor.java:1868)
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:328)
com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:516)
com.mchange.v2.c3p0.management.DynamicPooledDataSourceManagerMBean.reinitialize(DynamicPooledDataSourceManagerMBean.java:234)
com.mchange.v2.c3p0.management.DynamicPooledDataSourceManagerMBean.<init>(DynamicPooledDataSourceManagerMBean.java:159)
com.mchange.v2.c3p0.management.ActiveManagementCoordinator.attemptManagePooledDataSource(ActiveManagementCoordinator.java:110)
com.mchange.v2.c3p0.C3P0Registry.incorporate(C3P0Registry.java:233)
com.mchange.v2.c3p0.C3P0Registry.reregister(C3P0Registry.java:251)
com.mchange.v2.c3p0.impl.PoolBackedDataSourceBase.<init>(PoolBackedDataSourceBase.java:228)
com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.<init>(AbstractPoolBackedDataSource.java:62)
com.mchange.v2.c3p0.ComboPooledDataSource.<init>(ComboPooledDataSource.java:109)
com.mchange.v2.c3p0.ComboPooledDataSource.<init>(ComboPooledDataSource.java:105)
com.jfinal.plugin.c3p0.C3p0Plugin.start(C3p0Plugin.java:110)
com.jfinal.core.Config.startPlugins(Config.java:78)
com.jfinal.core.Config.configJFinal(Config.java:48)
com.jfinal.core.JFinal.init(JFinal.java:68)
com.jfinal.core.JFinalFilter.init(JFinalFilter.java:49)
com.sina.sae.servlet.SaeFilterHolder.doFilterInit(SaeFilterHolder.java:40)
org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:99)
java.lang.StringIndexOutOfBoundsException: String index out of range: -6
	at java.lang.String.substring(String.java:1949)
	at java.lang.String.substring(String.java:1916)
	at com.jfinal.core.JFinalFilter.doFilter(JFinalFilter.java:68)
	at com.sina.sae.servlet.SaeServletHandler.servletHandlerDoFilter(SaeServletHandler.java:56)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1328)


举报
jeffw
发帖于5年前 2回/869阅
顶部