NutzCN Logo
精华 nutz怎么集成ActiveMQ的啊
发布于 154天前 作者 sofeik 246 次浏览 复制 上一个帖子 下一个帖子
标签:

nutz怎么集成ActiveMQ的啊
定义了ioc 下一步该怎么做呢

        targetConnectionFactory : {
            type : "org.apache.activemq.ActiveMQConnectionFactory",
            fields : {
            	brokerURL : {java:"$conf.get('mq.brokerURL')"},
            	userName : {java:"$conf.get('mq.userName')"},
            	password : {java:"$conf.get('mq.password')"}
            }
        },
        pooledConnectionFactory : {
            type : "org.apache.activemq.pool.PooledConnectionFactory",
            fields : {
            	connectionFactory : {refer : 'targetConnectionFactory'},
            	maxConnections : {java:"$conf.get('mq.pool.maxConnections')"}
            }
        },    
        connectionFactory : {
            type : "org.springframework.jms.connection.SingleConnectionFactory",
            fields : {
            	targetConnectionFactory : {refer : 'pooledConnectionFactory'}
            }
        },
        activeMqJmsTemplate : {
            type : "org.springframework.jms.core.JmsTemplate",
            fields : {
            	connectionFactory : {refer : 'connectionFactory'},
            	defaultDestinationName : {java:"$conf.get('queueName')"}
            }
        },
        sessionAwareQueue : {
            type : "org.apache.activemq.command.ActiveMQQueue",
            args : [ 'forwage.mq.wage' ]
        },   
        consumerSessionAwareMessageListener : {
            type : "com.forwage.listener.ConsumerSessionAwareMessageListener"
        },            
        sessionAwareListenerContainer : {
            type : "org.springframework.jms.listener.DefaultMessageListenerContainer",
            fields : {
            	connectionFactory : {refer : 'connectionFactory'},
            	destination : {refer : 'sessionAwareQueue'},
            	messageListener : {refer : 'consumerSessionAwareMessageListener'}
            }
        }
8 回复

然后在需要的地方注入这些bean就好了

求教 是这样吗 试过多次监听不到

	@Override
	public void init(NutConfig conf) { 
		Ioc ioc = conf.getIoc();
		DefaultMessageListenerContainer container = ioc.get(DefaultMessageListenerContainer.class, "sessionAwareListenerContainer");
		container.start();
		System.out.println("ok");
	}

日志贴来看看

启动日志如下

