使用JNDI的方式从Jboss里获取数据连接(Connection)的方式,Jboss会管理connection,不需要自己手动去关闭,但Jboss老是提示需要自己来关闭connection,针对Jboss6的解决方法如下: Step One:修改%JBOSS_HOME%\server\default\deploy\jbossweb.sar\server.xml,将 <Valve className="org.jboss.web.tomcat.service.jca.CachedConne…
[2017-05-19 13:32:14,933] INFO Waiting for keeper state SyncConnected (org.I0Itec.zkclient.ZkClient)[2017-05-19 13:32:15,028] INFO Opening socket connection to server hadoop02/192.168.233.201:2181. Will not attempt to authenticate using SASL (unknown…
1.启动kafka的脚本程序报如下所示的错误: [hadoop@slaver1 script_hadoop]$ kafka-start.sh start kafkaServer... [-- ::,] INFO Verifying properties (kafka.utils.VerifiableProperties) [-- ::,] INFO Property broker.id (kafka.utils.VerifiableProperties) [-- ::,] INFO Proper…
现象:map任务构造数据正常,reduce任务,开始也正常,速度很快 ,在hbase 的管理界面,可以看到,5W以上的请求数 当reduce 执行到 70% 左右的时候,就堵住了,查看yarn的web界面,可以找到如下报错信息. 不会尝试使用SASL认证. 连接被拒绝. 错误原因,找不到zookeeper 的master. 最开始的时候,配置是这样注入的: conf.set("hbase.zookeeper.quorum","hostname01,hostname02,hos…
tomcat启动完了之后,一直不停的打印这种错误信息,看表面上,应该是zk节点下的数据是空的,连接不上服务,所以一直在尝试连接,然后一直又连不上: 完整的错误信息: 407662 [usf-ZooKeeper:dsf_default-Registry-SendThread(127.0.0.1:2181)] INFO org.apache.zookeeper.ClientCnxn - Opening socket connection to server 127.0.0.1/127.0.0.1:2…
client closes socket: clientSocket.close(); step1 :client sends TCP FIN control segment to server step2: Server receives FIN,replies with ACK. Closes connection,sends FIN. time wait 30 seconds(in order to receive the package which already send but un…
  最近温习了下EJB和JMS,整理了下思路,和大家分享下P2P和Pub/Sub的demo :JBoss 7 集成了HornetQ,JMS可以在HornetQ中间件运行,有时间在和大家分享关于HornetQ的文章. 1.下载Jboss 7并配置运行环境 http://www.jboss.org/jbossas/downloads 2.增加testjms用户(用以jms链接时使用),在jboss的bin目录下运行add-user.bat,如下: guest 一定要写.  3.修改启动配置文件,使用…
In HTTP/0.9 (not used anymore), each request uses a separate TCP connection, and the end of a response is signalled by closing the connection. In HTTP/1.0, an unofficial but very widely supported "Connection: Keep-Alive" request header can be us…
(000003)2016/7/4 9:31:42 - (not logged in) (10.61.41.57)> Connected, sending welcome message... (000003)2016/7/4 9:31:42 - (not logged in) (10.61.41.57)> 220-FileZilla Server version 0.9.37 beta (000003)2016/7/4 9:31:42 - (not logged in) (10.61.41.5…
昨天使用Navicat for MySQL导入MySQL数据库的时候,出现了一个严重的错误,Lost connection to MySQL server during query,字面意思就是在查询过程中丢失连接到MySQL服务器. [Msg] Decompressing... [Msg] Table Created: wp_wiki_copy [Msg] Importing Data... [Msg] 2013 - Lost connection to MySQL server during…