Could not create ADO.NET connection for transaction c#程序运行一段时间报错 [问题点数:150分]

Bbs1
本版专家分:0
结帖率 0%
Bbs1
本版专家分:0
Bbs9
本版专家分:56451
版主
Blank
黄花 2017年11月 .NET技术大版内专家分月排行榜第二
2017年10月 .NET技术大版内专家分月排行榜第二
Blank
蓝花 2019年8月 .NET技术大版内专家分月排行榜第三
2019年6月 .NET技术大版内专家分月排行榜第三
2018年8月 .NET技术大版内专家分月排行榜第三
2018年6月 .NET技术大版内专家分月排行榜第三
2018年3月 .NET技术大版内专家分月排行榜第三
2017年12月 .NET技术大版内专家分月排行榜第三
2017年9月 .NET技术大版内专家分月排行榜第三
Bbs9
本版专家分:56451
版主
Blank
黄花 2017年11月 .NET技术大版内专家分月排行榜第二
2017年10月 .NET技术大版内专家分月排行榜第二
Blank
蓝花 2019年8月 .NET技术大版内专家分月排行榜第三
2019年6月 .NET技术大版内专家分月排行榜第三
2018年8月 .NET技术大版内专家分月排行榜第三
2018年6月 .NET技术大版内专家分月排行榜第三
2018年3月 .NET技术大版内专家分月排行榜第三
2017年12月 .NET技术大版内专家分月排行榜第三
2017年9月 .NET技术大版内专家分月排行榜第三
Bbs1
本版专家分:0
Bbs1
本版专家分:0
Bbs7
本版专家分:18731
Blank
黄花 2018年12月 .NET技术大版内专家分月排行榜第二
Blank
蓝花 2018年7月 .NET技术大版内专家分月排行榜第三
Bbs1
本版专家分:0
Asp.net下发布Webservice报错Could not create type
win7 IIS 7.5 vs2010 asp.net4.0下rn rn发布Webservice时,我在VS2010里发布网站的路径是D:\Project\WebServices\PrecompiledWeb\QueryWebSite,在实际IIS中配置网站是,我设置的物理路径是D:\Project\WebServices\PrecompiledWeb,结果QueryWebSite下的资源都不能访问了,其中在访问Service.asmx是<em>报错</em>如下:rn rnServer Error in '/' Application.rn rn--------------------------------------------------------------------------------rnrnrnParser Error rnrnDescription: rnAn error occurred during the parsing of a resource required to service this rnrequest. Please review the following specific parse error details and modify rnyour source file appropriately. rnrnrnrnParser Error Message: <em>Could</em> not rn<em>create</em> type 'Service'.rnrnSource Error:rnrnrnrn rnrnrnrnrnrnrnrnrnrnrnrnLine 1: rnrnrnSource File: rn/QueryWebSite/Service.asmx Line: 1 rnrnrnrnrnrnrn--------------------------------------------------------------------------------rnrnVersion Information: Microsoft .<em>NET</em> Framework Version:4.0.30319; ASP.<em>NET</em> rnVersion:4.0.30319.225
Transaction 与Connection,DataAdapter
1.rn请问<em>connection</em>的状态(open/close)与BeginTransaction有无关系,即:rnthis.conn.open(); //是否在开始事务前打开<em>connection</em>?rnSqlTransaction trns=this.conn.BeginTransaction();rnthis.conn.close(); //<em>connection</em>关闭后事务是否仍起作用?rnrn2.rnDataAdapter 如何使用事务?在执行update前分别为dataadapter的<em>connection</em>,insertcommand,updatecommand 启用/定义事务吗?rnrn谢谢!
tomcat启动一段时间,运行程序出错,Could not roll back JPA transaction
程序放在tomcat,启动tomcat,运行没问题,但是过<em>一段时间</em>,再运行这个程序,就<em>报错</em>了。rn异常:org.springframework.<em>transaction</em>.TransactionSystemException: <em>Could</em> not roll backrnJPA <em>transaction</em>; nested exception is javax.persistence.PersistenceException: unernxpected error when rollbackingrnrnrn框架:struts2+jpa+spring2.5rnrn在网上查资料,说连接mysql会出现这样的情况,我连的informix,我想是不是和mysql有同样的错误。rnrn以为是连接池小了,改了连接池,还是一样<em>报错</em>。rnrn下面我贴一下我的配置文件:rnrnapplicationContext.xmlrn[code=XML]rnrnrn rn rnrn rn rnrnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn[/code]rnrnrnrnpersistence.xmlrnrn[code=XML]rnrnrn rn rn org.hibernate.ejb.HibernatePersistencern rn rn rn rn rn rn rn rn rn rnrn rn rnrn rn rnrn rn rnrn rn rnrn rn rn rn rn rnrnrnrn[/code]rnrnrn请各位帮我看一下,是哪里的问题。
Could not configure JDBC connection for transaction; nested exception is java.sq
系统以前还是好的,但是现在连登录也登录不了,一直如下错误..rn应用服务器是JBoss: 系统是linux 的:rnrnorg.apache.jasper.JasperException: <em>Could</em> not configure JDBC <em>connection</em> for <em>transaction</em>; nested exception is java.sql.SQLException: Io 异常: Broken pipern org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:370)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:810)rn venus.frames.web.SetEncodingFilter.doFilter(SetEncodingFilter.java:33)rn org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)rnrnrnroot cause rnrnorg.springframework.<em>transaction</em>.CannotCreateTransactionException: <em>Could</em> not configure JDBC <em>connection</em> for <em>transaction</em>; nested exception is java.sql.SQLException: Io 异常: Broken pipern org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:183)rn org.springframework.<em>transaction</em>.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:269)rn org.springframework.<em>transaction</em>.interceptor.TransactionAspectSupport.<em>create</em>TransactionIfNecessary(TransactionAspectSupport.java:200)rn org.springframework.<em>transaction</em>.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:49)rn org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138)rn org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152)rn $Proxy87.queryByCondition(Unknown Source)rn org.apache.jsp.jsp.funcTrees_jsp._jspService(org.apache.jsp.jsp.funcTrees_jsp:127)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:810)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:810)rn venus.frames.web.SetEncodingFilter.doFilter(SetEncodingFilter.java:33)rn org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)rn
transaction could not be create due to..."">错误提示"A new transaction could not be create due to..."
提交数据时,有时会出现这样的错误提示:"A new <em>transaction</em> could not be <em>create</em> due to a unspecified capacity issue",有时没有。
java项目连接数据库报错create connection SQLException
2018-05-02 22:13:47.19 | <em>create</em> <em>connection</em> SQLException, rnurl: jdbc:mysql://XXXXXXXXX?serverTimezone=Hongkong&useUnicode=true&characterEncoding=utf8&useSSL=false&autoReconnect=true&useServerPrepStmts=true, errorCode 0, state 08001rnrnjava.sql.SQLNonTransientConnectionException: <em>Could</em> not <em>create</em> <em>connection</em> to database server. Attempted reconnect 3 times. Giving up.rn at com.mysql.cj.jdbc.exceptions.SQLError.<em>create</em>SQLException(SQLError.java:108)rn at com.mysql.cj.jdbc.exceptions.SQLError.<em>create</em>SQLException(SQLError.java:95)rn at com.mysql.cj.jdbc.exceptions.SQLError.<em>create</em>SQLException(SQLError.java:87)rn at com.mysql.cj.jdbc.exceptions.SQLError.<em>create</em>SQLException(SQLError.java:61)rn at com.mysql.cj.jdbc.exceptions.SQLError.<em>create</em>SQLException(SQLError.java:71)rn at com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:932)rn at com.mysql.cj.jdbc.ConnectionImpl.<em>create</em>NewIO(ConnectionImpl.java:857)rn at com.mysql.cj.jdbc.ConnectionImpl.(ConnectionImpl.java:444)rn at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:230)rn at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:226)rn at com.alibaba.druid.filter.FilterChainImpl.<em>connection</em>_connect(FilterChainImpl.java:149)rn at com.alibaba.druid.filter.stat.StatFilter.<em>connection</em>_connect(StatFilter.java:218)rn at com.alibaba.druid.filter.FilterChainImpl.<em>connection</em>_connect(FilterChainImpl.java:143)rn at com.alibaba.druid.pool.DruidAbstractDataSource.<em>create</em>PhysicalConnection(DruidAbstractDataSource.java:1515)rn at com.alibaba.druid.pool.DruidAbstractDataSource.<em>create</em>PhysicalConnection(DruidAbstractDataSource.java:1578)rn at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2466)rnCaused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failurernrnThe last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.rn at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)rn at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)rn at java.lang.reflect.Constructor.newInstance(Unknown Source)rn at com.mysql.cj.exceptions.ExceptionFactory.<em>create</em>Exception(ExceptionFactory.java:59)rn at com.mysql.cj.exceptions.ExceptionFactory.<em>create</em>Exception(ExceptionFactory.java:103)rn at com.mysql.cj.exceptions.ExceptionFactory.<em>create</em>Exception(ExceptionFactory.java:149)rn at com.mysql.cj.exceptions.ExceptionFactory.<em>create</em>CommunicationsException(ExceptionFactory.java:165)rn at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:92)rn at com.mysql.cj.NativeSession.connect(NativeSession.java:152)rn at com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:876)rn ... 10 morernCaused by: java.net.SocketException: No buffer space available (maximum <em>connection</em>s reached?): connectrn at java.net.DualStackPlainSocketImpl.connect0(Native Method)rn at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)rn at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)rn at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)rn at java.net.AbstractPlainSocketImpl.connect(Unknown Source)rn at java.net.PlainSocketImpl.connect(Unknown Source)rn at java.net.SocksSocketImpl.connect(Unknown Source)rn at java.net.Socket.connect(Unknown Source)rn at com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:173)rn at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:66)rn ... 12 morernrn大家帮忙看下,项目放在服务器上,启动tomcat后启不起来,谢谢大家!
程序运行很长一段时间报错 Runtime error!
程序长时间运行,rn<em>报错</em>:rnRuntime error!rnAbnormal program termination!rnrn不知道是什么原因,如何查起并修正?rn
connot create new connection because in manual or distributed transaction mode. 为什么?
事务处理时会出现这个错误,去掉事务处理,就可以了。rn
数据库事务(Database Transaction)的ADO.NET(C#/VB)实现
数据库事务(Database Transaction)的<em>ADO</em>.<em>NET</em>(C#/VB)实现 数据库事务(Database Transaction),是指作为单个逻辑工作单元执行的一系列操作,要么完全地执行,要么完全地不执行。 那么,数据库事务在什么场景使用呢? 举个栗子 设想网上购物的一次交易,其付款过程至少包含以下几个步骤: 1.更新客户所购商品的库存信息。 2.保存客户付款信息-可能包括与付款系...
C#视频通信程序运行一段时间报错:AccessViolationException was unhandled by user code
C#视频通信<em>程序运行</em><em>一段时间</em>后<em>报错</em>:AccessViolationException was unhandled by user code:rnAttempted to read or write protected memory. This is often an indication that other memory is corrupt.rnrn程序代码如下:rn[code=csharp]rn MemoryStream ms = new MemoryStream();rn Bitmap b;rnrnprivate void OnCaptureDone()rn rn lock (locker)rn rn Trace.WriteLine("!!DLG: OnCaptureDone");rn tryrn rn int hr;rn if (sampGrabber == null)rn return;rn hr = sampGrabber.SetCallback(null, 0);rnrn int w = videoInfoHeader.BmiHeader.Width;rn int h = videoInfoHeader.BmiHeader.Height;rn if (((w & 0x03) != 0) || (w < 32) || (w > 4096) || (h < 32) || (h > 4096))rn return;rn int stride = w * 3;rnrn GCHandle handle = GCHandle.Alloc(savedArray, GCHandleType.Pinned);rn int scan0 = (int)handle.AddrOfPinnedObject();rn scan0 += (h - 1) * stride;rn b = new Bitmap(w, h, -stride, PixelFormat.Format24bppRgb, (IntPtr)scan0);rn rn savedArray = null;rn Image old = m_capImg;rn m_capImg = b;rnrn //发送视频消息 rn ms = new MemoryStream();rn b.Save(ms, ImageFormat.Jpeg);rn rn byte[] byVideoMsg = ms.ToArray();rn b = null;rn //ms = null;rn DataSend(byVideoMsg, Message.MsgType.Video);rn handle.Free();rn byVideoMsg = null;rn if (old != null)rn old.Dispose();rn rn rn catch (Exception e)rn rn //MessageBox.Show(ee.Message.ToString());rn MessageBox.Show(this, "不能捕获图片!\r\n" + e.Message, "DirectShow.<em>NET</em>", MessageBoxButtons.OK, MessageBoxIcon.Stop);rn rn rn rn [/code]rnrn通过观察<em>报错</em>详细,具体为:rn[img=https://img-bbs.csdn.net/upload/201505/24/1432469998_431662.png][/img]rnrn[img=https://img-bbs.csdn.net/upload/201505/24/1432470032_855741.png][/img]rn也就是说是在b.Save(ms, ImageFormat.Jpeg);处报的错,可是我不明白为什么会在此<em>报错</em>,而且为什么程序刚开始能够正常运行,运行<em>一段时间</em>后会出错???rnrn恳请大牛指点!!!谢谢!!!
Could not obtain connection metadata
启动Tomcat报如下错误,请教各位大神给我解决方法:rn WARN SettingsFactory:109 - <em>Could</em> not obtain <em>connection</em> metadatarnjava.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)rn at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2975)rn at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:798)rn at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3700)rn at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1203)rn at com.mysql.jdbc.Connection.<em>create</em>NewIO(Connection.java:2568)rn at com.mysql.jdbc.Connection.(Connection.java:1485)rn at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)rn at java.sql.DriverManager.getConnection(Unknown Source)rn at java.sql.DriverManager.getConnection(Unknown Source)rn at org.hibernate.<em>connection</em>.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:110)rn at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:76)rn at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1933)rn at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1216)
could not create spatial index??!!
我用easyloader上传表到oracle,<em>报错</em>啊.救命!!!rnrnrn这边不能贴图啊??
咨询一个关于数据库链接的问题。Could not create connection to database server
问题描述:rnrn一个 spring+mybatis 的web 工程, 使用 druid 做数据库链接池。 rnrn<em>程序运行</em>一段世界之后<em>报错</em>:rn[code=java]<em>Could</em> not <em>create</em> <em>connection</em> to database server[/code]rn时间点[color=#FF0000]无迹可寻[/color]rn如下:rn[code=csharp]rn[2017/07/07 17:15:17.842][INFO][FileCreator:54] 业务日志rn[2017/07/09 13:36:58.608][INFO][XmlBeanDefinitionReader:317] Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml]rn[2017/07/09 13:36:58.655][INFO][SQLErrorCodesFactory:126] SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase, Hana]rn[/code]rnrn[color=#FF0000][b]<em>报错</em>的内容为:[/b][/color]rn[code=java]rn### Cause: java.sql.SQLException: <em>Could</em> not retrieve transation read-only status serverrn; SQL []; <em>Could</em> not retrieve transation read-only status server; nested exception is java.sql.SQLException: <em>Could</em> not retrieve transation read-only status sernrver.rnorg.springframework.dao.TransientDataAccessResourceException:rn### Error querying database. Cause: java.sql.SQLException: <em>Could</em> not retrieve transation read-only status serverrn[/code]rnrn而我执行的语句是一个[color=#FF0000]查询语句[/color]。rnrn我的数据库版本为:rn[code=sql]rnmysql> select version();rn+------------+rn| version() |rn+------------+rn| 5.6.16-log |rn+------------+rn[/code]rnrnjdk: 1.8rntomcat8rnmysql-connector-java: 5.1.28, 符合 oracle的官方推荐。rn数据库隔离级别:RRrnrn不知道有人遇见过这个问题没有rnrnrnrnrnrn
Weblogic10.3用一段时间后出现could not get jdbc connection
给单位安装weblogic10.3,操作系统是winserver2003,weblogic10.3使用的产品模式,现在客户端连接数也不多,就10多个,用一段后就会出现 cound not get jdbc <em>connection</em>:nested exception is weblogic.jdbc.extensions.poolLimitSQLException:rnweblogic.common.resourcePool.resourcelinitException:No resources currently available in pool rnjdbc/name to allocate to applications,please increase the size of the pool and retry
eclipse jdbc连接数据库 Could not create connection to database server. Attempted reco
首先写上我的url="jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&failOverReadOnly=false"rn实在不知道怎么改了rncom.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: <em>Could</em> not <em>create</em> <em>connection</em> to database server. Attempted reconnect 3 times. Giving up.rn at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)rn at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)rn at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)rn at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)rn at com.mysql.jdbc.Util.handleNewInstance(Util.java:404)rn at com.mysql.jdbc.Util.getInstance(Util.java:387)rn at com.mysql.jdbc.SQLError.<em>create</em>SQLException(SQLError.java:917)rn at com.mysql.jdbc.SQLError.<em>create</em>SQLException(SQLError.java:896)rn at com.mysql.jdbc.SQLError.<em>create</em>SQLException(SQLError.java:885)rn at com.mysql.jdbc.SQLError.<em>create</em>SQLException(SQLError.java:860)rn at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2163)rn at com.mysql.jdbc.ConnectionImpl.<em>create</em>NewIO(ConnectionImpl.java:2088)rn at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:806)rn at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:47)rn at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)rn at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)rn at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)rn at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:488)rn at com.mysql.jdbc.Util.handleNewInstance(Util.java:404)rn at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:410)rn at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:328)rn at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:678)rn at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:229)rn at mysql209.mysql209.main(mysql209.java:17)rnCaused by: java.lang.NullPointerExceptionrn at com.mysql.jdbc.ConnectionImpl.getServerCharset(ConnectionImpl.java:2997)rn at com.mysql.jdbc.MysqlIO.sendConnectionAttributes(MysqlIO.java:1936)rn at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1865)rn at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1228)rn at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2253)rn at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2104)rn ... 13 morern
could not create JVM
Unable to initialize threads: cannot find class java/lang/Threadrncould not <em>create</em> JVMrn可能的原因有几种?
Could not create output file ~~~~~~~
为什么我一运行出错就出现以下错误:rn[Fatal Error] <em>Could</em> not <em>create</em> output file 'F:\KIDD\DELPHI\我的程序\jsj02238\jsj02238\Project1.exe'
Could not create output file
谁知道这个怎么解决吗?<em>Could</em> not <em>create</em> output file 不能建立输出文件,知道的话能说一下吗?谢谢。
Could not open Hibernate Session for transaction
各位大侠:rn 小弟用的是服务器weblogic,数据库oracle。现在碰到的问题是如果20个用户并发就OK.但是如果50个服务器就会<em>报错</em>,<em>报错</em>信息如下:rn rn
Could not open JPA EntityManager for transaction
JAVA web项目定时执行程序的时候报的错,框架是spring+hibernate JPA rn2015-01-29 00:20:21,385 - org.springframework.<em>transaction</em>.CannotCreateTransactionException: <em>Could</em> not open JPA EntityManager for <em>transaction</em>; nested exception is javax.persistence.PersistenceException: org.hibernate.TransactionException: JDBC begin failed: rn 2015-01-29 00:20:21,385 - <em>Could</em> not open JPA EntityManager for <em>transaction</em>; nested exception is javax.persistence.PersistenceException: org.hibernate.TransactionException: JDBC begin failed: rnrn数据源配置在tomcat server.xml下rnrnrn rnrn rnrn问题出现多时了,定时执行都是一个可以执行,隔一个程序定时<em>报错</em>,隔一个又可以执行rnrn求大神指点!!!!!rnrn
could not access status of transaction XXX
1.postgres 9.1环境rn2.数据库之前报missing chunk number x for toast value x in pg_toast_x,后来查询是pg_statistics,rn3.在reindex table pg_statistic时候,提示could not access status of <em>transaction</em> XXX,could not open file "pg_subtrans/001C",no such fle or directory.rn该目录下无这个文件。rn请问这个怎么解决,谢谢!
Could not roll back Hibernate transaction
两个模块,一个用户添加,一个供应商添加rn用户和供应商都是用同一个类,就是一个字段区别,rn用户添加时没问题,供应商添加就老是<em>报错</em>,,,不仅仅save,update也<em>报错</em>,delete确没错。。。
Could not open Hibernate Session for transaction????
本人用的是环境是Spring+Hibernate+Struts,后台是SQL Server 2000.rn原来后台用的是Mysql,调试正常,后来想移植到SQL Server 2000中,仅把数据库连接相关配置文件修改了,但出错,提示:rn[color=#FF0000]其他异常:<em>Could</em> not open Hibernate Session for <em>transaction</em>; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open <em>connection</em> [/color]rnrn配置文件主要内容如下:rnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrn rn rn rn rn rn AuctionUser.hbm.xmlrn Bid.hbm.xmlrn Item.hbm.xmlrn Kind.hbm.xmlrn State.hbm.xmlrn rn rn rn rn org.hibernate.dialect.SQLServerDialectrn truern updatern 20 rn true rn rn rn rnrn rn rn rnrnrn rn rn rn rn rn rn PROPAGATION_REQUIRED,readOnlyrn PROPAGATION_REQUIREDrn rn rn rnrnrn请多多指教!!
ADO.Net 中 Connection的管理
在开发一个web应用工程时,对于Connection 的使用,我一直在疑问。关于它应该在什么时候创建,什么时候使用,什么时候释放,应该在一个什么样的模式下对它管理。关于这些,我专门找了些关于<em>ADO</em>.Net的书籍进行翻阅。但是,没有找到一个关于它的具体阐述。rn希望一些.Net开发高手,能够不吝赐教。可以在这讨论。rn先谢谢了。
ADO.NET架构、Connection对象
ASP.<em>NET</em>重要部分,<em>ADO</em>.<em>NET</em>,学习ASP.<em>NET</em>必学
ado.net Connection连接对象
ado.net Connection连接对象 pdf
C# WinForm程序运行一段时间后自动关闭
问题: C# 做的一个不断收发数据的socket通讯软件, 放到服务器上24小时运行, 运行<em>一段时间</em>后,就自动关闭了【持续运行时间30min-2小时不等】,这是什么情况?rnrnrn分析:rn1 程序应该没错:在所有方法上都加了 try-catch ,在catch处 加断点 ,程序不进断点,直接关闭。rnrn2 占用资源不是太大:CPU 1%-4% ,内存 1394M/4943M。rnrn3 端口6800: 是不是一直发送数据, 被杀软给kill掉了。正在测试!rnrn4 其他可能导致的原因、解决方案请大家提供下。
C# WinForm程序运行一段时间会奔溃
程序在运行<em>一段时间</em>后会奔溃 rn应用程序日志中记录的错误是rn.<em>NET</em> Runtime 4.0 Error Reportingrnrn以下是详细信息rnFaulting application ***.exe, version 1.0.0.0, stamp 50090a76, rnfaulting module gdiplus.dll, version 5.2.6002.22791, stamp 4f33e9a6, rndebug? 0, fault address 0x0001de16. rnrn程序中已添加了捕捉全局异常的函数,但未捕捉到此异常。高手路过指点下啦。。。rn
wcf程序运行一段时间停止工作
[color=#FF0000]wcf程序停止工作[/color]:[img=https://img-bbs.csdn.net/upload/201401/03/1388717857_122887.jpg][/img][img=https://img-bbs.csdn.net/upload/201401/03/1388717864_964804.jpg][/img]rnrnrn[color=#FF0000]应用程序错误信息:[/color][code=csharp]应用程序: Deepleo.IDC.Client.exernFramework 版本: v4.0.30319rn说明: 由于未经处理的异常,进程终止。rn异常信息: System.ArgumentExceptionrn堆栈:rn 在 System.IO.BinaryReader..ctor(System.IO.Stream, System.Text.Encoding)rn 在 System.Runtime.Serialization.Formatters.Binary.__BinaryParser..ctor(System.IO.Stream, System.Runtime.Serialization.Formatters.Binary.ObjectReader)rn 在 System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(System.IO.Stream, System.Runtime.Remoting.Messaging.HeaderHandler, Boolean, Boolean, System.Runtime.Remoting.Messaging.IMethodCallMessage)rn 在 System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(System.IO.Stream)rn 在 Deepleo.IDC.Client.OfflineAuthorization.Read()rn 在 Deepleo.IDC.Client.GlobalSettings.Verify()rn 在 System.Threading.ThreadHelper.ThreadStart_Context(System.Object)rn 在 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)rn 在 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)rn 在 System.Threading.ThreadHelper.ThreadStart()rn[/code]rnrn[code=csharp]日志名称: Applicationrn来源: Application Errorrn日期: 2014/1/2 18:30:21rn事件 ID: 1000rn任务类别: (100)rn级别: 错误rn关键字: 经典rn用户: 暂缺rn计算机: webiste-PCrn描述:rn错误应用程序名称: Deepleo.IDC.Client.exe,版本: 1.0.0.0,时间戳: 0x52c5312arn错误模块名称: KERNELBASE.dll,版本: 6.1.7601.18229,时间戳: 0x51fb1116rn异常代码: 0xe0434352rn错误偏移量: 0x0000c41frn错误进程 ID: 0x107f4rn错误应用程序启动时间: 0x01cf07a494291835rn错误应用程序路径: C:\Program Files (x86)\深圳鼎峰科技有限公司\深圳鼎峰Idc信息管理系统\Deepleo.IDC.Client.exern错误模块路径: C:\Windows\syswow64\KERNELBASE.dllrn报告 ID: e15863cc-7398-11e3-94bd-08606e19d1f6rn事件 Xml:rnrn rn rn 1000rn 2rn 100rn 0x80000000000000rn rn 58180rn Applicationrn webiste-PCrn rn rn rn Deepleo.IDC.Client.exern 1.0.0.0rn 52c5312arn KERNELBASE.dllrn 6.1.7601.18229rn 51fb1116rn e0434352rn 0000c41frn 107f4rn 01cf07a494291835rn C:\Program Files (x86)\深圳鼎峰科技有限公司\深圳鼎峰Idc信息管理系统\Deepleo.IDC.Client.exern C:\Windows\syswow64\KERNELBASE.dllrn e15863cc-7398-11e3-94bd-08606e19d1f6rn rnrn[/code]
程序运行一段时间就挂
webbrower做的一个自动网站访问.多标签的.运行<em>一段时间</em>.自己就自己关闭.rnrn应用程序日志有这样的提示:rnrn来源:.<em>NET</em> Runtime 2.0rnrnFaulting application bsb.exe, version 1.0.3028.26509, stamp 4805a01a, faulting module kernel32.dll, version 5.2.3790.3959, stamp 45d72003, debug? 0, fault address 0x0000bee7.rnrn请问遇到这样的问题要怎么办?
程序运行一段时间后会卡死
在Wince上编了一个软件,功能很简单,保存修改数据到Xml,反应下位机数据到屏上,传递上位机数据给下位机!rn现在<em>程序运行</em><em>一段时间</em>后会卡死,整个屏幕都动不了了,能力有限,找不到原因出哪了?rn程序中应该只有两个线程,一个UI线程(定时器产生的事件应该属于UI线程的吧?),一个有串口中断产生的线程,希望大家能够给我点解决思路!
程序运行一段时间出错
大家帮忙看下这个程序http://www.vckbase.com/document/viewdoc/?id=1129rnrn我的程序继承了这个框架 也继承了这个程序的毛病rnrn把这个程序开<em>一段时间</em>也会自动退出 把DrawTest.cpp SetTimer(1,50,NULL);rn改为SetTimer(1,20,NULL);rnrn间隔越小死的越快 rnrn究竟哪有问题 希望各位了解内存问题的高手帮帮我 谢谢 rnrn另外我不能回帖 望斑竹原谅 我不是故意发重复的帖 一得到答案马上结帖rnrn另外再给30分 希望回答的人多点
ADO.Net存储过程transaction的使用事项
public bool InsertInvitation(DataTable dt) { SqlTransaction <em>transaction</em> = null; try { using (SqlConnection conn = new SqlConnection(sql
通过JDBC连接数据库报错Could not create connection to database server的问题原因及其解决办法
在使用JDBC连接MySQL数据库时,四大基本配置参数:  *&amp;gt;driverClassName:com.mysql.jdbc.Driver * &amp;gt;url:jdbc:mysql://localhost:3306/mydb3 * &amp;gt;username:root * &amp;gt;password:12345678  都配置好之后,连接,如果<em>报错</em>:<em>Could</em> not <em>create</em> c...
mysql大批量操作报错Server connection failure during transaction
从数据库大量文本中把单词split出来然后插入数据库,大概执行了一定数量的文本后就会<em>报错</em>,例如我有500个文档,执行到70个时<em>报错</em>,然后我再从第70个文档开始重新执行程序,执行到第130个文档时<em>报错</em>。个人觉得是不是mysql有什么缓存一类的东西,满了就会<em>报错</em>。错误信息如下:rnrncom.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Server <em>connection</em> failure during <em>transaction</em>. Due to underlying exception: 'java.net.ConnectException: Connection refused: connect'.rnrn** BEGIN NESTED EXCEPTION ** rnrnjava.net.ConnectExceptionrnMESSAGE: Connection refused: connectrnrnSTACKTRACE:rnrnjava.net.ConnectException: Connection refused: connectrn at java.net.PlainSocketImpl.socketConnect(Native Method)rn at java.net.PlainSocketImpl.doConnect(Unknown Source)rn at java.net.PlainSocketImpl.connectToAddress(Unknown Source)rn at java.net.PlainSocketImpl.connect(Unknown Source)rn at java.net.SocksSocketImpl.connect(Unknown Source)rn at java.net.Socket.connect(Unknown Source)rn at java.net.Socket.connect(Unknown Source)rn at java.net.Socket.(Unknown Source)rn at java.net.Socket.(Unknown Source)rn at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:168)rn at com.mysql.jdbc.MysqlIO.(MysqlIO.java:262)rn at com.mysql.jdbc.Connection.<em>create</em>NewIO(Connection.java:2075)rn at com.mysql.jdbc.Connection.(Connection.java:716)rn at com.mysql.jdbc.Connection.getInstance(Connection.java:291)rn at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)rn at java.sql.DriverManager.getConnection(Unknown Source)rn at java.sql.DriverManager.getConnection(Unknown Source)rn at sqlConn.MySqlConn(sqlConn.java:16)rn at vocab.ifHasRecord(vocab.java:63)rn at vocab.getHash(vocab.java:36)rn at tt.main(tt.java:10)rnrnrn** END NESTED EXCEPTION **rnrnrnAttempted reconnect 3 times. Giving up.rn at com.mysql.jdbc.SQLError.<em>create</em>SQLException(SQLError.java:981)rn at com.mysql.jdbc.SQLError.<em>create</em>SQLException(SQLError.java:957)rn at com.mysql.jdbc.SQLError.<em>create</em>SQLException(SQLError.java:927)rn at com.mysql.jdbc.Connection.<em>create</em>NewIO(Connection.java:2150)rn at com.mysql.jdbc.Connection.(Connection.java:716)rn at com.mysql.jdbc.Connection.getInstance(Connection.java:291)rn at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)rn at java.sql.DriverManager.getConnection(Unknown Source)rn at java.sql.DriverManager.getConnection(Unknown Source)rn at sqlConn.MySqlConn(sqlConn.java:16)rn at vocab.ifHasRecord(vocab.java:63)rn at vocab.getHash(vocab.java:36)rn at tt.main(tt.java:10)rnException in thread "main" java.lang.NullPointerExceptionrn at vocab.ifHasRecord(vocab.java:65)rn at vocab.getHash(vocab.java:36)rn at tt.main(tt.java:10)rn
程序运行一段时间一段时间后分配不到内存
<em>程序运行</em><em>一段时间</em><em>一段时间</em>后有两个地方分配不到内存,但是程序并没有死掉,其他部分正常,请各位大侠不吝赐教。
The Network Adapter could not establish the connection
作应用服务器tomcat装在windows操作系统上,而数据库装在unix操作系统上,现在用jsp连接数据库时,就出现The Network Adapter could not establish the <em>connection</em>。错误。rn如果将数据库也装在windows操作系统上,就不会出现上述错误。运行正常。rn请教是什么原因?rn谢谢!!!
Create报错!!!
我创建了一个对话框资源,id 为 IDD_SELECTrnrn CDialog* dlg=new CDialog();rn dlg->Create(IDD_SELECT);rn dlg->ShowWindow(SW_SHOW);rnrn之后运行时<em>报错</em>:File: f\rtm\vctools\vc7libs\ship\atlmfc\src\mfc\dlgdata.cpprn Line: 271rnrn 请高手一定要帮忙,在下感激不尽,任命关天啊。
a connection with the server could not be established
a <em>connection</em> with the server could not be establishedrn请高手指教,这个问题可能是什么引起的rnrn我是在使用一套客户端/服务器系统的时候发生的错误,使用的是HTTP协议rnrn我想知道,出现这种情况,是操作系统设置/配置上的问题,还是这套应用程序的问题rnrn如果是操作系统的问题,该如何解决rnrn如果是应用程序的问题,又该怎么找问题
Could not create output file "****.dcu"
如何解决?谢谢。
Could not create the java virtual machine
我用的是JDK1.6 MYECLIPSE6.0 ECLIPSE3.3的版本,但启动MYECLIPE时弹出我机子装的是myeclipse6.0的版本,eclipse3.3 jdk1.6但是装完之后启动myeclipse时弹出<em>Could</em> not <em>create</em> the java virtual machine这样的对话框,不知道是版本不兼容还是配置的问题,请各位高手们多多指教
Could not create object named "scripting.filesystemobject".
<em>Could</em> not <em>create</em> object named "scripting.filesystemobject".rnrnrn这次挂了。slmgr.vbs不能运行了,死了。。。。rn上次,弄FSO不能运行,咋搞的忘了,挂了,挂了。rn知道的救救
could not create the java virtual machine
启动eclipse的时候<em>报错</em>
SSH整合 Could not create JarEntryRevision
WARN FileManager:60 - <em>Could</em> not <em>create</em> JarEntryRevision for [jar:file:/E:/jar/apache-tomcat-6.0.26/apache-tomcat-6.0.26/webapps/Struts2_0400_Path/WEB-INF/lib/struts2-core-2.2.3.jar]!rnjava.io.FileNotFoundException: E: (拒绝访问。)rn at java.util.zip.ZipFile.open(Native Method)rn at java.util.zip.ZipFile.(ZipFile.java:114)rn at java.util.jar.JarFile.(JarFile.java:133)rn at java.util.jar.JarFile.(JarFile.java:97)rn at com.opensymphony.xwork2.util.FileManager$JarEntryRevision.build(FileManager.java:307)rn at com.opensymphony.xwork2.util.FileManager.loadFile(FileManager.java:145)rn at com.opensymphony.xwork2.util.FileManager.loadFile(FileManager.java:105)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:898)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:154)rn at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:121)rn at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:179)rn at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)rn at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:380)rn at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:424)rn at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:69)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)rn at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)rn at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)rn at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:115)rn at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3838)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4488)rn at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1244)rn at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1342)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)rn at java.lang.Thread.run(Thread.java:619)
Could not create output file 'GAMManager.exe'
problem of compilern:(,how to resolvernthanksrn
Could not create type 'WebService'问题,
在本地机上调试没问题,但一上传到空间后就出现这个错误 rnParser Error rnDescription: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. rnrnParser Error Message: <em>Could</em> not <em>create</em> type 'WebService'.rnrnSource Error: rnrnrnLine 1: rnrn rn大家帮我看看是怎么回事
CLI130 Could not create domain, GlassFish_v3
如题,求解决,请各位JAVA高手帮一下,我是用的netbeans出现这样的情况的!
create JVM" 是怎么回事?">"could not create JVM" 是怎么回事?
我在编译时提示"could not <em>create</em> JVM".rn请问这是怎么一回事,应该如何解决?rn这个问题是在编译netmeeting.idl时出现的。rn我用VC编译过netmeeting.idl生成的netmeeting.tlb加入工程时,连接时提示:[Linker Fatal Error] RLINK32: Error opening file "D:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\P2P\<em>NET</em>MEETING.TLB"rn我是在VC的工程里面成功编译,连接过的。rn为什么到了BCB就有问题了?
could not create output file 'dy2.dcu'
兄弟们,我是菜鸟,我今天做个tquery组件连接数据库的时候,出先了以下问题,请你们帮帮忙,小弟万分感谢......rn[fatal error] dy2.pas(170):could not <em>create</em> output file 'dy2.dcu'rnrnrnrnrn我的代码如下:rnunit dy2;rnrninterfacernrnusesrn Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,rn Dialogs, StdCtrls, Buttons, ExtCtrls, DB, DBTables;rnrntypern TForm1 = class(TForm)rn Panel1: TPanel;rn Query1: TQuery;rn GroupBox1: TGroupBox;rn Panel2: TPanel;rn BitBtn2: TBitBtn;rn Label5: TLabel;rn Label6: TLabel;rn Panel3: TPanel;rn Label1: TLabel;rn Label2: TLabel;rn Label3: TLabel;rn Label4: TLabel;rn Edit4: TEdit;rn Edit3: TEdit;rn Edit2: TEdit;rn Edit1: TEdit;rn BitBtn3: TBitBtn;rn BitBtn4: TBitBtn;rn BitBtn5: TBitBtn;rn Query2: TQuery;rn BitBtn1: TBitBtn;rn Database1: TDatabase;rn procedure BitBtn1Click(Sender: TObject);rn procedure BitBtn2Click(Sender: TObject);rn procedure Edit3KeyPress(Sender: TObject; var Key: Char);rn procedure FormCreate(Sender: TObject);rn procedure BitBtn4Click(Sender: TObject);rn procedure BitBtn5Click(Sender: TObject);rn procedure BitBtn3Click(Sender: TObject);rn privatern Private declarations rn publicrn Public declarations rn end;rnrnvarrn Form1: TForm1;rnrnimplementationrnrn$R *.dfmrnrnprocedure TForm1.BitBtn1Click(Sender: TObject);rnbeginrn Close;rnend;rnrnprocedure TForm1.BitBtn2Click(Sender: TObject);rnbeginrn //防止向表中插入nullrn if (Trim(Edit1.Text )= '')thenrn beginrn ShowMessage('学号不能为空');rn Exit;rn end;rn if (Trim(Edit2.Text )= '')thenrn beginrn ShowMessage('姓名不能为空');rn Exit;rn end;rn if (Trim(Edit3.Text )= '')thenrn beginrn ShowMessage('语文成绩不能为空');rn Exit;rn end;rn if (Trim(Edit4.Text )= '')thenrn beginrn ShowMessage('数学不能为空');rn Exit;rn end;rn with Query1 dorn beginrn //插入数据rn Close;rn SQL.Clear;rn SQL.Add('insert cj values (:a,:b,:c,:d)');rn ParambyName('a').AsString := Trim(Edit1.Text);rn ParambyName('b').AsString := Trim(Edit2.Text);rn ParambyName('c').AsInteger := StrToInt(Trim(Edit3.Text));rn ParambyName('d').AsInteger := StrToInt(Trim(Edit4.Text));rn ExecSQL;rn end;rn //清空数据rn Edit1.Clear ;rn Edit2.Clear ;rn Edit3.Clear ;rn Edit4.Clear ;rnend;rnrnprocedure TForm1.Edit3KeyPress(Sender: TObject; var Key: Char);rnvarrn m: BooLean;rnbeginrn //防止输入非法字符rn m := (key #8)and(key < #45)or (key>#46)and(key#57);rn if m thenrn key := #0 ;rnend;rnrnrnprocedure TForm1.FormCreate(Sender: TObject);rnbeginrn with Query2 dorn beginrn Close;rn SQL.Clear;rn SQL.Add('select * from cj');rn Open;rn end;rnend;rnrnprocedure TForm1.BitBtn4Click(Sender: TObject);rnbeginrn if Not Query2.Bof thenrn beginrn Query2.Prior;rn Edit1.Text := Query2.FieldByName('bh').AsString;rn Edit2.Text := Query2.FieldByName('xm').AsString;rn Edit4.Text := IntToStr(Query2.FieldByName('yw').AsInteger);rn Edit3.Text := IntToStr(Query2.FieldByName('sx').AsInteger);rn end;rnend;rnrnprocedure TForm1.BitBtn5Click(Sender: TObject);rnbeginrnif Not Query2.Eof thenrn beginrn Query2.Next;rn Edit1.Text := Query2.FieldByName('bh').AsString;rn Edit2.Text := Query2.FieldByName('xm').AsString;rn Edit4.Text := IntToStr(Query2.FieldByName('yw').AsInteger);rn Edit3.Text := IntToStr(Query2.FieldByName('sx').AsInteger);rn end;rnend;rnrnprocedure TForm1.BitBtn3Click(Sender: TObject);rnbeginrn if Query2.Active = True thenrn if (Trim(Edit1.Text)<>'')and(Trim(Edit2.Text)<>'')and(Trim(Edit3.Text)<>'')andrn (Trim(Edit4.Text)<>'') then rn with Query2 dorn beginrn Tryrn Edit;rn FieldBYName('bh').AsString := Edit1.Text;rn FieldBYName('xm').AsString := Edit2.Text;rn FieldByName('yw').AsInteger := StrToInt(Edit4.Text);rn FieldBYName('sx').AsInteger := StrToInt(Edit3.Text);rn Post;rn Application.MessageBox('修改成功。','提示',0+64);rn Exceptrn Application.MessageBox('系统出错。','提示',0+64);rn Close;rn end;rn end;rnend;rnrnend.rn
Wince 下Transaction 报错问题!
各位大侠!rn 最近我在调试wince 下<em>c#</em>开发的程序中,使用了System.Transaction.dll .rn总是报File or assembly name 'System.Transactions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089', or one of its dependencies, was not found.rn rn发布时也把dll文件拷贝过去了。不知道什么原因。更换了很多版本也不支持。rn有没有大侠遇到过类似的问题!给迷途的我指点一下!不胜感激!
hibernate 出现Could not obtain connection metadata 出现问题报错如下
2007-12-13 20:24:19,733 INFO [org.hibernate.cfg.Environment] - Hibernate 3.2 cr1rn2007-12-13 20:24:19,753 INFO [org.hibernate.cfg.Environment] - hibernate.properties not foundrn2007-12-13 20:24:19,763 INFO [org.hibernate.cfg.Environment] - Bytecode provider name : cglibrn2007-12-13 20:24:19,993 INFO [org.hibernate.cfg.Environment] - using JDK 1.4 java.sql.Timestamp handlingrn2007-12-13 20:24:20,283 INFO [org.hibernate.cfg.Configuration] - configuring from resource: chapter9/overview/hibernate/hibernate.cfg.xmlrn2007-12-13 20:24:20,283 INFO [org.hibernate.cfg.Configuration] - Configuration resource: chapter9/overview/hibernate/hibernate.cfg.xmlrn2007-12-13 20:24:20,974 INFO [org.hibernate.cfg.Configuration] - Reading mappings from resource: chapter9/overview/hibernate/Person.hbm.xmlrn2007-12-13 20:24:21,435 INFO [org.hibernate.cfg.HbmBinder] - Mapping class: chapter9.overview.hibernate.Person -> Personrn2007-12-13 20:24:21,635 INFO [org.hibernate.cfg.Configuration] - Configured SessionFactory: nullrn2007-12-13 20:24:22,016 INFO [org.hibernate.<em>connection</em>.DriverManagerConnectionProvider] - Using Hibernate built-in <em>connection</em> pool (not for production use!)rn2007-12-13 20:24:22,016 INFO [org.hibernate.<em>connection</em>.DriverManagerConnectionProvider] - Hibernate <em>connection</em> pool size: 20rn2007-12-13 20:24:22,016 INFO [org.hibernate.<em>connection</em>.DriverManagerConnectionProvider] - autocommit mode: falsern2007-12-13 20:24:22,056 INFO [org.hibernate.<em>connection</em>.DriverManagerConnectionProvider] - using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost:8080/backuprn2007-12-13 20:24:22,056 INFO [org.hibernate.<em>connection</em>.DriverManagerConnectionProvider] - <em>connection</em> properties: user=root, password=****rn2007-12-13 20:24:24,049 WARN [org.hibernate.cfg.SettingsFactory] - <em>Could</em> not obtain <em>connection</em> metadatarncom.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: rnrn** BEGIN NESTED EXCEPTION ** rnrnjava.net.ConnectExceptionrnMESSAGE: Connection refused: connectrnrn
数据库连接报错:Io 异常: The Network Adapter could not establish the connection
执行sql语句,插入数据时,插入几条记录后,<em>报错</em>rnjava.sql.SQLException: Io 异常: The Network Adapter could not establish the <em>connection</em>rnrn请教是哪里出了问题 ,该如何优化?
打开myeclipse时报错 could not create the java virtual machine
我的环境变量设置应该是正确的,之前用jcreator开发过。rnmyeclipse是最新的2014 all-in-one版本的,求大神指点一下..
编译EJB工程报错:【Could not create the Java virtual machine】
我在 JBuild2005 中新建一个EJB 的工程,工程建完之后编译 EJB Module 时侯弹出一个Bug 框 它的内容是:<em>Could</em> not <em>create</em> the Java virtual machine... 不知道是什么原因 我机器上装有 WebSphere ,Weblogic,Oracle ,它始终报这个错 真的不知道怎么解决,希望各位高人指点,非常感谢!!!!!
create netty connection"">错误:"Failed to create netty connection"
我想通过在jboss-5.1.0.ga上加入hornetq2.1,不用jboss5的messaging1.x,在测试集群时,我用all-with-hornetq启动jboss,但另外的机子上<em>报错</em>"Failed to <em>create</em> netty <em>connection</em>",这是什么原因啊?希望达人们帮忙解答。rnrn2010-09-27 23:56:42,106 ERROR [org.hornetq.core.remoting.impl.netty.NettyConnector] (Thread-1 (group:HornetQ-server-threads33139188-20179717)) Failed to <em>create</em> netty <em>connection</em>rnjava.net.SocketTimeoutException: connect timed outrn at java.net.PlainSocketImpl.socketConnect(Native Method)rn at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)rn at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)rn at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)rn at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)rn at java.net.Socket.connect(Socket.java:519)rn at org.jboss.netty.channel.socket.oio.OioClientSocketPipelineSink.connect(OioClientSocketPipelineSink.java:114)rn at org.jboss.netty.channel.socket.oio.OioClientSocketPipelineSink.eventSunk(OioClientSocketPipelineSink.java:74)rn at org.jboss.netty.channel.Channels.connect(Channels.java:541)rn at org.jboss.netty.channel.AbstractChannel.connect(AbstractChannel.java:217)rn at org.jboss.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:227)rn at org.jboss.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:188)rn at org.hornetq.core.remoting.impl.netty.NettyConnector.<em>create</em>Connection(NettyConnector.java:447)rn at org.hornetq.core.client.impl.FailoverManagerImpl.getConnection(FailoverManagerImpl.java:953)rn at org.hornetq.core.client.impl.FailoverManagerImpl.getConnectionWithRetry(FailoverManagerImpl.java:834)rn at org.hornetq.core.client.impl.FailoverManagerImpl.<em>create</em>Session(FailoverManagerImpl.java:342)rn at org.hornetq.core.client.impl.ClientSessionFactoryImpl.<em>create</em>SessionInternal(ClientSessionFactoryImpl.java:1123)rn at org.hornetq.core.client.impl.ClientSessionFactoryImpl.<em>create</em>Session(ClientSessionFactoryImpl.java:849)rn at org.hornetq.core.server.cluster.impl.BridgeImpl.<em>create</em>Objects(BridgeImpl.java:671)rn at org.hornetq.core.server.cluster.impl.BridgeImpl.access$800(BridgeImpl.java:71)rn at org.hornetq.core.server.cluster.impl.BridgeImpl$CreateObjectsRunnable.run(BridgeImpl.java:784)rn at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:100)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)rn
Could not create Oracle LOB"">用hibernate+spring处理Blob时报错:"Could not create Oracle LOB"
数据源用的commons dbcp.rnrn已经配置了rn rn rn rn rn rn rn rnrn rnrn rn rn rn rn大对象在POJO中为 private byte[] content;rnrn在它的hbm配置文件中为:rn rn rn rnrn新增的方法为:rn getHibernateTemplate().save(obj);rnrn结果报这个异常:rnorg.springframework.dao.DataAccessResourceFailureException: <em>Could</em> not <em>create</em> Oracle LOB; nested exception is org.springframework.dao.InvalidDataAccessApiUsageException: OracleLobCreator needs to work on [oracle.jdbc.OracleConnection], not on [class oracle.jdbc.driver.OracleConnection] - specify a corresponding NativeJdbcExtractorrn
ADO.NET提供的Connection类总结
各种数据接口的连接方式 一、<em>ADO</em>连接 1、连接access数据库 set conn=Server.CreateObject("<em>ADO</em>DB.Connection") conn.open "Driver={Microsoft Access Driver (*.mdb)};dbq="&Server.Mappath("dbname(路径全名)") 2、连接SQL Server数据库 set
求解决 Cannot create nested transaction if not exposing a JDBC transaction
今天在研究spring事务嵌套的时候,当配置传播属性为:NESTED,rn程序<em>报错</em>让配置(数据库是oracle) rnrn[code=XML][/code]rnrn等配置好这个后 再运行就<em>报错</em>:rnorg.springframework.<em>transaction</em>.TransactionUsageException: Cannot <em>create</em> nested <em>transaction</em> if not exposing a JDBC <em>transaction</em>rnrn求教,怎么解决啊。rn附上配置文件:rn[code=XML]rnrn rn rn rn rnrnrn rn rn rn rn rn rn rn rn rn rnrn rn rn rn rn rn rn rn rnrn rn rn rnrnrn rn rn rn rn rnrn rn rn rn rn rnrn rn rn rn rn rn rnrn[/code]
打包后的程序运行报错:could not find installable ISAM!
用VB开发的程序,用SETUP FACTORY 打包后,在一台仅仅装了WIN98的干净机子上rn运行时,凡是要打开FOXPRO库的操作的都<em>报错</em>:could not find installable ISAM!rn怎么回事?还有什么东西没打进去呢?
ADO.NET Connection使用问题(菜鸟)
各位大虾: rn 我有一个<em>ADO</em>.<em>NET</em> Connection对象的使用问题。每次数据访问<em>connection</em>对象必然打开。访问之后应该关闭。可是频繁的打开和关闭必然导致性能的下降。比如想通过一个ID号得到学生的用户名。如果要对100个学生这样操作的话,需要200次打开和关闭。用select语句把ID和用户名的列表得到也可以,但是这样导致这个访问的操作无法重用。所以,我疑惑:是把<em>connection</em>操作放到数据访问模块以外,还是放在内部。放在外面的好处是:外部控制程序负责<em>connection</em>,可以减少访问模块的访问次数。但是coupling程度高。放在里面:实现细节隐藏了,但是需要频繁打开和关闭。 rn 另外有没有数据连接池一类的东西? rn 多谢
程序运行一段时间后,界面花了,
我这个是Dialog程序,最小化运行<em>一段时间</em>后,在还原界面就花了。典型表现就是最上边那一条蓝色的标题栏(是叫标题栏吧)就没了。在拖动几下,下边也花了。什么原因,咋办??rnrn还有,为什么当我结束从线程,主线程也结束?/什么原因?咋办?rnrn每问10分,非常感谢
程序运行一段时间登录不进去了???
Hibernate: select adminlogin0_.adminId as adminId0_, adminlogin0_.adminName as adminName0_, adminlogin0_.adminPass as adminPass0_ from LiancunWebsite.dbo.adminLogin adminlogin0_ where adminlogin0_.adminName='admin' and adminlogin0_.adminPass='123'rn2009-5-21 16:40:09 org.apache.catalina.core.StandardWrapperValve invokern严重: Servlet.service() for servlet action threw exceptionrnjava.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Connection reset by peer: socket write errorrn at com.microsoft.jdbc.base.BaseExceptions.<em>create</em>Exception(Unknown Source)rn at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)rn at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)rn at com.microsoft.jdbc.sqlserver.tds.TDSExecuteRequest.submitRequest(Unknown Source)rn at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.execute(Unknown Source)rn at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source)rn at com.microsoft.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)rn at com.microsoft.jdbc.base.BasePreparedStatement.executeQuery(Unknown Source)rn at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)rn at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:139)rn at org.hibernate.loader.Loader.getResultSet(Loader.java:1669)rn at org.hibernate.loader.Loader.doQuery(Loader.java:662)rn at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)rn at org.hibernate.loader.Loader.doList(Loader.java:2145)rn at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029)rn at org.hibernate.loader.Loader.list(Loader.java:2024)rn at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:375)rn at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:308)rn at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:153)rn at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1106)rn at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)rn at org.springframework.orm.hibernate3.HibernateTemplate$29.doInHibernate(HibernateTemplate.java:849)rn at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:372)rn at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:840)rn at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:832)rn at com.dao.ProjectDAO.query(ProjectDAO.java:12)rn at com.yourcompany.struts.action.AdminLoginAction.execute(AdminLoginAction.java:67)rn at org.springframework.web.struts.DelegatingActionProxy.execute(DelegatingActionProxy.java:110)rn at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)rn at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)rn at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)rn at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.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:263)rn at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:852)rn at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:584)rn at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)rn at java.lang.Thread.run(Thread.java:619)
为什么程序运行一段时间后会自动关闭。
ThreadProc PROC USES edi Param:DWORD rn.while TRUErn invoke GetLocalTime,addr SysTimern ;得到系统时间的秒,分,时,分别在7段数码管中显示rn ;Code7 db 3fH,06H,5bH,4fH,66H,6dH,7dH,07H,7fH,6fH rn ; 0 1 2 3 4 5 6 7 8 9 rn ;Code7是1,2,。。9的数码管编码rn ;Led7 db 6 dup(?)rn ;Led7 存储对应秒,分,时的数码管编码rn xor eax,eaxrn xor ebx,ebxrn xor ecx,ecxrn mov ax,SysTime.wSecondrn DIV RADIX ;RADIX = 10rn mov bh,00Hrn mov bl,ah ;ah中存有秒数的个位数rn mov ch,Code7[ebx] rn mov Led7+0,chrn mov bl,al ;al中存有秒数的十位数rn mov ch,Code7[ebx]rn mov Led7+1,chrn rn mov ax,SysTime.wMinutern DIV RADIXrn mov bh,00Hrn mov bl,ah ;ah中存有分的个位数rn mov ch,Code7[ebx]rn mov Led7+2,chrn mov bl,al ;al中存有分的十位数rn mov ch,Code7[ebx]rn mov Led7+3,chrnrn mov ax,SysTime.wHourrn DIV RADIXrn mov bh,00Hrn mov bl,ah ;ah中存有小时的个位数rn mov ch,Code7[ebx]rn mov Led7+4,chrn mov bl,al ;al中存有小时的十位数rn mov ch,Code7[ebx]rn mov Led7+5,chrn invoke pcicard_iowrite,01H,00H ;调用的DLL函数rn mov bl,CountIrn mov bh,00Hrn mov cl,Led7[ebx]rn mov Led7I,clrn invoke pcicard_iowrite,00H,Led7I ;调用的DLL函数rn rn mov al,CountIrn .while al!=0rn shl Sel,1rn dec alrn .endwrn rn invoke pcicard_iowrite,01H,Selrn mov Sel,01Hrn .while k < 50000rn inc krn dec krn inc krn .endwrn mov k,0rn rn .if CountI == 5rn mov CountI,0rn .elsern inc CountIrn .endif rn rn.endwrn retrnThreadProc endprn<em>程序运行</em>主要是数码管上显示系统时间,但是好像每次都是运行同<em>一段时间</em>后程序自动关闭。rn用VC加载.exe后调试窗口出现rnThe thread 0xC80 has exited with code 0 (0x0).rnThe thread 0xA24 has exited with code 0 (0x0).rnThe program 'D:\masm32\StaDigital.exe' has exited with code 0 (0x0).
程序运行一段时间就死机 【急】
开发了一套应用程序,在自己公司和某些客户那里运行很长时间都没问题,最近遇到一个奇怪的客户,是联想的品牌机器,<em>程序运行</em>后不多久就死机,是什么原因呢? 不止一台机器这样。 高手回答 ,急急急!!
程序运行一段时间后发生错误
<em>程序运行</em><em>一段时间</em>后发生错误,错误提示为:应用程序发生异常未知的软件异常rn(0x0eedfade),位置为0x77e7e8bb,按确认后弹出abnormal program terminationrn不知道该错误是怎么回事,请诸位兄弟帮助,急用。
程序运行一段时间总是出现 max_prepared_stmt_count
<em>程序运行</em><em>一段时间</em>总是出现 max_prepared_stmt_countrn请问这是什么原因
spark-streaming的程序运行一段时间后退出
请问,我的spark-streaming程序以yarn-client的方式运行了<em>一段时间</em>后,就退出了,但driver还在,yarn日志如下:rn15/09/19 14:32:34 ERROR util.Utils: Uncaught exception in thread Thread-1rnorg.apache.hadoop.security.token.SecretManager$InvalidToken: Invalid AMRMToken from appattempt_1437371132890_10529_000002rn at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)rn at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)rn at java.lang.reflect.Constructor.newInstance(Constructor.java:526)rn at org.apache.hadoop.yarn.ipc.RPCUtil.instantiateException(RPCUtil.java:53)rn at org.apache.hadoop.yarn.ipc.RPCUtil.unwrapAndThrowException(RPCUtil.java:104)rn at org.apache.hadoop.yarn.api.impl.pb.client.ApplicationMasterProtocolPBClientImpl.finishApplicationMaster(ApplicationMasterProtocolPBClientImpl.java:94)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.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:187)rn at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)rn at com.sun.proxy.$Proxy18.finishApplicationMaster(Unknown Source)rn at org.apache.hadoop.yarn.client.api.impl.AMRMClientImpl.unregisterApplicationMaster(AMRMClientImpl.java:378)rn at org.apache.spark.deploy.yarn.YarnRMClient.unregister(YarnRMClient.scala:86)rn at org.apache.spark.deploy.yarn.ApplicationMaster.unregister(ApplicationMaster.scala:184)rn at org.apache.spark.deploy.yarn.ApplicationMaster$$anonfun$run$1.apply$mcV$sp(ApplicationMaster.scala:123)rn at org.apache.spark.util.SparkShutdownHook.run(Utils.scala:2308)rn at org.apache.spark.util.SparkShutdownHookManager$$anonfun$runAll$1$$anonfun$apply$mcV$sp$1.apply$mcV$sp(Utils.scala:2278)rn at org.apache.spark.util.SparkShutdownHookManager$$anonfun$runAll$1$$anonfun$apply$mcV$sp$1.apply(Utils.scala:2278)rn at org.apache.spark.util.SparkShutdownHookManager$$anonfun$runAll$1$$anonfun$apply$mcV$sp$1.apply(Utils.scala:2278)rn at org.apache.spark.util.Utils$.logUncaughtExceptions(Utils.scala:1772)rn at org.apache.spark.util.SparkShutdownHookManager$$anonfun$runAll$1.apply$mcV$sp(Utils.scala:2278)rn at org.apache.spark.util.SparkShutdownHookManager$$anonfun$runAll$1.apply(Utils.scala:2278)rn at org.apache.spark.util.SparkShutdownHookManager$$anonfun$runAll$1.apply(Utils.scala:2278)rn at scala.util.Try$.apply(Try.scala:161)rn at org.apache.spark.util.SparkShutdownHookManager.runAll(Utils.scala:2278)rn at org.apache.spark.util.SparkShutdownHookManager$$anon$6.run(Utils.scala:2260)rn at org.apache.hadoop.util.ShutdownHookManager$1.run(ShutdownHookManager.java:54)rnCaused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.token.SecretManager$InvalidToken): Invalid AMRMToken from appattempt_1437371132890_10529_000002rn at org.apache.hadoop.ipc.Client.call(Client.java:1468)rn at org.apache.hadoop.ipc.Client.call(Client.java:1399)rn at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:232)rn at com.sun.proxy.$Proxy17.finishApplicationMaster(Unknown Source)rn at org.apache.hadoop.yarn.api.impl.pb.client.ApplicationMasterProtocolPBClientImpl.finishApplicationMaster(ApplicationMasterProtocolPBClientImpl.java:91)rn ... 23 morern请问有没有人遇到过这种情况,知道这是为什么吗rn
GetPrivateProfileString 程序运行一段时间之后,出问题了
这是函数声明rn[code=csharp] [DllImport("kernel32")]rn private static extern int GetPrivateProfileString(string section, string key, string def, StringBuilder retVal, int size, string filePath);[/code]rn这是我的调用代码rn[code=csharp] StringBuilder temp = new StringBuilder(400);rn int i = GetPrivateProfileString(Section, Key,"", temp, 400, this.fileName);rn string result = temp.ToString();rn rn return result == "" ? defaultValue : result;[/code]rn用WindowsXP运行程序的时候,一直没有问题。rn在Windows2003 server中,运行1~3天就就会读取不到配置数据。i的返回值就变成0了rn在线求解决方案
程序运行一段时间后出怪事了。
我的一个托盘程序平时运行时很正常,双击托盘图标可弹出一个对话框,右击图标可弹出菜单。但偶尔会在运行<em>一段时间</em>后出现该右击托盘图标时菜单不出来,双击图标则弹出来的对话框变大了(在800x600下运行出来的对话框象在640x480下那么大)。rn究竟是什么原因引起的呢?
Could not roll back Hibernate transaction,怎么回事?
一个spring+hibernate+status的工程,今天<em>报错</em>。rn<em>Could</em> not roll back Hibernate <em>transaction</em>rn还有什么rn无法从套接字中读取更多数据的错误。rnrn发现程序正常查询、更新都没问题,只是一到大字段CLOB字段更新的时候就报这个异常。rn怎么回事,帮忙。
错误信息Could not open Hibernate Session for transaction
2015-3-29 11:47:18 org.apache.catalina.core.StandardWrapperValve invokern严重: Servlet.service() for servlet [springmvc] in context with path [/xjpcs] threw exception [Request processing failed; nested exception is org.springframework.<em>transaction</em>.CannotCreateTransactionException: <em>Could</em> not open Hibernate Session for <em>transaction</em>; nested exception is org.hibernate.exception.GenericJDBCException: <em>Could</em> not open <em>connection</em>] with root causernjava.sql.SQLException: ORA-01017: invalid username/password; logon deniedrnrn at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)rn at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)rn at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:283)rn at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:278)rn at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth(T4CTTIoauthenticate.java:791)rn at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:362)rn at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:439)rn at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:165)rn at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)rn at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)rn at org.apache.commons.dbcp.DriverConnectionFactory.<em>create</em>Connection(DriverConnectionFactory.java:82)rn at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:256)rn at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1148)rn at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:115)rn at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:430)rn at org.hibernate.engine.jdbc.<em>connection</em>s.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:139)rn at org.hibernate.internal.AbstractSessionImpl$NonContextualJdbcConnectionAccess.obtainConnection(AbstractSessionImpl.java:380)rn at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.obtainConnection(LogicalConnectionImpl.java:228)rn at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.getConnection(LogicalConnectionImpl.java:171)rn at org.hibernate.internal.SessionImpl.<em>connection</em>(SessionImpl.java:450)rn at org.springframework.orm.hibernate4.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:429)rn at org.springframework.<em>transaction</em>.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373)rn at org.springframework.<em>transaction</em>.interceptor.TransactionAspectSupport.<em>create</em>TransactionIfNecessary(TransactionAspectSupport.java:420)rn at org.springframework.<em>transaction</em>.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:257)rn at org.springframework.<em>transaction</em>.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)rn at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)rn at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)rn at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:644)rn at com.sigi.service.impl.BaseManagerImpl$$EnhancerBySpringCGLIB$$ce73f6ed.findExample()rn at com.sigi.controller.LoginController.userLogin(LoginController.java:42)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.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215)rn at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)rn at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)rn at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:749)rn at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:690)rn at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83)rn at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:945)rn at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:876)rn at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961)rn at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:852)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)rn at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)rn at com.sigi.Filter.MenuFilter.doFilter(MenuFilter.java:33)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)rn at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)rn at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)rn at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)rn at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)rn at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)rn at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2462)rn at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2451)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)rn at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)rn at java.lang.Thread.run(Thread.java:619)rn
求解Could not open Hibernate Session for transaction问题
我在使用SSH框架的时候,遇到一个这样的问题:rn在一定的时间不对网站发送请求,一旦再访问就会出现:rn<em>Could</em> not open Hibernate Session for <em>transaction</em>; nested exception is org.hibernate.TransactionException: JDBC begin <em>transaction</em> failed:rnrnrnrn但是再刷新后就正常了,这个问题一直再困扰着我,后面我详细看了一下<em>报错</em>的问题,里面有一句:rnjava.net.SocketException: Software caused <em>connection</em> abort: socket write errorrnrnrn探究历程:我看了我的配置文件,事务的配置是正常的,不然的话刷新是不能够访问的,所以排除了这个问题。后来又怀疑是数据库的连接爆了,因为还有另外一个项目同时处于一个服务器中,调用同样端口的mysql 3306,但是那个项目就非常的正常。最后又怀疑是配置文件中:rnorg.springframework.orm.hibernate4.SpringSessionContextrn这句话的问题,但是注释了以后还是出现问题,所以求救啊!rnrn因此暂时我还是找不到解决方案,求大神帮助,谢谢!rnrn问题元地址,里面有完整的<em>报错</em>代码:[url=http://blog.csdn.net/nthack5730/article/details/49744471][/url]
程序运行一段时间后 无法访问数据库
我做了个程序放到服务器上,运行<em>一段时间</em>以后就无法访问数据库了,代码里面用到2中访问数据的框架,一种只在登录的时候使用,一种在程序中使用。rn点那个用户发现不能乱码的时候,也就是访问数据库那里返回了null值,其实是有值的。rn出现这个问题的时候有下面的现象:rn1,可以登录系统(登录访问数据的方法是另外写的)rn2,同服务器的其它程序可以正常使用(访问数据库的框架和该程序一样)rn3,重启一下该网站,则又恢复正常rn以下是本人的判断:rn1,我怀疑是应用程序池或者iis的配置哪里有问题,理由是 重启一下网站就恢复正常。rn2,我怀疑是访问数据库的框架有问题,但是这个框架别人已经用了很多次了,都没有发生过这样的问题。rnrnrn各位前辈请帮小弟分析分析到底哪里出了问题。rn如果同意我第一个怀疑的,请说出解决方案,或者指点小弟如何去配置。rn如果同意我第二个怀疑的,请说出理由,如需代码分析请告知小弟。rnrn各位达人现身吧,小弟在此坐等高人了。
程序运行一段时间后会挂死
我的应用在solaris/linux/hp操作系统下都能正常运行,但在aix下,运行<em>一段时间</em>就会挂死,每次挂死都在同一地方。刚开始时使用线程默认堆栈大小,程序仅能运行1天左右,后来设置堆栈大小为1M,则程序能运行6天左右。现在改为2M,则能运行12天。我就有点纳闷,在其它操作系统下都能正常工作,为什么在aix就运行不正常,难道线程堆栈不能被重复使用,还是有什么参数我没有设置,导致在线程运行<em>一段时间</em>后再分配内存时就会被挂死。rn 我使用pthread_attr_setstacksize()来设置线程堆栈大小。编译器使用VisualAge 8,操作系统版本AIX 5.3。rn 虽然以前也有人提到了类似的问题,但通过扩大线程堆栈大小不能从根本上解决问题,是不是还有什么系统参数没有设置,因为我确信我们的程序应该没有问题,在其它的操作系统下都能正常运行。rn 谁能给指点迷津,在此多谢了!
程序运行一段时间挂掉:std::bad_alloc
连续运行程序遇到以下问题:rn电脑一共8G内存,程序连续运行,运行<em>一段时间</em>后内存会缓慢增加,后来就会挂掉,可是挂掉时内存还有3G左右;rn错误信息:rn线程 'Thread (pooled)' (0x3140) 已退出,返回值为 0 (0x0)。rnbnc.exe 中的 0x7612b727 处最可能的异常: Microsoft C++ 异常: 内存位置 0x0038d024 处的 std::bad_alloc。rnbnc.exe 中的 0x7612b727 处最可能的异常: Microsoft C++ 异常: 内存位置 0x00000000 处的 [rethrow]。rnbnc.exe 中的 0x7612b727 处最可能的异常: Microsoft C++ 异常: 内存位置 0x00000000 处的 [rethrow]。rnbnc.exe 中的 0x7612b727 处最可能的异常: Microsoft C++ 异常: 内存位置 0x00000000 处的 [rethrow]。rnbnc.exe 中的 0x7612b727 处最可能的异常: Microsoft C++ 异常: 内存位置 0x00000000 处的 [rethrow]。rnbnc.exe 中的 0x7612b727 处有未经处理的异常: Microsoft C++ 异常: 内存位置 0x0038d024 处的 std::bad_alloc。rnrn挂掉时的堆栈:rn KernelBase.dll!7612b727() rn [下面的框架可能不正确和/或缺失,没有为 KernelBase.dll 加载符号] rn KernelBase.dll!7612b727() rn msvcr100d.dll!_unlock(int locknum) 行 375 Crn msvcr100d.dll!_realloc_dbg(void * pUserData, unsigned int nNewSize, int nBlockUse, const char * szFileName, int nLine) 行 1044 + 0x7 字节 C++rn> msvcr100d.dll!_realloc_dbg(void * pUserData, unsigned int nNewSize, int nBlockUse, const char * szFileName, int nLine) 行 1043 + 0xc 字节 C++rnrnrn有人说用堆栈来调试,可是就这么几行没办法来呀,请高人指点一下可能的错误原因,如何查错,谢谢!!!!!!!!!!
VC程序运行一段时间后崩溃
我在Timer里面调用函数检查通道状态(16个),让后根据状态改变每个通道对应按钮的图标。<em>程序运行</em><em>一段时间</em>后就图标就成白板了,没有响应了。rnrnvoid CCh1::ShowChange2()rnrn char pPhoNumBuf[4];rn strcpy(pPhoNumBuf,"");rn for(int i=0;iSetBitmap(hBitmap);rn SetDlgItemText(i+1106,"摘机");rn rnrn rn break;rn case S_CALL_STANDBY:rn rn rn Bitmap.LoadBitmap(IDB_DOWN);rn hBitmap = (HBITMAP)Bitmap.Detach();rn pButton = (CButton*)GetDlgItem(i+1074);rn pButton->SetBitmap(hBitmap);rn SetDlgItemText(i+1106,"空闲");rnrn rn rn break;rn case S_CALL_WAIT_REMOTE_PICKUP:rn rn Bitmap.LoadBitmap(IDB_DOWN);rn hBitmap = (HBITMAP)Bitmap.Detach();rn pButton = (CButton*)GetDlgItem(i+1074);rn pButton->SetBitmap(hBitmap);rn SetDlgItemText(i+1106,"空闲");rnrn rn break;rn case S_CALL_OFFLINE:rn rn rn Bitmap.LoadBitmap(IDB_OUTLINE); rn hBitmap = (HBITMAP)Bitmap.Detach();rn pButton = (CButton*)GetDlgItem(i+1074);rn pButton->SetBitmap(hBitmap);rn SetDlgItemText(i+1106,"断线");rnrn rn break;rn rn rn
【求助,程序运行一段时间崩溃的问题】
[size=16px]做了一个程序,就是扫描网站某个页面的,就开了一个线程,专门负责扫描,一轮扫描完毕继续下一轮,中间没有停止的,<em>程序运行</em>没问题。可是每次运行不到一个小时就会无故崩溃一次,“AutoScan 遇到问题需要关闭,我妈对此引起的不便表示抱歉”,郁闷啊...rn麻烦高手帮忙看看到底是怎么回事,怎么好好的就崩溃了呢...谢谢~[/size][align=center]***********************************************************rn 欢迎使用 CSDN 小秘书rn  [url=http://blog.csdn.net/whowhen21]CSDN 小秘书[/url]rn***********************************************************rn[/align]
android程序运行一段时间后挂掉
我的<em>程序运行</em>了<em>一段时间</em>(几小时,甚至几天)之后,系统提示XX程序已经停止运行,但是我发现service还在运行,各位觉得是什么原因呢?谢谢。
ssh框架 Could not commit Hibernate transaction问题
我的tomcat服务器开了不到一天 就报如下错误rnorg.apache.jasper.JasperException: <em>Could</em> not commit Hibernate <em>transaction</em>; nested exception is org.hibernate.TransactionException: JDBC commit failedrn org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:476)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:371)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:78)rn org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)rn org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174)rn org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)rnrn重启一下tomcat就好了,在网上查了半天,说是mysql自动关闭问题,可是我的mysql并没关闭,而且我把mysql的wait_timeout设为88888888了,可是tomcat运行了不到一天又报上面的错了,又得重启一下tomcat才行,请教各位高手们是不是我的ssh整合中存在某种缺陷?请大家帮忙解决呀
求解:程序运行一段时间后突然报错No address associated with hostname
08-27 14:43:59.169: W/System.err(9998): java.net.UnknownHostException: Unable to resolve host "域名": No address associated with hostnamern08-27 14:43:59.169: W/System.err(9998): at java.net.InetAddress.lookupHostByName(InetAddress.java:424)rn08-27 14:43:59.169: W/System.err(9998): at java.net.InetAddress.getAllByNameImpl(InetAddress.java:236)rn08-27 14:43:59.169: W/System.err(9998): at java.net.InetAddress.getAllByName(InetAddress.java:214)rn08-27 14:43:59.169: W/System.err(9998): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:137)rn08-27 14:43:59.169: W/System.err(9998): at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)rn08-27 14:43:59.169: W/System.err(9998): at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)rn08-27 14:43:59.169: W/System.err(9998): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360)rn08-27 14:43:59.169: W/System.err(9998): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)rn08-27 14:43:59.169: W/System.err(9998): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)rn08-27 14:43:59.169: W/System.err(9998): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)rn08-27 14:43:59.169: W/System.err(9998): at drink.app.music.InterfaceCall.call(InterfaceCall.java:49)rn08-27 14:43:59.169: W/System.err(9998): at drink.app.music.UserServiceHelper.getMusic(UserServiceHelper.java:102)rn08-27 14:43:59.169: W/System.err(9998): at drink.app.HorizontalActivity$MusicTask.doInBackground(HorizontalActivity.java:292)rn08-27 14:43:59.169: W/System.err(9998): at drink.app.HorizontalActivity$MusicTask.doInBackground(HorizontalActivity.java:1)rn08-27 14:43:59.169: W/System.err(9998): at android.os.AsyncTask$2.call(AsyncTask.java:287)rn08-27 14:43:59.169: W/System.err(9998): at java.util.concurrent.FutureTask.run(FutureTask.java:234)rn08-27 14:43:59.169: W/System.err(9998): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)rn08-27 14:43:59.169: W/System.err(9998): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)rn08-27 14:43:59.169: W/System.err(9998): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)rn08-27 14:43:59.169: W/System.err(9998): at java.lang.Thread.run(Thread.java:856)rn08-27 14:43:59.169: W/System.err(9998): Caused by: libcore.io.GaiException: getaddrinfo failed: EAI_NODATA (No address associated with hostname)rn08-27 14:43:59.179: W/System.err(9998): at libcore.io.Posix.getaddrinfo(Native Method)rn08-27 14:43:59.179: W/System.err(9998): at libcore.io.ForwardingOs.getaddrinfo(ForwardingOs.java:59)rn08-27 14:43:59.179: W/System.err(9998): at java.net.InetAddress.lookupHostByName(InetAddress.java:405)rn08-27 14:43:59.179: W/System.err(9998): ... 19 morern08-27 14:43:59.179: W/System.err(9998): Caused by: libcore.io.ErrnoException: getaddrinfo failed: E<em>NET</em>UNREACH (Network is unreachable)rn08-27 14:43:59.179: W/System.err(9998): ... 22 morern08-27 14:43:59.179: W/dalvikvm(9998): threadid=1: thread exiting with uncaught exception (group=0x40e30a80)rnrnrn 看网上其他其他的回复都说是网络权限和网络连接问题 可是我的网络权限都有,网络连接也是正常 就是运行的时候中途总是会突然报出这种错误 求解决方法
MFC 程序运行一段时间总是报错nRefs>0 ,求大神帮助
Microsoft Visual C++ Debug Libraryrn---------------------------rnDebug Assertion Failed!rnrnProgram: C:\Users\Amaoli\Desktop\待美化功能版—别删\Client\.\Debug\Client.exernFile: f:\dd\vctools\vc7libs\ship\atlmfc\include\atlsimpstr.hrnLine: 90rnrnExpression: nRefs > 0rnrnFor information on how your program can cause an assertionrnfailure, see the Visual C++ documentation on asserts.rnrn(Press Retry to debug the application)rnrn请大神帮我看看是哪方面可能出错,这个错误怎么解释啊?
环境tomcat 5.0和sql server 2000程序运行一段时间报错???
2005-02-16 15:33:12 StandardWrapperValve[debugjsp]: Servlet.service() for servlet debugjsp threw exceptionrnjava.lang.NullPointerExceptionrn at org.apache.jsp.btob.index_jsp._jspService(index_jsp.java:654)rn at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)rn at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)rn at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)rn at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)rn at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)rn at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)rn at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)rn at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)rn at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)rn at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)rn at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)rn at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)rn at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)rn at java.lang.Thread.run(Thread.java:536)rn
qname.jar 包 下载
qname.jar qname.jar 相关下载链接:[url=//download.csdn.net/download/yeson6/2431128?utm_source=bbsseo]//download.csdn.net/download/yeson6/2431128?utm_source=bbsseo[/url]
java面试题及答案(基础题122道,代码题19道)下载
java面试题及答案(基础题122道,代码题19道) 相关下载链接:[url=//download.csdn.net/download/renliang1106/5286913?utm_source=bbsseo]//download.csdn.net/download/renliang1106/5286913?utm_source=bbsseo[/url]
朗读女文本转换语音软件下载
一款运行在win7、xp环境下的语音朗读软件,可用来听网络小说,学外语,读新闻,校对文章,制作小说音频等 相关下载链接:[url=//download.csdn.net/download/duke408/9424584?utm_source=bbsseo]//download.csdn.net/download/duke408/9424584?utm_source=bbsseo[/url]
相关热词 c# 线程结束时执行 c# kb mb 图片 c# 替换第几位字符 c#项目决定成败 c# 与matlab c# xml缩进 c#传感器基础 c#操作wps c# md5使用方法 c# 引用父窗口的组件
我们是很有底线的