NutzCN Logo
问答 org.nu报错:tz.dao.DaoException: java.sql.SQLException: 仅 READ_COMMITTED 和 SERIALIZABLE 是有效的事务处理级
发布于 2375天前 作者 DossShi 1996 次浏览 复制 上一个帖子 下一个帖子
标签:

大佬,请问这个报错是需要调整设置,使用READ_COMMITTED还是说用别的方式。

import com.wonders.biz.workdesk.entity.DbShortcutMenuDO;
import com.wonders.biz.workdesk.model.ShortcutConditionDTO;
import com.wonders.biz.workdesk.model.ShortcutVO;
import com.wonders.biz.workdesk.model.UserConditionDTO;
import com.wonders.framework.login.at.LoginAt;
import org.nutz.dao.Cnd;
import org.nutz.dao.Dao;
import org.nutz.dao.QueryResult;
import org.nutz.dao.pager.Pager;
import org.nutz.ioc.loader.annotation.Inject;
import org.nutz.ioc.loader.annotation.IocBean;
import org.nutz.lang.Strings;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.ArrayList;
import java.util.List;

import static org.nutz.dao.util.Pojos.log;

/**
 * 个人快捷方式业务逻辑
 */
@IocBean
public class ShortcutManage extends BaseManage{

    private static final Logger log = LoggerFactory.getLogger(LoginAt.class);

    @Inject
    protected Dao dao; // 就这么注入了,有@IocBean它才会生效

    /**
     * 个人快捷方式查询
     * @param userConditionDTO
     * @return
     */
    public Object getUserShortcut(UserConditionDTO userConditionDTO, Pager pager){
        Cnd cnd = Cnd.where("USER_ID", "=", +userConditionDTO.getId()).and("IS_VALIDATY", "=", "1");
//        Cnd cnd = Cnd.where("1", "=", "1");
        QueryResult qr = new QueryResult();
        qr.setList(dao.query(DbShortcutMenuDO.class, cnd, pager));
        pager.setRecordCount(dao.count(DbShortcutMenuDO.class, cnd));
        qr.setPager(pager);
        return qr;
    }

    public String getUserShortcutStr(UserConditionDTO userConditionDTO, Pager pager) {
        String sql = "select * from DB_SHORTCUT_MENU where USER_ID = " + userConditionDTO.getId() + " and IS_VALIDATY = 1";
        Cnd cnd = Cnd.where("USER_ID", "=", +userConditionDTO.getId())
                .and("IS_VALIDATY", "=", "1");
        List<DbShortcutMenuDO> list = new ArrayList<DbShortcutMenuDO>() ;
        QueryResult queryResult = new QueryResult();
        queryResult.setList(dao.query("DB_SHORTCUT_MENU", cnd));
        log.debug(queryResult.toString());
        return "";
    }

    public int count() {
        return dao.count(DbShortcutMenuDO.class);
    }



}

