情况描述:
打开Eclipse,先启动模拟器,手机再连接上,运行程序,发现出现officeline unknow,并且控制台打印:
[2014-09-05 10:42:27 - DeviceMonitor] Adb connection Error:远程主机强迫关闭了一个现有的连接。
[2014-09-05 10:42:28 - DeviceMonitor] Connection attem...
分类:
其他好文 时间:
2014-09-05 11:23:41
阅读次数:
321
现在我们对事务的概念和原理都有所了解了,并且作为已经有一些基础的C#开发者,我们已经熟知编写数据库交互程序的一些要点,即:(1)使用SqlConnection类的对象的Open()方法建立与数据库服务器的连接。(2)然后将该连接赋给SqlCommand对象的Connection属性。(3)将欲执行的...
分类:
Web程序 时间:
2014-09-05 09:56:41
阅读次数:
174
原文:http://www.cnblogs.com/xiezhengcai/p/3956401.html1. 服务端io.on('connection',function(socket));监听客户端连接,回调函数会传递本次连接的socketio.sockets.emit('String',data...
DBCP:DataBase Connection Pool
1、需要的jar:commons-dbcp.jar commons-pool.jar
2、把DBCP的配置文件(dbcpconfig.properties)拷贝到构建路径中
3、创建类:DBCPUtil
dbcpconfig.properties:
mysql设置内容如下:
#连接设置
driverClassName=c...
分类:
数据库 时间:
2014-09-04 17:00:09
阅读次数:
215
当你启动Tomcat后,在浏览器中输入http://127.0.1.1:8080/xxx.xx,你会发现你可以找打你要找的东西。但是当你在Eclipse中运行测试代码后,JUnit会一直报出这样的错误:java.net.ConnectException:failedtoconnectto/127.0.1.1(port8080)after5000ms:isConnectedfailed:ECONNRE..
分类:
编程语言 时间:
2014-09-04 03:09:38
阅读次数:
508
1 package it.cast.jdbc; 2 3 import java.sql.Connection; 4 import java.sql.DriverManager; 5 import java.sql.SQLException; 6 import java.util.LinkedLi.....
分类:
其他好文 时间:
2014-09-04 00:10:17
阅读次数:
238
在研究Smack的源代码的时候,我对它的连接Connection以及派生类XMPPConnection的关注是最多的,因为一个即时通信程序,它的网络模块必是它的核心。而我很在乎它是如何实现的。
在收发数据包的时候,我看到了队列的身影。BlockingQueue和ArrayBlockingQueue。所以,我觉得用到什么然后去查阅,去记录,这种方法是比较高效率的。
BlockingQueue是在...
分类:
移动开发 时间:
2014-09-03 16:57:37
阅读次数:
237
一:问题描述GGSCI (source_pc) 64> info allProgram Status Group Lag at Chkpt Time Since ChkptMANAGER RUNNING EXTRACT RUNNING EORA_T1 00:00:00 00:00:06 EXTRAC...
分类:
其他好文 时间:
2014-09-03 16:29:16
阅读次数:
263
进入mysqlserver
如下:
Enter password: ******
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 810
Server version: 5.6.10 MySQL Community Server (GPL)
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights rese...
分类:
数据库 时间:
2014-09-03 15:03:46
阅读次数:
243
当批量删除虚拟机时报错如下1、在计算节点的报错信息如下[root@LX-OS-node12~]#tail-f/var/log/neutron/openvswitch-agent.log2014-09-0219:28:27.25236649TRACEneutron.plugins.openvswitch.agent.ovs_neutron_agentFile"/usr/lib/python2.6/site-packages/neutron/agent/secu..
分类:
其他好文 时间:
2014-09-03 13:16:17
阅读次数:
624