2016-11-01 10:16:00,706 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:56) INFO - Nutz.Mvc[nutz] is initializing ...
2016-11-01 10:16:00,706 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:60) DEBUG - Web Container Information:
2016-11-01 10:16:00,727 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:61) DEBUG - - Default Charset : GB2312
2016-11-01 10:16:00,728 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:62) DEBUG - - Current . path : /.
2016-11-01 10:16:00,728 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:63) DEBUG - - Java Version : 1.8.0_77
2016-11-01 10:16:00,729 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:64) DEBUG - - File separator : /
2016-11-01 10:16:00,729 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:65) DEBUG - - Timezone : PRC
2016-11-01 10:16:00,729 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:66) DEBUG - - OS : Linux amd64
2016-11-01 10:16:00,730 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:67) DEBUG - - ServerInfo : Apache Tomcat/8.0.33
2016-11-01 10:16:00,730 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:68) DEBUG - - Servlet API : 3.1
报错信息
org.nutz.ioc.IocException: [_mirror_factory_init] # Mirror Factory init fail
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:157)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:239)
at org.nutz.mvc.impl.Loadings.evalObj(Loadings.java:320)
at org.nutz.mvc.impl.processor.AbstractProcessor.evalObj(AbstractProcessor.java:48)
at org.nutz.mvc.impl.processor.ActionFiltersProcessor.init(ActionFiltersProcessor.java:32)
at org.nutz.mvc.impl.NutActionChainMaker.eval(NutActionChainMaker.java:38)
at org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:54)
at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:203)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:107)
at org.nutz.mvc.ActionHandler.(ActionHandler.java:19)
at org.nutz.mvc.NutFilter._init(NutFilter.java:87)
at org.nutz.mvc.NutFilter.init(NutFilter.java:65)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:105)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4658)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5277)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.nutz.ioc.IocException: [$aop_syslog, sysLogService, dao] # FAIL to create Ioc Bean name=[dao]
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:149)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:26)
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:31)
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:26)
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:31)
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:239)
at org.nutz.ioc.aop.impl.DefaultMirrorFactory.init(DefaultMirrorFactory.java:114)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:154)
... 23 more
Caused by: org.nutz.lang.born.BorningException: Fail to born 'org.nutz.dao.impl.NutDao'
by args: [
@({
CreateTime:"2016-11-01 10:16:03",
ActiveCount:0,
PoolingCount:0,
CreateCount:0,
DestroyCount:0,
CloseCount:0,
ConnectCount:0,
Connections:[
]
})] becasue:
java.lang.ExceptionInInitializerError
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:19)
at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:67)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:114)
... 37 more
Caused by: java.lang.ExceptionInInitializerError
at org.nutz.dao.impl.DaoSupport.setDataSource(DaoSupport.java:191)
at org.nutz.dao.impl.DaoSupport.setDataSource(DaoSupport.java:182)
at org.nutz.dao.impl.NutDao.(NutDao.java:113)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:17)
... 39 more
Caused by: org.nutz.json.JsonException: !Json syntax error nearby [row:1,col:1 char '锘'], reason: 'Unexpect String = 锘?/*
* Nutz.Dao ??榛?璁ゆ?????版??搴???绉?绫?
*/
var ioc = {
/*
* Experts ????灏???琛?
*/
experts : {
"h2.*" : "org.nutz.dao.impl.jdbc.h2.H2JdbcExpert",
"mysql.*" : "org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert",
"postgresql.*" : "org.nutz.dao.impl.jdbc.psql.PsqlJdbcExpert",
"db2.*" : "org.nutz.dao.impl.jdbc.db2.Db2JdbcExpert",
"oracle.*" : "org.nutz.dao.impl.jdbc.oracle.OracleJdbcExpert",
// SqlServer2005 --> 9.0 , SqlServer2008 --> 10.0
"microsoft sql server.*(9|10)[.].+" : "org.nutz.dao.impl.jdbc.sqlserver2005.Sqlserver2005JdbcExpert",
"microsoft sql server.*(8)[.].+" : "org.nutz.dao.impl.jdbc.sqlserver2000.Sqlserver2000JdbcExpert",
"microsoft sql server.*(11|12|13|14|15)[.].+" : "org.nutz.dao.impl.jdbc.sqlserver2005.Sqlserver2005JdbcExpert",
"hsql.*" : "org.nutz.dao.impl.jdbc.hsqldb.HsqldbJdbcExpert",
"sqlite" : "org.nutz.dao.impl.jdbc.sqlite.SQLiteJdbcExpert",
".+derby.+" : "org.nutz.dao.impl.jdbc.derby.DerbyJdbcExpert",
"gbase.*" : "org.nutz.dao.impl.jdbc.gbase.GBaseJdbcExpert",
"sybase.*" : "org.nutz.dao.impl.jdbc.sybase.SybaseIQJdbcExpert"
// ~ ??灏?缁???
},
/*
* ???? Expert ?借?借?诲?拌?涓???缃???浠?
*/
config : {
// 榛?璁ょ?? Clob 浠ュ?? Blog 涓存?剁??褰?
"pool-home" : "~/wwwroot/hycyy/.nutz/tmp/dao/",
// 涓存?剁??褰?澶у?锛?0 涓轰???澶у?
"pool-max" : 200000,
// Mysql ?规????缃?
"mysql-engine" : "InnoDB",
// GBase ?规????缃?
"gbase-engine" : "GsDB"
// 锝? ??缃?淇℃??缁???
} };'
at org.nutz.json.impl.JsonTokenScan.readObject(JsonCompileImplV2.java:297)
at org.nutz.json.impl.JsonTokenScan.read(JsonCompileImplV2.java:354)
at org.nutz.json.impl.JsonCompileImplV2.parse(JsonCompileImplV2.java:26)
at org.nutz.json.Json.fromJson(Json.java:40)
at org.nutz.json.Json.parse(Json.java:75)
at org.nutz.json.Json.fromJson(Json.java:56)
at org.nutz.dao.jdbc.Jdbcs.<clinit>(Jdbcs.java:73)
... 47 more
2016-11-01 10:16:03,903 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:124) ERROR - Error happend during start serivce!
org.nutz.ioc.IocException: [_mirror_factory_init] # Mirror Factory init fail
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:157)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:239)
at org.nutz.mvc.impl.Loadings.evalObj(Loadings.java:320)
at org.nutz.mvc.impl.processor.AbstractProcessor.evalObj(AbstractProcessor.java:48)
at org.nutz.mvc.impl.processor.ActionFiltersProcessor.init(ActionFiltersProcessor.java:32)
at org.nutz.mvc.impl.NutActionChainMaker.eval(NutActionChainMaker.java:38)
at org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:54)
at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:203)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:107)
at org.nutz.mvc.ActionHandler.(ActionHandler.java:19)
at org.nutz.mvc.NutFilter._init(NutFilter.java:87)
at org.nutz.mvc.NutFilter.init(NutFilter.java:65)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:105)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4658)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5277)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.nutz.ioc.IocException: [$aop_syslog, sysLogService, dao] # FAIL to create Ioc Bean name=[dao]
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:149)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:26)
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:31)
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:26)
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:31)
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:239)
at org.nutz.ioc.aop.impl.DefaultMirrorFactory.init(DefaultMirrorFactory.java:114)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:154)
... 23 more
Caused by: org.nutz.lang.born.BorningException: Fail to born 'org.nutz.dao.impl.NutDao'
by args: [
@({
CreateTime:"2016-11-01 10:16:03",
ActiveCount:0,
PoolingCount:0,
CreateCount:0,
DestroyCount:0,
CloseCount:0,
ConnectCount:0,
Connections:[
]
})] becasue:
java.lang.ExceptionInInitializerError
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:19)
at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:67)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:114)
... 37 more
Caused by: java.lang.ExceptionInInitializerError
at org.nutz.dao.impl.DaoSupport.setDataSource(DaoSupport.java:191)
at org.nutz.dao.impl.DaoSupport.setDataSource(DaoSupport.java:182)
at org.nutz.dao.impl.NutDao.(NutDao.java:113)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:17)
... 39 more
Caused by: org.nutz.json.JsonException: !Json syntax error nearby [row:1,col:1 char '锘'], reason: 'Unexpect String = 锘?/*
* Nutz.Dao ??榛?璁ゆ?????版??搴???绉?绫?
*/
var ioc = {
/*
* Experts ????灏???琛?
*/
experts : {
"h2.*" : "org.nutz.dao.impl.jdbc.h2.H2JdbcExpert",
"mysql.*" : "org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert",
"postgresql.*" : "org.nutz.dao.impl.jdbc.psql.PsqlJdbcExpert",
"db2.*" : "org.nutz.dao.impl.jdbc.db2.Db2JdbcExpert",
"oracle.*" : "org.nutz.dao.impl.jdbc.oracle.OracleJdbcExpert",
// SqlServer2005 --> 9.0 , SqlServer2008 --> 10.0
"microsoft sql server.*(9|10)[.].+" : "org.nutz.dao.impl.jdbc.sqlserver2005.Sqlserver2005JdbcExpert",
"microsoft sql server.*(8)[.].+" : "org.nutz.dao.impl.jdbc.sqlserver2000.Sqlserver2000JdbcExpert",
"microsoft sql server.*(11|12|13|14|15)[.].+" : "org.nutz.dao.impl.jdbc.sqlserver2005.Sqlserver2005JdbcExpert",
"hsql.*" : "org.nutz.dao.impl.jdbc.hsqldb.HsqldbJdbcExpert",
"sqlite" : "org.nutz.dao.impl.jdbc.sqlite.SQLiteJdbcExpert",
".+derby.+" : "org.nutz.dao.impl.jdbc.derby.DerbyJdbcExpert",
"gbase.*" : "org.nutz.dao.impl.jdbc.gbase.GBaseJdbcExpert",
"sybase.*" : "org.nutz.dao.impl.jdbc.sybase.SybaseIQJdbcExpert"
// ~ ??灏?缁???
},
/*
* ???? Expert ?借?借?诲?拌?涓???缃???浠?
*/
config : {
// 榛?璁ょ?? Clob 浠ュ?? Blog 涓存?剁??褰?
"pool-home" : "~/wwwroot/hycyy/.nutz/tmp/dao/",
// 涓存?剁??褰?澶у?锛?0 涓轰???澶у?
"pool-max" : 200000,
// Mysql ?规????缃?
"mysql-engine" : "InnoDB",
// GBase ?规????缃?
"gbase-engine" : "GsDB"
// 锝? ??缃?淇℃??缁???
} };'
at org.nutz.json.impl.JsonTokenScan.readObject(JsonCompileImplV2.java:297)
at org.nutz.json.impl.JsonTokenScan.read(JsonCompileImplV2.java:354)
at org.nutz.json.impl.JsonCompileImplV2.parse(JsonCompileImplV2.java:26)
at org.nutz.json.Json.fromJson(Json.java:40)
at org.nutz.json.Json.parse(Json.java:75)
at org.nutz.json.Json.fromJson(Json.java:56)
at org.nutz.dao.jdbc.Jdbcs.<clinit>(Jdbcs.java:73)
... 47 more