D:\SDK\Tomcat\apache-tomcat-8.5.14\bin\catalina.bat run
[2018-06-22 10:55:25,868] Artifact mzweb:war exploded: Waiting for server connection to start artifact deployment...
Using CATALINA_BASE:   "C:\Users\DossS\.IntelliJIdea2018.1\system\tomcat\Unnamed_mzweb_4"
Using CATALINA_HOME:   "D:\SDK\Tomcat\apache-tomcat-8.5.14"
Using CATALINA_TMPDIR: "D:\SDK\Tomcat\apache-tomcat-8.5.14\temp"
Using JRE_HOME:        "D:\SDK\Java\jdk1.8"
Using CLASSPATH:       "D:\SDK\Tomcat\apache-tomcat-8.5.14\bin\bootstrap.jar;D:\SDK\Tomcat\apache-tomcat-8.5.14\bin\tomcat-juli.jar"
Connected to the target VM, address: '127.0.0.1:13710', transport: 'socket'
22-Jun-2018 10:55:27.538 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.5.14
22-Jun-2018 10:55:27.544 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Apr 13 2017 12:55:45 UTC
22-Jun-2018 10:55:27.544 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.5.14.0
22-Jun-2018 10:55:27.544 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Windows 10
22-Jun-2018 10:55:27.545 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            10.0
22-Jun-2018 10:55:27.545 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
22-Jun-2018 10:55:27.545 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             D:\SDK\Java\jdk1.8\jre
22-Jun-2018 10:55:27.545 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_152-b16
22-Jun-2018 10:55:27.545 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
22-Jun-2018 10:55:27.545 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         C:\Users\DossS\.IntelliJIdea2018.1\system\tomcat\Unnamed_mzweb_4
22-Jun-2018 10:55:27.545 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         D:\SDK\Tomcat\apache-tomcat-8.5.14
22-Jun-2018 10:55:27.546 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Users\DossS\.IntelliJIdea2018.1\system\tomcat\Unnamed_mzweb_4\conf\logging.properties
22-Jun-2018 10:55:27.546 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
22-Jun-2018 10:55:27.546 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:13710,suspend=y,server=n
22-Jun-2018 10:55:27.546 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -javaagent:C:\Users\DossS\.IntelliJIdea2018.1\system\captureAgent\debugger-agent.jar=file:/C:/Users/DossS/AppData/Local/Temp/capture1509.props
22-Jun-2018 10:55:27.547 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote=
22-Jun-2018 10:55:27.547 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099
22-Jun-2018 10:55:27.547 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
22-Jun-2018 10:55:27.547 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
22-Jun-2018 10:55:27.547 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1
22-Jun-2018 10:55:27.547 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
22-Jun-2018 10:55:27.547 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
22-Jun-2018 10:55:27.548 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\DossS\.IntelliJIdea2018.1\system\tomcat\Unnamed_mzweb_4
22-Jun-2018 10:55:27.548 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=D:\SDK\Tomcat\apache-tomcat-8.5.14
22-Jun-2018 10:55:27.548 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=D:\SDK\Tomcat\apache-tomcat-8.5.14\temp
22-Jun-2018 10:55:27.548 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library 1.2.12 using APR version 1.5.2.
22-Jun-2018 10:55:27.548 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
22-Jun-2018 10:55:27.548 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
22-Jun-2018 10:55:28.624 信息 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized (OpenSSL 1.0.2k  26 Jan 2017)
22-Jun-2018 10:55:28.790 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
22-Jun-2018 10:55:28.830 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
22-Jun-2018 10:55:28.834 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
22-Jun-2018 10:55:28.838 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
22-Jun-2018 10:55:28.838 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1941 ms
22-Jun-2018 10:55:28.888 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
22-Jun-2018 10:55:28.889 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.14
22-Jun-2018 10:55:28.902 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
22-Jun-2018 10:55:28.918 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
22-Jun-2018 10:55:28.922 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 83 ms
Connected to server
[2018-06-22 10:55:29,082] Artifact mzweb:war exploded: Artifact is being deployed, please wait...
22-Jun-2018 10:55:32.790 信息 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
log4j:WARN No such property [.Threshold] in org.apache.log4j.ConsoleAppender.
2018-06-22 10:55:33,105 org.nutz.mvc.NutFilter._init(NutFilter.java:85) INFO  - NutFilter[nutz] starting ...
2018-06-22 10:55:33,131 org.nutz.resource.impl.ErrorResourceLocation.<init>(ErrorResourceLocation.java:28) INFO  - [loc=D:\Project\JavaEE\mzyl%202018\idea\test7\mzweb\target\mzweb-0.0.1-SNAPSHOT\WEB-INF\classes]not exist
2018-06-22 10:55:33,136 org.nutz.resource.Scans.printLocations(Scans.java:521) DEBUG - Locations count=5 time use 9ms
2018-06-22 10:55:33,188 org.nutz.resource.Scans.printLocations(Scans.java:521) DEBUG - Locations count=62 time use 52ms
2018-06-22 10:55:33,335 org.nutz.castor.Castors.reload(Castors.java:115) DEBUG - Using 95 castor for Castors
2018-06-22 10:55:33,368 org.nutz.mvc.config.AbstractNutConfig.createLoading(AbstractNutConfig.java:59) DEBUG - Loading by class org.nutz.mvc.impl.NutLoading
2018-06-22 10:55:33,372 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:55) INFO  - Nutz Version : 1.r.62 
2018-06-22 10:55:33,373 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:56) INFO  - Nutz.Mvc[nutz] is initializing ...
2018-06-22 10:55:33,373 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:60) DEBUG - Web Container Information:
2018-06-22 10:55:33,374 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:61) DEBUG -  - Default Charset : GBK
2018-06-22 10:55:33,375 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:62) DEBUG -  - Current . path  : D:\SDK\Tomcat\apache-tomcat-8.5.14\bin\.
2018-06-22 10:55:33,375 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:63) DEBUG -  - Java Version    : 1.8.0_152
2018-06-22 10:55:33,376 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:64) DEBUG -  - File separator  : \
2018-06-22 10:55:33,376 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:65) DEBUG -  - Timezone        : Asia/Shanghai
2018-06-22 10:55:33,377 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:66) DEBUG -  - OS              : Windows 10 amd64
2018-06-22 10:55:33,377 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:67) DEBUG -  - ServerInfo      : Apache Tomcat/8.5.14
2018-06-22 10:55:33,378 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:68) DEBUG -  - Servlet API     : 3.1
2018-06-22 10:55:33,379 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:73) DEBUG -  - ContextPath     : 
2018-06-22 10:55:33,379 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:74) DEBUG -  - context.tempdir : C:\Users\DossS\.IntelliJIdea2018.1\system\tomcat\Unnamed_mzweb_4\work\Catalina\localhost\ROOT
2018-06-22 10:55:33,380 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:75) DEBUG -  - MainModule      : com.wonders.MainModule
2018-06-22 10:55:33,381 org.nutz.mvc.impl.NutLoading.createContext(NutLoading.java:235) DEBUG - >> app.root = D:/Project/JavaEE/mzyl 2018/idea/test7/mzweb/target/mzweb-0.0.1-SNAPSHOT
2018-06-22 10:55:33,388 org.nutz.mvc.impl.NutLoading.createIoc(NutLoading.java:376) DEBUG - @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*org.nutz.ioc.loader.json.JsonLoader", "ioc/", "*org.nutz.ioc.loader.annotation.AnnotationIocLoader", "com.wonders", "*quartz"],init=[])
2018-06-22 10:55:33,582 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 4 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
2018-06-22 10:55:33,582 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) DEBUG - loading [aop.js]
2018-06-22 10:55:33,596 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) DEBUG - loading [dao.js]
2018-06-22 10:55:33,597 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) DEBUG - loading [logger.js]
2018-06-22 10:55:33,598 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) DEBUG - loading [mongo.js]
2018-06-22 10:55:33,599 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:57) DEBUG - Loaded 13 bean define from path=[ioc/] --> [zMoDB, log, logger, txNONE, $aop, txREPEATABLE_READ, dao, txREAD_UNCOMMITTED, txREAD_COMMITTED, zMoCoUser, txSERIALIZABLE, zMongo, dataSource]
2018-06-22 10:55:33,678 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 154 resource by src( com/wonders/ ) , regex( ^.+[.]class$ )
2018-06-22 10:55:33,820 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.wonders.biz.workdesk.at.UserNoticeAt
2018-06-22 10:55:33,831 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.wonders.biz.workdesk.at.WorkdeskAt
2018-06-22 10:55:33,838 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.wonders.biz.workdesk.manage.ShortcutManage
2018-06-22 10:55:33,856 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.wonders.framework.common.attachment.at.AttachmentAt
2018-06-22 10:55:33,857 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.wonders.framework.common.attachment.manager.AttachmentManager
2018-06-22 10:55:33,860 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.wonders.framework.common.attachment.service.AttachmentService
2018-06-22 10:55:33,863 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.wonders.framework.common.authority.service.UserAuthorityService
2018-06-22 10:55:33,869 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.wonders.framework.common.dic.util.DicDataUtils
2018-06-22 10:55:33,870 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.wonders.framework.common.interceptor.LoggerInterceptor
2018-06-22 10:55:33,873 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.wonders.framework.common.mongoDB.at.MongoDBAt
2018-06-22 10:55:33,883 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.wonders.framework.common.mongoDB.service.MongoDBService
2018-06-22 10:55:33,890 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.wonders.framework.common.redis.cache.at.RedisTestAt
2018-06-22 10:55:33,891 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.wonders.framework.common.redis.cache.service.CachingAcquisitionService
2018-06-22 10:55:33,897 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.wonders.framework.common.weixin.at.Oauth2AuthorizeAt
2018-06-22 10:55:33,899 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.wonders.framework.common.weixin.DefaultWxHandler
2018-06-22 10:55:33,906 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.wonders.framework.common.weixin.service.WeixinService
2018-06-22 10:55:33,907 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.wonders.framework.common.weixin.service.WxCoreService
2018-06-22 10:55:33,911 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.wonders.framework.common.weixin.WeixinModule
2018-06-22 10:55:33,912 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.wonders.framework.login.at.LoginAt
2018-06-22 10:55:33,914 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.wonders.test.biz.common.OracleTest
2018-06-22 10:55:33,915 org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:52) INFO  - Found 20 classes in 1 base-packages!
beans = ["userNoticeAt", "mongoDBService", "workdeskAt", "attachmentManager", "loggerInterceptor", "wxHandler", "shortcutManage", "redisTestAt", "attachmentAt", "userAuthorityService", "weixinService", "weixinModule", "mongoDBAt", "wxCoreService", "attachmentService", "oauth2AuthorizeAt", "loginAt", "dicDataUtils", "cachingAcquisitionService", "oracleTest"]
2018-06-22 10:55:33,920 org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(ComboIocLoader.java:110) DEBUG - found quartz -- org.nutz.integration.quartz.QuartzIocLoader
2018-06-22 10:55:33,927 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:57) DEBUG - Loaded 0 bean define from path=[] --> []
2018-06-22 10:55:33,934 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:98) INFO  - NutIoc init begin ...
2018-06-22 10:55:33,938 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:115) INFO  - ... NutIoc init complete
2018-06-22 10:55:33,944 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:159) INFO  - Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
2018-06-22 10:55:33,947 org.nutz.mvc.impl.NutLoading.createViewMakers(NutLoading.java:366) DEBUG - @Views(DefaultViewMaker.class)
2018-06-22 10:55:33,958 org.nutz.mvc.impl.NutLoading.createChainMaker(NutLoading.java:263) DEBUG - @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
2018-06-22 10:55:33,967 org.nutz.mvc.impl.Loadings.scanModules(Loadings.java:154) DEBUG - module class location 'file:/D:/Project/JavaEE/mzyl%202018/idea/test7/mzweb/target/mzweb-0.0.1-SNAPSHOT/WEB-INF/classes/'
2018-06-22 10:55:33,968 org.nutz.mvc.impl.Loadings.scanModuleInPackage(Loadings.java:184) DEBUG -  > scan 'com.wonders'
2018-06-22 10:55:34,007 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 154 resource by src( com/wonders/ ) , regex( ^.+[.]class$ )
2018-06-22 10:55:34,013 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:199) DEBUG -    >> add 'com.wonders.biz.fl.fljg.jggl.slxk.manage.SlxkApprovalManage'
2018-06-22 10:55:34,016 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:199) DEBUG -    >> add 'com.wonders.biz.workdesk.at.UserNoticeAt'
2018-06-22 10:55:34,017 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:199) DEBUG -    >> add 'com.wonders.biz.workdesk.at.WorkdeskAt'
2018-06-22 10:55:34,025 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:199) DEBUG -    >> add 'com.wonders.framework.common.attachment.at.AttachmentAt'
2018-06-22 10:55:34,033 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:199) DEBUG -    >> add 'com.wonders.framework.common.mongoDB.at.MongoDBAt'
2018-06-22 10:55:34,035 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:199) DEBUG -    >> add 'com.wonders.framework.common.redis.cache.at.RedisTestAt'
2018-06-22 10:55:34,077 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:199) DEBUG -    >> add 'com.wonders.framework.common.weixin.WeixinModule'
2018-06-22 10:55:34,078 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:199) DEBUG -    >> add 'com.wonders.framework.login.at.LoginAt'
2018-06-22 10:55:34,079 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:199) DEBUG -    >> add 'com.wonders.test.biz.common.OracleTest'
2018-06-22 10:55:34,119 org.nutz.mvc.impl.NutActionChainMaker.getProcessorByName(NutActionChainMaker.java:72) INFO  - Optional processor class not found, disabled : org.nutz.integration.shiro.NutShiroProcessor
2018-06-22 10:55:34,140 org.nutz.mvc.impl.NutActionChainMaker.getProcessorByName(NutActionChainMaker.java:72) INFO  - Optional processor class not found, disabled : org.nutz.plugins.validation.ValidationProcessor
2018-06-22 10:55:34,190 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/mongoDB/index'            >> (MongoDBAt.java:38).index             : void       | @Ok(jsp:pages.frame.mongoDB.login) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-06-22 10:55:34,315 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/mongoDB/add'              >> (MongoDBAt.java:70).add               : Object     | @Ok(json:{locked:'password|salt',ignoreNull:true}) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-06-22 10:55:34,316 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/mongoDB/count'            >> (MongoDBAt.java:44).count             : int        | @Ok(json:{locked:'password|salt',ignoreNull:true}) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-06-22 10:55:34,317 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/mongoDB/update'           >> (MongoDBAt.java:85).update            : Object     | @Ok(json:{locked:'password|salt',ignoreNull:true}) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-06-22 10:55:34,325 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/mongoDB/delete'           >> (MongoDBAt.java:100).delete           : Object     | @Ok(json:{locked:'password|salt',ignoreNull:true}) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-06-22 10:55:34,342 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/mongoDB/query'            >> (MongoDBAt.java:117).query            : Object     | @Ok(json:{locked:'password|salt',ignoreNull:true}) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-06-22 10:55:34,345 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/mongoDB/login'            >> (MongoDBAt.java:50).login             : Object     | @Ok(json:{locked:'password|salt',ignoreNull:true}) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-06-22 10:55:34,356 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/mongoDB/logout'           >> (MongoDBAt.java:62).logout            : void       | @Ok(>>:/ ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2018-06-22 10:55:34,364 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/toIndex'                  >> (LoginAt.java:69).index               : UserVO     | @Ok(jsp:pages.index) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-06-22 10:55:34,365 org.nutz.mvc.impl.processor.ViewProcessor.init(ViewProcessor.java:29) WARN  - Not a good idea : Return String ,and using JsonView!! (Using @Ok("raw") or return map/list/pojo)--> LoginAt.loadMenu(...)
2018-06-22 10:55:34,366 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/loadMenu'                 >> (LoginAt.java:77).loadMenu            : String     | @Ok(json ) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-06-22 10:55:34,369 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/toMain'                   >> (LoginAt.java:50).toMainContext       : UserVO     | @Ok(jsp:pages.main) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-06-22 10:55:34,370 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/toMainContent'            >> (LoginAt.java:117).mainContent        : void       | @Ok(jsp:pages.mainContent) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-06-22 10:55:34,379 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/CoreServlet'              >> (WeixinModule.java:29).msgin          : View       | @Ok(null ) @Fail(null ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2018-06-22 10:55:34,381 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/oracleTest/count'         >> (OracleTest.java:23).count            : int        | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-06-22 10:55:34,383 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/attachment/showAttachment' >> (AttachmentAt.java:35).queryAttachment : Object     | @Ok(jsp:pages.frame.attachment.attachmentList) @Fail(null ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2018-06-22 10:55:34,385 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/attachment/download'      >> (AttachmentAt.java:45).download       : File       | @Ok(raw  ) @Fail(null ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2018-06-22 10:55:34,387 org.nutz.mvc.impl.processor.ModuleProcessor.init(ModuleProcessor.java:61) INFO  - Create Module obj without Ioc --> class com.wonders.biz.fl.fljg.jggl.slxk.manage.SlxkApprovalManage
2018-06-22 10:55:34,414 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/saveNewOrganApply'        >> (SlxkApprovalManage.java:72).saveNewOrganApply : Object     | @Ok(null ) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-06-22 10:55:34,415 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/saveApply'                >> (SlxkApprovalManage.java:58).saveApply : void       | @Ok(jsp:pages.biz.jggl.slxk.new.applyAdd) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-06-22 10:55:34,417 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/redisTest'                >> (RedisTestAt.java:28).testDemoList    : Map        | @Ok(json ) @Fail(null ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2018-06-22 10:55:34,419 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/userNotice/count'         >> (UserNoticeAt.java:23).count          : int        | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-06-22 10:55:34,421 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/workdesk/count'           >> (WorkdeskAt.java:152).count           : int        | @Ok(json ) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-06-22 10:55:34,421 org.nutz.mvc.impl.processor.ViewProcessor.init(ViewProcessor.java:29) WARN  - Not a good idea : Return String ,and using JsonView!! (Using @Ok("raw") or return map/list/pojo)--> WorkdeskAt.load(...)
2018-06-22 10:55:34,422 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/workdesk/load'            >> (WorkdeskAt.java:58).load             : String     | @Ok(json ) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-06-22 10:55:34,423 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/workdesk/countmanage'     >> (WorkdeskAt.java:165).countManage     : int        | @Ok(json ) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-06-22 10:55:34,424 org.nutz.mvc.impl.processor.ViewProcessor.init(ViewProcessor.java:29) WARN  - Not a good idea : Return String ,and using JsonView!! (Using @Ok("raw") or return map/list/pojo)--> WorkdeskAt.loadMenu(...)
2018-06-22 10:55:34,424 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/workdesk/loadMenu'        >> (WorkdeskAt.java:50).loadMenu         : String     | @Ok(json ) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-06-22 10:55:34,425 org.nutz.mvc.impl.processor.ViewProcessor.init(ViewProcessor.java:29) WARN  - Not a good idea : Return String ,and using JsonView!! (Using @Ok("raw") or return map/list/pojo)--> WorkdeskAt.loadUser(...)
2018-06-22 10:55:34,426 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/workdesk/loadUser'        >> (WorkdeskAt.java:41).loadUser         : String     | @Ok(json ) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-06-22 10:55:34,427 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/workdesk/noticecount'     >> (WorkdeskAt.java:158).noticeCount     : int        | @Ok(json ) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-06-22 10:55:34,428 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/workdesk/loadShortcut'    >> (WorkdeskAt.java:139).loadShortcut    : Object     | @Ok(json ) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2018-06-22 10:55:34,429 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:217) INFO  - Found 27 module methods
2018-06-22 10:55:34,430 org.nutz.mvc.impl.NutLoading.evalLocalization(NutLoading.java:331) DEBUG - @Localization not define
2018-06-22 10:55:34,431 org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:271) INFO  - Setup application...
>>>MainSetup starting...
2018-06-22 10:55:34,439 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'dao'<interface org.nutz.dao.Dao>
2018-06-22 10:55:34,439 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get '$aop'<interface org.nutz.ioc.aop.config.AopConfigration>
2018-06-22 10:55:34,441 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=$aop
2018-06-22 10:55:34,442 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=$aop
2018-06-22 10:55:34,470 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) DEBUG - Found IocObject($aop) in JsonLoader(paths=[ioc/])
2018-06-22 10:55:34,471 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - 	 >> Make...'$aop'<interface org.nutz.ioc.aop.config.AopConfigration>
2018-06-22 10:55:34,472 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object '$aop' to [app] 
2018-06-22 10:55:34,556 org.nutz.ioc.aop.SimpleAopMaker.<init>(SimpleAopMaker.java:79) DEBUG - Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
2018-06-22 10:55:34,556 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=dao
2018-06-22 10:55:34,556 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=dao
2018-06-22 10:55:34,561 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) DEBUG - Found IocObject(dao) in JsonLoader(paths=[ioc/])
2018-06-22 10:55:34,561 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - 	 >> Make...'dao'<interface org.nutz.dao.Dao>
2018-06-22 10:55:34,579 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) DEBUG - Load class org.nutz.dao.impl.NutDao without AOP
2018-06-22 10:55:34,580 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'dao' to [app] 
2018-06-22 10:55:34,777 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'dataSource'<>
2018-06-22 10:55:34,778 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=dataSource
2018-06-22 10:55:34,778 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=dataSource
2018-06-22 10:55:34,790 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) DEBUG - Found IocObject(dataSource) in JsonLoader(paths=[ioc/])
2018-06-22 10:55:34,791 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - 	 >> Make...'dataSource'<>
2018-06-22 10:55:34,802 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) DEBUG - Load class org.apache.commons.dbcp.BasicDataSource without AOP
2018-06-22 10:55:34,802 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'dataSource' to [app] 
2018-06-22 10:55:35,156 org.nutz.dao.jdbc.Jdbcs.<clinit>(Jdbcs.java:90) DEBUG - Jdbcs init complete
2018-06-22 10:55:35,157 org.nutz.dao.jdbc.Jdbcs.getExpert(Jdbcs.java:103) INFO  - Get Connection from DataSource for JdbcExpert, if you lock at here, check your database server and configure
22-Jun-2018 10:55:38.903 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory D:\SDK\Tomcat\apache-tomcat-8.5.14\webapps\manager
22-Jun-2018 10:55:39.024 信息 [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
22-Jun-2018 10:55:39.062 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory D:\SDK\Tomcat\apache-tomcat-8.5.14\webapps\manager has finished in 156 ms
2018-06-22 10:55:39,685 org.nutz.dao.impl.DaoSupport.setDataSource(DaoSupport.java:188) DEBUG - select expert : org.nutz.dao.impl.jdbc.oracle.OracleJdbcExpert
2018-06-22 10:55:39,697 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:199) DEBUG - JDBC Driver --> 10.2.0.1.0
2018-06-22 10:55:39,698 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:200) DEBUG - JDBC Name   --> Oracle JDBC driver
2018-06-22 10:55:39,699 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:202) DEBUG - JDBC URL    --> jdbc:oracle:thin:@10.1.9.74:1521:gomz
2018-06-22 10:55:39,699 org.nutz.dao.impl.DaoSupport.setDataSource(DaoSupport.java:221) DEBUG - Database info --> ORACLE:[Oracle - Oracle Database 11g Release 11.1.0.0.0 - Production]
2018-06-22 10:55:39,711 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 0 resource by src( com/wonders/demo/ ) , regex( ^.+[.]class$ )
2018-06-22 10:55:39,712 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:141) INFO  - Nutz.Mvc[nutz] is up in 6332ms
2018-06-22 10:55:39,712 org.nutz.mvc.NutFilter._init(NutFilter.java:117) INFO  - exclusionsPrefix  = ^(/rs/|/druid/)
[2018-06-22 10:55:39,732] Artifact mzweb:war exploded: Artifact is deployed successfully
[2018-06-22 10:55:39,732] Artifact mzweb:war exploded: Deploy took 10,650 milliseconds
2018-06-22 10:55:42,315 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [GET] path=/toMain : LoginAt.toMainContext(LoginAt.java:50)
2018-06-22 10:55:42,324 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'loginAt'<class com.wonders.framework.login.at.LoginAt>
2018-06-22 10:55:42,327 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=loginAt
2018-06-22 10:55:42,327 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) DEBUG - Found IocObject(loginAt) in AnnotationIocLoader(packages=[com.wonders])
2018-06-22 10:55:42,331 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - 	 >> Make...'loginAt'<class com.wonders.framework.login.at.LoginAt>
2018-06-22 10:55:42,333 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'logger'<interface org.nutz.aop.MethodInterceptor>
2018-06-22 10:55:42,333 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=logger
2018-06-22 10:55:42,333 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=logger
2018-06-22 10:55:42,334 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) DEBUG - Found IocObject(logger) in JsonLoader(paths=[ioc/])
2018-06-22 10:55:42,335 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - 	 >> Make...'logger'<interface org.nutz.aop.MethodInterceptor>
2018-06-22 10:55:42,335 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'logger' to [app] 
2018-06-22 10:55:42,346 org.nutz.aop.asm.AsmClassAgent.<clinit>(AsmClassAgent.java:29) DEBUG - AsmClassAgent will define class in Version 50
2018-06-22 10:55:42,351 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'loginAt' to [app] 
2018-06-22 10:55:42,391 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'userAuthorityService'<class com.wonders.framework.common.authority.service.UserAuthorityService>
2018-06-22 10:55:42,392 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=userAuthorityService
2018-06-22 10:55:42,393 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) DEBUG - Found IocObject(userAuthorityService) in AnnotationIocLoader(packages=[com.wonders])
2018-06-22 10:55:42,393 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - 	 >> Make...'userAuthorityService'<class com.wonders.framework.common.authority.service.UserAuthorityService>
2018-06-22 10:55:42,393 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'logger'<interface org.nutz.aop.MethodInterceptor>
2018-06-22 10:55:42,410 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'userAuthorityService' to [app] 
2018-06-22 10:55:42,461 org.nutz.service.EntityService.<init>(EntityService.java:41) DEBUG - Get TypeParams for self : java.lang.Object
+++++++sessionId+++++++session:
2018-06-22 10:55:44,062 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [GET] path=/toMainContent : LoginAt.mainContent(LoginAt.java:117)
2018-06-22 10:55:44,063 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'loginAt'<class com.wonders.framework.login.at.LoginAt>
2018-06-22 10:55:44,512 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [GET] path=/loadMenu : LoginAt.loadMenu(LoginAt.java:77)
2018-06-22 10:55:44,512 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'loginAt'<class com.wonders.framework.login.at.LoginAt>
+++++++sessionId+++++++session:
====[]
2018-06-22 10:55:45,102 com.wonders.framework.login.at.LoginAt.loadMenu(LoginAt.java:106) DEBUG - []
2018-06-22 10:55:54,964 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [GET] path=/workdesk/loadShortcut : WorkdeskAt.loadShortcut(WorkdeskAt.java:139)
2018-06-22 10:55:54,965 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'workdeskAt'<class com.wonders.biz.workdesk.at.WorkdeskAt>
2018-06-22 10:55:54,965 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=workdeskAt
2018-06-22 10:55:54,966 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) DEBUG - Found IocObject(workdeskAt) in AnnotationIocLoader(packages=[com.wonders])
2018-06-22 10:55:54,966 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - 	 >> Make...'workdeskAt'<class com.wonders.biz.workdesk.at.WorkdeskAt>
2018-06-22 10:55:54,966 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'logger'<interface org.nutz.aop.MethodInterceptor>
2018-06-22 10:55:54,983 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'workdeskAt' to [app] 
2018-06-22 10:55:55,005 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'dao'<interface org.nutz.dao.Dao>
2018-06-22 10:55:55,005 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'shortcutManage'<class com.wonders.biz.workdesk.manage.ShortcutManage>
2018-06-22 10:55:55,005 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=shortcutManage
2018-06-22 10:55:55,005 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) DEBUG - Found IocObject(shortcutManage) in AnnotationIocLoader(packages=[com.wonders])
2018-06-22 10:55:55,006 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - 	 >> Make...'shortcutManage'<class com.wonders.biz.workdesk.manage.ShortcutManage>
2018-06-22 10:55:55,006 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'logger'<interface org.nutz.aop.MethodInterceptor>
2018-06-22 10:55:55,006 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'txREAD_COMMITTED'<interface org.nutz.aop.MethodInterceptor>
2018-06-22 10:55:55,006 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=txREAD_COMMITTED
2018-06-22 10:55:55,007 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=txREAD_COMMITTED
2018-06-22 10:55:55,010 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) DEBUG - Found IocObject(txREAD_COMMITTED) in JsonLoader(paths=[ioc/])
2018-06-22 10:55:55,011 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - 	 >> Make...'txREAD_COMMITTED'<interface org.nutz.aop.MethodInterceptor>
2018-06-22 10:55:55,012 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'txREAD_COMMITTED' to [app] 
2018-06-22 10:55:55,018 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'txSERIALIZABLE'<interface org.nutz.aop.MethodInterceptor>
2018-06-22 10:55:55,018 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=txSERIALIZABLE
2018-06-22 10:55:55,018 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=txSERIALIZABLE
2018-06-22 10:55:55,018 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) DEBUG - Found IocObject(txSERIALIZABLE) in JsonLoader(paths=[ioc/])
2018-06-22 10:55:55,018 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - 	 >> Make...'txSERIALIZABLE'<interface org.nutz.aop.MethodInterceptor>
2018-06-22 10:55:55,019 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'txSERIALIZABLE' to [app] 
2018-06-22 10:55:55,019 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'txNONE'<interface org.nutz.aop.MethodInterceptor>
2018-06-22 10:55:55,019 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=txNONE
2018-06-22 10:55:55,019 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=txNONE
2018-06-22 10:55:55,019 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) DEBUG - Found IocObject(txNONE) in JsonLoader(paths=[ioc/])
2018-06-22 10:55:55,019 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - 	 >> Make...'txNONE'<interface org.nutz.aop.MethodInterceptor>
2018-06-22 10:55:55,019 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'txNONE' to [app] 
2018-06-22 10:55:55,022 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'shortcutManage' to [app] 
2018-06-22 10:55:55,033 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'dao'<interface org.nutz.dao.Dao>
2018-06-22 10:56:00,482 org.nutz.dao.impl.entity.AnnotationEntityMaker._checkupEntityFieldsWithDatabase(AnnotationEntityMaker.java:572) DEBUG - Fail to setup 'com.wonders.biz.workdesk.entity.DbShortcutMenuDO'(DB_SHORTCUT_MENU) by DB, because: (java.sql.SQLException)'仅 READ_COMMITTED 和 SERIALIZABLE 是有效的事务处理级'
2018-06-22 10:56:00,667 org.nutz.mvc.impl.processor.FailProcessor.process(FailProcessor.java:28) WARN  - Error@/workdesk/loadShortcut :
org.nutz.dao.DaoException: java.sql.SQLException: 仅 READ_COMMITTED 和 SERIALIZABLE 是有效的事务处理级
	at org.nutz.dao.impl.sql.run.NutDaoRunner._runWithTransaction(NutDaoRunner.java:115)
	at org.nutz.dao.impl.sql.run.NutDaoRunner._run(NutDaoRunner.java:88)
	at org.nutz.dao.impl.sql.run.NutDaoRunner.run(NutDaoRunner.java:81)
	at org.nutz.dao.impl.DaoSupport.run(DaoSupport.java:240)
	at org.nutz.dao.impl.DaoSupport._exec(DaoSupport.java:252)
	at org.nutz.dao.impl.NutDao.query(NutDao.java:482)
	at com.wonders.biz.workdesk.manage.ShortcutManage.getUserShortcut(ShortcutManage.java:43)
	at com.wonders.biz.workdesk.manage.ShortcutManage$$NUTZAOP._aop_invoke(ShortcutManage.java:1)
	at org.nutz.aop.InterceptorChain.invoke(InterceptorChain.java:77)
	at org.nutz.aop.InterceptorChain.doChain(InterceptorChain.java:57)
	at org.nutz.aop.interceptor.TransactionInterceptor.filter(TransactionInterceptor.java:34)
	at org.nutz.aop.InterceptorChain.doChain(InterceptorChain.java:60)
	at com.wonders.biz.workdesk.manage.ShortcutManage$$NUTZAOP.getUserShortcut(ShortcutManage.java:1)
	at com.wonders.biz.workdesk.at.WorkdeskAt.loadShortcut(WorkdeskAt.java:141)
	at com.wonders.biz.workdesk.at.WorkdeskAt$FM$loadShortcut$ac4f54c2a1c33e9acd432354e380fa11.invoke(WorkdeskAt.java)
	at org.nutz.mvc.impl.processor.MethodInvokeProcessor.process(MethodInvokeProcessor.java:31)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.AdaptorProcessor.process(AdaptorProcessor.java:33)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.ActionFiltersProcessor.process(ActionFiltersProcessor.java:58)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:123)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.EncodingProcessor.process(EncodingProcessor.java:27)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor.process(UpdateRequestAttributesProcessor.java:15)
	at org.nutz.mvc.impl.NutActionChain.doChain(NutActionChain.java:44)
	at org.nutz.mvc.impl.ActionInvoker.invoke(ActionInvoker.java:67)
	at org.nutz.mvc.ActionHandler.handle(ActionHandler.java:31)
	at org.nutz.mvc.NutFilter.doFilter(NutFilter.java:202)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
	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: java.sql.SQLException: 仅 READ_COMMITTED 和 SERIALIZABLE 是有效的事务处理级
	at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
	at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)
	at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:207)
	at oracle.jdbc.driver.PhysicalConnection.setTransactionIsolation(PhysicalConnection.java:1607)
	at org.apache.commons.dbcp.DelegatingConnection.setTransactionIsolation(DelegatingConnection.java:380)
	at org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.setTransactionIsolation(PoolingDataSource.java:343)
	at org.nutz.trans.NutTransaction$ConnInfo.<init>(NutTransaction.java:32)
	at org.nutz.trans.NutTransaction.getConnection(NutTransaction.java:92)
	at org.nutz.dao.impl.sql.run.NutDaoRunner._runWithTransaction(NutDaoRunner.java:100)
	... 51 more

