此程序是一个jax-ws web services 用一个main方法发布的,数据库连接用了c3p0数据源,一下是日志,我只想问下[pool-1-thread-1]它是什么意思,这个线程为什么不停的累加,每调用一次ws他都会变为下一个新的线程,而且调用的过程耗时越来越多,求解答
2011-09-12 10:12:19 [INFO] [pool-1-thread-1]
2011-09-12 10:12:19 [INFO] [pool-1-thread-2]
。
2011-09-13 09:42:09 [INFO] [pool-1-thread-210]
2011-09-13 09:42:09 [INFO] [pool-1-thread-211]
2011-09-12 10:12:19 [INFO] [pool-1-thread-1]
2011-09-12 10:12:19 [INFO] [pool-1-thread-2]
。
2011-09-13 09:42:09 [INFO] [pool-1-thread-210]
2011-09-13 09:42:09 [INFO] [pool-1-thread-211]
解决方案 »
- hibernate里query.list()找不到值!!!急
- 請問大蝦開發程序一般用什麽java軟件,小弟新手
- 使用java连接oracle数据库出现的异常
- 请问如何找 可以集成到java代码的 word ,pdf ,autocd 插件
- 如何提高程序的运行效率
- JSP连接到JavaBean的一个问题
- JVM和JDK有什么区别!!!!
- 请问,在TOMCAT5中,JSP编译成的class文件存放在哪个目录下?
- tomcat5.0中用javabean 连接数据库,出现的问题,求高手指点!!!
- 有了jBuilder还用装JDK和TOMCAT吗?小弟装好了Jbuilder却运行不了JSP?
- SSH2整合出错:entity passed to persist
- hibernate + extJs3.1分页问题
OBA 2011-09-13 10:32:13 [INFO] [pool-1-thread-1] [ws.ServiceMethodImpl][19]
OBA 2011-09-13 10:32:13 [INFO] [pool-1-thread-1] [ws.ServiceMethodImpl][24]
OBA 2011-09-13 10:32:56 [INFO] [pool-1-thread-3] [ws.ServiceMethodImpl][19]
OBA 2011-09-13 10:32:56 [INFO] [pool-1-thread-3] [ws.ServiceMethodImpl][24]
OBA 2011-09-13 10:33:16 [INFO] [pool-1-thread-2] [ws.ServiceMethodImpl][19]
OBA 2011-09-13 10:33:16 [INFO] [pool-1-thread-2] [ws.ServiceMethodImpl][24]
OBA 2011-09-13 10:33:46 [INFO] [pool-1-thread-4] [ws.ServiceMethodImpl][19]
OBA 2011-09-13 10:33:46 [INFO] [pool-1-thread-4] [ws.ServiceMethodImpl][24]
OBA 2011-09-13 10:34:20 [INFO] [pool-1-thread-1] [ws.ServiceMethodImpl][19]
OBA 2011-09-13 10:34:20 [INFO] [pool-1-thread-1] [ws.ServiceMethodImpl][24]
OBA 2011-09-13 10:35:02 [INFO] [pool-1-thread-3] [ws.ServiceMethodImpl][19]
OBA 2011-09-13 10:35:02 [INFO] [pool-1-thread-3] [ws.ServiceMethodImpl][24]
OBA 2011-09-13 10:35:41 [INFO] [pool-1-thread-2] [ws.ServiceMethodImpl][19]
OBA 2011-09-13 10:35:41 [INFO] [pool-1-thread-2] [ws.ServiceMethodImpl][24]
客户端我让线程sleep的情况下,再调用就会新创建线程,如果我把sleep的线程干掉,他就会重用以前的线程