今天线上使用开发环境配置导致mysql 链接不上的错误:
"dboss-worker-thread-6" prio=10 tid=0x00002aaac0310000 nid=0x28e3 waiting for monitor entry [0x000000004440a000] java.lang.Thread.State: BLOCKED (on object monitor) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1361) - waiting to lock <0x00000007980d41c8> (a org.apache.commons.dbcp.BasicDataSource) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at com.duitang.common.data.RouterDataSource.getConnection(RouterDataSource.java:103) at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:111) at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77) at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:573) at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:637) at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:666) at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:674) at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:714) at org.springframework.jdbc.core.JdbcTemplate.queryForList(JdbcTemplate.java:797) at com.duitang.biz.blog.impl.BlogQueryServiceImpl.queryBlogCoreById(BlogQueryServiceImpl.java:599) at com.duitang.biz.blog.impl.BlogQueryServiceImpl.queryBlogTiny(BlogQueryServiceImpl.java:741) at com.duitang.views.CommentService.queryCommentsByBlogs(CommentService.java:146) at com.duitang.biz.blog.impl.CommentQueryServiceImpl.queryComent(CommentQueryServiceImpl.java:44) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.duitang.dboss.service.ServiceInvoker.doaccept2(ServiceInvoker.java:127) at com.duitang.dboss.service.ServiceInvoker.accept(ServiceInvoker.java:46) at com.duitang.dboss.remote.nio.DbossServerHandler.messageReceived(DbossServerHandler.java:40) at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:98) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:560) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:796) at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:69) at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:307) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) "dboss-worker-thread-4" prio=10 tid=0x0000000048437000 nid=0x28e1 waiting for monitor entry [0x0000000044208000] java.lang.Thread.State: BLOCKED (on object monitor) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1361) - waiting to lock <0x00000007980d41c8> (a org.apache.commons.dbcp.BasicDataSource) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at com.duitang.common.data.RouterDataSource.getConnection(RouterDataSource.java:103) at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:111) at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77) at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:573) at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:637) at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:666) at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:674) at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:714) at org.springframework.jdbc.core.JdbcTemplate.queryForList(JdbcTemplate.java:797) at com.duitang.biz.blog.impl.BlogQueryServiceImpl.queryBlogCoreById(BlogQueryServiceImpl.java:599) at com.duitang.biz.blog.impl.BlogQueryServiceImpl.queryBlogTiny(BlogQueryServiceImpl.java:741) at com.duitang.views.CommentService.queryCommentsByBlogs(CommentService.java:146) at com.duitang.biz.blog.impl.CommentQueryServiceImpl.queryComent(CommentQueryServiceImpl.java:44) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.duitang.dboss.service.ServiceInvoker.doaccept2(ServiceInvoker.java:127) at com.duitang.dboss.service.ServiceInvoker.accept(ServiceInvoker.java:46) at com.duitang.dboss.remote.nio.DbossServerHandler.messageReceived(DbossServerHandler.java:40) at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:98) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:560) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:796) at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:69) at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:307) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) "pool-5-thread-2" prio=10 tid=0x0000000048435000 nid=0x28e0 waiting on condition [0x0000000044108000] java.lang.Thread.State: TIMED_WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for <0x00000007980b03c8> (a java.util.concurrent.SynchronousQueue$TransferStack) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:196) at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:424) at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:323) at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:874) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:945) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:662) "dboss-worker-thread-2" prio=10 tid=0x00002aaac027d800 nid=0x28db runnable [0x0000000043f04000] java.lang.Thread.State: RUNNABLE at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) - locked <0x00000007793cf188> (a java.net.SocksSocketImpl) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at java.net.Socket.<init>(Socket.java:375) at java.net.Socket.<init>(Socket.java:218) at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:257) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:300) at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2393) at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2430) at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2215) - locked <0x0000000779239e30> (a com.mysql.jdbc.JDBC4Connection) at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:813) at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:399) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:334) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556) at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388) - locked <0x00000007980d41c8> (a org.apache.commons.dbcp.BasicDataSource) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) at com.duitang.common.data.RouterDataSource.getConnection(RouterDataSource.java:103) at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:111) at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77) at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:573) at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:637) at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:666) at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:674) at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:714) at org.springframework.jdbc.core.JdbcTemplate.queryForList(JdbcTemplate.java:797) at com.duitang.biz.blog.impl.BlogQueryServiceImpl.queryBlogCoreById(BlogQueryServiceImpl.java:599) at com.duitang.biz.blog.impl.BlogQueryServiceImpl.queryBlogById(BlogQueryServiceImpl.java:363) at com.duitang.biz.blog.impl.BlogQueryServiceImpl.queryBlogDetail(BlogQueryServiceImpl.java:724) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.duitang.dboss.service.ServiceInvoker.doaccept2(ServiceInvoker.java:127) at com.duitang.dboss.service.ServiceInvoker.accept(ServiceInvoker.java:46) at com.duitang.dboss.remote.nio.DbossServerHandler.messageReceived(DbossServerHandler.java:40) at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:98) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:560) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:796) at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:69) at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:307) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)
被lock在 L113: - locked <0x00000007980d41c8> (a org.apache.commons.dbcp.BasicDataSource)
相关推荐
4.12.1 在 Win32 上安装 MySQL 4.12.2 在 Win95 /Win98上启动 MySQL 4.12.3 在 NT 上启动 MySQL 4.12.4 在 Win32 上运行 MySQL 4.12.5 用 SSH 从 Win32 连接一个远程MySQL 4.12.6 MySQL-Win...
o 2.4 在邮件列表上回答问题的指南 * 3 MySQL的许可证和技术支持 o 3.1 MySQL的许可证政策 o 3.2 MySQL 使用的版权 + 3.2.1 可能的未来版权改变 o 3.3 MySQL商业性分发 o 3.4 许可证实例 + 3.4.1 销售使用 ...
在IT领域,尤其是在服务器运维与数据库管理中,遇到“大量TIME_WAIT”状态的问题并不罕见,尤其是在高并发场景下,如MySQL服务器。本文将深入解析如何有效解决MySQL出现大量TIME_WAIT状态的问题,通过调整系统内核...
MySQL Proxy 是一个开源工具,由MySQL AB公司开发,允许用户在MySQL服务器和客户端应用程序之间插入一个代理层。这个代理层可以用来监控、过滤、修改或者路由数据库连接的流量,为数据库管理和性能优化提供了极大的...
Win32 上安装 MySQL 4.12.2 在 Win95 /Win98上启动 MySQL 4.12.3 在 NT 上启动 MySQL 4.12.4 在 Win32 上运行 MySQL 4.12.5 用 SSH 从 Win32 连接一个远程MySQL 4.12.6 MySQL-Win32与Unix ...
MySQL常见问题集锦详解主要涵盖了数据库管理中遇到的各种挑战,这些问题包括但不限于服务器崩溃、超时、连接错误、内存不足以及数据包过大等。下面将详细解释这些知识点。 1. **MySQL服务崩溃**: 当MySQL服务...
【Linux内核超时导致虚拟机无法正常启动问题及解决方案】 在Linux环境中,虚拟机启动失败,特别是出现“task swapper:1 blocked for more than 120 seconds”这类超时错误,通常意味着系统中的一个任务(在此例中是...
关于Your page is blocked due to a security的解决方案
MySQL Flush 命令用法详解 ...MySQL Flush 命令是一个非常强大和灵活的命令,它可以用于清除或重新加载各种高速缓存、表或者获取锁等,以便解决各种问题。但是,需要注意的是,执行 Flush 命令必须要有 reload 权限。
Blocked
node-blocked, 检查事件循环是否已经被阻止 块检查 node 事件循环是否被阻止。如果运行 node.js ,你可以使用非常类似的阻止阻塞函数,从而使用非常类似的阻止阻塞函数。安装$ npm install blocked描述blocked() ...
如果从站出现故障或者响应缓慢,整个系统的通信效率可能会降低,导致连接超时。 1. **从站响应时间 (RESP_TO)**:在S7-1200 PLC的Modbus RTU通信中,`RESP_TO`参数定义了主站等待从站响应的最大时间。默认值为1000...
iframe跨域问题:Uncaught DOMException Blocked a frame with origin解决方法
由于字符编码不一致,可能导致中文显示为乱码。Java中处理中文乱码通常涉及设置字符集,如在HTTP头、Servlet响应、JSP页面或数据库连接URL中指定UTF-8编码。在ch21中文乱码这个部分,你会看到如何预防和解决这类问题...
找到BLOCKED_GITHUB_API_KEY环境变量或检测到CI环境时,此宏将尝试查找所引用问题的状态。 如果问题已解决,则阻止将发出包含可选“原因”的警告。 由于这需要网络访问,因此建议仅在CI构建中运行此命令,以免减慢...
无负载测试是在感应电机不连接任何负载的情况下进行的,目的是测量电机在空载条件下的基本电气特性。这些特性包括空载电流、空载电压、空载损耗和同步速度。通过无负载测试,我们可以评估电机的效率,检查定子绕组的...
在实际开发中,当WebApi作为一个独立的服务,例如数据服务层,而MVC项目作为前端展示层时,两者位于不同的项目和端口下,浏览器会阻止MVC对WebApi的跨域请求,导致数据无法正常获取。 为了解决这个问题,我们可以...
blocked.certs
"BlockedAccounts_ActiveDirectory_Blocked_"这个标题暗示我们关注的是在Active Directory环境中被封锁的账户。这些账户可能因为安全原因、密码过期或者违反公司政策而被禁用或锁定,以防止未经授权的访问。 Active...
这个功能旨在提高数据库系统的安全性,防止恶意尝试猜测或破解用户的登录...同时,对于因更新或配置问题导致的登录困难,也有相应的解决方法。了解并正确配置这些设置,可以帮助管理员更好地管理和保护MySQL数据库。