NutzCN Logo
问答 不知道为啥突然就报错了Fail to born 'org.nutz.dao.impl.NutDao'
发布于 2722天前 作者 lambert 2919 次浏览 复制 上一个帖子 下一个帖子
标签:

老大,又得来烦你了,nutz应该没有别的变化了, nutz-1.b.39-jdk6.jar,不知道为啥突然就报错了,我查了配置文件,没有问题。
而且是初始化的时候,tomcat没有报出来任何的错误来。

2017-07-10 14:44:54,138 [1528298568@qtp-1836797772-5] WARN  com.alibaba.druid.pool.DruidDataSource - not full timeout retry : 1
2017-07-10 14:45:09,142 [1528298568@qtp-1836797772-5] ERROR org.nutz.mvc.impl.processor.FailProcessor - Catch handle error
org.nutz.lang.born.BorningException: Fail to born 'org.nutz.dao.impl.NutDao'
 by args: [
  @({
	CreateTime:"2017-07-10 14:44:38",
	ActiveCount:0,
	PoolingCount:0,
	CreateCount:0,
	DestroyCount:0,
	CloseCount:0,
	ConnectCount:2,
	Connections:[
	]
})
  @(org.nutz.dao.impl.FileSqlManager@3a024869)] becasue:
wait millis 15001, active 0, maxActive 8
	at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:18)
	at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:67)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:75)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:187)
	at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
	at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:23)
	at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:95)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:187)
	at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
	at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:23)
	at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:95)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:187)
	at org.nutz.ioc.val.ReferValue.get(ReferValue.java:24)
	at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:23)
	at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:95)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:187)
	at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:65)
	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:36)
	at org.nutz.mvc.impl.ActionInvoker.invoke(ActionInvoker.java:66)
	at org.nutz.mvc.ActionHandler.handle(ActionHandler.java:30)
	at org.nutz.mvc.NutFilter.doFilter(NutFilter.java:60)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:326)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Caused by: java.lang.reflect.InvocationTargetException
	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:408)
	at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:15)
	... 42 more
Caused by: java.lang.RuntimeException: com.alibaba.druid.pool.GetConnectionTimeoutException: wait millis 15001, active 0, maxActive 8
	at org.nutz.lang.Lang.wrapThrow(Lang.java:133)
	at org.nutz.dao.jdbc.Jdbcs.getExpert(Jdbcs.java:94)
	at org.nutz.dao.impl.DaoSupport.setDataSource(DaoSupport.java:152)
	at org.nutz.dao.impl.NutDao.<init>(NutDao.java:77)
	at org.nutz.dao.impl.NutDao.<init>(NutDao.java:81)
	... 47 more
Caused by: com.alibaba.druid.pool.GetConnectionTimeoutException: wait millis 15001, active 0, maxActive 8
	at com.alibaba.druid.pool.DruidDataSource.getConnectionInternal(DruidDataSource.java:1195)
	at com.alibaba.druid.pool.DruidDataSource.getConnectionDirect(DruidDataSource.java:1017)
	at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:997)
	at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:987)
	at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:103)
	at org.nutz.dao.jdbc.Jdbcs.getExpert(Jdbcs.java:87)
	... 50 more

2 回复

连不上数据库

我知道了,还是我的jdk有问题

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