十一月 23, 2017 3:22:02 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version:        Apache Tomcat/8.0.36
十一月 23, 2017 3:22:02 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built:          Jun 9 2016 13:55:50 UTC
十一月 23, 2017 3:22:02 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number:         8.0.36.0
十一月 23, 2017 3:22:02 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name:               Windows 7
十一月 23, 2017 3:22:02 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version:            6.1
十一月 23, 2017 3:22:02 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture:          amd64
十一月 23, 2017 3:22:02 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home:             C:\Program Files\Java\jdk1.8.0_92\jre
十一月 23, 2017 3:22:02 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version:           1.8.0_92-b14
十一月 23, 2017 3:22:02 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor:            Oracle Corporation
十一月 23, 2017 3:22:02 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE:         D:\nutzbook\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
十一月 23, 2017 3:22:02 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME:         D:\nutzbook\apache-tomcat-8.0.36
十一月 23, 2017 3:22:02 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=D:\nutzbook\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
十一月 23, 2017 3:22:02 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=D:\nutzbook\apache-tomcat-8.0.36
十一月 23, 2017 3:22:02 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dwtp.deploy=D:\nutzbook\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
十一月 23, 2017 3:22:02 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=D:\nutzbook\apache-tomcat-8.0.36\endorsed
十一月 23, 2017 3:22:02 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dfile.encoding=UTF-8
十一月 23, 2017 3:22:02 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.8.0_92\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\360\360Desktop;D:\project\nexus-2.8.1-01\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Java\jdk1.7.0_67\bin;D:\project\apache-maven-3.2.1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\PuTTY\;C:\Program Files\Git\cmd;C:\Program Files\TortoiseGit\bin;.
十一月 23, 2017 3:22:02 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-nio-80"]
十一月 23, 2017 3:22:02 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
信息: Using a shared selector for servlet write/read
十一月 23, 2017 3:22:02 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-nio-8011"]
十一月 23, 2017 3:22:02 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
信息: Using a shared selector for servlet write/read
十一月 23, 2017 3:22:02 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 986 ms
十一月 23, 2017 3:22:02 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
十一月 23, 2017 3:22:02 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/8.0.36
十一月 23, 2017 3:22:03 下午 org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
信息: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [129] milliseconds.
十一月 23, 2017 3:22:03 下午 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor D:\nutzbook\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\conf\Catalina\localhost\forwage-phone.xml
十一月 23, 2017 3:22:03 下午 org.apache.catalina.startup.SetContextPropertiesRule begin
警告: [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server:forwage-phone' did not find a matching property.
十一月 23, 2017 3:22:06 下午 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.
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/D:/nutzbook/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/forwage-phone/WEB-INF/lib/activemq-all-5.11.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/nutzbook/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/forwage-phone/WEB-INF/lib/slf4j-log4j12-1.7.9.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
2017-11-23 15:22:07,101 org.eclipse.jetty.util.log.Log.initialized(Log.java:176) DEBUG - Logging to org.slf4j.impl.Log4jLoggerAdapter(org.eclipse.jetty.util.log) via org.eclipse.jetty.util.log.Slf4jLog
2017-11-23 15:22:07,109 org.eclipse.jetty.util.log.Log.initialized(Log.java:186) INFO  - Logging initialized @5750ms
2017-11-23 15:22:07,138 org.eclipse.jetty.util.component.ContainerLifeCycle.addBean(ContainerLifeCycle.java:324) DEBUG - org.eclipse.jetty.websocket.server.WebSocketServerFactory@7257b659 added {org.eclipse.jetty.util.thread.ScheduledExecutorScheduler@64410964,AUTO}
2017-11-23 15:22:07,138 org.eclipse.jetty.util.component.ContainerLifeCycle.addBean(ContainerLifeCycle.java:324) DEBUG - org.eclipse.jetty.websocket.server.WebSocketServerFactory@7257b659 added {org.eclipse.jetty.io.MappedByteBufferPool@623521f4,POJO}
2017-11-23 15:22:07,176 org.eclipse.jetty.util.component.ContainerLifeCycle.addBean(ContainerLifeCycle.java:324) DEBUG - org.eclipse.jetty.websocket.server.NativeWebSocketConfiguration@6c2bac7b added {org.eclipse.jetty.websocket.server.WebSocketServerFactory@7257b659,AUTO}
2017-11-23 15:22:07,232 org.nutz.mvc.NutFilter._init(NutFilter.java:85) INFO  - NutFilter[nutz] starting ...
2017-11-23 15:22:07,265 org.nutz.resource.Scans.printLocations(Scans.java:521) DEBUG - Locations count=5 time use 14ms
2017-11-23 15:22:07,313 org.nutz.resource.Scans.printLocations(Scans.java:521) DEBUG - Locations count=58 time use 48ms
2017-11-23 15:22:07,396 org.nutz.castor.Castors.reload(Castors.java:115) DEBUG - Using 95 castor for Castors
2017-11-23 15:22:07,420 org.nutz.mvc.config.AbstractNutConfig.createLoading(AbstractNutConfig.java:59) DEBUG - Loading by class org.nutz.mvc.impl.NutLoading
2017-11-23 15:22:07,424 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:55) INFO  - Nutz Version : 1.r.62 
2017-11-23 15:22:07,425 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:56) INFO  - Nutz.Mvc[nutz] is initializing ...
2017-11-23 15:22:07,425 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:60) DEBUG - Web Container Information:
2017-11-23 15:22:07,426 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:61) DEBUG -  - Default Charset : UTF-8
2017-11-23 15:22:07,426 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:62) DEBUG -  - Current . path  : D:\nutzbook\eclipse\.
2017-11-23 15:22:07,427 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:63) DEBUG -  - Java Version    : 1.8.0_92
2017-11-23 15:22:07,428 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:64) DEBUG -  - File separator  : \
2017-11-23 15:22:07,428 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:65) DEBUG -  - Timezone        : Asia/Shanghai
2017-11-23 15:22:07,428 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:66) DEBUG -  - OS              : Windows 7 amd64
2017-11-23 15:22:07,428 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:67) DEBUG -  - ServerInfo      : Apache Tomcat/8.0.36
2017-11-23 15:22:07,429 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:68) DEBUG -  - Servlet API     : 3.1
2017-11-23 15:22:07,429 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:73) DEBUG -  - ContextPath     : /forwage-phone
2017-11-23 15:22:07,429 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:74) DEBUG -  - context.tempdir : D:\nutzbook\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\forwage-phone
2017-11-23 15:22:07,429 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:75) DEBUG -  - MainModule      : com.forwage.MainModule
2017-11-23 15:22:07,430 org.nutz.mvc.impl.NutLoading.createContext(NutLoading.java:235) DEBUG - >> app.root = D:/nutzbook/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/forwage-phone
2017-11-23 15:22:07,435 org.nutz.mvc.impl.NutLoading.createIoc(NutLoading.java:376) DEBUG - @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*js", "ioc/", "*anno", "com.forwage", "*tx"],init=[])
2017-11-23 15:22:07,531 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 2 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
2017-11-23 15:22:07,531 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) DEBUG - loading [dao.js]
2017-11-23 15:22:07,541 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) DEBUG - loading [mq.js]
2017-11-23 15:22:07,542 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:57) DEBUG - Loaded 12 bean define from path=[ioc/] --> [activeMqJmsTemplate, dao, sessionAwareQueue, connectionFactory, consumerSessionAwareMessageListener, dataSourceBank, sessionAwareListenerContainer, conf, targetConnectionFactory, pooledConnectionFactory, dataSource, daoBank]
2017-11-23 15:22:07,574 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 96 resource by src( com/forwage/ ) , regex( ^.+[.]class$ )
2017-11-23 15:22:07,666 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.service.AccountInfoService
2017-11-23 15:22:07,681 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.service.AdvanceEnterpriseInfoService
2017-11-23 15:22:07,681 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.service.BankAmountService
2017-11-23 15:22:07,683 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.service.BankPromotionCodeService
2017-11-23 15:22:07,685 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.service.DingPersonnelService
2017-11-23 15:22:07,686 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.service.DingUserService
2017-11-23 15:22:07,686 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.service.EnterpriceBankCardService
2017-11-23 15:22:07,687 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.service.EnterpriceEmployeeService
2017-11-23 15:22:07,688 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.service.EnterpriceInfoService
2017-11-23 15:22:07,689 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.service.EnvelopeInfoService
2017-11-23 15:22:07,689 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.service.MembersLetterService
2017-11-23 15:22:07,690 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.service.OrderInfoService
2017-11-23 15:22:07,691 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.service.PersonalInfoService
2017-11-23 15:22:07,692 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.service.PersonalWageOptionsService
2017-11-23 15:22:07,694 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.service.PlatformSetService
2017-11-23 15:22:07,695 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.service.SmsLogService
2017-11-23 15:22:07,695 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.service.TaxInvoiceInfoService
2017-11-23 15:22:07,696 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.service.UserOperateLogService
2017-11-23 15:22:07,697 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.service.VipCustomerService
2017-11-23 15:22:07,697 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.service.WageDetailService
2017-11-23 15:22:07,698 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.service.WageInfoService
2017-11-23 15:22:07,699 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.service.WageInvoiceInfoService
2017-11-23 15:22:07,699 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.service.WageOrderService
2017-11-23 15:22:07,700 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.service.WxUserService
2017-11-23 15:22:07,710 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.module.AccountModule
2017-11-23 15:22:07,716 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.module.CompanyModule
2017-11-23 15:22:07,727 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.module.EmployeeModule
2017-11-23 15:22:07,728 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.module.IndexModule
2017-11-23 15:22:07,740 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.module.UserModule
2017-11-23 15:22:07,743 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.module.WageModule
2017-11-23 15:22:07,744 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.module.WageOrderModule
2017-11-23 15:22:07,748 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.service.ForwageService
2017-11-23 15:22:07,752 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.service.SmsService
2017-11-23 15:22:07,753 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.service.WechatMenuService
2017-11-23 15:22:07,755 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.forwage.service.WeixinService
2017-11-23 15:22:07,757 org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:52) INFO  - Found 35 classes in 1 base-packages!
beans = ["smsLogService", "enterpriceInfoService", "wageModule", "vipCustomerService", "userModule", "forwageService", "wageInvoiceInfoService", "taxInvoiceInfoService", "accountModule", "indexModule", "wxUserService", "smsService", "bankPromotionCodeService", "membersLetterService", "advanceEnterpriseInfoService", "userOperateLogService", "wageInfoService", "enterpriceEmployeeService", "companyModule", "enterpriceBankCardService", "platformSetService", "accountInfoService", "dingUserService", "dingPersonnelService", "employeeModule", "personalInfoService", "bankAmountService", "orderInfoService", "wageOrderService", "wageOrderModule", "weixinService", "personalWageOptionsService", "wageDetailService", "envelopeInfoService", "wechatMenuService"]
2017-11-23 15:22:07,766 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:40) DEBUG - Loaded 5 bean define from reader --
[txREPEATABLE_READ, txSERIALIZABLE, txNONE, txREAD_UNCOMMITTED, txREAD_COMMITTED]
2017-11-23 15:22:07,934 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:98) INFO  - NutIoc init begin ...
2017-11-23 15:22:07,942 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:115) INFO  - ... NutIoc init complete
2017-11-23 15:22:07,948 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:159) INFO  - Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
2017-11-23 15:22:07,951 org.nutz.mvc.impl.NutLoading.createViewMakers(NutLoading.java:366) DEBUG - @Views(DefaultViewMaker.class)
2017-11-23 15:22:07,964 org.nutz.mvc.impl.NutLoading.createChainMaker(NutLoading.java:263) DEBUG - @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
2017-11-23 15:22:07,972 org.nutz.mvc.impl.Loadings.scanModules(Loadings.java:154) DEBUG - module class location 'file:/D:/nutzbook/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/forwage-phone/WEB-INF/classes/'
2017-11-23 15:22:07,972 org.nutz.mvc.impl.Loadings.scanModuleInPackage(Loadings.java:184) DEBUG -  > scan 'com.forwage'
2017-11-23 15:22:07,990 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 96 resource by src( com/forwage/ ) , regex( ^.+[.]class$ )
2017-11-23 15:22:08,015 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:199) DEBUG -    >> add 'com.forwage.module.AccountModule'
2017-11-23 15:22:08,016 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:199) DEBUG -    >> add 'com.forwage.module.CompanyModule'
2017-11-23 15:22:08,016 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:199) DEBUG -    >> add 'com.forwage.module.EmployeeModule'
2017-11-23 15:22:08,016 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:199) DEBUG -    >> add 'com.forwage.module.IndexModule'
2017-11-23 15:22:08,016 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:199) DEBUG -    >> add 'com.forwage.module.UserModule'
2017-11-23 15:22:08,016 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:199) DEBUG -    >> add 'com.forwage.module.WageModule'
2017-11-23 15:22:08,016 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:199) DEBUG -    >> add 'com.forwage.module.WageOrderModule'
2017-11-23 15:22:08,049 org.nutz.mvc.impl.NutActionChainMaker.getProcessorByName(NutActionChainMaker.java:72) INFO  - Optional processor class not found, disabled : org.nutz.integration.shiro.NutShiroProcessor
2017-11-23 15:22:08,071 org.nutz.mvc.impl.NutActionChainMaker.getProcessorByName(NutActionChainMaker.java:72) INFO  - Optional processor class not found, disabled : org.nutz.plugins.validation.ValidationProcessor
2017-11-23 15:22:08,109 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '//index'                   >> (IndexModule.java:99).index           : String     | @Ok(jsp:jsp.company.choseUser) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,110 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '//register'                >> (IndexModule.java:517).register       : void       | @Ok(jsp:jsp.user.register) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,111 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '//fail'                    >> (IndexModule.java:500).fail           : void       | @Ok(jsp:jsp.fail) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,114 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '//login'                   >> (IndexModule.java:505).login          : View       | @Ok(json:full) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,124 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '//setpassword'             >> (IndexModule.java:471).setPassword    : Object     | @Ok(json:full) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,127 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '//dologin'                 >> (IndexModule.java:307).doLogin        : Object     | @Ok(json:full) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,128 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '//sendsms'                 >> (IndexModule.java:118).sendSMS        : Object     | @Ok(json:full) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,131 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '//checkcode'               >> (IndexModule.java:413).checkCode      : Object     | @Ok(json:full) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,132 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '//sendsmschange'           >> (IndexModule.java:542).sendSMSChange  : Object     | @Ok(json:full) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,157 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:23) INFO  - Init file-pool by: D:/nutzbook/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/forwage-phone/WEB-INF/tmp/company_license [2000]
2017-11-23 15:22:08,163 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:37) DEBUG - file-pool.home: 'D:\nutzbook\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\forwage-phone\WEB-INF\tmp\company_license'
2017-11-23 15:22:08,164 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:66) INFO  - file-pool.cursor: 0
2017-11-23 15:22:08,189 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '//uploadlicense'           >> (IndexModule.java:213).uploadLicense  : Object     | @Ok(json:full) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,192 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '//sendcompanysms'          >> (IndexModule.java:141).sendCompanySMS : Object     | @Ok(json:full) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,195 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '//sendyzm'                 >> (IndexModule.java:176).sendYZM        : Object     | @Ok(json:full) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,196 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '//registertwo'             >> (IndexModule.java:385).registerTwo    : void       | @Ok(jsp:jsp.company.register.register_two) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,202 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '//registertwo'             >> (IndexModule.java:250).registerTwo    : Object     | @Ok(json:full) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,202 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '//registerthree'           >> (IndexModule.java:379).registerThree  : void       | @Ok(jsp:jsp.company.register.register_three) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,212 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '//registerthree'           >> (IndexModule.java:348).registerThree  : Object     | @Ok(json:full) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,213 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '//toresetpassword'         >> (IndexModule.java:394).toResetPassword : void       | @Ok(jsp:jsp.company.resetPassword) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,216 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '//checkyzm'                >> (IndexModule.java:400).checkYZM       : Object     | @Ok(json:full) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,218 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '//analyzecode'             >> (IndexModule.java:423).analyzeCode    : Object     | @Ok(json:full) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,220 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '//tosetpassword'           >> (IndexModule.java:450).toSetPassword  : Object     | @Ok(json:full) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,221 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '//resetpassword'           >> (IndexModule.java:490).resetPassword  : void       | @Ok(jsp:jsp.user.resetPassword) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,221 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '//agreement'               >> (IndexModule.java:495).agreement      : void       | @Ok(jsp:jsp.user.agreement) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,223 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '//findpassword'            >> (IndexModule.java:522).findPassword   : View       | @Ok(json:full) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,226 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '//userlogin'               >> (IndexModule.java:569).userLogin      : Object     | @Ok(json:full) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,232 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '//userregister'            >> (IndexModule.java:616).userRegister   : Object     | @Ok(json:full) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,233 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '//registerone'             >> (IndexModule.java:672).registerOne    : void       | @Ok(jsp:jsp.company.register.register_one) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,234 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '//modifyreleation'         >> (IndexModule.java:677).modifyreleation : Object     | @Ok(json:full) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,254 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/wageOrder/modinfo'        >> (WageOrderModule.java:276).modInfo    : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,255 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:23) INFO  - Init file-pool by: D:/nutzbook/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/forwage-phone/WEB-INF/tmp/company_license [2000]
2017-11-23 15:22:08,255 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:37) DEBUG - file-pool.home: 'D:\nutzbook\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\forwage-phone\WEB-INF\tmp\company_license'
2017-11-23 15:22:08,256 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:66) INFO  - file-pool.cursor: 0
2017-11-23 15:22:08,260 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/wageOrder/uploadlicense'  >> (WageOrderModule.java:436).uploadLicense : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,261 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/wageOrder/wageordermanage' >> (WageOrderModule.java:132).wageOrderManage : void       | @Ok(jsp:jsp.company.order.wageOrder) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,263 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/wageOrder/remittanceok'   >> (WageOrderModule.java:203).remittanceOK : String     | @Ok(jsp:jsp.company.payoff.remitpayTips) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,266 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/wageOrder/sendwages'      >> (WageOrderModule.java:181).sendWages  : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,268 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/wageOrder/submitorder'    >> (WageOrderModule.java:188).submitOrder : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,270 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/wageOrder/topay'          >> (WageOrderModule.java:138).toPay      : String     | @Ok(jsp:jsp.company.payoff.orderMon) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,273 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/wageOrder/invoicemessage' >> (WageOrderModule.java:212).invoiceMessage : String     | @Ok(jsp:jsp.company.invoice.invoice) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,277 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/wageOrder/toremittance'   >> (WageOrderModule.java:153).toRemittance : String     | @Ok(jsp:jsp.company.payoff.remitgrant) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,278 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/wageOrder/submitinvoicd'  >> (WageOrderModule.java:374).submitInvoicd : String     | @Ok(jsp:jsp.company.payoff.creatOrder) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,279 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/wageOrder/creatorders'    >> (WageOrderModule.java:480).creatOrders : String     | @Ok(jsp:jsp.company.payoff.creatOrder) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,283 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/wageOrder/addpersonnel'   >> (WageOrderModule.java:642).addPersonnel : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,286 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/wageOrder/lookoverstaff'  >> (WageOrderModule.java:664).lookOverStaff : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,291 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/wageOrder/modifystaff'    >> (WageOrderModule.java:680).modifyStaff : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,293 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/wageOrder/deletestaff'    >> (WageOrderModule.java:697).deleteStaff : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,295 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/wageOrder/wagesfinish'    >> (WageOrderModule.java:713).wagesFinish : View       | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,297 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/wageOrder/wagesnogrant'   >> (WageOrderModule.java:758).wagesNogrant : String     | @Ok(jsp:jsp.company.order.wagesNogrant) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,299 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/wageOrder/wageorderdetail' >> (WageOrderModule.java:778).wageorderDetail : String     | @Ok(jsp:jsp.company.order.wageorderDetail) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,301 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/wageOrder/invoicedetail'  >> (WageOrderModule.java:791).invoiceDetail : String     | @Ok(jsp:jsp.company.invoice.invoiceDetail) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,302 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/wageOrder/personneldetails' >> (WageOrderModule.java:828).personnelDetails : String     | @Ok(jsp:jsp.company.order.personnelDetails) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,306 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/wageOrder/eachpersondetail' >> (WageOrderModule.java:848).eachPersonDetail : String     | @Ok(jsp:jsp.company.order.eachPersonDetail) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,309 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/wageOrder/ispay'          >> (WageOrderModule.java:175).isPay      : String     | @Ok(jsp:jsp.company.payoff.payNowTips) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,311 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/wage/showwage'            >> (WageModule.java:26).showWage         : String     | @Ok(jsp:jsp.user.wage.showWage) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,312 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/emp/add'                  >> (EmployeeModule.java:44).add          : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,313 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/emp/list'                 >> (EmployeeModule.java:35).list         : Object     | @Ok(jsp:jsp.company.eachPersonDetail) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,314 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/emp/mod'                  >> (EmployeeModule.java:53).mod          : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,315 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/emp/del'                  >> (EmployeeModule.java:62).del          : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,317 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/exit'                >> (UserModule.java:233).exit            : void       | @Ok(jsp:jsp.user.login) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,318 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/userinfo'            >> (UserModule.java:481).userInfo        : View       | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,319 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/home'                >> (UserModule.java:338).home            : String     | @Ok(jsp:jsp.user.home) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,320 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/account'             >> (UserModule.java:362).account         : String     | @Ok(jsp:jsp.user.account) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,321 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/sendsms'             >> (UserModule.java:157).sendSMS         : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,322 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/checkuser'           >> (UserModule.java:200).checkUser       : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,324 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/checkcode'           >> (UserModule.java:146).checkCode       : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,327 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/myinfo'              >> (UserModule.java:457).myInfo          : View       | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,328 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/sendyzm'             >> (UserModule.java:179).sendYZM         : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,333 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/modifyreleation'     >> (UserModule.java:609).modifyreleation : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,333 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/openuser'            >> (UserModule.java:103).openUser        : String     | @Ok(jsp:jsp.user.home.openUser) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,335 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/backurl'             >> (UserModule.java:122).backUrl         : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,338 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/saveattestation'     >> (UserModule.java:257).saveAttestation : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,339 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/statistical'         >> (UserModule.java:240).statistical     : void       | @Ok(jsp:jsp.user.home.statistical) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,341 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/wages'               >> (UserModule.java:400).wages           : View       | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,343 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/getwages'            >> (UserModule.java:424).getWages        : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,344 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/setreadinfo'         >> (UserModule.java:444).setReadInfo     : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,345 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:23) INFO  - Init file-pool by: D:/nutzbook/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/forwage-phone/WEB-INF/tmp/user_avatar [2000]
2017-11-23 15:22:08,345 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:37) DEBUG - file-pool.home: 'D:\nutzbook\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\forwage-phone\WEB-INF\tmp\user_avatar'
2017-11-23 15:22:08,346 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:66) INFO  - file-pool.cursor: 0
2017-11-23 15:22:08,347 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/setinfos'            >> (UserModule.java:505).setInfos        : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,350 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/setinfos'            >> (UserModule.java:544).setInfos        : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,352 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/getinfos'            >> (UserModule.java:589).getInfos        : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,354 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/getstatistical'      >> (UserModule.java:566).getStatistical  : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,357 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/checkwagepassword'   >> (UserModule.java:219).checkWagePassword : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,358 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/home'             >> (CompanyModule.java:541).home         : String     | @Ok(jsp:jsp.company.home) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,361 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/sendsms'          >> (CompanyModule.java:115).sendSMS      : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,361 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/checkuser'        >> (CompanyModule.java:171).checkUser    : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,364 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/checkcode'        >> (CompanyModule.java:200).checkCode    : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,365 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/companyvalid'     >> (CompanyModule.java:215).companyValid : void       | @Ok(jsp:jsp.company.account.Comcertification) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,370 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/companyvalid'     >> (CompanyModule.java:236).companyValid : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,371 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/companyvalidinfo' >> (CompanyModule.java:308).companyValidInfo : void       | @Ok(jsp:jsp.company.account.comCerficationDetail) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,371 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/legalvalid'       >> (CompanyModule.java:324).legalValid   : void       | @Ok(jsp:jsp.company.account.Percertification) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,377 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/legalvalidperson' >> (CompanyModule.java:344).legalValidPerson : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,378 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/legalvalidinfo'   >> (CompanyModule.java:402).legalValidInfo : void       | @Ok(jsp:jsp.company.account.PerCerficationDetail) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,385 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/dologout'         >> (CompanyModule.java:427).doLogout     : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,395 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/modinfo'          >> (CompanyModule.java:439).modInfo      : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,397 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/ordermanagement'  >> (CompanyModule.java:491).orderManagement : View       | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,399 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/getorders'        >> (CompanyModule.java:521).getOrders    : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,401 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/cancelorder'      >> (CompanyModule.java:580).cancelOrder  : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,401 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/myinfo'           >> (CompanyModule.java:654).myInfo       : void       | @Ok(jsp:jsp.company.account) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,407 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/companyinfo'      >> (CompanyModule.java:664).companyInfo  : void       | @Ok(jsp:jsp.company.account.companyInfo) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,408 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/accountsafe'      >> (CompanyModule.java:708).accountSafe  : void       | @Ok(jsp:jsp.company.account.accountSafe) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,409 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/modphone'         >> (CompanyModule.java:716).modPhone     : void       | @Ok(jsp:jsp.company.account.changeMobilePhone) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,411 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/modphone'         >> (CompanyModule.java:725).modPhone     : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,415 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/modpwd'           >> (CompanyModule.java:770).modPwd       : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,416 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/modpwd'           >> (CompanyModule.java:763).modPwd       : void       | @Ok(jsp:jsp.company.account.changePassword) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,419 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/modpaypwd'        >> (CompanyModule.java:803).modPayPwd    : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,419 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/modpaypwd'        >> (CompanyModule.java:794).modPayPwd    : void       | @Ok(jsp:jsp.company.account.setPayPassword) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,423 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/checkpaypassword' >> (CompanyModule.java:866).checkPayPassword : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,425 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/delbankcard'      >> (CompanyModule.java:878).delBankCard  : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,428 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/addbankcard'      >> (CompanyModule.java:893).addBankCard  : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,429 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/sendsmschange'    >> (CompanyModule.java:918).sendSMSChange : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,432 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/checkphonecode'   >> (CompanyModule.java:946).checkPhoneCode : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,433 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/wage'             >> (CompanyModule.java:596).wage         : ViewWrapper | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,434 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/company/getuserbalance'   >> (CompanyModule.java:855).getUserBalance : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,436 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/account/setpassword'      >> (AccountModule.java:107).setPassword  : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,436 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/account/wagepwd'          >> (AccountModule.java:59).wagePwd       : void       | @Ok(jsp:jsp.user.account.wagePwd) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,437 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/account/wagepassword'     >> (AccountModule.java:48).wagePassword  : String     | @Ok(jsp:jsp.user.account.wagePassword) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,438 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/account/loginpassword'    >> (AccountModule.java:42).loginPassword : void       | @Ok(jsp:jsp.user.account.loginPassword) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,439 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/account/banemail'         >> (AccountModule.java:37).banEmail      : void       | @Ok(jsp:jsp.user.account.banEmail) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,440 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/account/setloginpassword' >> (AccountModule.java:64).setLoginPassword : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,442 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/account/setwagepassword'  >> (AccountModule.java:83).setWagePassword : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,443 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/account/setwageon'        >> (AccountModule.java:126).setWageOn    : Object     | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-11-23 15:22:08,444 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:217) INFO  - Found 115 module methods
2017-11-23 15:22:08,444 org.nutz.mvc.impl.NutLoading.evalLocalization(NutLoading.java:303) DEBUG - Localization: org.nutz.mvc.impl.NutMessageLoader('msg/')  dft<zh-CN>
2017-11-23 15:22:08,450 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 1 resource by src( msg/ ) , regex( ^.+[.]properties$ )
2017-11-23 15:22:08,451 org.nutz.mvc.impl.NutMessageLoader.load(NutMessageLoader.java:27) DEBUG - Load Messages in 1 resource : [[jar:file:/D:/nutzbook/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/forwage-phone/WEB-INF/lib/forwage-core-1.0.0.jar!/msg/zh-CN/forwage.properties]]
2017-11-23 15:22:08,454 org.nutz.mvc.impl.NutMessageLoader.load(NutMessageLoader.java:95) DEBUG - Message Loaded, size = 2
2017-11-23 15:22:08,455 org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:271) INFO  - Setup application...
2017-11-23 15:22:08,471 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'sessionAwareListenerContainer'<class org.springframework.jms.listener.DefaultMessageListenerContainer>
2017-11-23 15:22:08,474 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
2017-11-23 15:22:08,477 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=sessionAwareListenerContainer
2017-11-23 15:22:08,478 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=sessionAwareListenerContainer
2017-11-23 15:22:08,479 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) DEBUG - Found IocObject(sessionAwareListenerContainer) in JsonLoader(paths=[ioc/])
2017-11-23 15:22:08,479 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - 	 >> Make...'sessionAwareListenerContainer'<class org.springframework.jms.listener.DefaultMessageListenerContainer>
2017-11-23 15:22:08,492 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) DEBUG - Load class org.springframework.jms.listener.DefaultMessageListenerContainer without AOP
2017-11-23 15:22:08,493 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'sessionAwareListenerContainer' to [app] 
2017-11-23 15:22:08,668 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'connectionFactory'<>
2017-11-23 15:22:08,668 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=connectionFactory
2017-11-23 15:22:08,668 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=connectionFactory
2017-11-23 15:22:08,671 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) DEBUG - Found IocObject(connectionFactory) in JsonLoader(paths=[ioc/])
2017-11-23 15:22:08,671 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - 	 >> Make...'connectionFactory'<>
2017-11-23 15:22:08,678 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) DEBUG - Load class org.springframework.jms.connection.SingleConnectionFactory without AOP
2017-11-23 15:22:08,678 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'connectionFactory' to [app] 
2017-11-23 15:22:08,705 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'pooledConnectionFactory'<>
2017-11-23 15:22:08,706 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=pooledConnectionFactory
2017-11-23 15:22:08,706 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=pooledConnectionFactory
2017-11-23 15:22:08,709 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) DEBUG - Found IocObject(pooledConnectionFactory) in JsonLoader(paths=[ioc/])
2017-11-23 15:22:08,709 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - 	 >> Make...'pooledConnectionFactory'<>
2017-11-23 15:22:08,713 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) DEBUG - Load class org.apache.activemq.pool.PooledConnectionFactory without AOP
2017-11-23 15:22:08,713 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'pooledConnectionFactory' to [app] 
2017-11-23 15:22:08,774 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'targetConnectionFactory'<>
2017-11-23 15:22:08,774 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=targetConnectionFactory
2017-11-23 15:22:08,774 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=targetConnectionFactory
2017-11-23 15:22:08,775 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) DEBUG - Found IocObject(targetConnectionFactory) in JsonLoader(paths=[ioc/])
2017-11-23 15:22:08,775 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - 	 >> Make...'targetConnectionFactory'<>
2017-11-23 15:22:08,797 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) DEBUG - Load class org.apache.activemq.ActiveMQConnectionFactory without AOP
2017-11-23 15:22:08,797 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'targetConnectionFactory' to [app] 
2017-11-23 15:22:08,966 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'conf'<>
2017-11-23 15:22:08,966 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=conf
2017-11-23 15:22:08,967 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=conf
2017-11-23 15:22:08,977 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) DEBUG - Found IocObject(conf) in JsonLoader(paths=[ioc/])
2017-11-23 15:22:08,977 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - 	 >> Make...'conf'<>
2017-11-23 15:22:08,978 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) DEBUG - Load class org.nutz.ioc.impl.PropertiesProxy without AOP
2017-11-23 15:22:08,978 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'conf' to [app] 
2017-11-23 15:22:09,047 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 2 resource by src( custom/ ) , regex( ^.+[.]properties$ )
2017-11-23 15:22:09,048 org.nutz.ioc.impl.PropertiesProxy.setPaths(PropertiesProxy.java:113) DEBUG - load properties from File[D:\nutzbook\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\forwage-phone\WEB-INF\classes\custom\db.properties]
2017-11-23 15:22:09,049 org.nutz.ioc.impl.PropertiesProxy.setPaths(PropertiesProxy.java:113) DEBUG - load properties from File[D:\nutzbook\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\forwage-phone\WEB-INF\classes\custom\mq.properties]
2017-11-23 15:22:09,055 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'conf'<>
2017-11-23 15:22:09,057 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'conf'<>
2017-11-23 15:22:09,070 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'conf'<>
2017-11-23 15:22:09,088 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'sessionAwareQueue'<>
2017-11-23 15:22:09,089 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=sessionAwareQueue
2017-11-23 15:22:09,089 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=sessionAwareQueue
2017-11-23 15:22:09,091 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) DEBUG - Found IocObject(sessionAwareQueue) in JsonLoader(paths=[ioc/])
2017-11-23 15:22:09,091 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - 	 >> Make...'sessionAwareQueue'<>
2017-11-23 15:22:09,093 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) DEBUG - Load class org.apache.activemq.command.ActiveMQQueue without AOP
2017-11-23 15:22:09,095 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'sessionAwareQueue' to [app] 
2017-11-23 15:22:09,153 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'consumerSessionAwareMessageListener'<>
2017-11-23 15:22:09,153 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=consumerSessionAwareMessageListener
2017-11-23 15:22:09,153 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=consumerSessionAwareMessageListener
2017-11-23 15:22:09,155 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) DEBUG - Found IocObject(consumerSessionAwareMessageListener) in JsonLoader(paths=[ioc/])
2017-11-23 15:22:09,155 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - 	 >> Make...'consumerSessionAwareMessageListener'<>
2017-11-23 15:22:09,156 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) DEBUG - Load class com.forwage.listener.ConsumerSessionAwareMessageListener without AOP
2017-11-23 15:22:09,156 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'consumerSessionAwareMessageListener' to [app] 
2017-11-23 15:22:09,401 org.apache.activemq.transport.WireFormatNegotiator.sendWireFormat(WireFormatNegotiator.java:82) DEBUG - Sending: WireFormatInfo { version=10, properties={TcpNoDelayEnabled=true, SizePrefixDisabled=false, CacheSize=1024, StackTraceEnabled=true, CacheEnabled=true, TightEncodingEnabled=true, MaxFrameSize=9223372036854775807, Host=192.168.1.123, MaxInactivityDuration=30000, MaxInactivityDurationInitalDelay=10000}, magic=[A,c,t,i,v,e,M,Q]}
2017-11-23 15:22:09,412 org.springframework.jms.connection.SingleConnectionFactory.initConnection(SingleConnectionFactory.java:348) INFO  - Established shared JMS Connection: PooledConnection { ConnectionPool[ActiveMQConnection {id=ID:PC-20160520DVZA-58717-1511421729288-1:1,clientId=null,started=false}] }
2017-11-23 15:22:09,414 org.apache.activemq.transport.InactivityMonitor.configuredOk(InactivityMonitor.java:92) DEBUG - Using min of local: WireFormatInfo { version=10, properties={TcpNoDelayEnabled=true, SizePrefixDisabled=false, CacheSize=1024, StackTraceEnabled=true, CacheEnabled=true, TightEncodingEnabled=true, MaxFrameSize=9223372036854775807, Host=192.168.1.123, MaxInactivityDuration=30000, MaxInactivityDurationInitalDelay=10000}, magic=[A,c,t,i,v,e,M,Q]} and remote: WireFormatInfo { version=10, properties={TcpNoDelayEnabled=true, SizePrefixDisabled=false, CacheSize=1024, StackTraceEnabled=true, CacheEnabled=true, TightEncodingEnabled=true, MaxFrameSize=104857600, MaxInactivityDuration=30000, MaxInactivityDurationInitalDelay=10000}, magic=[A,c,t,i,v,e,M,Q]}
2017-11-23 15:22:09,417 org.apache.activemq.transport.WireFormatNegotiator.negociate(WireFormatNegotiator.java:118) DEBUG - Received WireFormat: WireFormatInfo { version=10, properties={TcpNoDelayEnabled=true, SizePrefixDisabled=false, CacheSize=1024, StackTraceEnabled=true, CacheEnabled=true, TightEncodingEnabled=true, MaxFrameSize=104857600, MaxInactivityDuration=30000, MaxInactivityDurationInitalDelay=10000}, magic=[A,c,t,i,v,e,M,Q]}
2017-11-23 15:22:09,421 org.springframework.jms.listener.AbstractJmsListeningContainer.establishSharedConnection(AbstractJmsListeningContainer.java:388) DEBUG - Established shared JMS Connection
2017-11-23 15:22:09,421 org.apache.activemq.transport.WireFormatNegotiator.negociate(WireFormatNegotiator.java:125) DEBUG - tcp:///192.168.1.123:61616@58718 before negotiation: OpenWireFormat{version=10, cacheEnabled=false, stackTraceEnabled=false, tightEncodingEnabled=false, sizePrefixDisabled=false, maxFrameSize=9223372036854775807}
2017-11-23 15:22:09,427 org.apache.activemq.transport.WireFormatNegotiator.negociate(WireFormatNegotiator.java:140) DEBUG - tcp:///192.168.1.123:61616@58718 after negotiation: OpenWireFormat{version=10, cacheEnabled=true, stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false, maxFrameSize=104857600}
ok
2017-11-23 15:22:09,451 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:141) INFO  - Nutz.Mvc[nutz] is up in 2021ms
十一月 23, 2017 3:22:09 下午 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deployment of configuration descriptor D:\nutzbook\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\conf\Catalina\localhost\forwage-phone.xml has finished in 6,259 ms
十一月 23, 2017 3:22:09 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-nio-80"]
十一月 23, 2017 3:22:09 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-nio-8011"]
十一月 23, 2017 3:22:09 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 6931 ms

监听代码如下:

package com.forwage.listener;

import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.Session;

import org.apache.activemq.command.ActiveMQTextMessage;
import org.springframework.jms.listener.SessionAwareMessageListener;

public class ConsumerSessionAwareMessageListener implements SessionAwareMessageListener<Message> {

	@Override
	public void onMessage(Message message, Session session) throws JMSException {
		ActiveMQTextMessage msg = (ActiveMQTextMessage) message;
		final String ms = msg.getText();
		System.out.println("==>receive message:" + ms);
	}

}

看上去已经连接了,但没动静? 不晓得了...

少写了container.initialize();这行代码 对MQ不熟悉自己猜的 还是要谢谢兽总

那加到events里面更好吧

        sessionAwareListenerContainer : {
            type : "org.springframework.jms.listener.DefaultMessageListenerContainer",
            fields : {
            	connectionFactory : {refer : 'connectionFactory'},
            	destination : {refer : 'sessionAwareQueue'},
            	messageListener : {refer : 'consumerSessionAwareMessageListener'}
            },
            events : {
                create : "initialize"
            }
        }
添加回复
请先登陆
回到顶部