5 回复

aop里面用了啥事务级别

var ioc = {
	$aop : {
		type : 'org.nutz.ioc.aop.config.impl.ComboAopConfigration',
		fields : {
			aopConfigrations : [{
				type : 'org.nutz.ioc.aop.config.impl.JsonAopConfigration',
				fields : {
					itemList : [
						["com.wonders.","^.*[Manage]$","ioc:logger"],
						["com.wonders..+Manage$", "(add|insert).+", "ioc:txREAD_COMMITTED"],
		                ["com.wonders..+Manage$", "(save|update|delete|remove|clear).", "ioc:txSERIALIZABLE"],
		                ["com.wonders..+Manage$", "(get|query|find|fetch|list|load).+", "ioc:txNONE"],
		                ["com.wonders..+Module$", ".+", "txREAD_COMMITTED"],
					]
				}
			}, {
				type : 'org.nutz.ioc.aop.config.impl.AnnotationAopConfigration'
			}]
		}
	},
	txNONE : {
		type : 'org.nutz.aop.interceptor.TransactionInterceptor',
		args : [ 0 ]
	},
	txREAD_UNCOMMITTED : {
		type : 'org.nutz.aop.interceptor.TransactionInterceptor',
		args : [ 1 ]
	},
	txREAD_COMMITTED : {
		type : 'org.nutz.aop.interceptor.TransactionInterceptor',
		args : [ 2 ]
	},
	txREPEATABLE_READ : {
		type : 'org.nutz.aop.interceptor.TransactionInterceptor',
		args : [ 4 ]
	},
	txSERIALIZABLE : {
		type : 'org.nutz.aop.interceptor.TransactionInterceptor',
		args : [ 8 ]
	},	
	log : {
		type : 'org.nutz.aop.interceptor.LoggingMethodInterceptor'
	}
};

您看,应该怎么调整配置和调用情况

删掉

["com.wonders..+Manage$", "(get|query|find|fetch|list|load).+", "ioc:txNONE"],

话说package那么眼熟的呢, 好像昨天/前天就有人问过, 也是删掉这行

搞好了,谢谢大佬。
没准是我公司产品组的同事呢 哈哈

添加回复
请先登陆
回到顶部