Caused by: java.io.IOException: Async IO operation failed (1), reason: RC: 10054 [问题点数:20分,结帖人chenbin666]

Bbs1
本版专家分:0
结帖率 100%
Bbs1
本版专家分:0
IOException: Async IO operation failed (1), reason: RC: 32
com.ibm.wsspi.webcontainer.ClosedConnect<em>io</em>nExcept<em>io</em>n: OutputStream encountered error during write at
errno 104:connetction reset by peer的错误分析
errno = 104错误表明你在对一个对端socket已经关闭的的连接调用write或send方法,在这种情况下,调用write或send方法后,对端socket便会向本端socket发送一个RESET信号,在此之后如果继续执行write或send操作,就会得到errno为104,错误描述为connect<em>io</em>n reset by peer。         出现这种问题的很大一部分原因,至
OutputStream encountered error during write
最近项目快要上线,之前测试都没有问题,在回归测试的时候,遇到了一些问题,APP调用接口,总是报如下错误:com.ibm.wsspi.webcontainer.ClosedConnect<em>io</em>nExcept<em>io</em>n: OutputStream encountered error during write at com.ibm.ws.webcontainer.channel.WCCByteB
虚拟机VMware7.0.0安装CentOS-6.2出现fatal IO error 104 connection reset by peer on xserver:1.0解决
背景:win7-64位,虚拟机VMware7.0.0,linux版本CentOS-6.2-i386-bin-DVD1.iso      我拿CentOS在VMware7.0.0版本上安装不成功,当跳过Disk检查,启动Xserver进行图形界面安装的时候,就出现了fatal IO error 104 connect<em>io</em>n reset by peer on xserver:1.0错误。
java.io.IOException: classFile.delete() failed
java.<em>io</em>.IOExcept<em>io</em>n: classFile.delete() <em>failed</em>是什么原因?
java.io.IOException: tmpFile.renameTo(classFile) failed
如题,这种错误,有时出现,刷新一下就又好了,请问这是什么原因,有什么解决之道哇。CSDN有个是因为过滤器的原因。链接如下:rnhttp://topic.csdn.net/u/20070530/00/4b3d2d30-6d43-41bf-a91b-85f24ff319ee.html?seed=299616105&r=55750776#r_55750776rn请问高手有没有解决这个问题的良策啊?
the requested operation has failed
运行apache时 the requested operat<em>io</em>n has <em>failed</em> 这是为什么?
websphere的问题
websphere的问题描述: 1.输入URL后报错,408/409错误。 2.重启服务器主机开始很正常,过一段时间又出现问题1的情况。 3.查看日志一直报下面这个错误----java.<em>io</em>.IOEx
SRVE0133E错误,请大家帮忙分析一下
MyEclipse环境下通过websphere连接oracle数据库,在本机debug下出现异常,该问题不定期出现. websphere applicat<em>io</em>n server版本为6.1.0.0 具体
jsp + servlet下载文件的问题
小弟想在jsp中点击1个按钮下载文件,点击“下载”按钮后,成功弹出下载对话框,“打开”和“保存”都没报错,但是点击“取消”,servlet就有错误发生: “Outputstream encounter
IOException: Async IO operation failed (1), reason: RC: 32
com.ibm.wsspi.webcontainer.ClosedConnect<em>io</em>nExcept<em>io</em>n: OutputStream encountered error during write at
RC: 10054 远程主机强迫关闭了一个现有的连接
问题------------------------------------- was 6.X To solve the problem, increase the Connect<em>io</em>nIOTimeOut parameter for your Web container HTTP transport. The default value is 5 seconds. You can increa
java.sql.SQLException:io异常: Software caused connection abort: recv failed
java.sql.SQLExcept<em>io</em>n: I/O例外です。: Software <em>caused</em> connect<em>io</em>n abort: recv <em>failed</em> rnat oracle.jdbc.driver.DatabaseError.throwSqlExcept<em>io</em>n(DatabaseError.java:112) rnat oracle.jdbc.driver.DatabaseError.throwSqlExcept<em>io</em>n(DatabaseError.java:146) rnat oracle.jdbc.driver.DatabaseError.throwSqlExcept<em>io</em>n(DatabaseError.java:255) rnat oracle.jdbc.driver.T4CConnect<em>io</em>n.logon(T4CConnect<em>io</em>n.java:387) rnat oracle.jdbc.driver.PhysicalConnect<em>io</em>n.(PhysicalConnect<em>io</em>n.java:439) rnat oracle.jdbc.driver.T4CConnect<em>io</em>n.(T4CConnect<em>io</em>n.java:165) rnat oracle.jdbc.driver.T4CDriverExtens<em>io</em>n.getConnect<em>io</em>n(T4CDriverExtens<em>io</em>n.java:35) rnat oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801) rnat java.sql.DriverManager.getConnect<em>io</em>n(DriverManager.java:582) rnat java.sql.DriverManager.getConnect<em>io</em>n(DriverManager.java:185) rnat test.DB.(DB.java:16) rnat test.DB.main(DB.java:23) rn源码是: rnpackage test; rnimport java.sql.Connect<em>io</em>n; rnimport java.sql.DriverManager; rnrnpublic class DB rnConnect<em>io</em>n conn; rnpublic Connect<em>io</em>n getConn() rnreturn conn; rn rnpublic DB() rnString driver="oracle.jdbc.driver.OracleDriver"; rnString url="jdbc:oracle:thin:@127.0.0.1:1105:o<em>rc</em>l"; rnrntry rnClass.forName(driver); rnconn=DriverManager.getConnect<em>io</em>n(url,"testchen","testchen"); rnSystem.out.println(conn); rn catch (Except<em>io</em>n e) rne.printStackTrace(); rn rn rnpublic static void main(String[] args) rnnew DB(); rn rn rnrn就一个连接数据库 使用的是ojdbc14.jar oracle11g rn
The requested operation has failed
配置Apache和phprn如果在Apache的配置文件httpd.conf中加入rn[color=#FF0000]LoadModule php5_module "C:/php/php5apache2_2.dll"rnAddType applicat<em>io</em>n/x-httpd-php .php rnPHPIniDir "C:/php"[/color]rn之后启动Apache会出现The requested operat<em>io</em>n has <em>failed</em>,如果去掉这三行就能正常启动,为什么?rn求高手解答!!!
Io 异常: Software caused connection abort: recv failed
最近开发了一个基于JAVA程序,部署在测试服务器上没有出现过问题,部署在正式的服务器上,经常提示IO异常。这个和在本机测试的时候类似,本机电脑开发的时候如果超过二十分钟左右不操作也会提示IO异常。下面是错误的提示:rnrnrnjava.sql.SQLExcept<em>io</em>n: Io 异常: Software <em>caused</em> connect<em>io</em>n abort: recv <em>failed</em>rnoracle.jdbc.driver.DatabaseError.throwSqlExcept<em>io</em>n(DatabaseError.java:112)rnoracle.jdbc.driver.DatabaseError.throwSqlExcept<em>io</em>n(DatabaseError.java:146)rnoracle.jdbc.driver.DatabaseError.throwSqlExcept<em>io</em>n(DatabaseError.java:255)rnoracle.jdbc.driver.T4CConnect<em>io</em>n.doRollback(T4CConnect<em>io</em>n.java:577)rnoracle.jdbc.driver.PhysicalConnect<em>io</em>n.rollback(PhysicalConnect<em>io</em>n.java:1136)rncom.ibatis.common.jdbc.SimpleDataSou<em>rc</em>e.popConnect<em>io</em>n(SimpleDataSou<em>rc</em>e.java:629)rncom.ibatis.common.jdbc.SimpleDataSou<em>rc</em>e.getConnect<em>io</em>n(SimpleDataSou<em>rc</em>e.java:222)rncom.ibatis.sqlmap.engine.transact<em>io</em>n.jdbc.JdbcTransact<em>io</em>n.init(JdbcTransact<em>io</em>n.java:48)rncom.ibatis.sqlmap.engine.transact<em>io</em>n.jdbc.JdbcTransact<em>io</em>n.getConnect<em>io</em>n(JdbcTransact<em>io</em>n.java:89)rncom.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryForObject(MappedStatement.java:120)rncom.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(SqlMapExecutorDelegate.java:518)rncom.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(SqlMapExecutorDelegate.java:493)rncom.ibatis.sqlmap.engine.impl.SqlMapSess<em>io</em>nImpl.queryForObject(SqlMapSess<em>io</em>nImpl.java:106)rncom.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForObject(SqlMapClientImpl.java:82)rnmtx.wk.comm.UserDao.findUserByUserNo(UserDao.java:26)rnmtx.wk.comm.sv.login.LoginProvider.getUser(LoginProvider.java:19)rnmtx.wk.comm.sv.login.LoginProvider.childDo(LoginProvider.java:13)rnmtx.pub.sv.BaseSV.DoBusiness(BaseSV.java:129)rnmtx.wk.comm.sv.login.base.LoginProviderBase.Do(LoginProviderBase.java:21)rncom.alibaba.dubbo.common.bytecode.Wrapper183.invokeMethod(Wrapper183.java)rncom.alibaba.dubbo.rpc.proxy.javassist.JavassistProxyFactory$1.doInvoke(JavassistProxyFactory.java:46)rncom.alibaba.dubbo.rpc.proxy.AbstractProxyInvoker.invoke(AbstractProxyInvoker.java:72)rncom.alibaba.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:53)rncom.alibaba.dubbo.rpc.filter.Except<em>io</em>nFilter.invoke(Except<em>io</em>nFilter.java:64)rncom.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91)rncom.alibaba.dubbo.rpc.filter.TimeoutFilter.invoke(TimeoutFilter.java:42)rncom.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91)rncom.alibaba.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:65)rncom.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91)rncom.alibaba.dubbo.rpc.protocol.dubbo.filter.TraceFilter.invoke(TraceFilter.java:78)rncom.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91)rncom.alibaba.dubbo.rpc.filter.ContextFilter.invoke(ContextFilter.java:60)rncom.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91)rncom.alibaba.dubbo.rpc.filter.GenericFilter.invoke(GenericFilter.java:132)rncom.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91)rncom.alibaba.dubbo.rpc.filter.ClassLoaderFilter.invoke(ClassLoaderFilter.java:38)rncom.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91)rncom.alibaba.dubbo.rpc.filter.EchoFilter.invoke(EchoFilter.java:38)rncom.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91)rncom.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol$1.reply(DubboProtocol.java:108)rncom.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:84)rncom.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:170)rncom.alibaba.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:52)rncom.alibaba.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:82)rnjava.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Sou<em>rc</em>e)rnjava.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Sou<em>rc</em>e)rnjava.lang.Thread.run(Unknown Sou<em>rc</em>e)rnrnjava.sql.SQLExcept<em>io</em>n: Io 异常: Connect<em>io</em>n resetrnat oracle.jdbc.driver.DatabaseError.throwSqlExcept<em>io</em>n(DatabaseError.java:112) ~[ojdbc14-10.2.0.3.0.jar:Oracle JDBC Driver vers<em>io</em>n - "10.2.0.1.0"]rnat oracle.jdbc.driver.DatabaseError.throwSqlExcept<em>io</em>n(DatabaseError.java:146) ~[ojdbc14-10.2.0.3.0.jar:Oracle JDBC Driver vers<em>io</em>n - "10.2.0.1.0"]rnat oracle.jdbc.driver.DatabaseError.throwSqlExcept<em>io</em>n(DatabaseError.java:255) ~[ojdbc14-10.2.0.3.0.jar:Oracle JDBC Driver vers<em>io</em>n - "10.2.0.1.0"]rnat oracle.jdbc.driver.T4CConnect<em>io</em>n.doRollback(T4CConnect<em>io</em>n.java:577) ~[ojdbc14-10.2.0.3.0.jar:Oracle JDBC Driver vers<em>io</em>n - "10.2.0.1.0"]rnat oracle.jdbc.driver.PhysicalConnect<em>io</em>n.rollback(PhysicalConnect<em>io</em>n.java:1136) ~[ojdbc14-10.2.0.3.0.jar:Oracle JDBC Driver vers<em>io</em>n - "10.2.0.1.0"]rnat com.ibatis.common.jdbc.SimpleDataSou<em>rc</em>e.popConnect<em>io</em>n(SimpleDataSou<em>rc</em>e.java:629) ~[ibatis-sqlmap-2.3.4.726.jar:?]rnat com.ibatis.common.jdbc.SimpleDataSou<em>rc</em>e.getConnect<em>io</em>n(SimpleDataSou<em>rc</em>e.java:222) ~[ibatis-sqlmap-2.3.4.726.jar:?]rnat com.ibatis.sqlmap.engine.transact<em>io</em>n.jdbc.JdbcTransact<em>io</em>n.init(JdbcTransact<em>io</em>n.java:48) ~[ibatis-sqlmap-2.3.4.726.jar:?]rnat com.ibatis.sqlmap.engine.transact<em>io</em>n.jdbc.JdbcTransact<em>io</em>n.getConnect<em>io</em>n(JdbcTransact<em>io</em>n.java:89) ~[ibatis-sqlmap-2.3.4.726.jar:?]rnat com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryForObject(MappedStatement.java:120) ~[ibatis-sqlmap-2.3.4.726.jar:?]rnat com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(SqlMapExecutorDelegate.java:518) ~[ibatis-sqlmap-2.3.4.726.jar:?]rnat com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(SqlMapExecutorDelegate.java:493) ~[ibatis-sqlmap-2.3.4.726.jar:?]rnat com.ibatis.sqlmap.engine.impl.SqlMapSess<em>io</em>nImpl.queryForObject(SqlMapSess<em>io</em>nImpl.java:106) ~[ibatis-sqlmap-2.3.4.726.jar:?]rnat com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForObject(SqlMapClientImpl.java:82) ~[ibatis-sqlmap-2.3.4.726.jar:?]rnat mtx.wk.comm.UserDao.findUserByUserNo(UserDao.java:26) ~[?:?]rnat mtx.wk.comm.sv.login.LoginProvider.getUser(LoginProvider.java:19) ~[?:?]rnat mtx.wk.comm.sv.login.LoginProvider.childDo(LoginProvider.java:13) ~[?:?]rnat mtx.pub.sv.BaseSV.DoBusiness(BaseSV.java:129) ~[base-0.0.1-SNAPSHOT.jar:?]rnat mtx.wk.comm.sv.login.base.LoginProviderBase.Do(LoginProviderBase.java:21) ~[?:?]rnat com.alibaba.dubbo.common.bytecode.Wrapper183.invokeMethod(Wrapper183.java) ~[?:?]rnat com.alibaba.dubbo.rpc.proxy.javassist.JavassistProxyFactory$1.doInvoke(JavassistProxyFactory.java:46) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]rnat com.alibaba.dubbo.rpc.proxy.AbstractProxyInvoker.invoke(AbstractProxyInvoker.java:72) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]rnat com.alibaba.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:53) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]rnat com.alibaba.dubbo.rpc.filter.Except<em>io</em>nFilter.invoke(Except<em>io</em>nFilter.java:64) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]rnat com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]rnat com.alibaba.dubbo.rpc.filter.TimeoutFilter.invoke(TimeoutFilter.java:42) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]rnat com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]rnat com.alibaba.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:65) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]rnat com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]rnat com.alibaba.dubbo.rpc.protocol.dubbo.filter.TraceFilter.invoke(TraceFilter.java:78) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]rnat com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]rnat com.alibaba.dubbo.rpc.filter.ContextFilter.invoke(ContextFilter.java:60) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]rnat com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]rnat com.alibaba.dubbo.rpc.filter.GenericFilter.invoke(GenericFilter.java:132) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]rnat com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]rnat com.alibaba.dubbo.rpc.filter.ClassLoaderFilter.invoke(ClassLoaderFilter.java:38) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]rnat com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]rnat com.alibaba.dubbo.rpc.filter.EchoFilter.invoke(EchoFilter.java:38) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]rnat com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:91) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]rnat com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol$1.reply(DubboProtocol.java:108) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]rnat com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:84) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]rnat com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:170) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]rnat com.alibaba.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:52) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]rnat com.alibaba.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:82) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]rnat java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Sou<em>rc</em>e) ~[?:1.7.0_51]rnat java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Sou<em>rc</em>e) ~[?:1.7.0_51]rnat java.lang.Thread.run(Unknown Sou<em>rc</em>e) [?:1.7.0_51]
java.io.IOException: error 10054 during TCP read
请问10045这个编号是属于哪种编号集合的?这个集合是什么名称呢???
java.net.SocketTimeoutException: Async operation timed out
哪位大哥帮忙看看,出现这个异常是在部署环境中的日记中看到的,在启动本机的时候无论怎么操作都不会报异常,偏偏在部署环境中,但是部署环境中初始化加载页面的时候不报错,我再点击查询的时候经常会报这个异常,不过偶尔不报,请问是怎么回事?rn[code=Java][/code]rn at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)rn at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)rn at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:277)rn at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)rn at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)rn at org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89)rn at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)rn at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)rn at org.springframework.security.context.HttpSess<em>io</em>nContextIntegrat<em>io</em>nFilter.doFilterHttp(HttpSess<em>io</em>nContextIntegrat<em>io</em>nFilter.java:235)rn at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)rn at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)rn at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)rn at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)rn at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)rn at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)rn at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)rn at org.springframework.orm.hibernate3.support.OpenSess<em>io</em>nInViewFilter.doFilterInternal(OpenSess<em>io</em>nInViewFilter.java:198)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)rn at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)rn at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)rn at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)rn at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)rn at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)rn at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)rn at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908)rn at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:997)rn at com.ibm.ws.webcontainer.extens<em>io</em>n.DefaultExtens<em>io</em>nProcessor.invokeFilters(DefaultExtens<em>io</em>nProcessor.java:1043)rn at com.ibm.ws.webcontainer.extens<em>io</em>n.DefaultExtens<em>io</em>nProcessor.handleRequest(DefaultExtens<em>io</em>nProcessor.java:963)rn at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3933)rn at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276)rn at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:931)rn at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)rn at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)rn at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscriminat<em>io</em>n(HttpInboundLink.java:452)rn at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)rn at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)rn at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)rn at com.ibm.ws.tcp.channel.impl.A<em>io</em>ReadComplet<em>io</em>nListener.futureCompleted(A<em>io</em>ReadComplet<em>io</em>nListener.java:165)rn at com.ibm.<em>io</em>.<em>async</em>.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)rn at com.ibm.<em>io</em>.<em>async</em>.AsyncChannelFuture.fireComplet<em>io</em>nAct<em>io</em>ns(AsyncChannelFuture.java:161)rn at com.ibm.<em>io</em>.<em>async</em>.AsyncFuture.completed(AsyncFuture.java:138)rn at com.ibm.<em>io</em>.<em>async</em>.ResultHandler.complete(ResultHandler.java:204)rn at com.ibm.<em>io</em>.<em>async</em>.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)rn at com.ibm.<em>io</em>.<em>async</em>.ResultHandler$2.run(ResultHandler.java:905)rn at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1604)rnCaused by: com.ibm.<em>io</em>.<em>async</em>.AsyncTimeoutExcept<em>io</em>n(Async operat<em>io</em>n timed out, [Timeout, <em>rc</em>=0])rn at com.ibm.<em>io</em>.<em>async</em>.AsyncExcept<em>io</em>n.(AsyncExcept<em>io</em>n.java:42)rn at com.ibm.<em>io</em>.<em>async</em>.AsyncTimeoutExcept<em>io</em>n.(AsyncTimeoutExcept<em>io</em>n.java:25)rn at com.ibm.<em>io</em>.<em>async</em>.AbstractAsyncFuture.waitForComplet<em>io</em>n(AbstractAsyncFuture.java:315)rn at com.ibm.<em>io</em>.<em>async</em>.AsyncFuture.getByteCount(AsyncFuture.java:218)rn at com.ibm.ws.tcp.channel.impl.A<em>io</em>SocketIOChannel.readAIOSync(A<em>io</em>SocketIOChannel.java:215)rn at com.ibm.ws.tcp.channel.impl.A<em>io</em>TCPReadRequestContextImpl.processSyncReadRequest(A<em>io</em>TCPReadRequestContextImpl.java:182)rn ... 84 morern
外网连接内网错误java.net.ConnectException: Operation timed out
如题,我是用java写的cs架构的服务器和客户端,局域网内连接没有问题,一旦客户端通过外网IP连接服务器就会报这个错误,路由器转发什么的我也设好了,防火墙也关了,但就是连不上,已经想了一天了也不知道怎
Operation not allowed for reason code "3" on table xxx
问题:rnselect count(*) from schema_name.table_name with ur;rn: ERROR [57016] [IBM][DB2/LINUXX8664] SQL0668N Operat<em>io</em>n not allowed for <em>reason</em> code "3" on table "schema_name.table_name". SQLSTATE=57016rnrn我在网上查了下只查到了SQL0668N Operat<em>io</em>n not allowed for <em>reason</em> code "7" on table XXX. rnrn我刚才rnReorg table schema_name.table_name;rnDB2 Database Error: ERROR [01H52] [IBM][DB2/LINUXX8664] SQL2216N SQL error "-668" occurred while reorganizing a database table or its indexes. SQLSTATE=01H52rnrn这到底是什么错啊?
Caused by: com.ibm.mq.jmqi.JmqiException: CC=2;RC=2059;AMQ9204
rn服务器和客户端都已配置好(mq7.0试用版),并且可发送和接收消息,但自己编写的一个java程序时报如下错误rnat com.ibm.mq.MQQueueManagerFactory.obtainBaseMQQueueManager(MQQueueManagerFactory.java:869)rn at com.ibm.mq.MQQueueManagerFactory.procure(MQQueueManagerFactory.java:761)rn at com.ibm.mq.MQQueueManagerFactory.constructQueueManager(MQQueueManagerFactory.java:712)rn at com.ibm.mq.MQQueueManagerFactory.createQueueManager(MQQueueManagerFactory.java:171)rn at com.ibm.mq.MQQueueManager.(MQQueueManager.java:597)rn at com.mqcase.PtpSender.main(PtpSender.java:32)rnCaused by: com.ibm.mq.jmqi.JmqiExcept<em>io</em>n: CC=2;RC=2059;AMQ9204: 与主机 '192.168.1.195(1415)' 的连接被拒绝。 [1=com.ibm.mq.jmqi.JmqiExcept<em>io</em>n[CC=2;RC=2059;AMQ9503: 通道协商失败。 [3=CONN.MQ_00001]],3=192.168.1.195(1415),5=RemoteConnect<em>io</em>n.initSess]rn at com.ibm.mq.jmqi.remote.internal.RemoteFAP.jmqiConnect(RemoteFAP.java:1809)rn at com.ibm.mq.MQSESSION.MQCONNX_j(MQSESSION.java:915)rn at com.ibm.mq.MQManagedConnect<em>io</em>nJ11.(MQManagedConnect<em>io</em>nJ11.java:224)rn ... 10 morernCaused by: com.ibm.mq.jmqi.JmqiExcept<em>io</em>n: CC=2;RC=2059;AMQ9503: 通道协商失败。 [3=CONN.MQ_00001]rn at com.ibm.mq.jmqi.remote.internal.system.RemoteConnect<em>io</em>n.initSess(RemoteConnect<em>io</em>n.java:1478)rn at com.ibm.mq.jmqi.remote.internal.system.RemoteConnect<em>io</em>n.connect(RemoteConnect<em>io</em>n.java:1078)rn at com.ibm.mq.jmqi.remote.internal.system.RemoteConnect<em>io</em>nPool.getConnect<em>io</em>n(RemoteConnect<em>io</em>nPool.java:338)rn at com.ibm.mq.jmqi.remote.internal.RemoteFAP.jmqiConnect(RemoteFAP.java:1488)rn ... 12 morernrn具体原代码如下:rnpackage com.mqcase;rnrnimport com.ibm.mq.MQEnvironment;rnimport com.ibm.mq.MQC;rnimport com.ibm.mq.MQExcept<em>io</em>n;rnimport com.ibm.mq.MQMessage;rnimport com.ibm.mq.MQPutMessageOpt<em>io</em>ns;rnimport com.ibm.mq.MQQueue;rnimport com.ibm.mq.MQQueueManager;rnrnpublic class PtpSender rnrn /**rn * @param argsrn */rn public static void main(String[] args) rn try rn String hostName = "192.168.1.195";//主机名rn String channel = "CONN.MQ_00001";//服务器连接通道名rn String qManager = "MQ_00001";//队列管理器名rn String qName = "Q00001";//队列名rn int port = 1415;rn int ccsid = 1381;rn /* 设置MQEnvironment 属性以便客户机连接 */rn MQEnvironment.hostname = hostName;rn MQEnvironment.channel = channel;rn MQEnvironment.properties.put(MQC.TRANSPORT_PROPERTY,rn MQC.TRANSPORT_MQSERIES_CLIENT);rn MQEnvironment.CCSID=ccsid;rn MQEnvironment.port=port;rn /* 连接到队列管理器 */rn MQQueueManager qMgr = new MQQueueManager(qManager);rnrn /* 设置打开选项以便打开用于输出的队列,如果队列管理器正在停止,我们也已设置了选项去应对不成功情况。 */rn// int openOpt<em>io</em>ns = MQC.MQOO_OUTPUT | MQC.MQOO_FAIL_IF_QUIESCING;rnrn /* 打开队列 */rn// MQQueue queue = qMgr.accessQueue(qName, openOpt<em>io</em>ns, null, null,rn// null);rnrn /* 设置放置消息选项我们将使用默认设置 */rn// MQPutMessageOpt<em>io</em>ns pmo = new MQPutMessageOpt<em>io</em>ns();rnrn /* 创建消息,MQMessage 类包含实际消息数据的数据缓冲区,和描述消息的所有MQMD 参数 */rnrn /* 创建消息缓冲区 */rn// MQMessage outMsg = new MQMessage();rnrn /* 设置MQMD 格式字段 */rn// outMsg.format = MQC.MQFMT_STRING;rnrn /* 准备用户数据消息 */rn// String msgString = "Test Message from PtpSender program ";rn// outMsg.writeString(msgString);rnrn /* 在队列上放置消息 */rn// queue.put(outMsg, pmo);rnrn /* 提交事务处理 */rn// qMgr.commit();rnrn// System.out.println(" The message has been Successfully put!\n");rnrn /* 关闭队列和队列管理器对象 */rn// queue.close();rn qMgr.disconnect();rn catch (MQExcept<em>io</em>n ex) rn System.out.println("An MQ Error Occurred: Complet<em>io</em>n Code is :\t"rn + ex.complet<em>io</em>nCode + "\n\n The Reason Code is :\t"rn + ex.<em>reason</em>Code);rn ex.printStackTrace();rn /*catch (Except<em>io</em>n e) rn e.printStackTrace();rn */rnrn rn调试程序时报如下错误rn
错误:the operation failed ID NO:80004005
我在点击server-myserver-protocols-first storage Group-public folder 和rnfolder-public folder 出现了如下的错误:rnthe operat<em>io</em>n <em>failed</em> ID NO:80004005rnExchange system managern请教,ms高手
connect failed:Operation now in progress?
RT,TCP的接收端connect <em>failed</em>:Operat<em>io</em>n now in progress?,这是为什么?请指教
java.io.IOException: End of IO Stream Read
最近工作涉及到与服务器通信问题,使用Jsch来进行SSH连接时,报这个异常rnrnjava.<em>io</em>.IOExcept<em>io</em>n: End of IO Stream Read.求大神帮助啊
SocketException: Software caused connection abort: recv failed
最近写一个小爬虫;当多开了几个线程就会报错,一般报错的位置偏后:rnSocketExcept<em>io</em>n: Software <em>caused</em> connect<em>io</em>n abort: recv <em>failed</em>rnI/O except<em>io</em>n (java.net.SocketExcept<em>io</em>n) caught when processing request: Software <em>caused</em> connect<em>io</em>n abort: recv <em>failed</em>rn(java.net.SocketExcept<em>io</em>n) caught when processing request: Connect<em>io</em>n resetrn在网上找了很久的资料,说是可能是客户端没有主动关闭连接。自己找了,但一直找不出问题所在;请各位大牛赐教。rn[code=Java]rnprivate InputStream doGetRequest(final HttpContext context) throws Except<em>io</em>n rn HttpResponse response = null;rn HttpClient httpclient = null;rn try rn httpclient = new DefaultHttpClient();//BasicHttpClient.getHttpClient();rn response = httpclient.execute(httprequest, context);rn int status = response.getStatusLine().getStatusCode();rn if (status == HttpStatus.SC_OK) rnrn rn BasicEntry basicEntry = this.getBasicEntry(response); rn return this.getContentStream(basicEntry);rn else rn throw new CrawlerExcept<em>io</em>n("http status error!" + status);rn rn catch (Except<em>io</em>n e) rn throw e;rn// throw new CrawlerExcept<em>io</em>n(e + " " + httprequest.getURI().toString());rn rn finallyrn httprequest.releaseConnect<em>io</em>n();rn httpclient.getConnect<em>io</em>nManager().closeExpiredConnect<em>io</em>ns();rn httpclient.getConnect<em>io</em>nManager().closeIdleConnect<em>io</em>ns(0, TimeUnit.SECONDS);rn httpclient.getConnect<em>io</em>nManager().shutdown();rn rn rn rn[/code]rn[code=Java]rnprivate BasicEntry getBasicEntry(HttpResponse response) throws Except<em>io</em>n rn InputStream in = null;rn try rn ByteArrayOutputStream byteArray = new ByteArrayOutputStream();rn HttpEntity entity =response.getEntity(); rn if( entity != null ) rn in = entity.getContent(); rn rn rn if(in.available() ;rn rn return new BasicEntry(bytes, contentType, charset);rn catch (Except<em>io</em>n e) rn throw e;rn rn finallyrn if (in != null) rn try rn rn in.close(); rn rn catch (IOExcept<em>io</em>n e) rn rn e.printStackTrace (); rn rn rn rn rn[/code]
Software caused connection abort: recv failed
高手帮忙解决这个问题先、、、、、rn问题出现的情况有几种。rn1。我是采用URL传送数据的,当我传送一条数据时。不会报错。当我连续传数据时就会报错。。。rn2。因为我传送的数据是从数据库中提取出来的,通过while循环传送数据。rn高手给点建议!rn拒绝只说不练的人以及帮顶的人。。。rn热烈欢迎提出有建设性意义的朋友。。。
android Failed to export android application Caused by: java.io.FileNotFoundExce
导出apk失败,查看日志:rn[img=https://img-bbs.csdn.net/upload/201408/27/1409117723_723121.png][/img]rn出现上面的错误,求高手解决。。。
Software caused connection abort: recv failed 问题
在使用用mybatis进入数据插入时报错,不是经常性,load着load着就出现,请大神指 点rnrnExcept<em>io</em>n in thread "pool-1-thread-1" org.springframework.dao.DataAccessResou<em>rc</em>eFailureExcept<em>io</em>n: rn### Error querying database. Cause: java.sql.SQLExcept<em>io</em>n: Io 异常: Software <em>caused</em> connect<em>io</em>n abort: recv <em>failed</em>rn### The error may exist in /F:/work/workspace-jcf1.1/dep/codeLibs/dep-model/target/classes/com/travelsky/pss/dep/model/cki/mapper/GroupMapper.xmlrn### The error may involve com.travelsky.pss.dep.model.cki.mapper.GroupMapper.selectBySegId-Inlinern### The error occurred while setting parametersrn### SQL: select ID AS GRP_ID, GRP_SEGMENT_ID, GRP_DES_STATION_CODE, GRP_ICS_GROUP_NAME, GRP_DCS_GROUP_NAME, GRP_INI_COUNT, GRP_COUNT, GRP_NONAME_COUNT, GRP_CONFIRM_DATE, GRP_GROUP_PRIMARYCLASS, GRP_GROUP_SUBCLASS, GRP_SEAT_COUNT, GRP_SEAT_CC_COUNT, GRP_RETREAD_INFO, GRP_D_BY_OPNR_FLAG, GRP_PNR_NO from T_DEP_CP_GROUP where GRP_SEGMENT_ID = ?rn### Cause: java.sql.SQLExcept<em>io</em>n: Io 异常: Software <em>caused</em> connect<em>io</em>n abort: recv <em>failed</em>rn; SQL []; Io 异常: Software <em>caused</em> connect<em>io</em>n abort: recv <em>failed</em>; nested except<em>io</em>n is java.sql.SQLExcept<em>io</em>n: Io 异常: Software <em>caused</em> connect<em>io</em>n abort: recv <em>failed</em>rn at org.springframework.jdbc.support.SQLErrorCodeSQLExcept<em>io</em>nTranslator.doTranslate(SQLErrorCodeSQLExcept<em>io</em>nTranslator.java:253)rn at org.springframework.jdbc.support.AbstractFallbackSQLExcept<em>io</em>nTranslator.translate(AbstractFallbackSQLExcept<em>io</em>nTranslator.java:72)rn at org.mybatis.spring.MyBatisExcept<em>io</em>nTranslator.translateExcept<em>io</em>nIfPossible(MyBatisExcept<em>io</em>nTranslator.java:71)rn at org.mybatis.spring.SqlSess<em>io</em>nTemplate$SqlSess<em>io</em>nInte<em>rc</em>eptor.invoke(SqlSess<em>io</em>nTemplate.java:365)rn at $Proxy6.selectOne(Unknown Sou<em>rc</em>e)rn at org.mybatis.spring.SqlSess<em>io</em>nTemplate.selectOne(SqlSess<em>io</em>nTemplate.java:160)rn at com.travelsky.pss.dep.dao.MybatisDao.get(MybatisDao.java:115)rn at com.travelsky.pss.dep.services.sys.dipdatasyn.dbmanager.DipDbManager.getOcFlight(DipDbManager.java:122)rn at com.travelsky.pss.dep.services.sys.dipdatasyn.service.FltProcess.addFltDate(FltProcess.java:99)rn at com.travelsky.pss.dep.services.sys.dipdatasyn.datahandler.DipWorker.loadMqDate(DipWorker.java:140)rn at com.travelsky.pss.dep.services.sys.dipdatasyn.datahandler.DipGetWorker.run(DipGetWorker.java:29)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)rn at java.lang.Thread.run(Thread.java:619)rnCaused by: java.sql.SQLExcept<em>io</em>n: Io 异常: Software <em>caused</em> connect<em>io</em>n abort: recv <em>failed</em>rn at oracle.jdbc.driver.DatabaseError.throwSqlExcept<em>io</em>n(DatabaseError.java:111)rn at oracle.jdbc.driver.DatabaseError.throwSqlExcept<em>io</em>n(DatabaseError.java:145)rn at oracle.jdbc.driver.DatabaseError.throwSqlExcept<em>io</em>n(DatabaseError.java:254)rn at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:991)rn at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1071)rn at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:853)rn at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1153)rn at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3369)rn at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3475)rn at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:989)rn at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:56)rn at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:70)rn at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Sou<em>rc</em>e)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59)rn at $Proxy15.query(Unknown Sou<em>rc</em>e)rn at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:57)rn at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:267)rn at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:141)rn at org.apache.ibatis.executor.loader.ResultLoader.selectList(ResultLoader.java:90)rn at org.apache.ibatis.executor.loader.ResultLoader.loadResult(ResultLoader.java:64)rn at org.apache.ibatis.executor.resultset.FastResultSetHandler.getNestedQueryMappingValue(FastResultSetHandler.java:464)rn at org.apache.ibatis.executor.resultset.FastResultSetHandler.getPropertyMappingValue(FastResultSetHandler.java:311)rn at org.apache.ibatis.executor.resultset.FastResultSetHandler.applyPropertyMappings(FastResultSetHandler.java:295)rn at org.apache.ibatis.executor.resultset.FastResultSetHandler.getRowValue(FastResultSetHandler.java:264)rn at org.apache.ibatis.executor.resultset.FastResultSetHandler.handleRowValues(FastResultSetHandler.java:214)rn at org.apache.ibatis.executor.resultset.FastResultSetHandler.handleResultSet(FastResultSetHandler.java:186)rn at org.apache.ibatis.executor.resultset.FastResultSetHandler.handleResultSets(FastResultSetHandler.java:152)rn at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Sou<em>rc</em>e)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.ibatis.plugin.Invocat<em>io</em>n.proceed(Invocat<em>io</em>n.java:46)rn at com.travelsky.pss.dep.dao.inte<em>rc</em>eptor.DiclectResultSetHandlerInte<em>rc</em>eptor.inte<em>rc</em>ept(DiclectResultSetHandlerInte<em>rc</em>eptor.java:43)rn at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:57)rn at $Proxy14.handleResultSets(Unknown Sou<em>rc</em>e)rn at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:57)rn at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:70)rn at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Sou<em>rc</em>e)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59)rn at $Proxy15.query(Unknown Sou<em>rc</em>e)rn at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:57)rn at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:267)rn at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:141)rn at org.apache.ibatis.executor.loader.ResultLoader.selectList(ResultLoader.java:90)rn at org.apache.ibatis.executor.loader.ResultLoader.loadResult(ResultLoader.java:64)rn at org.apache.ibatis.executor.resultset.FastResultSetHandler.getNestedQueryMappingValue(FastResultSetHandler.java:464)rn at org.apache.ibatis.executor.resultset.FastResultSetHandler.getPropertyMappingValue(FastResultSetHandler.java:311)rn at org.apache.ibatis.executor.resultset.FastResultSetHandler.applyPropertyMappings(FastResultSetHandler.java:295)rn at org.apache.ibatis.executor.resultset.FastResultSetHandler.getRowValue(FastResultSetHandler.java:264)rn at org.apache.ibatis.executor.resultset.FastResultSetHandler.handleRowValues(FastResultSetHandler.java:214)rn at org.apache.ibatis.executor.resultset.FastResultSetHandler.handleResultSet(FastResultSetHandler.java:186)rn at org.apache.ibatis.executor.resultset.FastResultSetHandler.handleResultSets(FastResultSetHandler.java:152)rn at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Sou<em>rc</em>e)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.ibatis.plugin.Invocat<em>io</em>n.proceed(Invocat<em>io</em>n.java:46)rn at com.travelsky.pss.dep.dao.inte<em>rc</em>eptor.DiclectResultSetHandlerInte<em>rc</em>eptor.inte<em>rc</em>ept(DiclectResultSetHandlerInte<em>rc</em>eptor.java:43)rn at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:57)rn at $Proxy14.handleResultSets(Unknown Sou<em>rc</em>e)rn at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:57)rn at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:70)rn at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Sou<em>rc</em>e)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59)rn at $Proxy15.query(Unknown Sou<em>rc</em>e)rn at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:57)rn at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:267)rn at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:141)rn at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:105)rn at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:81)rn at org.apache.ibatis.sess<em>io</em>n.defaults.DefaultSqlSess<em>io</em>n.selectList(DefaultSqlSess<em>io</em>n.java:101)rn at org.apache.ibatis.sess<em>io</em>n.defaults.DefaultSqlSess<em>io</em>n.selectList(DefaultSqlSess<em>io</em>n.java:95)rn at org.apache.ibatis.sess<em>io</em>n.defaults.DefaultSqlSess<em>io</em>n.selectOne(DefaultSqlSess<em>io</em>n.java:59)rn at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Sou<em>rc</em>e)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.mybatis.spring.SqlSess<em>io</em>nTemplate$SqlSess<em>io</em>nInte<em>rc</em>eptor.invoke(SqlSess<em>io</em>nTemplate.java:355)rn ... 10 morern
software caused connection abort recv failed
我用sql developer连接oracle时跳出这个错误:software <em>caused</em> connect<em>io</em>n abort recv <em>failed</em>rnrn是服务没开还是其他原因呢?
java.net.SocketException: Software caused connection abort: recv failed
//ssf是通过getSocketFactory()获得的rnsocket = (SSLSocket) ssf.createSocket(InetAddress.getByName(host), port);rnsocket.startHandshake();rn//这上面应该没什么问题,因为没有抛出异常rnrntry rn Writer out = new OutputStreamWriter(socket.getOutputStream());rn BufferedReader in = new BufferedReader(rn new InputStreamReader(socket.getInputStream()));rn String tmp;rn out.write("POST https://" + host + "/omc/xml HTTP/1.1\r\n");rn out.write(...)rn ...rn //下面就是读取socket值了rn String s = "";rn while (! (tmp = in.readLine()).equals("")) rn rn String content = in.readLine();rn ......rn rn catch (IOExcept<em>io</em>n ex1) rn ex1.printStackTrace();rn return null;rn rn catch (NullPointerExcept<em>io</em>n ex2) rn ex2.printStackTrace();rn return null;rn rnrn经过运行产生如下异常:rnjava.net.SocketExcept<em>io</em>n: Software <em>caused</em> connect<em>io</em>n abort: recv <em>failed</em>rn at java.net.SocketInputStream.socketRead0(Native Method)rn at java.net.SocketInputStream.read(Unknown Sou<em>rc</em>e)rn at com.sun.net.ssl.internal.ssl.InputRecord.readFully(Unknown Sou<em>rc</em>e)rn at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Sou<em>rc</em>e)rn at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Sou<em>rc</em>e)rnrn at com.sun.net.ssl.internal.ssl.SSLSocketImpl.waitForClose(Unknown Sou<em>rc</em>rne)rn at com.sun.net.ssl.internal.ssl.HandshakeOutStream.flush(Unknown Sou<em>rc</em>e)rnrn捕获的那两个异常也有。这里不贴出来了。rn哪位分析一下原因呢?并说说解决的方法。
java.io.IOException: failed to read '2' bytes from InputStream;
高手请进java.io.IOException: tmpFile.renameTo(classFile) failed
java.<em>io</em>.IOExcept<em>io</em>n: tmpFile.renameTo(classFile) <em>failed</em>rnat org.apache.jasper.compiler.SmapUtil$SDEInstaller.install(SmapUtil.java:245)rnat org.apache.jasper.compiler.SmapUtil.installSmap(SmapUtil.java:164)rnat org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:429)rnat org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)rnat org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)rnat org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)rnat org.apache.jasper.JspCompilat<em>io</em>nContext.compile(JspCompilat<em>io</em>nContext.java:563)rnat org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)rnat org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)rnat org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)rnat javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rnat org.apache.catalina.core.Applicat<em>io</em>nFilterChain.internalDoFilter(Applicat<em>io</em>nFilterChain.java:252)rnat org.apache.catalina.core.Applicat<em>io</em>nFilterChain.doFilter(Applicat<em>io</em>nFilterChain.java:173)rnat org.apache.catalina.core.Applicat<em>io</em>nDispatcher.invoke(Applicat<em>io</em>nDispatcher.java:672)rnat org.apache.catalina.core.Applicat<em>io</em>nDispatcher.processRequest(Applicat<em>io</em>nDispatcher.java:463)rnat org.apache.catalina.core.Applicat<em>io</em>nDispatcher.doForward(Applicat<em>io</em>nDispatcher.java:398)rnat org.apache.catalina.core.Applicat<em>io</em>nDispatcher.forward(Applicat<em>io</em>nDispatcher.java:301)rnat org.apache.struts.act<em>io</em>n.RequestProcessor.doForward(RequestProcessor.java:1056)rnat org.apache.struts.act<em>io</em>n.RequestProcessor.processForwardConfig(RequestProcessor.java:388)rnat org.apache.struts.act<em>io</em>n.RequestProcessor.process(RequestProcessor.java:231)rnat org.apache.struts.act<em>io</em>n.Act<em>io</em>nServlet.process(Act<em>io</em>nServlet.java:1164)rnat org.apache.struts.act<em>io</em>n.Act<em>io</em>nServlet.doPost(Act<em>io</em>nServlet.java:415)rnat javax.servlet.http.HttpServlet.service(HttpServlet.java:709)rnat javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rnat org.apache.catalina.core.Applicat<em>io</em>nFilterChain.internalDoFilter(Applicat<em>io</em>nFilterChain.java:252)rnat org.apache.catalina.core.Applicat<em>io</em>nFilterChain.doFilter(Applicat<em>io</em>nFilterChain.java:173)rnat com.augurit.common.filter.Sess<em>io</em>nCheckFilter.doFilter(Sess<em>io</em>nCheckFilter.java:53)rnat org.apache.catalina.core.Applicat<em>io</em>nFilterChain.internalDoFilter(Applicat<em>io</em>nFilterChain.java:202)rnat org.apache.catalina.core.Applicat<em>io</em>nFilterChain.doFilter(Applicat<em>io</em>nFilterChain.java:173)rnat com.augurit.aos.common.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:60)rnat org.apache.catalina.core.Applicat<em>io</em>nFilterChain.internalDoFilter(Applicat<em>io</em>nFilterChain.java:202)rnat org.apache.catalina.core.Applicat<em>io</em>nFilterChain.doFilter(Applicat<em>io</em>nFilterChain.java:173)rnat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)rnat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)rnat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)rnat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)rnat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)rnat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)rnat org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)rnat org.apache.coyote.http11.Http11BaseProtocol$Http11Connect<em>io</em>nHandler.processConnect<em>io</em>n(Http11BaseProtocol.java:664)rnat org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)rnat org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)rnrnrn谢谢帮忙解决rnat org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)rnat java.lang.Thread.run(Thread.java:595)rn
java.io.IOException: write failed: EPIPE (Broken pipe)
开发板上有个三色灯,想通过app控制。理论上往/sys/class/leds/red/brightness文件中写入相应的值就可以。事实上通过adb连接后在终端里面可以通过命令echo 123 > /sys/class/leds/red/brightness写入。但是问题是通过如下代码却不能成功:rn[code=java]rnProcess p = Runtime.getRuntime().exec("su");rnDataOutputStream os = new DataOutputStream(p.getOutputStream());rnos.writeBytes("echo 123 > /sys/class/leds/red/brightness\n"); //java.<em>io</em>.IOExcept<em>io</em>n: write <em>failed</em>: EPIPE (Broken pipe)rnos.flush();rnos.writeBytes("exit\n");rnos.flush();rn[/code]rn代码在注释处抛出异常。什么情况,求解答!
java.io.IOException: getSecretKey failed: PBE SecretKeyFactory not available
一个月以前做的一个apple推送功能,测试应用都没有问题,但是现在用总是报错,我没有做任何改动,请大神们帮我看看。rnjavapns.communicat<em>io</em>n.except<em>io</em>ns.KeystoreExcept<em>io</em>n: Keystore except<em>io</em>n: <em>failed</em> to decrypt safe contents entry: java.<em>io</em>.IOExcept<em>io</em>n: getSecretKey <em>failed</em>: PBE SecretKeyFactory not availablern at javapns.communicat<em>io</em>n.KeystoreManager.wrapKeystoreExcept<em>io</em>n(KeystoreManager.java:178)rn at javapns.communicat<em>io</em>n.KeystoreManager.loadKeystore(KeystoreManager.java:66)rn at javapns.communicat<em>io</em>n.KeystoreManager.loadKeystore(KeystoreManager.java:42)rn at javapns.communicat<em>io</em>n.KeystoreManager.loadKeystore(KeystoreManager.java:29)rn at javapns.communicat<em>io</em>n.Connect<em>io</em>nToAppleServer.(Connect<em>io</em>nToAppleServer.java:54)rn at javapns.notificat<em>io</em>n.Connect<em>io</em>nToNotificat<em>io</em>nServer.(Connect<em>io</em>nToNotificat<em>io</em>nServer.java:16)rn at javapns.notificat<em>io</em>n.PushNotificat<em>io</em>nManager.initializeConnect<em>io</em>n(PushNotificat<em>io</em>nManager.java:105)rn at javapns.Push.sendPayload(Push.java:171)rn at javapns.Push.payload(Push.java:149)rn at test.TestPush.main(TestPush.java:26)rnCaused by: java.<em>io</em>.IOExcept<em>io</em>n: <em>failed</em> to decrypt safe contents entry: java.<em>io</em>.IOExcept<em>io</em>n: getSecretKey <em>failed</em>: PBE SecretKeyFactory not availablern at com.sun.net.ssl.internal.pkcs12.PKCS12KeyStore.engineLoad(Unknown Sou<em>rc</em>e)rn at java.security.KeyStore.load(Unknown Sou<em>rc</em>e)rn at javapns.communicat<em>io</em>n.KeystoreManager.loadKeystore(KeystoreManager.java:64)rn ... 8 morernCaused by: java.<em>io</em>.IOExcept<em>io</em>n: getSecretKey <em>failed</em>: PBE SecretKeyFactory not availablern at com.sun.net.ssl.internal.pkcs12.PKCS12KeyStore.getPBEKey(Unknown Sou<em>rc</em>e)rn ... 11 morernCaused by: java.security.NoSuchAlgorithmExcept<em>io</em>n: PBE SecretKeyFactory not availablern at javax.crypto.SecretKeyFactory.(DashoA13*..)rn at javax.crypto.SecretKeyFactory.getInstance(DashoA13*..)rn ... 12 morern
Hadoop 实战,WordCount 运行报错 java.io.IOException: Job failed!
刚开始学习Hadoop,现在部署了Hadoop 2.4.1的集群,编译了eclipse插件,现在运行《Hadoop实战》里面的WordCount程序,jar包已经打好,input文件也已上传。运行时报错 java.<em>io</em>.IOExcept<em>io</em>n: Job [code=text][root@master ~]# hdfs dfs -ls /rnFound 1 itemsrndrwxr-xr-x - root supergroup 0 2014-08-26 00:56 /inputrn[root@master ~]# hdfs dfs -ls /inputrnFound 1 itemsrn-rw-r--r-- 3 root supergroup 22 2014-08-26 00:56 /input/file.txtrn[root@master ~]#[/code]运行程序报错如下:[code=text][root@master ~]# hadoop jar wordcount.jar WordCount hdfs://master:9000/input/file.txt hdfs://master:9000/outputrn14/08/26 01:14:50 INFO Configurat<em>io</em>n.deprecat<em>io</em>n: sess<em>io</em>n.id is deprecated. Instead, use dfs.metrics.sess<em>io</em>n-idrn14/08/26 01:14:50 INFO jvm.JvmMetrics: Initializing JVM Metrics with processName=JobTracker, sess<em>io</em>nId=rn14/08/26 01:14:50 INFO jvm.JvmMetrics: Cannot initialize JVM Metrics with processName=JobTracker, sess<em>io</em>nId= - already initializedrn14/08/26 01:14:51 WARN mapreduce.JobSubmitter: Hadoop command-line opt<em>io</em>n parsing not performed. Implement the Tool interface and execute your applicat<em>io</em>n with ToolRunner to remedy this.rn14/08/26 01:14:51 INFO mapred.FileInputFormat: Total input paths to process : 1rn14/08/26 01:14:51 INFO mapreduce.JobSubmitter: number of splits:1rn14/08/26 01:14:51 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_local545501673_0001rn14/08/26 01:14:51 WARN conf.Configurat<em>io</em>n: file:/data/hadoop/tmp/mapred/staging/root545501673/.staging/job_local545501673_0001/job.xml:an attempt to override final parameter: mapreduce.job.end-notificat<em>io</em>n.max.retry.interval; Ignoring.rn14/08/26 01:14:51 WARN conf.Configurat<em>io</em>n: file:/data/hadoop/tmp/mapred/staging/root545501673/.staging/job_local545501673_0001/job.xml:an attempt to override final parameter: mapreduce.job.end-notificat<em>io</em>n.max.attempts; Ignoring.rn14/08/26 01:14:51 WARN conf.Configurat<em>io</em>n: file:/data/hadoop/tmp/mapred/local/localRunner/root/job_local545501673_0001/job_local545501673_0001.xml:an attempt to override final parameter: mapreduce.job.end-notificat<em>io</em>n.max.retry.interval; Ignoring.rn14/08/26 01:14:51 WARN conf.Configurat<em>io</em>n: file:/data/hadoop/tmp/mapred/local/localRunner/root/job_local545501673_0001/job_local545501673_0001.xml:an attempt to override final parameter: mapreduce.job.end-notificat<em>io</em>n.max.attempts; Ignoring.rn14/08/26 01:14:51 INFO mapreduce.Job: The url to track the job: http://localhost:8080/rn14/08/26 01:14:51 INFO mapreduce.Job: Running job: job_local545501673_0001rn14/08/26 01:14:51 INFO mapred.LocalJobRunner: OutputCommitter set in config nullrn14/08/26 01:14:51 INFO mapred.LocalJobRunner: OutputCommitter is org.apache.hadoop.mapred.FileOutputCommitterrn14/08/26 01:14:52 INFO mapred.LocalJobRunner: Waiting for map tasksrn14/08/26 01:14:52 INFO mapred.LocalJobRunner: Starting task: attempt_local545501673_0001_m_000000_0rn14/08/26 01:14:52 INFO mapred.Task: Using Resou<em>rc</em>eCalculatorProcessTree : [ ]rn14/08/26 01:14:52 INFO mapred.MapTask: Processing split: hdfs://master:9000/input/file.txt:0+22rn14/08/26 01:14:52 INFO mapred.MapTask: numReduceTasks: 1rn14/08/26 01:14:52 INFO mapred.MapTask: Map output collector class = org.apache.hadoop.mapred.MapTask$MapOutputBufferrn14/08/26 01:14:52 INFO mapred.MapTask: (EQUATOR) 0 kvi 26214396(104857584)rn14/08/26 01:14:52 INFO mapred.MapTask: mapreduce.task.<em>io</em>.sort.mb: 100rn14/08/26 01:14:52 INFO mapred.MapTask: soft limit at 83886080rn14/08/26 01:14:52 INFO mapred.MapTask: bufstart = 0; bufvoid = 104857600rn14/08/26 01:14:52 INFO mapred.MapTask: kvstart = 26214396; length = 6553600rn14/08/26 01:14:52 INFO mapred.LocalJobRunner:rn14/08/26 01:14:52 INFO mapred.MapTask: Starting flush of map outputrn14/08/26 01:14:52 INFO mapred.MapTask: Spilling map outputrn14/08/26 01:14:52 INFO mapred.MapTask: bufstart = 0; bufend = 38; bufvoid = 104857600rn14/08/26 01:14:52 INFO mapred.MapTask: kvstart = 26214396(104857584); kvend = 26214384(104857536); length = 13/6553600rn14/08/26 01:14:52 INFO mapred.MapTask: Finished spill 0rn14/08/26 01:14:52 INFO mapred.Task: Task:attempt_local545501673_0001_m_000000_0 is done. And is in the process of committingrn14/08/26 01:14:52 INFO mapred.LocalJobRunner: hdfs://master:9000/input/file.txt:0+22rn14/08/26 01:14:52 INFO mapred.Task: Task 'attempt_local545501673_0001_m_000000_0' done.rn14/08/26 01:14:52 INFO mapred.LocalJobRunner: Finishing task: attempt_local545501673_0001_m_000000_0rn14/08/26 01:14:52 INFO mapred.LocalJobRunner: map task executor complete.rn14/08/26 01:14:52 INFO mapred.LocalJobRunner: Waiting for reduce tasksrn14/08/26 01:14:52 INFO mapred.LocalJobRunner: Starting task: attempt_local545501673_0001_r_000000_0rn14/08/26 01:14:52 INFO mapred.Task: Using Resou<em>rc</em>eCalculatorProcessTree : [ ]rn14/08/26 01:14:52 INFO mapred.ReduceTask: Using ShuffleConsumerPlugin: org.apache.hadoop.mapreduce.task.reduce.Shuffle@fcc06e0rn14/08/26 01:14:52 INFO reduce.MergeManagerImpl: MergerManager: memoryLimit=333971456, maxSingleShuffleLimit=83492864, mergeThreshold=220421168, <em>io</em>SortFactor=10, memToMemMergeOutputsThreshold=10rn14/08/26 01:14:52 INFO reduce.EventFetcher: attempt_local545501673_0001_r_000000_0 Thread started: EventFetcher for fetching Map Complet<em>io</em>n Eventsrn14/08/26 01:14:52 INFO reduce.LocalFetcher: localfetcher#1 about to shuffle output of map attempt_local545501673_0001_m_000000_0 decomp: 48 len: 52 to MEMORYrn14/08/26 01:14:52 INFO reduce.InMemoryMapOutput: Read 48 bytes from map-output for attempt_local545501673_0001_m_000000_0rn14/08/26 01:14:52 INFO reduce.MergeManagerImpl: closeInMemoryFile -> map-output of size: 48, inMemoryMapOutputs.size() -> 1, commitMemory -> 0, usedMemory ->48rn14/08/26 01:14:52 INFO reduce.EventFetcher: EventFetcher is interrupted.. Returningrn14/08/26 01:14:52 INFO mapred.LocalJobRunner: 1 / 1 copied.rn14/08/26 01:14:52 INFO reduce.MergeManagerImpl: finalMerge called with 1 in-memory map-outputs and 0 on-disk map-outputsrn14/08/26 01:14:52 WARN <em>io</em>.ReadaheadPool: Failed readahead on ifilernEBADF: Bad file descriptorrn at org.apache.hadoop.<em>io</em>.native<em>io</em>.NativeIO$POSIX.posix_fadvise(Native Method)rn at org.apache.hadoop.<em>io</em>.native<em>io</em>.NativeIO$POSIX.posixFadviseIfPossible(NativeIO.java:263)rn at org.apache.hadoop.<em>io</em>.native<em>io</em>.NativeIO$POSIX$CacheManipulator.posixFadviseIfPossible(NativeIO.java:142)rn at org.apache.hadoop.<em>io</em>.ReadaheadPool$ReadaheadRequestImpl.run(ReadaheadPool.java:206)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)rn at java.lang.Thread.run(Thread.java:745)rn14/08/26 01:14:52 INFO mapred.Merger: Merging 1 sorted segmentsrn14/08/26 01:14:52 INFO mapred.Merger: Down to the last merge-pass, with 1 segments left of total size: 42 bytesrn14/08/26 01:14:52 INFO reduce.MergeManagerImpl: Merged 1 segments, 48 bytes to disk to satisfy reduce memory limitrn14/08/26 01:14:52 INFO reduce.MergeManagerImpl: Merging 1 files, 52 bytes from diskrn14/08/26 01:14:52 INFO reduce.MergeManagerImpl: Merging 0 segments, 0 bytes from memory into reducern14/08/26 01:14:52 INFO mapred.Merger: Merging 1 sorted segmentsrn14/08/26 01:14:52 INFO mapred.Merger: Down to the last merge-pass, with 1 segments left of total size: 42 bytesrn14/08/26 01:14:52 INFO mapred.LocalJobRunner: 1 / 1 copied.rn14/08/26 01:14:52 INFO mapred.LocalJobRunner: reduce task executor complete.rn14/08/26 01:14:52 WARN mapred.LocalJobRunner: job_local545501673_0001rnjava.lang.Except<em>io</em>n: java.lang.RuntimeExcept<em>io</em>n: java.lang.NoSuchMethodExcept<em>io</em>n: org.apache.hadoop.mapred.Reducer.()rn at org.apache.hadoop.mapred.LocalJobRunner$Job.runTasks(LocalJobRunner.java:462)rn at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:529)rnCaused by: java.lang.RuntimeExcept<em>io</em>n: java.lang.NoSuchMethodExcept<em>io</em>n: org.apache.hadoop.mapred.Reducer.()rn at org.apache.hadoop.util.Reflect<em>io</em>nUtils.newInstance(Reflect<em>io</em>nUtils.java:131)rn at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:409)rn at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:392)rn at org.apache.hadoop.mapred.LocalJobRunner$Job$ReduceTaskRunnable.run(LocalJobRunner.java:319)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)rn at java.util.concurrent.FutureTask.run(FutureTask.java:262)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)rn at java.lang.Thread.run(Thread.java:745)rnCaused by: java.lang.NoSuchMethodExcept<em>io</em>n: org.apache.hadoop.mapred.Reducer.()rn at java.lang.Class.getConstructor0(Class.java:2849)rn at java.lang.Class.getDeclaredConstructor(Class.java:2053)rn at org.apache.hadoop.util.Reflect<em>io</em>nUtils.newInstance(Reflect<em>io</em>nUtils.java:125)rn ... 8 morern[/code]rn后接二楼rn
silverlight 文件IO,Regedit Operation,
求解以下问题,分数可以追加,rnrn 我想保存数据到客户端来记录一些会对下次访问的结果产生影响的数据,可以通过什么机制,rn rn 我现在想到的办法和存在的问题有,rn 1 IsolatedStorage(缺点:保存的数据的生命周期,是否会被垃圾清除工具清除掉?)rn 2 在SilverLight中直接文件IO,或者读写注册表(貌似不支持)rn 3 通过javascript调用ActiveX控件来实现文件IO或者读写注册表rn (缺点:对浏览器安全设置有要求,安全设置高的话不能行,我今天测试的结果是即使IE安全设置足够低,也说rn Automat<em>io</em>n Server不能创建对象)rn 4 能否用SilverLight直接调用ActiveX控件rn rn 我用的版本是最新的SilverLight 3.0,请大家帮帮忙,分数不够,马上追加。rn
联网有时会报java.io.IOException: error 10054 during TCP read错误
我现在做一个项目,就是从服务器上读取一些信息然后在手机上进行展示,但我联网的时候有时会报java.<em>io</em>.IOExcept<em>io</em>n: error <em>10054</em> during TCP read错误,然后再连又能连上。rn联网其实就一句话,rn[code=Java]conn = (HttpConnect<em>io</em>n) Connector.open(url);[/code]rn以前做别的项目时,从来没出过这种问题,现在这个项目就出现这个问题,是服务器的问题吗?有没有什么办法解决?谢谢大家了!
启动web harvest的时候出现Caused by: java.io.IOException: Could not get shel
当使用java -jar命令的时候,出现如下异常,请各位看看,我还是新手:rnrnd:\work\tec_crawlers>java -jar webharvest.jarrnExcept<em>io</em>n in thread "AWT-EventQueue-0" java.lang.Except<em>io</em>nInInitializerErrorrn at org.webharvest.gui.Ide.(Unknown Sou<em>rc</em>e)rn at CommandLine$1.run(Unknown Sou<em>rc</em>e)rn at java.awt.event.Invocat<em>io</em>nEvent.dispatch(Invocat<em>io</em>nEvent.java:209)rn at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)rn at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)rn at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)rn at java.awt.EventDispatchThread.pumpEventsForHiera<em>rc</em>hy(EventDispatchThread.java:173)rn at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)rn at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)rn at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)rnCaused by: java.lang.RuntimeExcept<em>io</em>n: java.<em>io</em>.IOExcept<em>io</em>n: Could not get shell folder ID listrn at sun.awt.shell.Win32ShellFolder2$ComTask.execute(Win32ShellFolder2.java:1223)rn at sun.awt.shell.Win32ShellFolder2.getFileSystemPath(Win32ShellFolder2.java:557)rn at sun.awt.shell.Win32ShellFolder2.composePathForCsidl(Win32ShellFolder2.java:211)rn at sun.awt.shell.Win32ShellFolder2.(Win32ShellFolder2.java:224)rn at sun.awt.shell.Win32ShellFolderManager2.getNetwork(Win32ShellFolderManager2.java:123)rn at sun.awt.shell.Win32ShellFolder2$7.call(Win32ShellFolder2.java:541)rn at sun.awt.shell.Win32ShellFolder2$7.call(Win32ShellFolder2.java:538)rn at sun.awt.shell.Win32ShellFolder2$ComTask.execute(Win32ShellFolder2.java:1214)rn at sun.awt.shell.Win32ShellFolder2.getFileSystemPath(Win32ShellFolder2.java:538)rn at sun.awt.shell.Win32ShellFolder2.access$400(Win32ShellFolder2.java:55)rn at sun.awt.shell.Win32ShellFolder2$11.call(Win32ShellFolder2.java:711)rn at sun.awt.shell.Win32ShellFolder2$11.call(Win32ShellFolder2.java:702)rn at sun.awt.shell.Win32ShellFolder2$ComTask.execute(Win32ShellFolder2.java:1214)rn at sun.awt.shell.Win32ShellFolder2.getChildByPath(Win32ShellFolder2.java:702)rn at sun.awt.shell.Win32ShellFolderManager2.getPersonal(Win32ShellFolderManager2.java:137)rn at sun.awt.shell.Win32ShellFolder2$10.call(Win32ShellFolder2.java:652)rn at sun.awt.shell.Win32ShellFolder2$10.call(Win32ShellFolder2.java:639)rn at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)rn at java.util.concurrent.FutureTask.run(FutureTask.java:138)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)rn at sun.awt.shell.Win32ShellFolder2$ComTaskExecutor$2.run(Win32ShellFolder2.java:1180)rn at java.lang.Thread.run(Thread.java:619)rnCaused by: java.<em>io</em>.IOExcept<em>io</em>n: Could not get shell folder ID listrn at sun.awt.shell.Win32ShellFolder2.getFileSystemPath0(Native Method)rn at sun.awt.shell.Win32ShellFolder2.access$1000(Win32ShellFolder2.java:55)rn at sun.awt.shell.Win32ShellFolder2$8.call(Win32ShellFolder2.java:559)rn at sun.awt.shell.Win32ShellFolder2$8.call(Win32ShellFolder2.java:557)rn at sun.awt.shell.Win32ShellFolder2$ComTask.execute(Win32ShellFolder2.java:1214)rn ... 22 more
求救,android netty的问题 java.io.IOException: Software caused connection abort
最近在android上做的一个简单的netty客户端,基本上是按照官网上的例子来做的rnhttp://netty.<em>io</em>/4.1/xref/<em>io</em>/netty/example/securechat/package-summary.htmlrnrnChatClient:rn final SslContext sslCtx = SslContextBuilder.forClient().trustManager(InsecureTrustManagerFactory.INSTANCE).build();rn bootstrap = new Bootstrap()rn .group(group)rn .channel(N<em>io</em>SocketChannel.class)rn .handler(new SecureChatClientInitializer(sslCtx,user_code));rnrn bootstrap.opt<em>io</em>n(ChannelOpt<em>io</em>n.SO_KEEPALIVE,true);rn bootstrap.opt<em>io</em>n(ChannelOpt<em>io</em>n.TCP_NODELAY,true);rn bootstrap.opt<em>io</em>n(ChannelOpt<em>io</em>n.SO_TIMEOUT, 5000);rnrn cf = bootstrap.connect(new InetSocketAddress(HOST, PORT));rnrnSecureChatClientInitializer:rn pipeline.addLast(sslCtx.newHandler(ch.alloc(), HOST, PORT));rnrn // On top of the SSL handler, add the text line codec.rn pipeline.addLast(new DelimiterBasedFrameDecoder(8192, Delimiters.lineDelimiter()));rn pipeline.addLast(new StringDecoder());rn pipeline.addLast(new StringEncoder());rn pipeline.addLast("ping", new IdleStateHandler(5, 5, 5 * 3, TimeUnit.SECONDS));rnrn // and then business logic.rn pipeline.addLast(new SecureChatClientHandler(use<em>rc</em>ode));rnrnSecureChatClientHandler:rnrn public void channelRead0(ChannelHandlerContext ctx, String msg) throws Except<em>io</em>n rn System.err.println(msg);rn rnrn @Overridern public void except<em>io</em>nCaught(ChannelHandlerContext ctx, Throwable cause) rn cause.printStackTrace();rn ctx.close();rn rnrnnetty客户端写在service里面,诡异的是app页面保持活动的时候接收和发送消息都正常,用usb线连在电脑调试的时候也正常,一旦拔掉调试线,并把APP放在后台运行的时候,过大概40s左右的时间服务器就会出现连接丢失的情况,重新连上后可以重连,并报这样的错误 java.<em>io</em>.IOExcept<em>io</em>n: Software <em>caused</em> connect<em>io</em>n abortrnrn可以确定的是service一直是在运行没有被杀掉,但为什么会出现这么奇怪的事情,rnrn连接上调试线和没连上具体有什么区别?rn求大侠告知rnrn
APACHE服务器报错the requested operation has failed
按教程步骤在rn#LoadModule ssl_module modules/mod_ssl.sornrn一行下加了下面2段话rnLoadModule php5_module C:/php/php5apache2.dllrnPHPIniDir "C:/php"rnrn报错the requested operat<em>io</em>n has <em>failed</em>rnrn屏蔽掉服务器可以正常启动rnrnPS:我的路径没有问题rnrnrn谁能帮我解决一下啊啊啊啊 急!!!
Apache启动错误the requested operation has failed
整合Apache2.2 和Php (PHP 5.4 (5.4.25)VC9 x86 Thread Safe (2014-Feb-05 23:44:37))rnrnApache 的配置 httpd.conf 文件配置如下rnrn#我配置的信息 Apache 载入 Php处理模块rn LoadModule php5_module "D:/Program Files/php-5.5.9/php5apache2_4.dll"rn#用于指定php的 ini文件,该文件是php的一些配置rn PHPIniDir "D:/Program Files/php-5.5.9"rn#这个配置表示 当有一个资源是 *.php的时候就有php处理rn AddType applicat<em>io</em>n/x-httpd-php .php .html .htmrnrnphp配置文集的php.ini中配置rnrnextens<em>io</em>n_dir = "D:/Program Files/php-5.5.9/ext"rnrn可是启动就报错,不知道上面配置有什么问题,希望有知道的给点指导。rnrn我使用 httpd -t命令 时报的rnrnhttpd : Syntax error on line 131 of D:/Program Files/php-5.5.9/php5apache2_4.dll:rnrnCannot load D:/Program Files/php-5.5.9/php5apache2_4.dll into server :rnrn这里不能加载是什么意思啊??路径没有错啊!rnrn rnrn
apache启动报错:the requested operation has failed解决办法
apache启动报错:the requested operat<em>io</em>n has <em>failed</em>解决办法的几种解决方法!
Operation failed 问题,不是很懂,请帮忙
Operat<em>io</em>n <em>failed</em>. The index entry of length 908 bytes for the index 'userinfo' exceeds the maximum length of 900 bytes. rnrnrn这是什么问题啊?
Operation failed: File doesn't exist mysql
求助啊,我刚刚想用mysql创建一个server实例。但出现了下面的错误了。rn[code=HTML]What find_config_file/localrnrnCheck if can be accessedrnrnOperat<em>io</em>n <em>failed</em>: File doesn't exist[/code]rn不知道什么原因。什么文件不存在什么的。但安装后就没动过啊,求解。在线等啊。
Firefox 3.0 RC 1
Firefox Setup 3.0 RC 1.exe 简体中文版
oracle816:distributed update operation failed; rollback required!
SQL> exec dbms_snapshot.refresh('CL.T_PERSON','');rnBEGIN dbms_snapshot.refresh('CL.T_PERSON',''); END;rnrn*rnERROR at line 1:rnORA-02055: distributed update operat<em>io</em>n <em>failed</em>; rollback requiredrnORA-06512: at "SYS.DBMS_SNAPSHOT", line 604rnORA-06512: at "SYS.DBMS_SNAPSHOT", line 661rnORA-06512: at "SYS.DBMS_SNAPSHOT", line 641rnORA-06512: at line 1
java.io.IOException
请高手看下这个问题怎么解决rnorg.apache.catalina.core.StandardWrapperValve invokern严重: Servlet.service() for servlet jsp threw except<em>io</em>nrnjava.<em>io</em>.IOExcept<em>io</em>nrn at org.apache.coyote.http11.InternalAprOutputBuffer.flushBuffer(InternalAprOutputBuffer.java:696)rn at org.apache.coyote.http11.InternalAprOutputBuffer.flush(InternalAprOutputBuffer.java:284)rn at org.apache.coyote.http11.Http11AprProcessor.act<em>io</em>n(Http11AprProcessor.java:1016)rn at org.apache.coyote.Response.act<em>io</em>n(Response.java:183)rn at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:314)rn at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:288)rn at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:98)rn at javax.image<em>io</em>.stream.FileCacheImageOutputStream.close(FileCacheImageOutputStream.java:213)rn at javax.image<em>io</em>.ImageIO.write(ImageIO.java:1567)rn at org.apache.jsp.image_jsp._jspService(image_jsp.java:147)rn at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn at org.apache.catalina.core.Applicat<em>io</em>nFilterChain.internalDoFilter(Applicat<em>io</em>nFilterChain.java:290)rn at org.apache.catalina.core.Applicat<em>io</em>nFilterChain.doFilter(Applicat<em>io</em>nFilterChain.java:206)rn at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:389)rn at org.apache.catalina.core.Applicat<em>io</em>nFilterChain.internalDoFilter(Applicat<em>io</em>nFilterChain.java:235)rn at org.apache.catalina.core.Applicat<em>io</em>nFilterChain.doFilter(Applicat<em>io</em>nFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)rn at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:861)rn at org.apache.coyote.http11.Http11AprProtocol$Http11Connect<em>io</em>nHandler.process(Http11AprProtocol.java:579)rn at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584)rn at java.lang.Thread.run(Thread.java:619)rn
关于Nokia 频繁打开HttpConnection 的错误 java.io.IOException: Error in HTTP operation
在其他的机器上和模拟器上程序都能正常的运行 就在NOKIA机器上出现问题 报 java.<em>io</em>.IOExcept<em>io</em>n: Error in HTTP operat<em>io</em>nrn rn我简单介绍下我程序的意思:rnrn1、HttpConntSend类是发送消息类;(消息通过post提交到服务器上去就关掉流,和连接)rn2、HttPConnRrecieve类是读取消息类 ( 隔3秒钟就发送消息到服务器上去 ,服务器就会返回消息 然后解析返回的数据)rnrn代码:rnrn//HttPConnRrecieve 类是读取消息类rnpackage cim.mobile.net.cmwap;rnrnimport java.<em>io</em>.DataInputStream;rnimport java.<em>io</em>.DataOutputStream;rnimport java.<em>io</em>.IOExcept<em>io</em>n;rnimport javax.microedit<em>io</em>n.<em>io</em>.Connector;rnimport javax.microedit<em>io</em>n.<em>io</em>.HttpConnect<em>io</em>n;rnimport cim.mobile.CimParam;rnimport cim.mobile.net.socket.message.CimAbstractMessage;rnimport cim.mobile.net.socket.message.CimMessageFactory;rnimport cim.mobile.net.socket.message.CimMessageListener;rnimport cim.mobile.vo.SystemParams;rnrnpublic class HttPConnRrecieve extends Thread rn private HttpConnect<em>io</em>n hc = null;rnrn private CimMessageListener messageListener = null;rnrn private DataInputStream dis;rnrn private DataOutputStream dos;rnrn private static HttPConnRrecieve instance = null;rnrn public void start(CimMessageListener messageListener) rnrn this.messageListener = messageListener;rn Thread t = new Thread(this);rn t.start();rn rnrn public static HttPConnRrecieve getInstance() rn if (instance == null) rn instance = new HttPConnRrecieve();rn rn return instance;rn rnrn public void recieveMessage(String msgText) rn CimAbstractMessage cam = CimMessageFactory.createMessage(msgText);rn if (messageListener != null && cam != null) rn messageListener.dealMessage(cam);rn rn rnrn public void run() rn try rn while (true) rn// hc = (HttpConnect<em>io</em>n) Connector.open("http://10.0.0.172:80/",rn// Connector.READ_WRITE, true);rn// hc.setRequestProperty("X-Online-Host", CimParam.getInstance()rn// .getSocketHost()rn// + ":18888");rn hc = (HttpConnect<em>io</em>n) Connector.open("http://221.130.184.139:18888");rn try rn hc.setRequestMethod(HttpConnect<em>io</em>n.POST);rn dos = hc.openDataOutputStream();rn String sendXml = "MYDATA: \r\n";rn dos.write(sendXml.getBytes());rn dos.flush();rn dos.close();rn dis = hc.openDataInputStream();rn byte[] buffer;rn int size = (int) hc.getLength();rn if (size != -1)rn buffer = new byte[size]; // 响应大小已知,确定缓冲区大小rn elsern buffer = new byte[8192 * 4]; // 响应大小未知,设定一个固定大小的缓冲区rn int reads = 0;rn int index = 0;rn while (reads >= 0) rn int len = buffer.length - index;rn if (len 128 ? 128 : len;rn reads = dis.read(buffer, index, len);rn if (reads + sMess;rn System.out.println(sMess);rn dos.write(sendXml.getBytes());rn dos.flush();rn // dis = hc.openDataInputStream();rn dos.close();rn hc.close();rnrn catch (IOExcept<em>io</em>n e) rn e.printStackTrace();rn rnrn rnrn public static synchronized void sendMess(String sMess) rn HttpConntSend conntSend = new HttpConntSend(sMess);rn conntSend.start();rnrn rnrn public HttpConntSend(String sMess) rn this.sMess = sMess;rnrn rnrnrn
[db2 jdbc driver]Transliteration failed,reason:invalid UTF8 data
一个select语句报的异常rn在toad for db里执行正常rn本地weblogic+myeclipse8.6运行j2ee项目,执行正常rn在正式环境weblogic里执行就一定会出这个异常rn求大神解答~
出现 Connection to neutron failed: %(reason)s 报错,跪求解决!
openstack icehouse 版本在安装完neutron之后,创建网络,产生报错:rnrn[code=text]rnroot@controller:~# neutron net-create ext-net --shared --router:external=TruernConnect<em>io</em>n to neutron <em>failed</em>: %(<em>reason</em>)srn[/code]rnrndebug了一下,如下:rn[code=text]rnroot@controller:~# neutron --debug net-create ext-net --shared --router:external=TruernDEBUG: neutronclient.neutron.v2_0.network.CreateNetwork get_data(Namespace(admin_state=True, columns=[], formatter='table', name=u'ext-net', prefix='', request_format='json', shared=True, tenant_id=None, variables=[]))rnDEBUG: neutronclient.client rnREQ: curl -i http://controller:35357/v2.0/tokens -X POST -H "Content-Type: applicat<em>io</em>n/json" -H "Accept: applicat<em>io</em>n/json" -H "User-Agent: python-neutronclient" -d '"auth": "tenantName": "admin", "passwordCredentials": "username": "admin", "password": "polex"'rnrnDEBUG: neutronclient.client RESP:'status': '200', 'content-length': '4579', 'vary': 'X-Auth-Token', 'date': 'Fri, 21 Oct 2016 05:15:19 GMT', 'content-type': 'applicat<em>io</em>n/json', 'x-distribut<em>io</em>n': 'Ubuntu' "access": "token": "issued_at": "2016-10-21T05:15:19.813630", "expires": "2016-10-21T06:15:19Z", "id": "MIIIbwYJKoZIhvcNAQcCoIIIYDCCCFwCAQExDTALBglghkgBZQMEAgEwgga9BgkqhkiG9w0BBwGgggauBIIGqnsiYWNjZXNzIjogeyJ0b2tlbiI6IHsiaXNzdWVkX2F0IjogIjIwMTYtMTAtMjFUMDU6MTU6MTkuODEzNjMwIiwgImV4cGlyZXMiOiAiMjAxNi0xMC0yMVQwNjoxNToxOVoiLCAiaWQiOiAicGxhY2Vob2xkZXIiLCAidGVuYW50IjogeyJkZXNjcmlwdGlvbiI6ICJBZG1pbiBUZW5hbnQiLCAiZW5hYmxlZCI6IHRydWUsICJpZCI6ICJiNjRmZGI5Mzc5NmY0ZWMxYThlNzgyNWJjNTg5ZDg4ZiIsICJuYW1lIjogImFkbWluIn19LCAic2VydmljZUNhdGFsb2ciOiBbeyJlbmRwb2ludHMiOiBbeyJhZG1pblVSTCI6ICJodHRwOi8vY29udHJvbGxlcjo5MjkyIiwgInJlZ2lvbiI6ICJyZWdpb25PbmUiLCAiaW50ZXJuYWxVUkwiOiAiaHR0cDovL2NvbnRyb2xsZXI6OTI5MiIsICJpZCI6ICI3YjUzMjMzNmM0NzI0NmU1Yjc4MGI4ZDUyZjcwZjdjYyIsICJwdWJsaWNVUkwiOiAiaHR0cDovL2NvbnRyb2xsZXI6OTI5MiJ9XSwgImVuZHBvaW50c19saW5<em>rc</em>yI6IFtdLCAidHlwZSI6ICJpbWFnZSIsICJuYW1lIjogImdsYW5jZSJ9LCB7ImVuZHBvaW50cyI6IFt7ImFkbWluVVJMIjogImh0dHA6Ly9jb250cm9sbGVyOjg3NzQvdjIvYjY0ZmRiOTM3OTZmNGVjMWE4ZTc4MjViYzU4OWQ4OGYiLCAicmVnaW9uIjogInJlZ2lvbk9uZSIsICJpbnRlcm5hbFVSTCI6ICJodHRwOi8vY29udHJvbGxlcjo4Nzc0L3YyL2I2NGZkYjkzNzk2ZjRlYzFhOGU3ODI1YmM1ODlkODhmIiwgImlkIjogIjBhZTkyMzEyMDk4MjQ1MDE5MDgxNTgyZDg3MTc0NWRiIiwgInB1YmxpY1VSTCI6ICJodHRwOi8vY29udHJvbGxlcjo4Nzc0L3YyL2I2NGZkYjkzNzk2ZjRlYzFhOGU3ODI1YmM1ODlkODhmIn1dLCAiZW5kcG9pbnRzX2xpbmtzIjogW10sICJ0eXBlIjogImNvbXB1dGUiLCAibmFtZSI6ICJub3ZhIn0sIHsiZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovL2NvbnRyb2xsZXI6OTY5NiIsICJyZWdpb24iOiAicmVnaW9uT25lIiwgImludGVybmFsVVJMIjogImh0dHA6Ly9jb250cm9sbGVyOjk2OTYiLCAiaWQiOiAiMDZkNjRlZTgzNTA0NGFmMjkyZmRiZDYzODNlZjlhNjgiLCAicHVibGljVVJMIjogImh0dHA6Ly9jb250cm9sbGVyOjk2OTYifV0sICJlbmRwb2ludHNfbGlua3MiOiBbXSwgInR5cGUiOiAibmV0d29yayIsICJuYW1lIjogIm5ldXRyb24ifSwgeyJlbmRwb2ludHMiOiBbeyJhZG1pblVSTCI6ICJodHRwOi8vY29udHJvbGxlcjozNTM1Ny92Mi4wIiwgInJlZ2lvbiI6ICJyZWdpb25PbmUiLCAiaW50ZXJuYWxVUkwiOiAiaHR0cDovL2NvbnRyb2xsZXI6NTAwMC92Mi4wIiwgImlkIjogIjM4ODU1MDNlZWZkODQ4NTNhZTk3ZjA4OTE5OWM0OWFiIiwgInB1YmxpY1VSTCI6ICJodHRwOi8vY29udHJvbGxlcjo1MDAwL3YyLjAifV0sICJlbmRwb2ludHNfbGlua3MiOiBbXSwgInR5cGUiOiAiaWRlbnRpdHkiLCAibmFtZSI6ICJrZXlzdG9uZSJ9XSwgInVzZXIiOiB7InVzZXJuYW1lIjogImFkbWluIiwgInJvbGVzX2xpbmtzIjogW10sICJpZCI6ICI5Zjg3MTQzZTBhYWU0ZTA2OTQzNjc3M2QxMGY4MDg2MyIsICJyb2xlcyI6IFt7Im5hbWUiOiAiX21lbWJlcl8ifSwgeyJuYW1lIjogImFkbWluIn1dLCAibmFtZSI6ICJhZG1pbiJ9LCAibWV0YWRhdGEiOiB7ImlzX2FkbWluIjogMCwgInJvbGVzIjogWyI5ZmUyZmY5ZWU0Mzg0YjE4OTRhOTA4NzhkM2U5MmJhYiIsICI2YjQ3MDdhYmQwYjU0YTNjYmE5ZDAzYmE4YjEzNDYwZSJdfX19MYIBhTCCAYECAQEwXDBXMQswCQYDVQQGEwJVUzEOMAwGA1UECAwFVW5zZXQxDjAMBgNVBAcMBVVuc2V0MQ4wDAYDVQQKDAVVbnNldDEYMBYGA1UEAwwPd3d3LmV4YW1wbGUuY29tAgEBMAsGCWCGSAFlAwQCATANBgkqhkiG9w0BAQEFAASCAQAIY3-ljU-tYKWdyI0w87xstQwC7ReqMVtTZW5F0bPtvkl9nMJ-ekLRsSYZNqJw-1TBhC2+OFPf+Hgs8xVDpfgLSMkfsm0-45ysMoQDWF2WwhqLuXFipLL4pF8ak0krZy6nrmoQFZJFnBUMXDJhJ592b301eDYzroGJzYeyfBLWzp7xSrkLrHha6ELczLNgq5zTg25-gUD6gRww3MRgCSv6hIULwa48mKY3dkDm1nRtfMGNofVjy0i+h4QP5lFzKqUhK98WZ4wXikGujxnLO7krLiG9b2Gz3jlwuVR055S4TBMJY6n-TW7PEDfIGF6oRPGNge5gn4zcbJ17ziihHw+q", "tenant": "descript<em>io</em>n": "Admin Tenant", "enabled": true, "id": "b64fdb93796f4ec1a8e7825bc589d88f", "name": "admin", "serviceCatalog": ["endpoints": ["adminURL": "http://controller:9292", "reg<em>io</em>n": "reg<em>io</em>nOne", "internalURL": "http://controller:9292", "id": "7b532336c47246e5b780b8d52f70f7cc", "publicURL": "http://controller:9292"], "endpoints_links": [], "type": "image", "name": "glance", "endpoints": ["adminURL": "http://controller:8774/v2/b64fdb93796f4ec1a8e7825bc589d88f", "reg<em>io</em>n": "reg<em>io</em>nOne", "internalURL": "http://controller:8774/v2/b64fdb93796f4ec1a8e7825bc589d88f", "id": "0ae92312098245019081582d871745db", "publicURL": "http://controller:8774/v2/b64fdb93796f4ec1a8e7825bc589d88f"], "endpoints_links": [], "type": "compute", "name": "nova", "endpoints": ["adminURL": "http://controller:9696", "reg<em>io</em>n": "reg<em>io</em>nOne", "internalURL": "http://controller:9696", "id": "06d64ee835044af292fdbd6383ef9a68", "publicURL": "http://controller:9696"], "endpoints_links": [], "type": "network", "name": "neutron", "endpoints": ["adminURL": "http://controller:35357/v2.0", "reg<em>io</em>n": "reg<em>io</em>nOne", "internalURL": "http://controller:5000/v2.0", "id": "3885503eefd84853ae97f089199c49ab", "publicURL": "http://controller:5000/v2.0"], "endpoints_links": [], "type": "identity", "name": "keystone"], "user": "username": "admin", "roles_links": [], "id": "9f87143e0aae4e069436773d10f80863", "roles": ["name": "_member_", "name": "admin"], "name": "admin", "metadata": "is_admin": 0, "roles": ["9fe2ff9ee4384b1894a90878d3e92bab", "6b4707abd0b54a3cba9d03ba8b13460e"]rnrnDEBUG: neutronclient.client rnREQ: curl -i http://controller:9696/v2.0/networks.json -X POST -H "X-Auth-Token: MIIIbwYJKoZIhvcNAQcCoIIIYDCCCFwCAQExDTALBglghkgBZQMEAgEwgga9BgkqhkiG9w0BBwGgggauBIIGqnsiYWNjZXNzIjogeyJ0b2tlbiI6IHsiaXNzdWVkX2F0IjogIjIwMTYtMTAtMjFUMDU6MTU6MTkuODEzNjMwIiwgImV4cGlyZXMiOiAiMjAxNi0xMC0yMVQwNjoxNToxOVoiLCAiaWQiOiAicGxhY2Vob2xkZXIiLCAidGVuYW50IjogeyJkZXNjcmlwdGlvbiI6ICJBZG1pbiBUZW5hbnQiLCAiZW5hYmxlZCI6IHRydWUsICJpZCI6ICJiNjRmZGI5Mzc5NmY0ZWMxYThlNzgyNWJjNTg5ZDg4ZiIsICJuYW1lIjogImFkbWluIn19LCAic2VydmljZUNhdGFsb2ciOiBbeyJlbmRwb2ludHMiOiBbeyJhZG1pblVSTCI6ICJodHRwOi8vY29udHJvbGxlcjo5MjkyIiwgInJlZ2lvbiI6ICJyZWdpb25PbmUiLCAiaW50ZXJuYWxVUkwiOiAiaHR0cDovL2NvbnRyb2xsZXI6OTI5MiIsICJpZCI6ICI3YjUzMjMzNmM0NzI0NmU1Yjc4MGI4ZDUyZjcwZjdjYyIsICJwdWJsaWNVUkwiOiAiaHR0cDovL2NvbnRyb2xsZXI6OTI5MiJ9XSwgImVuZHBvaW50c19saW5<em>rc</em>yI6IFtdLCAidHlwZSI6ICJpbWFnZSIsICJuYW1lIjogImdsYW5jZSJ9LCB7ImVuZHBvaW50cyI6IFt7ImFkbWluVVJMIjogImh0dHA6Ly9jb250cm9sbGVyOjg3NzQvdjIvYjY0ZmRiOTM3OTZmNGVjMWE4ZTc4MjViYzU4OWQ4OGYiLCAicmVnaW9uIjogInJlZ2lvbk9uZSIsICJpbnRlcm5hbFVSTCI6ICJodHRwOi8vY29udHJvbGxlcjo4Nzc0L3YyL2I2NGZkYjkzNzk2ZjRlYzFhOGU3ODI1YmM1ODlkODhmIiwgImlkIjogIjBhZTkyMzEyMDk4MjQ1MDE5MDgxNTgyZDg3MTc0NWRiIiwgInB1YmxpY1VSTCI6ICJodHRwOi8vY29udHJvbGxlcjo4Nzc0L3YyL2I2NGZkYjkzNzk2ZjRlYzFhOGU3ODI1YmM1ODlkODhmIn1dLCAiZW5kcG9pbnRzX2xpbmtzIjogW10sICJ0eXBlIjogImNvbXB1dGUiLCAibmFtZSI6ICJub3ZhIn0sIHsiZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovL2NvbnRyb2xsZXI6OTY5NiIsICJyZWdpb24iOiAicmVnaW9uT25lIiwgImludGVybmFsVVJMIjogImh0dHA6Ly9jb250cm9sbGVyOjk2OTYiLCAiaWQiOiAiMDZkNjRlZTgzNTA0NGFmMjkyZmRiZDYzODNlZjlhNjgiLCAicHVibGljVVJMIjogImh0dHA6Ly9jb250cm9sbGVyOjk2OTYifV0sICJlbmRwb2ludHNfbGlua3MiOiBbXSwgInR5cGUiOiAibmV0d29yayIsICJuYW1lIjogIm5ldXRyb24ifSwgeyJlbmRwb2ludHMiOiBbeyJhZG1pblVSTCI6ICJodHRwOi8vY29udHJvbGxlcjozNTM1Ny92Mi4wIiwgInJlZ2lvbiI6ICJyZWdpb25PbmUiLCAiaW50ZXJuYWxVUkwiOiAiaHR0cDovL2NvbnRyb2xsZXI6NTAwMC92Mi4wIiwgImlkIjogIjM4ODU1MDNlZWZkODQ4NTNhZTk3ZjA4OTE5OWM0OWFiIiwgInB1YmxpY1VSTCI6ICJodHRwOi8vY29udHJvbGxlcjo1MDAwL3YyLjAifV0sICJlbmRwb2ludHNfbGlua3MiOiBbXSwgInR5cGUiOiAiaWRlbnRpdHkiLCAibmFtZSI6ICJrZXlzdG9uZSJ9XSwgInVzZXIiOiB7InVzZXJuYW1lIjogImFkbWluIiwgInJvbGVzX2xpbmtzIjogW10sICJpZCI6ICI5Zjg3MTQzZTBhYWU0ZTA2OTQzNjc3M2QxMGY4MDg2MyIsICJyb2xlcyI6IFt7Im5hbWUiOiAiX21lbWJlcl8ifSwgeyJuYW1lIjogImFkbWluIn1dLCAibmFtZSI6ICJhZG1pbiJ9LCAibWV0YWRhdGEiOiB7ImlzX2FkbWluIjogMCwgInJvbGVzIjogWyI5ZmUyZmY5ZWU0Mzg0YjE4OTRhOTA4NzhkM2U5MmJhYiIsICI2YjQ3MDdhYmQwYjU0YTNjYmE5ZDAzYmE4YjEzNDYwZSJdfX19MYIBhTCCAYECAQEwXDBXMQswCQYDVQQGEwJVUzEOMAwGA1UECAwFVW5zZXQxDjAMBgNVBAcMBVVuc2V0MQ4wDAYDVQQKDAVVbnNldDEYMBYGA1UEAwwPd3d3LmV4YW1wbGUuY29tAgEBMAsGCWCGSAFlAwQCATANBgkqhkiG9w0BAQEFAASCAQAIY3-ljU-tYKWdyI0w87xstQwC7ReqMVtTZW5F0bPtvkl9nMJ-ekLRsSYZNqJw-1TBhC2+OFPf+Hgs8xVDpfgLSMkfsm0-45ysMoQDWF2WwhqLuXFipLL4pF8ak0krZy6nrmoQFZJFnBUMXDJhJ592b301eDYzroGJzYeyfBLWzp7xSrkLrHha6ELczLNgq5zTg25-gUD6gRww3MRgCSv6hIULwa48mKY3dkDm1nRtfMGNofVjy0i+h4QP5lFzKqUhK98WZ4wXikGujxnLO7krLiG9b2Gz3jlwuVR055S4TBMJY6n-TW7PEDfIGF6oRPGNge5gn4zcbJ17ziihHw+q" -H "Content-Type: applicat<em>io</em>n/json" -H "Accept: applicat<em>io</em>n/json" -H "User-Agent: python-neutronclient" -d '"network": "shared": true, "name": "ext-net", "router:external": "True", "admin_state_up": true'rnrn[/code]rn
socket错误:java.net.SocketException: Software caused connection abort: recv failed
一个server—client程序,客户端抛出异常:rnjava.net.SocketExcept<em>io</em>n: Software <em>caused</em> connect<em>io</em>n abort: recv <em>failed</em>rn
Python基础-异步IO的支持 async和await
Python 3.5开始引入了新的语法<em>async</em>和await,可以让coroutine的代码更简洁易读。需求使用<em>async</em>和await实现异步访问多个网站主页的异步任务运行示例# main.py #!/usr/bin/env python3 # -*- coding: utf-8 -*- # Python基础-异步IO的支持 <em>async</em>和await# <em>async</em><em>io</em>的编程模型就是一个消息循环 imp
迈拓MSS网络硬盘盒的问题:ERROR: Transfer failed: 10054
在串口硬盘前接了个转接卡,转接卡接在电脑上使用时没有问题,但是装进盒子之后,刷机就提示ERROR: Transfer <em>failed</em>: <em>10054</em>;rnrnD:\mssload>nasload /f mss_v_2_6_2.bin /1 /P /u adminrnrnAttempting to download firmware to local subnet.rnUse control-c to exit.rnrnRemote machine MSS-000000 (at address 192.168.1.1) has requestedrna firmware download.rnDo you wish to download new firmware? [y/n]:yrnDownloading mss_v_2_6_2.bin...rnERROR: Transfer <em>failed</em>: <em>10054</em>rnrnPreparing to exit...rnrnrnrn请教高手是怎么回事?rnrn谢谢!rn
Windows 7 RC 1 Key
Windows 7 RC 1 32位的五个key
Spring.net 1.2.0 rc 分卷1
因为不能传15M以上资源,所以压缩处理 因为不能传15M以上资源,所以压缩处理
求助!!java.net.SocketException MESSAGE: Software caused connection abort: recv failed
帮忙看看这是什么问题!!rnrn** BEGIN NESTED EXCEPTION ** rnrnjava.net.SocketExcept<em>io</em>n MESSAGE: Software <em>caused</em> connect<em>io</em>n abort: recv <em>failed</em>rnrnSTACKTRACE:rnrnjava.net.SocketExcept<em>io</em>n: Software <em>caused</em> connect<em>io</em>n abort: recv <em>failed</em>rn at java.net.SocketInputStream.socketRead0(Native Method)rn at java.net.SocketInputStream.read(SocketInputStream.java:129)rn at com.mysql.jdbc.util.ReadAheadInputStream.fill(ReadAheadInputStream.java:113)rn at com.mysql.jdbc.util.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:160)rn at com.mysql.jdbc.util.ReadAheadInputStream.read(ReadAheadInputStream.java:188)rn at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1900)rn at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2349)rn at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2860)rn at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1571)rn at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1666)rn at com.mysql.jdbc.Connect<em>io</em>n.execSQL(Connect<em>io</em>n.java:2978)rn at com.mysql.jdbc.Connect<em>io</em>n.execSQL(Connect<em>io</em>n.java:2902)rn at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:933)rn at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1027)rn at com.ExtraTrading.database.DBConnect.executeQuery(DBConnect.java:140)rn at com.ExtraTrading.people.DispPeople.getPeople4LoginPass(DispPeople.java:62)rn at _jsp._admin._loginfm__jsp._jspService(_loginfm__jsp.java:50)rn at com.caucho.jsp.JavaPage.service(JavaPage.java:60)rn at com.caucho.jsp.Page.pageservice(Page.java:570)rn at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:159)rn at com.ExtraTrading.filter.AccessRightFilter.doFilter(AccessRightFilter.java:99)rn at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)rn at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:163)rn at com.caucho.server.dispatch.ServletInvocat<em>io</em>n.service(ServletInvocat<em>io</em>n.java:208)rn at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:259)rn at com.caucho.server.port.TcpConnect<em>io</em>n.run(TcpConnect<em>io</em>n.java:363)rn at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490)rn at com.caucho.util.ThreadPool.run(ThreadPool.java:423)rn at java.lang.Thread.run(Thread.java:534)rnrnrn** END NESTED EXCEPTION **rnrn
二、1、defer 和 async区别
1、defer 和 <em>async</em>区别 参考链接 :https://segmentfault.com/q/1010000000640869 http://www.10tiao.com/html/293/201703/2651226247/1.html defer 和 <em>async</em>在浏览器中都是异步加载,意思就是不会阻塞dom结构的生成 区别就是有defer脚本文件会在html文档DOM结构渲染完
read 报异常Software caused connection abort: recv failed
try rn String host = getCodeBase().getHost();rn byte[] response = new byte[50500];rn rn host="192.168.2.148";rn clientSocket = new Socket(host,16555);rn // 需要输入和输出流rn outbound = new DataOutputStream(clientSocket.getOutputStream());rn inbound = new DataInputStream(clientSocket.getInputStream());rn // 向服务器发出请求rn ps = new PrintStream(outbound);rnrn byte[] cmd = new byte[1024];rnrn cmd[0] = 0x7e;rn cmd[1] = 0x00;rn rn ps.write(cmd,0,2);//第一次发送rn ps.flush();rnrn inbound.read(response, 0, 50500);//这里不报异常rnrn cmd[0] = 0x7e;rn cmd[1] = 0x01;rn rn ps.write(cmd,0,2); //第二次发送rn ps.flush();rnrn if(inbound.read(response, 0, 50500)==-1))//这里报异常rn return false;rn return true;rn rn catch (IOExcept<em>io</em>n <em>io</em>e) rn System.out.println("IOExcept<em>io</em>n: " + <em>io</em>e);rn return false;rn
报错java.net.SocketException: Software caused connection abort: recv failed 怎么办??
写道rn 在利用google搜索抓取结果页面的时候总抛出异常:rn njava.net.SocketExcept<em>io</em>n: Software <em>caused</em> connect<em>io</em>n abort: recv <em>failed</em>  at java.net.SocketInputStream.socketRead0(Native Method)  at java.net.SocketInputStream.read(SocketInputStream.java:147)  at java.<em>io</em>.BufferedInputStream.fill(BufferedInputStream.java:218)  at java.<em>io</em>.BufferedInputStream.read1(BufferedInputStream.java:258)  at java.<em>io</em>.BufferedInputStream.read(BufferedInputStream.java:317)  at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:697)  at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:640)  at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:662)  at sun.net.www.protocol.http.HttpURLConnect<em>io</em>n.getInputStream(HttpURLConnect<em>io</em>n.java:1195)  at AttrExtractor.sea<em>rc</em>h(AttrExtractor.java:96)  at AttrExtractor.main(AttrExtractor.java:56)rn 错误的地方说是在BufferedReader reader=new BufferedReader(new InputStreamReader(connect<em>io</em>n.getInputStream())); rn 我是个菜鸟,不知道为什么报错,有没有大牛可以详细告诉我怎么办?!!!nrn rn url = new URL("http://www.google.com.hk/sea<em>rc</em>h?hl=en&q="+ss+"&ie=utf-8&oe=utf-8&start=0"); HttpURLConnect<em>io</em>n connect<em>io</em>n=(HttpURLConnect<em>io</em>n) url.openConnect<em>io</em>n(); connect<em>io</em>n.setConnectTimeout(12000); connect<em>io</em>n.setRequestProperty("User-Agent", "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"); connect<em>io</em>n.setRequestProperty("Accept", " images/gif, image/x-xbitmap, image/jpeg ,*/*"); connect<em>io</em>n.setRequestProperty("Accept-Encoding", "deflate"); connect<em>io</em>n.setRequestProperty("Accept-Charset", "null"); connect<em>io</em>n.setRequestProperty("Connect<em>io</em>n", "Keep-Alive"); connect<em>io</em>n.setDoInput(true); connect<em>io</em>n.setInstanceFollowRedirects(false); ///防止Server redirected too many times connect<em>io</em>n.setRequestMethod("GET"); connect<em>io</em>n.connect(); BufferedReader reader=new BufferedReader(new InputStreamReader(connect<em>io</em>n.getInputStream())); String line=null; String s = ""; StringBuffer sb = new StringBuffer(""); //读取页面内容 while ((s = reader.readLine()) != null) sb.append(s+"\r\n"); rn  
[请教]Failed to commit the transaction: … caused by: ORA-00018: maximum number of
Failed to commit the transact<em>io</em>n: … <em>caused</em> by: ORA-00018: maximum number of sess<em>io</em>ns exceededrnrn在commit的时候,发送了异常!rn在oracle官方的解释是,会话超限导致的问题,但是会话超限的话,是不是会导致connect<em>io</em>n不上?也不会已经connect<em>io</em>n到的连接commit时候会异常啊。rnrn
关于Software caused connection abort: recv failed问题
问题困扰了我几天了 。 一直找不到解决方案 , 请大大们帮忙。。。rnrn注册驱动异常rncom.microsoft.sqlserver.jdbc.SQLServerExcept<em>io</em>n: Software <em>caused</em> connect<em>io</em>n abort: recv <em>failed</em>rn at com.microsoft.sqlserver.jdbc.SQLServerConnect<em>io</em>n.terminate(Unknown Sou<em>rc</em>e)rn at com.microsoft.sqlserver.jdbc.TDSChannel.read(Unknown Sou<em>rc</em>e)rn at com.microsoft.sqlserver.jdbc.SQLServerConnect<em>io</em>n.Prelogin(Unknown Sou<em>rc</em>e)rn at com.microsoft.sqlserver.jdbc.SQLServerConnect<em>io</em>n.connectHelper(Unknown Sou<em>rc</em>e)rn at com.microsoft.sqlserver.jdbc.SQLServerConnect<em>io</em>n.loginWithoutFailover(Unknown Sou<em>rc</em>e)rn at com.microsoft.sqlserver.jdbc.SQLServerConnect<em>io</em>n.connect(Unknown Sou<em>rc</em>e)rn at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(Unknown Sou<em>rc</em>e)rn at java.sql.DriverManager.getConnect<em>io</em>n(DriverManager.java:582)rn at java.sql.DriverManager.getConnect<em>io</em>n(DriverManager.java:185)rn at dao.BaseDao.getConn(BaseDao.java:23)rn at manager.Manager.getMobile(Manager.java:26)rn at org.apache.jsp.manager_jsp._jspService(manager_jsp.java:67)rn at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn at org.apache.catalina.core.Applicat<em>io</em>nFilterChain.internalDoFilter(Applicat<em>io</em>nFilterChain.java:290)rn at org.apache.catalina.core.Applicat<em>io</em>nFilterChain.doFilter(Applicat<em>io</em>nFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)rn at org.apache.coyote.http11.Http11Protocol$Http11Connect<em>io</em>nHandler.process(Http11Protocol.java:583)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)rn at java.lang.Thread.run(Thread.java:619)rn2011-12-1 9:54:23 org.apache.catalina.core.StandardWrapperValve invokern严重: Servlet.service() for servlet jsp threw except<em>io</em>nrnjava.lang.NullPointerExcept<em>io</em>nrn at manager.Manager.getMobile(Manager.java:27)rn at org.apache.jsp.manager_jsp._jspService(manager_jsp.java:67)rn at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn at org.apache.catalina.core.Applicat<em>io</em>nFilterChain.internalDoFilter(Applicat<em>io</em>nFilterChain.java:290)rn at org.apache.catalina.core.Applicat<em>io</em>nFilterChain.doFilter(Applicat<em>io</em>nFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)rn at org.apache.coyote.http11.Http11Protocol$Http11Connect<em>io</em>nHandler.process(Http11Protocol.java:583)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)rn at java.lang.Thread.run(Thread.java:619)rnrnrn 原来这些程序跑是没问题的。 不知道是安装了什么软件还是怎么的, 现在java程序和mssql数据库全部不能交互了。 简单是数据库连接都不行 。rn 但是mssql能和.net程序交互 。rnrn 麻烦大家给点意见 , 谢谢!rn
httpclient报错Software caused connection abort: recv failed
使用httpclient抓取网页信息的时候,报错Software <em>caused</em> connect<em>io</em>n abort: recv <em>failed</em>rn看样子是在excute那里的时候报错的。求大神解答这个出错的原因
数据send()返回-1,getlasterror()=10054,求解
我的服务端和客户端建立tcp链接,然后服务端用send向客户端发送数据,偶尔会出现send返回-1,错误码为<em>10054</em>,此状况不定时出现,好像是客户端主动断开了链接,用netstat查看客户端,显示连击还是established,但是服务端已经没有链接了,求高手指点
java.io.IOException: Call to Hadoop.Master/IP:port failed on local e
java.<em>io</em>.IOExcept<em>io</em>n: Call to Hadoop.Master/192.168.10.196:9111 <em>failed</em> on local except<em>io</em>n: java.<em>io</em>.EOFExcept<em>io</em>nrn at org.apache.hadoop.ipc.Client.wrapExcept<em>io</em>n(Client.java:1144)rn at org.apache.hadoop.ipc.Client.call(Client.java:1112)rn at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:229)rn at com.sun.proxy.$Proxy5.getProtocolVers<em>io</em>n(Unknown Sou<em>rc</em>e)rn at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:411)rn at org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:135)rn at org.apache.hadoop.hdfs.DFSClient.(DFSClient.java:276)rn at org.apache.hadoop.hdfs.DFSClient.(DFSClient.java:241)rn at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:100)rn at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1411)rn at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66)rn at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1429)rn at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:254)rn at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:123)rn at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:238)rn at org.apache.hadoop.fs.Path.getFileSystem(Path.java:187)rn at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.addInputPath(FileInputFormat.java:372)rn at org.apache.hadoop.examples.WordCount.run(WordCount.java:75)rn at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)rn at org.apache.hadoop.examples.WordCount.main(WordCount.java:85)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.hadoop.util.ProgramDriver$ProgramDescript<em>io</em>n.invoke(ProgramDriver.java:68)rn at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139)rn at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:55)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.hadoop.util.RunJar.main(RunJar.java:156)rnCaused by: java.<em>io</em>.EOFExcept<em>io</em>nrn at java.<em>io</em>.DataInputStream.readInt(DataInputStream.java:375)rn at org.apache.hadoop.ipc.Client$Connect<em>io</em>n.receiveResponse(Client.java:841)rn at org.apache.hadoop.ipc.Client$Connect<em>io</em>n.run(Client.java:786)
hive与hbase整合报错Failed with exception java.io.IOException:java.lang.NullPointerExc
刚开始接触hadoop一段时间,以后要做数据挖掘的项目。整合hive、hbase就卡那里了。分开运行还顺利,hive建一个hbase能访问的表就比较O疼了。导入数据也没问题,就是查询不可以。rnrn建表:rn[code=sql]rnhive> CREATE TABLE hbase_table_1(key int, value string) rn > STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler' rn > WITH SERDEPROPERTIES ("hbase.columns.mapping" = ":key,cf1:val") rn > TBLPROPERTIES ("hbase.table.name" = "xyz"); rnOKrnTime taken: 1.603 secondsrn[/code]rnrn导数据:rn[code=sql]rnhive> INSERT OVERWRITE TABLE hbase_table_1 SELECT * FROM pokes WHERE foo=86; rnTotal jobs = 1rnLaunching Job 1 out of 1rnNumber of reduce tasks is set to 0 since there's no reduce operatorrnStarting Job = job_1409219405692_0016, Tracking URL = http://cluster01:8888/proxy/applicat<em>io</em>n_1409219405692_0016/rnKill Command = /home/hadoop/hadoop-2.2.0/bin/hadoop job -kill job_1409219405692_0016rnHadoop job informat<em>io</em>n for Stage-0: number of mappers: 1; number of reducers: 0rn2014-08-29 15:40:20,961 Stage-0 map = 0%, reduce = 0%rn2014-08-29 15:40:29,406 Stage-0 map = 100%, reduce = 0%, Cumulative CPU 3.89 secrnMapReduce Total cumulative CPU time: 3 seconds 890 msecrnEnded Job = job_1409219405692_0016rnMapReduce Jobs Launched: rnJob 0: Map: 1 Cumulative CPU: 3.89 sec HDFS Read: 6016 HDFS Write: 0 SUCCESSrnTotal MapReduce CPU Time Spent: 3 seconds 890 msecrnOKrnTime taken: 21.2 secondsrn[/code]rnrn然后。。。[color=#FF0000]Failed with except<em>io</em>n java.<em>io</em>.IOExcept<em>io</em>n:java.lang.NullPointerExcept<em>io</em>n[/color]rn[code=sql]rnhive> SELECT * FROM hbase_table_1;rnOKrnFailed with except<em>io</em>n java.<em>io</em>.IOExcept<em>io</em>n:java.lang.NullPointerExcept<em>io</em>nrnTime taken: 0.131 secondsrn[/code]rnrnhive.log:rn[code=text]rn2014-08-29 15:25:42,121 INFO [main]: log.PerfLogger (PerfLogger.java:PerfLogEnd(135)) - rn2014-08-29 15:25:42,204 ERROR [main]: CliDriver (Sess<em>io</em>nState.java:printError(545)) - Failed with except<em>io</em>n java.<em>io</em>.IOExcept<em>io</em>n:java.lang.NullPointerExcept<em>io</em>nrnjava.<em>io</em>.IOExcept<em>io</em>n: java.lang.NullPointerExcept<em>io</em>nrn at org.apache.hadoop.hive.ql.exec.FetchOperator.getNextRow(FetchOperator.java:636)rn at org.apache.hadoop.hive.ql.exec.FetchOperator.pushRow(FetchOperator.java:534)rn at org.apache.hadoop.hive.ql.exec.FetchTask.fetch(FetchTask.java:137)rn at org.apache.hadoop.hive.ql.Driver.getResults(Driver.java:1519)rn at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:285)rn at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:220)rn at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:423)rn at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:792)rn at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:686)rn at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:625)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:606)rn at org.apache.hadoop.util.RunJar.main(RunJar.java:212)rnCaused by: java.lang.NullPointerExcept<em>io</em>nrn at org.apache.hadoop.net.DNS.reverseDns(DNS.java:92)rn at org.apache.hadoop.hbase.mapreduce.TableInputFormatBase.reverseDNS(TableInputFormatBase.java:218)rn at org.apache.hadoop.hbase.mapreduce.TableInputFormatBase.getSplits(TableInputFormatBase.java:184)rn at org.apache.hadoop.hive.hbase.HiveHBaseTableInputFormat.getSplits(HiveHBaseTableInputFormat.java:479)rn at org.apache.hadoop.hive.ql.exec.FetchOperator.getRecordReader(FetchOperator.java:418)rn at org.apache.hadoop.hive.ql.exec.FetchOperator.getNextRow(FetchOperator.java:561)rn ... 14 morernrn2014-08-29 15:25:42,204 INFO [main]: exec.TableScanOperator (Operator.java:close(574)) - 0 finished. closing... rn[/code]rnrnhive-site.xml:rn[code=html]rnrnrnrnhive.metastore.warehouse.dirrnhdfs://cluster01:9000/hive/warehousernrnrnrnhive.exec.scratchdirrnhdfs://cluster01:9000/hive/scratchdirrnrnrnrnhive.querylog.locat<em>io</em>nrnfile:///var/hadoop/hive/logsrnrnrnrnjavax.jdo.opt<em>io</em>n.Connect<em>io</em>nURLrnjdbc:mysql://cluster01:3306/hive?createDatabaseIfNotExist=truernrnrnrnjavax.jdo.opt<em>io</em>n.Connect<em>io</em>nDriverNamerncom.mysql.jdbc.Driverrnrnrnrnjavax.jdo.opt<em>io</em>n.Connect<em>io</em>nUserNamernhivernrnrnrnjavax.jdo.opt<em>io</em>n.Connect<em>io</em>nPasswordrnhivernrnrnrnhive.aux.jars.pathrnfile:///home/hadoop/hive-0.13.1/lib/hive-hbase-handler-0.13.1.jar,file:///home/hadoop/hive-0.13.1/lib/protobuf-java-2.5.0.jar,file:///home/hadoop/hive-0.13.1/lib/hbase-client-0.96.2-hadoop2.jar,file:///home/hadoop/hive-0.13.1/lib/hbase-common-0.96.2-hadoop2.jar,file:///home/hadoop/hive-0.13.1/lib/hbase-protocol-0.96.2-hadoop2.jar,file:///home/hadoop/hive-0.13.1/lib/hbase-server-0.96.2-hadoop2.jar,file:///home/hadoop/hive-0.13.1/lib/zookeeper-3.4.6.jar,file:///home/hadoop/hive-0.13.1/lib/guava-11.0.2.jarrnrnrnrnhive.zookeeper.quorumrncluster01,cluster02,cluster03,cluster04,cluster05,cluster06,cluster07rnrnrnrn[/code]rnrn其他:rnhadoop@cluster01:~$ java -vers<em>io</em>nrnjava vers<em>io</em>n "1.7.0_67"rnJava(TM) SE Runtime Environment (build 1.7.0_67-b01)rnJava HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)rnrnhadoop@cluster01:~$ uname -arnLinux cluster01 3.13.0-34-generic #60-Ubuntu SMP Wed Aug 13 15:45:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linuxrnrnhadoop@cluster01:~$ ls | grep -rnhadoop-2.2.0rnhbase-0.96.2rnhive-0.13.1rnmahout-0.9rnzookeeper-3.4.6
activemq的异常:Transport failed: java.io.IOException: Wire format negotiation timeo
最近用activemq做测试jms,activemq启动,自己写了一个socket客户端程序,向activemq的消息消费者发送字节流,每次发送的时候都会报错,下面是异常信息,请大家帮我看看,谢谢了(activemq是最新的5.4.0版本)rn INFO | Transport <em>failed</em>: java.<em>io</em>.IOExcept<em>io</em>n: Wire format negotiat<em>io</em>n timeout:rnpeer did not send his wire format.rnjava.<em>io</em>.IOExcept<em>io</em>n: Wire format negotiat<em>io</em>n timeout: peer did not send his wirern format.rn at org.apache.activemq.transport.WireFormatNegotiator.oneway(WireFormatNrnegotiator.java:98)rn at org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.jarnva:40)rn at org.apache.activemq.broker.TransportConnect<em>io</em>n.dispatch(TransportConnrnect<em>io</em>n.java:1247)rn at org.apache.activemq.broker.TransportConnect<em>io</em>n.processDispatch(TransprnortConnect<em>io</em>n.java:808)rn at org.apache.activemq.broker.TransportConnect<em>io</em>n.iterate(TransportConnernct<em>io</em>n.java:844)rn at org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRrnunner.java:98)rn at org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunrnner.java:36)rn INFO | Transport <em>failed</em>: java.<em>io</em>.IOExcept<em>io</em>n: Unknown data type: 57rnjava.<em>io</em>.IOExcept<em>io</em>n: Unknown data type: 57rn at org.apache.activemq.openwire.OpenWireFormat.doUnmarshal(OpenWireFormarnt.java:356)rn at org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.rnjava:276)rn at org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTranspornrt.java:226)rn at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.javrna:218)rn at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:rn201)rn at java.lang.Thread.run(Thread.java:595)rnrnactivemq的源代码:rn[code=Java][/code]rnpackage org.activemq.test;rnrnimport javax.jms.BytesMessage;rnimport javax.jms.Connect<em>io</em>n;rnimport javax.jms.Connect<em>io</em>nFactory;rnimport javax.jms.Destinat<em>io</em>n;rnimport javax.jms.JMSExcept<em>io</em>n;rnimport javax.jms.MessageConsumer;rnimport javax.jms.Sess<em>io</em>n;rnrnimport org.apache.activemq.ActiveMQConnect<em>io</em>nFactory;rnrnpublic class MessageCusumer rnrn /**rn * @param argsrn * @throws JMSExcept<em>io</em>nrn * @throws InterruptedExcept<em>io</em>nrn */rn public static void main(String[] args) throws JMSExcept<em>io</em>n,rn InterruptedExcept<em>io</em>n rnrn Connect<em>io</em>nFactory connect<em>io</em>nFactory = new ActiveMQConnect<em>io</em>nFactory("",rn "", "tcp://localhost:61616");rnrn Connect<em>io</em>n connect<em>io</em>n = connect<em>io</em>nFactory.createConnect<em>io</em>n();rn connect<em>io</em>n.start();rnrn final Sess<em>io</em>n sess<em>io</em>n = connect<em>io</em>n.createSess<em>io</em>n(Boolean.TRUE,rn Sess<em>io</em>n.AUTO_ACKNOWLEDGE);rn Destinat<em>io</em>n destinat<em>io</em>n = sess<em>io</em>n.createQueue("TOOL.DEFAULT");rnrn MessageConsumer consumer = sess<em>io</em>n.createConsumer(destinat<em>io</em>n);rn // int i=0;rn while (true) rn System.out.println("==========开始接收字节流==========");rn BytesMessage message = (BytesMessage) consumer.receive();rn int byteslength = (int) message.getBodyLength();rn byte[] msg = new byte[byteslength];rn for (int i = 0; i < byteslength; i++) rn msg[i] = message.readByte();rn rn sess<em>io</em>n.commit();rn System.out.println(msg.toString());rn sess<em>io</em>n.close();rn connect<em>io</em>n.close();rn System.out.println("==========接收字节流结束==========");rn Thread.sleep(10);rn rnrn rnrnrnrn下面是socket客户端的代码rn[code=Java][/code]rnpackage org.activemq.test;rnrnimport java.<em>io</em>.BufferedReader;rnimport java.<em>io</em>.IOExcept<em>io</em>n;rnimport java.<em>io</em>.InputStreamReader;rnimport java.<em>io</em>.PrintWriter;rnimport java.net.Socket;rnrnpublic class Client rn Socket socket;rn BufferedReader in;rn PrintWriter out;rnrn public Client() rn try rn socket = new Socket("127.0.0.1", 61616);rn in = new BufferedReader(new InputStreamReader(socketrn .getInputStream()));rn out = new PrintWriter(socket.getOutputStream(), true);rn// BufferedReader line = new BufferedReader(new InputStreamReader(rn// System.in));rnrn// out.println(line.readLine());rn System.out.println("==========开始发送字节流==========");rn out.println(new byte[]11,22,33);rn// line.close();rn out.close();rn in.close();rn System.out.println("==========发送字节流结束==========");rn socket.close();rn catch (IOExcept<em>io</em>n e) rn rn rnrn public static void main(String[] args) rn new Client();rn rn
weblogic部署失败异常[java.io.IOException: Compiler failed executable.exec]
weblogic.management.ManagementExcept<em>io</em>n: - with nested except<em>io</em>n:rn[weblogic.management.Applicat<em>io</em>nExcept<em>io</em>n:rnExcept<em>io</em>n:weblogic.management.Applicat<em>io</em>nExcept<em>io</em>n: prepare <em>failed</em> for dmboprn Module: dmbop Error: Could not load dmbop: weblogic.management.DeploymrnentExcept<em>io</em>n: - with nested except<em>io</em>n:rn[java.<em>io</em>.IOExcept<em>io</em>n: Compiler <em>failed</em> executable.exec]rn]rn at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare()rnV(SlaveDeployer.java:2396)rn at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Lwernblogic.management.deploy.OamVers<em>io</em>n;Lweblogic.management.runtime.DeploymentTaskRrnuntimeMBean;Z)V(SlaveDeployer.java:866)rn at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(Lweblogicrn.management.deploy.OamDelta;Lweblogic.management.deploy.OamVers<em>io</em>n;ZLjava.lang.SrntringBuffer;)Z(SlaveDeployer.java:594)rn at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(Ljava.utrnil.ArrayList;Z)V(SlaveDeployer.java:508)rn at weblogic.drs.internal.SlaveCallbackHandler$1.execute(Lweblogic.kernelrn.ExecuteThread;)V(SlaveCallbackHandler.java:25)rn at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequestrn;)V(ExecuteThread.java:219)rn at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)rn at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Sou<em>rc</em>rne)rn>rnrn异常log 求大神帮帮忙 能看的出来什么地方错了么?
Android System.err: java.io.IOException: open failed: EACCES (Permission denied)
Log 报权限错误: API23 rnSystem.err: java.<em>io</em>.IOExcept<em>io</em>n: open <em>failed</em>: EACCES (Permiss<em>io</em>n denied)rnSystem.err: at java.<em>io</em>.File.createNewFile(File.java:939)rnrnrn我明明声明了权限了啊rn rn rn rnrn求大神分析一下怎么回事?
10054项链
注意 端点相同的两条边可能重复出现、输出顺序!! #include #include int gra[60][60]; int d[60]; int vis[60][60]; int uu[1010]; int vv[1010]; int top; void dfs(int u) { int v; for(v = 1; v < 60;v++) { if(gra[u][v]) {
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: 查询超时值 -1 无效。
Caused by: com.microsoft.sqlserver.jdbc.SQLServerExcept<em>io</em>n: 查询超时值 -1 无效。rnrn这个错误如何解决 mybatis + sql server 查询数据
operation
NULL 博文链接:https://hezhou-0521.iteye.com/blog/826453
10054异常
异常概述 一个建立的连接被远程主机强行关闭,若远程主机上的进程异常终止运行(由于内存冲突或硬件故障),或者针对套接字执行了一次强行关闭,便会产生<em>10054</em>错误。也就是说:<em>10054</em>异常是从服务器的角度断开连接的。在爬虫中叫反爬,服务器为了维护自己的安全,对于不正常的浏览网页者做的限制。 异常类型 (1)Connectt<em>io</em>nResetError:[WinError <em>10054</em>] 远程主机强迫...
async
哪里有delphi 5 的<em>async</em>控件?
TSocketConnection 10054
网络环境不好,经常断线,导致程序常常报错rnwindows socket error 远程主机强迫关闭了一个现有连接。(<em>10054</em>) on API 'recv' rnrn有谁清楚出现这个问题的根本原因是什么?如何解决?rn为什么用if Connected=false then Connected:=true 都不行呢?这应该是重新发起连接才对吧.rn但如果重新进入程序又可以使用.
Caused by: java.lang.ClassNotFoundException
Caused by: java.lang.ClassNotFoundExcept<em>io</em>n: com.zkbc.p2papp.ui.Activity_Splash in loader dalvik.system.PathClassLoader[/data/app/com.jinjiafuyi.fuyilicai-1.apk]rn 项目 别人能运行 我拿到 现在运行报错 百度看遍了解决不了啊 求大神帮忙 必有重谢!
rc资源文件rc资源文件
哈哈资源文件<em>rc</em>资源文件<em>rc</em>资源文件<em>rc</em>资源文件
Caused by: org.springframework.beans.factory.parsing.BeanDefinitionParsingExcept
严重: Except<em>io</em>n sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnorg.springframework.beans.factory.parsing.BeanDefinit<em>io</em>nParsingExcept<em>io</em>n: Configurat<em>io</em>n problem: Unexpected failure during bean definit<em>io</em>n parsingrnOffending resou<em>rc</em>e: class path resou<em>rc</em>e [beans.xml]rnBean 'sess<em>io</em>nFactory'; nested except<em>io</em>n is org.springframework.beans.factory.parsing.BeanDefinit<em>io</em>nParsingExcept<em>io</em>n: Configurat<em>io</em>n problem: element for property 'mappingResou<em>rc</em>es' must specify a ref or valuernOffending resou<em>rc</em>e: class path resou<em>rc</em>e [beans.xml]rnBean 'sess<em>io</em>nFactory'rn -> Property 'mappingResou<em>rc</em>es'rn at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)rn at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)rn at org.springframework.beans.factory.xml.BeanDefinit<em>io</em>nParserDelegate.error(BeanDefinit<em>io</em>nParserDelegate.java:288)rn at org.springframework.beans.factory.xml.BeanDefinit<em>io</em>nParserDelegate.parseBeanDefinit<em>io</em>nElement(BeanDefinit<em>io</em>nParserDelegate.java:490)rn at org.springframework.beans.factory.xml.BeanDefinit<em>io</em>nParserDelegate.parseBeanDefinit<em>io</em>nElement(BeanDefinit<em>io</em>nParserDelegate.java:389)rn at org.springframework.beans.factory.xml.BeanDefinit<em>io</em>nParserDelegate.parseBeanDefinit<em>io</em>nElement(BeanDefinit<em>io</em>nParserDelegate.java:358)rn at org.springframework.beans.factory.xml.DefaultBeanDefinit<em>io</em>nDocumentReader.processBeanDefinit<em>io</em>n(DefaultBeanDefinit<em>io</em>nDocumentReader.java:239)rn at org.springframework.beans.factory.xml.DefaultBeanDefinit<em>io</em>nDocumentReader.parseDefaultElement(DefaultBeanDefinit<em>io</em>nDocumentReader.java:153)rn at org.springframework.beans.factory.xml.DefaultBeanDefinit<em>io</em>nDocumentReader.parseBeanDefinit<em>io</em>ns(DefaultBeanDefinit<em>io</em>nDocumentReader.java:132)rn at org.springframework.beans.factory.xml.DefaultBeanDefinit<em>io</em>nDocumentReader.registerBeanDefinit<em>io</em>ns(DefaultBeanDefinit<em>io</em>nDocumentReader.java:92)rn at org.springframework.beans.factory.xml.XmlBeanDefinit<em>io</em>nReader.registerBeanDefinit<em>io</em>ns(XmlBeanDefinit<em>io</em>nReader.java:507)rn at org.springframework.beans.factory.xml.XmlBeanDefinit<em>io</em>nReader.doLoadBeanDefinit<em>io</em>ns(XmlBeanDefinit<em>io</em>nReader.java:398)rn at org.springframework.beans.factory.xml.XmlBeanDefinit<em>io</em>nReader.loadBeanDefinit<em>io</em>ns(XmlBeanDefinit<em>io</em>nReader.java:342)rn at org.springframework.beans.factory.xml.XmlBeanDefinit<em>io</em>nReader.loadBeanDefinit<em>io</em>ns(XmlBeanDefinit<em>io</em>nReader.java:310)rn at org.springframework.beans.factory.support.AbstractBeanDefinit<em>io</em>nReader.loadBeanDefinit<em>io</em>ns(AbstractBeanDefinit<em>io</em>nReader.java:143)rn at org.springframework.beans.factory.support.AbstractBeanDefinit<em>io</em>nReader.loadBeanDefinit<em>io</em>ns(AbstractBeanDefinit<em>io</em>nReader.java:178)rn at org.springframework.beans.factory.support.AbstractBeanDefinit<em>io</em>nReader.loadBeanDefinit<em>io</em>ns(AbstractBeanDefinit<em>io</em>nReader.java:149)rn at org.springframework.web.context.support.XmlWebApplicat<em>io</em>nContext.loadBeanDefinit<em>io</em>ns(XmlWebApplicat<em>io</em>nContext.java:124)rn at org.springframework.web.context.support.XmlWebApplicat<em>io</em>nContext.loadBeanDefinit<em>io</em>ns(XmlWebApplicat<em>io</em>nContext.java:92)rn at org.springframework.context.support.AbstractRefreshableApplicat<em>io</em>nContext.refreshBeanFactory(AbstractRefreshableApplicat<em>io</em>nContext.java:123)rn at org.springframework.context.support.AbstractApplicat<em>io</em>nContext.obtainFreshBeanFactory(AbstractApplicat<em>io</em>nContext.java:422)rn at org.springframework.context.support.AbstractApplicat<em>io</em>nContext.refresh(AbstractApplicat<em>io</em>nContext.java:352)rn at org.springframework.web.context.ContextLoader.createWebApplicat<em>io</em>nContext(ContextLoader.java:255)rn at org.springframework.web.context.ContextLoader.initWebApplicat<em>io</em>nContext(ContextLoader.java:199)rn at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)rn at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1296)rn at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2038)rn at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)rn at java.util.concurrent.FutureTask.run(FutureTask.java:262)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)rn at java.lang.Thread.run(Thread.java:744)rnCaused by: org.springframework.beans.factory.parsing.BeanDefinit<em>io</em>nParsingExcept<em>io</em>n: Configurat<em>io</em>n problem: element for property 'mappingResou<em>rc</em>es' must specify a ref or valuernOffending resou<em>rc</em>e: class path resou<em>rc</em>e [beans.xml]rnBean 'sess<em>io</em>nFactory'rn -> Property 'mappingResou<em>rc</em>es'rn at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)rn at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)rn at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:80)rn at org.springframework.beans.factory.xml.BeanDefinit<em>io</em>nParserDelegate.error(BeanDefinit<em>io</em>nParserDelegate.java:281)rn at org.springframework.beans.factory.xml.BeanDefinit<em>io</em>nParserDelegate.parsePropertyValue(BeanDefinit<em>io</em>nParserDelegate.java:921)rn at org.springframework.beans.factory.xml.BeanDefinit<em>io</em>nParserDelegate.parsePropertyElement(BeanDefinit<em>io</em>nParserDelegate.java:815)rn at org.springframework.beans.factory.xml.BeanDefinit<em>io</em>nParserDelegate.parsePropertyElements(BeanDefinit<em>io</em>nParserDelegate.java:691)rn at org.springframework.beans.factory.xml.BeanDefinit<em>io</em>nParserDelegate.parseBeanDefinit<em>io</em>nElement(BeanDefinit<em>io</em>nParserDelegate.java:475)rn ... 34 morernrnrn[img=https://img-bbs.csdn.net/upload/201708/21/1503281400_284854.png][/img]rnrn找了一早上,实在发现不了错误了。有人知道怎么弄不
Caused by: java.lang.IllegalStateExc
代码如下[code=java]public class MainActivity extends Activity rn ImageView iv_bottom,iv_top;rn Bitmap topImage,bottomImage;rn @Overridern protected void onCreate(Bundle savedInstanceState) rn super.onCreate(savedInstanceState);rn setContentView(R.layout.activity_main);rn init();rn rnrn private void init() rn iv_bottom=(ImageView) findViewById(R.id.iv_bottom);rn iv_top=(ImageView) findViewById(R.id.iv_top);rn rn rn topImage=BitmapFactory.decodeResou<em>rc</em>e(getResou<em>rc</em>es(), R.drawable.a2);rn bottomImage=BitmapFactory.decodeResou<em>rc</em>e(getResou<em>rc</em>es(), R.drawable.b2);rn rn iv_top.setImageBitmap(topImage);rn iv_bottom.setImageBitmap(bottomImage);rn rn rn topImage.setPixel(topImage.getWidth()/2,topImage.getHeight()/2,Color.TRANSPARENT);rn System.out.println(topImage.getWidth()/2+","+topImage.getHeight()/2);rn iv_top.setImageBitmap(topImage);rn rn rn rn rnrn @Overridern public boolean onCreateOpt<em>io</em>nsMenu(Menu menu) rn // Inflate the menu; this adds items to the act<em>io</em>n bar if it is present.rn getMenuInflater().inflate(R.menu.main, menu);rn return true;rn rnrn[/code]rnrn错误信息:rn[code=java]04-16 04:26:16.850: E/AndroidRuntime(791): java.lang.RuntimeExcept<em>io</em>n: Unable to start activity ComponentInfocom.stripclothes/com.stripclothes.MainActivity: java.lang.IllegalStateExcept<em>io</em>nrn04-16 04:26:16.850: E/AndroidRuntime(791): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2211)rn04-16 04:26:16.850: E/AndroidRuntime(791): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)rn04-16 04:26:16.850: E/AndroidRuntime(791): at android.app.ActivityThread.access$600(ActivityThread.java:141)rn04-16 04:26:16.850: E/AndroidRuntime(791): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)rn04-16 04:26:16.850: E/AndroidRuntime(791): at android.os.Handler.dispatchMessage(Handler.java:99)rn04-16 04:26:16.850: E/AndroidRuntime(791): at android.os.Looper.loop(Looper.java:137)rn04-16 04:26:16.850: E/AndroidRuntime(791): at android.app.ActivityThread.main(ActivityThread.java:5103)rn04-16 04:26:16.850: E/AndroidRuntime(791): at java.lang.reflect.Method.invokeNative(Native Method)rn04-16 04:26:16.850: E/AndroidRuntime(791): at java.lang.reflect.Method.invoke(Method.java:525)rn04-16 04:26:16.850: E/AndroidRuntime(791): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)rn04-16 04:26:16.850: E/AndroidRuntime(791): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)rn04-16 04:26:16.850: E/AndroidRuntime(791): at dalvik.system.NativeStart.main(Native Method)rn04-16 04:26:16.850: E/AndroidRuntime(791): Caused by: java.lang.IllegalStateExcept<em>io</em>nrn04-16 04:26:16.850: E/AndroidRuntime(791): at android.graphics.Bitmap.setPixel(Bitmap.java:1227)rn04-16 04:26:16.850: E/AndroidRuntime(791): at com.stripclothes.MainActivity.init(MainActivity.java:33)rn04-16 04:26:16.850: E/AndroidRuntime(791): at com.stripclothes.MainActivity.onCreate(MainActivity.java:18)rn04-16 04:26:16.850: E/AndroidRuntime(791): at android.app.Activity.performCreate(Activity.java:5133)rn04-16 04:26:16.850: E/AndroidRuntime(791): at android.app.Instrumentat<em>io</em>n.callActivityOnCreate(Instrumentat<em>io</em>n.java:1087)rn04-16 04:26:16.850: E/AndroidRuntime(791): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2175)rn04-16 04:26:16.850: E/AndroidRuntime(791): ... 11 morern[/code]rnrn运行时显示topImage.setPixel(topImage.getWidth()/2,topImage.getHeight()/2,Color.TRANSPARENT);这附近出错,我仔细看了下应该没错呀 请问我哪块不对了rn
java.io.IOException: 拒绝访问。
我在web项目中需要创建文件rn我在eclipse里面测试没问题 在tomcat里就报错 java.<em>io</em>.IOExcept<em>io</em>n: 拒绝访问。rnrn有没有人告诉我是怎么回事,该怎样解决。谢谢rnn[b]问题补充:[/b]njava.<em>io</em>.IOExcept<em>io</em>n: 拒绝访问。rn at java.<em>io</em>.WinNTFileSystem.createFileExclusively(Native Method)rn at java.<em>io</em>.File.createNewFile(File.java:850)n[b]问题补充:[/b]n请告诉我该怎么解决。n[b]问题补充:[/b]n我在目录下创建了一个文件 进行操作没有问题rn文件夹已经存在 就是创建文件 出错 这是权限问题吗?rnif(CURFILE.equals(""))rn //CURFILE=getCurFile();rn CURFILE="aa.log";rn rn System.out.println(ROOT+File.separator+BASE+File.separator+sysdate+File.separator+CURFILE);rn File file=new File(ROOT+File.separator+BASE+File.separator+sysdate+File.separator+CURFILE);rn if(!file.exists())rn f.createNewFile();rn
hadoop java.io.IOException: java.io.IOException: Unknown Job job_1538024635557_0
18/09/27 18:27:02 INFO mapreduce.Job: map 100% reduce 90%rn18/09/27 18:27:26 INFO mapreduce.Job: map 100% reduce 91%rn18/09/27 18:27:58 INFO mapreduce.Job: map 100% reduce 92%rn18/09/27 18:28:32 INFO mapreduce.Job: map 100% reduce 93%rn18/09/27 18:28:56 INFO mapreduce.Job: map 100% reduce 94%rn18/09/27 18:29:40 INFO mapreduce.Job: map 100% reduce 95%rn18/09/27 18:29:58 INFO mapreduce.Job: map 100% reduce 96%rn18/09/27 18:30:37 INFO mapreduce.Job: map 100% reduce 97%rn18/09/27 18:30:56 INFO mapreduce.Job: map 100% reduce 98%rn18/09/27 18:31:41 INFO mapreduce.Job: map 100% reduce 99%rn18/09/27 18:31:59 INFO mapreduce.Job: map 100% reduce 100%rn18/09/27 18:32:37 INFO mapreduce.Job: Job job_1538024635557_0011 completed successfullyrn18/09/27 18:32:38 INFO mapred.ClientServiceDelegate: Applicat<em>io</em>n state is completed. FinalApplicat<em>io</em>nStatus=SUCCEEDED. Redirecting to job history serverrn18/09/27 18:32:38 INFO mapred.ClientServiceDelegate: Applicat<em>io</em>n state is completed. FinalApplicat<em>io</em>nStatus=SUCCEEDED. Redirecting to job history serverrn18/09/27 18:32:39 INFO mapred.ClientServiceDelegate: Applicat<em>io</em>n state is completed. FinalApplicat<em>io</em>nStatus=SUCCEEDED. Redirecting to job history serverrn18/09/27 18:32:39 INFO client.Connect<em>io</em>nManager$HConnect<em>io</em>nImplementat<em>io</em>n: Closing master protocol: MasterServicern18/09/27 18:32:39 INFO client.Connect<em>io</em>nManager$HConnect<em>io</em>nImplementat<em>io</em>n: Closing zookeeper sess<em>io</em>nid=0x26614970cb20237rn18/09/27 18:32:39 INFO zookeeper.ZooKeeper: Sess<em>io</em>n: 0x26614970cb20237 closedrnExcept<em>io</em>n in thread "main" 18/09/27 18:32:39 INFO zookeeper.ClientCnxn: EventThread shut downrnjava.<em>io</em>.IOExcept<em>io</em>n: java.<em>io</em>.IOExcept<em>io</em>n: Unknown Job job_1538024635557_0011rn at org.apache.hadoop.mapreduce.v2.hs.HistoryClientService$HSClientProtocolHandler.verifyAndGetJob(HistoryClientService.java:218)rn at org.apache.hadoop.mapreduce.v2.hs.HistoryClientService$HSClientProtocolHandler.getCounters(HistoryClientService.java:232)rn at org.apache.hadoop.mapreduce.v2.api.impl.pb.service.MRClientProtocolPBServiceImpl.getCounters(MRClientProtocolPBServiceImpl.java:159)rn at org.apache.hadoop.yarn.proto.MRClientProtocol$MRClientProtocolService$2.callBlockingMethod(MRClientProtocol.java:281)rn at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:447)rn at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:989)rn at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:850)rn at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:793)rn at java.security.AccessController.doPrivileged(Native Method)rn at javax.security.auth.Subject.doAs(Subject.java:422)rn at org.apache.hadoop.security.UserGroupInformat<em>io</em>n.doAs(UserGroupInformat<em>io</em>n.java:1840)rn at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2489)rnrn at org.apache.hadoop.mapred.ClientServiceDelegate.invoke(ClientServiceDelegate.java:344)rn at org.apache.hadoop.mapred.ClientServiceDelegate.getJobCounters(ClientServiceDelegate.java:381)rn at org.apache.hadoop.mapred.YARNRunner.getJobCounters(YARNRunner.java:606)rn at org.apache.hadoop.mapreduce.Job$8.run(Job.java:812)rn at org.apache.hadoop.mapreduce.Job$8.run(Job.java:809)rn at java.security.AccessController.doPrivileged(Native Method)rn at javax.security.auth.Subject.doAs(Subject.java:422)rn at org.apache.hadoop.security.UserGroupInformat<em>io</em>n.doAs(UserGroupInformat<em>io</em>n.java:1840)rn at org.apache.hadoop.mapreduce.Job.getCounters(Job.java:809)rn at org.apache.hadoop.mapreduce.Job.monitorAndPrintJob(Job.java:1434)rn at org.apache.hadoop.mapreduce.Job.waitForComplet<em>io</em>n(Job.java:1362)rn at batch.BulkLoadJob.main(BulkLoadJob.java:97)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:498)rn at org.apache.hadoop.util.RunJar.run(RunJar.java:234)rn at org.apache.hadoop.util.RunJar.main(RunJar.java:148)rnCaused by: java.<em>io</em>.IOExcept<em>io</em>n: Unknown Job job_1538024635557_0011rn at org.apache.hadoop.mapreduce.v2.hs.HistoryClientService$HSClientProtocolHandler.verifyAndGetJob(HistoryClientService.java:218)rn at org.apache.hadoop.mapreduce.v2.hs.HistoryClientService$HSClientProtocolHandler.getCounters(HistoryClientService.java:232)rn at org.apache.hadoop.mapreduce.v2.api.impl.pb.service.MRClientProtocolPBServiceImpl.getCounters(MRClientProtocolPBServiceImpl.java:159)rn at org.apache.hadoop.yarn.proto.MRClientProtocol$MRClientProtocolService$2.callBlockingMethod(MRClientProtocol.java:281)rn at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:447)rn at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:989)rn at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:850)rn at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:793)rn at java.security.AccessController.doPrivileged(Native Method)rn at javax.security.auth.Subject.doAs(Subject.java:422)rn at org.apache.hadoop.security.UserGroupInformat<em>io</em>n.doAs(UserGroupInformat<em>io</em>n.java:1840)rn at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2489)rnrn at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)rn at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)rn at java.lang.reflect.Constructor.newInstance(Constructor.java:423)rn at org.apache.hadoop.ipc.RemoteExcept<em>io</em>n.instantiateExcept<em>io</em>n(RemoteExcept<em>io</em>n.java:121)rn at org.apache.hadoop.ipc.RemoteExcept<em>io</em>n.unwrapRemoteExcept<em>io</em>n(RemoteExcept<em>io</em>n.java:110)rn at org.apache.hadoop.mapreduce.v2.api.impl.pb.client.MRClientProtocolPBClientImpl.unwrapAndThrowExcept<em>io</em>n(MRClientProtocolPBClientImpl.java:291)rn at org.apache.hadoop.mapreduce.v2.api.impl.pb.client.MRClientProtocolPBClientImpl.getCounters(MRClientProtocolPBClientImpl.java:168)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)rn at java.lang.reflect.Method.invoke(Method.java:498)rn at org.apache.hadoop.mapred.ClientServiceDelegate.invoke(ClientServiceDelegate.java:325)rn ... 17 morernCaused by: org.apache.hadoop.ipc.RemoteExcept<em>io</em>n(java.<em>io</em>.IOExcept<em>io</em>n): Unknown Job job_1538024635557_0011rn at org.apache.hadoop.mapreduce.v2.hs.HistoryClientService$HSClientProtocolHandler.verifyAndGetJob(HistoryClientService.java:218)rn at org.apache.hadoop.mapreduce.v2.hs.HistoryClientService$HSClientProtocolHandler.getCounters(HistoryClientService.java:232)rn at org.apache.hadoop.mapreduce.v2.api.impl.pb.service.MRClientProtocolPBServiceImpl.getCounters(MRClientProtocolPBServiceImpl.java:159)rn at org.apache.hadoop.yarn.proto.MRClientProtocol$MRClientProtocolService$2.callBlockingMethod(MRClientProtocol.java:281)rn at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:447)rn at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:989)rn at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:850)rn at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:793)rn at java.security.AccessController.doPrivileged(Native Method)rn at javax.security.auth.Subject.doAs(Subject.java:422)rn at org.apache.hadoop.security.UserGroupInformat<em>io</em>n.doAs(UserGroupInformat<em>io</em>n.java:1840)rn at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2489)rnrn at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1489)rn at org.apache.hadoop.ipc.Client.call(Client.java:1435)rn at org.apache.hadoop.ipc.Client.call(Client.java:1345)rn at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:227)rn at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:116)rn at com.sun.proxy.$Proxy15.getCounters(Unknown Sou<em>rc</em>e)rn at org.apache.hadoop.mapreduce.v2.api.impl.pb.client.MRClientProtocolPBClientImpl.getCounters(MRClientProtocolPBClientImpl.java:166)rn ... 22 morern18/09/27 18:32:49 WARN util.ShutdownHookManager: ShutdownHook '' timeout, java.util.concurrent.TimeoutExcept<em>io</em>nrnjava.util.concurrent.TimeoutExcept<em>io</em>nrn at java.util.concurrent.FutureTask.get(FutureTask.java:205)rn at org.apache.hadoop.util.ShutdownHookManager$1.run(ShutdownHookManager.java:67)
java.io.IOException错误提示?
请问下,我用JB7编译代码不管什么代码都出现rn"stringsample.java": Error #: 701 : error writing class untitled2.stringsample: java.<em>io</em>.IOExcept<em>io</em>n: cannot create output file at line 8, column 8rnrnjava.<em>io</em>.IOExcept<em>io</em>n都于这错误有关,rnrn我以前也用过JB7编译代码,都没什么问题的,就昨天重装系统和JB7后出现此问题,rnrn再顺便问下,怎么在这搜索到以前的帖子打开的话都出现无法打开此页啊,,rnrn比如这问题我就搜索到很多有关这类问题的,可无法打开,只好发帖了。rn
MQ reason code
MQ的<em>reason</em> code的官方解释。
org.apache.catalina.connector.ClientAbortException: java.io.IOException
问题描述 :rn1. 仅当静态资源请求时触发rn2. 仅是火狐浏览器触发rn3. 仅当Tomcat7以上触发rn4. 有个类似的项目不触发此异常rnrn其中触发错误的请求:rnrn/livestock/res/assets/ico/apple-touch-icon-152x152.pngrnrn/livestock/res/assets/vendor/font-awesome/fonts/fontawesome-webfont.woff2rnrn神奇的bugrnrn```rn org.apache.catalina.connector.ClientAbortExcept<em>io</em>n: java.<em>io</em>.IOExcept<em>io</em>n: APR error: -730053rn at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:393)rn at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:426)rn at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:339)rn at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:418)rn at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:406)rn at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:97)rn at org.springframework.util.StreamUtils.copy(StreamUtils.java:138)rn at org.springframework.http.converter.Resou<em>rc</em>eHttpMessageConverter.writeContent(Resou<em>rc</em>eHttpMessageConverter.java:110)rn at org.springframework.http.converter.Resou<em>rc</em>eHttpMessageConverter.writeInternal(Resou<em>rc</em>eHttpMessageConverter.java:102)rn at org.springframework.http.converter.Resou<em>rc</em>eHttpMessageConverter.writeInternal(Resou<em>rc</em>eHttpMessageConverter.java:45)rn java.<em>io</em>.IOExcept<em>io</em>n: APR error: -730053rn at org.springframework.http.converter.AbstractHttpMessageConverter.write(AbstractHttpMessageConverter.java:226)rn at org.springframework.web.servlet.resou<em>rc</em>e.Resou<em>rc</em>eHttpRequestHandler.handleRequest(Resou<em>rc</em>eHttpRequestHandler.java:480)rn at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:51)rn at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)rn at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)rn at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)rn at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)rn at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)rn at org.apache.catalina.core.Applicat<em>io</em>nFilterChain.internalDoFilter(Applicat<em>io</em>nFilterChain.java:291)rn at org.apache.catalina.core.Applicat<em>io</em>nFilterChain.doFilter(Applicat<em>io</em>nFilterChain.java:206)rn at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)rn at org.apache.catalina.core.Applicat<em>io</em>nFilterChain.internalDoFilter(Applicat<em>io</em>nFilterChain.java:239)rn at org.apache.catalina.core.Applicat<em>io</em>nFilterChain.doFilter(Applicat<em>io</em>nFilterChain.java:206)rn at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)rn at org.apache.catalina.core.Applicat<em>io</em>nFilterChain.internalDoFilter(Applicat<em>io</em>nFilterChain.java:239)rn at org.apache.catalina.core.Applicat<em>io</em>nFilterChain.doFilter(Applicat<em>io</em>nFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)rn at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)rn at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)rn at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)rn at org.apache.coyote.AbstractProtocol$AbstractConnect<em>io</em>nHandler.process(AbstractProtocol.java:668)rn at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2463)rn at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2452)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)rn at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)rn at java.lang.Thread.run(Thread.java:748)rnrn```
A CTLIB operation failed during an RPC.这是什么错误?
在执行存储过程时报这个错误,我在存储过程中使用了代理表。rn是什么问题呢?
apache服务器启动出错 the requested operation has failed
操作系统XP,昨天安装好的apache服务器,运行没有问题,今天安装了一个阿里旺旺,结果重启机器之后服务器就不能启动了 rn日志文件信息 rn[Fri May 30 22:34:39 2008] [notice] Apache/2.2.8 (Win32) configured -- resuming normal operat<em>io</em>ns rn[Fri May 30 22:34:39 2008] [notice] Server built: Jan 18 2008 00:37:19 rn[Fri May 30 22:34:39 2008] [notice] Parent: Created child process 436 rn[Fri May 30 22:34:39 2008] [notice] Child 436: Child process is running rn[Fri May 30 22:34:39 2008] [crit] (OS 10022)提供了一个无效的参数。 : Child 436: setup_inherited_listeners(), WSASocket <em>failed</em> to open the inherited socket. rn[Fri May 30 22:34:39 2008] [crit] Parent: child process exited with status 3 -- Aborting. rn在网上搜了一下,找到解决的方法大致是以下的方式 rn1.网上邻居->本地连接->属性->internet协议(TCP/IP)->属性->高级->wins标签->去掉启用LMhosts查询前的勾. rn2.控制面版->windows防火墙->高级标签->本地连接设置->服务的标签里勾选安全Web服务器(HTTPS)即可 rn但对于我的机器却不适合,按照上面说的也不能解决。我觉得好像和我机器安装的软件有关。 rn希望高手能够帮助解决,这个问题已经困扰我2天了 ,我的另一个电脑和办公电脑都有类似的问题,解决不了,求助高手能帮助解决rn补充一下,监听端口应该没有冲突,不是端口冲突的问题
Load operation failed for query "GetUser". 远程服务器返回了错误: NotFound
我使用VS2010 新建一个 Silverlight Business Applicat<em>io</em>n ,不做任何更改。rn调试正常,发布到IIS里也正常浏览。rnrn我使用html页面直接打开时,报错:rnLoad operat<em>io</em>n <em>failed</em> for query "GetUser". 远程服务器返回了错误: NotFoundrnrn请问报错的原因是什么,在哪里修改?rn我希望能用html页面直接打开这个XAP包,不报错。谢谢
Win7下 apache+php 配置后无法启动,提示“the requested operation has failed
win7下搭建apache+php,启动apache出现“the requested operat<em>io</em>n has <em>failed</em>!”的提示框,求大师指点!!rnrn过程如下:rnWin7下,先安装apache(版本:httpd-2.2.25-win32-x86-no_ssl.msi),安装路径:“E:\WAPM\Apache2.2”;apache安装后自动启动;rnrn然后安装php(版本:php-5.2.17-Win32-VC6-Thread-safe-x86.msi),安装目录“E:\WAPM\PHP,”安装过程中询问apache配置文件路径,设置路径为“E:\WAPM\Apache2.2”;php安装过程中自动把apache的hpptd.conf配置文件最后添加了如下内容:rn#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALLrnLoadModule php5_module “php5apache2_2.dll”rnPHPIniDir “”rnAddType applicat<em>io</em>n/x-httpd-php .phprn#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALLrn;rnrn这时再重启apache就出现了“the requested operat<em>io</em>n has <em>failed</em>!”的提示框;rn经过实验主要是这两条语句导致apahce无法启动的rnLoadModule php5_module “php5apache2_2.dll”rnPHPIniDir “”rn如果把它俩注释掉apache就能启动了;rnrn实验把上述语句手动改为:rnLoadModule php5_module "E:/WAPM/PHP/php5apache2_2.dll"rnPHPIniDir "E:/WAPM/PHP"rn问题依然;rnrn上网搜了各种方法,试了“/”和“\”各种样式;试了不同的apache版本,php不同版本,仍未得其解;搞了两个晚上了,郁闷中!!!
刚安装的 apache 无法启动,提示错误:the requested operation has failed!
我用的是vista系统
ORA-27300: OS system dependent operation:CreateThread failed with status: 1455
oracle 12c隔几天就会自动关闭,但是服务还是在的。rnlog如下:rnrnrn Errors in file D:\ORACLE\diag\rdbms\o<em>rc</em>l\o<em>rc</em>l\trace\o<em>rc</em>l_psp0_3588.t<em>rc</em>:rnORA-27300: OS system dependent operat<em>io</em>n:CreateThread <em>failed</em> with status: 1455rnORA-27301: OS failure message: 页面文件太小,无法完成操作。rnORA-27302: failure occurred at: ssthrddcrrn rnrnrn Process m001 died, see its trace filern rnrnrntrace文件:rnrnTrace file D:\ORACLE\diag\rdbms\o<em>rc</em>l\o<em>rc</em>l\trace\o<em>rc</em>l_psp0_3588.t<em>rc</em>rnOracle Database 12c Enterprise Edit<em>io</em>n Release 12.1.0.1.0 - 64bit Product<em>io</em>nrnWith the Partit<em>io</em>ning, OLAP, Advanced Analytics and Real Applicat<em>io</em>n Testing opt<em>io</em>nsrnWindows NT Vers<em>io</em>n V6.1 Service Pack 1 rnCPU : 24 - type 8664, 12 Physical CoresrnProcess Affinity : 0x0x0000000000000000rnMemory (Avail/Total): Ph:978M/8146M, Ph+PgF:5M/32583M rnInstance name: o<em>rc</em>lrnRedo thread mounted by this instance: 1rnOracle process number: 3rnWindows thread id: 3588, image: ORACLE.EXE (PSP0)rnrnrn*** 2016-05-16 04:43:47.129rn*** SESSION ID:(61.1) 2016-05-16 04:43:47.129rn*** CLIENT ID:() 2016-05-16 04:43:47.129rn*** SERVICE NAME:(SYS$BACKGROUND) 2016-05-16 04:43:47.129rn*** MODULE NAME:() 2016-05-16 04:43:47.129rn*** ACTION NAME:() 2016-05-16 04:43:47.129rn rnProcess startup <em>failed</em>, error stack:rnORA-27300: OS system dependent operat<em>io</em>n:CreateThread <em>failed</em> with status: 1455rnORA-27301: OS failure message: 页面文件太小,无法完成操作。rnORA-27302: failure occurred at: ssthrddcrrnrn这是内存太小的原因造成的么????求高人。。rn
我一运行APACHE,就提示:the requested operation has failed
我一运行APACHE,就提示:the requested operat<em>io</em>n has <em>failed</em>rnrn开始的时候是没有的rnrn但在我改了CONF/下的httpd文件后就从起下服务器就出这个提示了rnrn改完之后并没有这样,改完之后什么都正常。服务器还运行呢。可是一从起服务器就这样了rnrn我想知道我是改哪里改错了才出现的这个问题,因为我改了好多地方都没这样。rnrn我也不记得我都改哪了。
报错:Apache提示 the requested operation has failed无法启动问题(最全!)
一. 是80端口被其他程序或者服务给占用了;解决办法:在命令行使用netstat -aon|findstr &quot;80&quot;     这个命令就可以查看到使用80这个端口的程序了。然后我就看到了一些使用80端口的进程PID,通过tastlist /FI &quot;PID eq ***&quot; (***表示PID)就可以看到是哪些程序在使用了(或者直接通过任务管理器-&amp;gt;进程-&amp;gt;查看-&amp;gt;选择列,把PID勾...
java网络通信.socket http下载
java网络通信 socket http 相关下载链接:[url=//download.csdn.net/download/hihi321/3973962?utm_source=bbsseo]//download.csdn.net/download/hihi321/3973962?utm_source=bbsseo[/url]
sqlite3.exe下载
sqlite3.exe查看各类型DB啊实打实的 相关下载链接:[url=//download.csdn.net/download/u011095143/5593817?utm_source=bbsseo]//download.csdn.net/download/u011095143/5593817?utm_source=bbsseo[/url]
dbvis_windows-x64_9_1_8下载
通过JDBC使能与许多不同的资料库的同时连接,点击浏览资料库结构,可以观看资料库对象的详细的特征,图解编辑资料,图解执行任意SQL或SQL剧本。 相关下载链接:[url=//download.csdn.net/download/baidu_15143273/7311831?utm_source=bbsseo]//download.csdn.net/download/baidu_15143273/7311831?utm_source=bbsseo[/url]
相关热词 c#检测非法字符 c#双屏截图 c#中怎么关闭线程 c# 显示服务器上的图片 api嵌入窗口 c# c# 控制网页 c# encrypt c#微信网页版登录 c# login 居中 c# 考试软件
我们是很有底线的