连接mssql2000的错误提示!

问题描述

2735[JobManager.java:98:ERROR]Cannotloadjobsfromdatasource.com.sailing.core.entity.GenericDataSourceException:SQLExceptionwhileexecutingthefollowing:SELECTJOB_NAME,RUN_TIME,SERVICE_NAME,LOADER_NAME,RUNTIME_DATA_ID,RECURRENCE_INFO_ID,START_DATE_TIME,FINISH_DATE_TIMEFROMJOB_SANDBOXWHERE(RUN_TIME<?)AND(START_DATE_TIMEISNULL)ORDERBYRUN_TIME([Microsoft][SQLServer2000DriverforJDBC]Can'tstartaclonedconnectionwhileinmanualtransactionmode.)atcom.sailing.core.entity.jdbc.SQLProcessor.prepareStatement(SQLProcessor.java:295)atcom.sailing.core.entity.GenericDAO.selectListIteratorByCondition(GenericDAO.java:1153)atcom.sailing.core.entity.GenericDAO.selectByCondition(GenericDAO.java:1001)atcom.sailing.core.entity.GenericHelperDAO.findByCondition(GenericHelperDAO.java:162)atcom.sailing.core.entity.GenericDelegator.findByCondition(GenericDelegator.java:1100)atcom.sailing.core.entity.GenericDelegator.findByAnd(GenericDelegator.java:1006)atcom.sailing.core.service.job.JobManager.poll(JobManager.java:96)atcom.sailing.core.service.job.JobPoller.run(JobPoller.java:89)atjava.lang.Thread.run(Thread.java:534)java.sql.SQLException:[Microsoft][SQLServer2000DriverforJDBC]Can'tstartaclonedconnectionwhileinmanualtransactionmode.atcom.microsoft.jdbc.base.BaseExceptions.createException(UnknownSource)atcom.microsoft.jdbc.base.BaseExceptions.getException(UnknownSource)atcom.microsoft.jdbc.base.BaseConnection.getImplConnection(UnknownSource)atcom.microsoft.jdbc.base.BaseStatement.setupImplConnection(UnknownSource)atcom.microsoft.jdbc.base.BaseStatement.<init>(UnknownSource)atcom.microsoft.jdbc.base.BasePreparedStatement.<init>(UnknownSource)atcom.microsoft.jdbc.base.BaseConnection.prepareStatement(UnknownSource)attyrex.resource.jdbc.xa.TyrexConnection.prepareStatement(TyrexConnection.java:130)atcom.sailing.core.entity.jdbc.SQLProcessor.prepareStatement(SQLProcessor.java:290)atcom.sailing.core.entity.GenericDAO.selectListIteratorByCondition(GenericDAO.java:1153)atcom.sailing.core.entity.GenericDAO.selectByCondition(GenericDAO.java:1001)atcom.sailing.core.entity.GenericHelperDAO.findByCondition(GenericHelperDAO.java:162)atcom.sailing.core.entity.GenericDelegator.findByCondition(GenericDelegator.java:1100)atcom.sailing.core.entity.GenericDelegator.findByAnd(GenericDelegator.java:1006)atcom.sailing.core.service.job.JobManager.poll(JobManager.java:96)atcom.sailing.core.service.job.JobPoller.run(JobPoller.java:89)atjava.lang.Thread.run(Thread.java:534)3032[SQLProcessor.java:138:WARN][SQLProcessor.rollback]:SQLExceptionwhilerollingbackinsert.Errorwas:java.sql.SQLException:[Microsoft][SQLServer2000DriverforJDBC]Objecthasbeenclosed.3032[SQLProcessor.java:139:WARN]com.sailing.core.entity.jdbc.SQLProcessorjava.sql.SQLException:[Microsoft][SQLServer2000DriverforJDBC]Objecthasbeenclosed.atcom.microsoft.jdbc.base.BaseExceptions.createException(UnknownSource)atcom.microsoft.jdbc.base.BaseExceptions.getException(UnknownSource)atcom.microsoft.jdbc.base.BaseConnection.validateClosedState(UnknownSource)atcom.microsoft.jdbc.base.BaseConnection.rollback(UnknownSource)attyrex.resource.jdbc.xa.TyrexConnection.rollback(TyrexConnection.java:330)attyrex.resource.jdbc.xa.ClientConnection.rollback(ClientConnection.java:184)atcom.sailing.core.entity.jdbc.SQLProcessor.rollback(SQLProcessor.java:128)atcom.sailing.core.entity.jdbc.SQLProcessor.commit(SQLProcessor.java:112)atcom.sailing.core.entity.jdbc.SQLProcessor.close(SQLProcessor.java:150)atcom.sailing.core.entity.jdbc.SQLProcessor.finalize(SQLProcessor.java:671)atjava.lang.ref.Finalizer.invokeFinalizeMethod(NativeMethod)atjava.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)atjava.lang.ref.Finalizer.access$100(Finalizer.java:14)atjava.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)3032[SQLProcessor.java:673:ERROR]Errorclosingtheresult,connection,etcinfinalizeEntityListIteratorcom.sailing.core.entity.GenericDataSourceException:SQLExceptionoccurredoncommit([Microsoft][SQLServer2000DriverforJDBC]Objecthasbeenclosed.)atcom.sailing.core.entity.jdbc.SQLProcessor.commit(SQLProcessor.java:113)atcom.sailing.core.entity.jdbc.SQLProcessor.close(SQLProcessor.java:150)atcom.sailing.core.entity.jdbc.SQLProcessor.finalize(SQLProcessor.java:671)atjava.lang.ref.Finalizer.invokeFinalizeMethod(NativeMethod)atjava.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)atjava.lang.ref.Finalizer.access$100(Finalizer.java:14)atjava.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)java.sql.SQLException:[Microsoft][SQLServer2000DriverforJDBC]Objecthasbeenclosed.atcom.microsoft.jdbc.base.BaseExceptions.createException(UnknownSource)atcom.microsoft.jdbc.base.BaseExceptions.getException(UnknownSource)atcom.microsoft.jdbc.base.BaseConnection.validateClosedState(UnknownSource)atcom.microsoft.jdbc.base.BaseConnection.isReadOnly(UnknownSource)attyrex.resource.jdbc.xa.TyrexConnection.isReadOnly(TyrexConnection.java:358)attyrex.resource.jdbc.xa.ClientConnection.commit(ClientConnection.java:163)atcom.sailing.core.entity.jdbc.SQLProcessor.commit(SQLProcessor.java:110)atcom.sailing.core.entity.jdbc.SQLProcessor.close(SQLProcessor.java:150)atcom.sailing.core.entity.jdbc.SQLProcessor.finalize(SQLProcessor.java:671)atjava.lang.ref.Finalizer.invokeFinalizeMethod(NativeMethod)atjava.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)atjava.lang.ref.Finalizer.access$100(Finalizer.java:14)atjava.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)WebappLoader[]:DeployingclassrepositoriestoworkdirectoryD:nxj-jhTomcatworkContextConfig[]:Addedcertificates->requestattributeValveStandardManager[]:Seedingrandomnumbergeneratorclassjava.security.SecureRandomStandardManager[]:SeedingofrandomnumbergeneratorhasbeencompletedHostConfig[localhost]:Deployingconfigurationdescriptorserver8080.xmlHttpConnector[803]StartingbackgroundthreadHttpConnector[8443]Startingbackgroundthreadmssql的端口设置是对的,连接别人的数据库是可以连,但连我的有错误提示!

解决方案

解决方案二:
难道没有打SP4的补丁?
解决方案三:
是因为commit设置为false了,查资料,对URL做修改:jdbc:microsoft:sqlserver://localhost:1433;user=test;password=secret;SelectMethod=cursor;问题解决。
解决方案四:
学习了,下次遇到类似的问题又多了一种解决办法。
解决方案五:
看来楼主以后要多加注意呀

时间: 2024-09-11 22:11:14

连接mssql2000的错误提示!的相关文章

连接ACCESS数据库时发生错误提示:找不到可安装的 ISAM

连接ACCESS数据库时发生错误提示:找不到可安装的 ISAM 检查后发现原来是把Data Source写成 DataSource了 错误:<add key="OleConnection" value="Provider=Microsoft.Jet.OleDb.4.0;DataSource=Demo.mdb;" /> 正确:<add key="OleConnection" value="Provider=Microso

使用工具连接mysql时的错误提示

今天,同事在使用工具连接mysql时,发现了一个错误提示,如下 有问题,就看错误日志,同样发现了一条错误信息,如下 [ERROR] Incorrect definition of table mysql.proc: expected column 'comment'at position 15to have type text, found type char(64). 说是mysql.proc这个表的comment字段类型应该为text,但是却是char(64). 按照错误信息的提示,只要将c

win7打开本地连接属性提示“网络连接出现意外错误”的解决方法

  windows操作系统下有时候发生IP冲突,这时候我们需要设置win7系统IP地址才可以正常上网.最近有用户反应win7 64位系统打开本地连接属性的时候却弹出了"网络连接出现意外错误"的提示,该如何解决此问题?出现这样的提示,是由于动态链失效所致.大家可参考下面教程来解决问题. 解决步骤: 1.按下"Win+R"组合键呼出运行,在框中输入"regsvr32 netshell.dll " 按下回车键; 2.弹出"成功"窗口

hadoop-nutch分布式运行问题错误提示38954拒绝连接

问题描述 nutch分布式运行问题错误提示38954拒绝连接 nutch在单机模式下可以正常运行,hadoop可以正常运行,把hadoop/etc/hadoop/*下面的配置文件导入nutch的conf文件下面,ant编译后,运行runtime/deploy下的.bin/crawl hdfs://n1:9000/urls/ hdfs://n1:9000/mydir/ aa 2(没用solr,代码已经注释,所以打什么参数都可以) 结果报错,提示n1:38954拒绝连接,我上网上查38954端口没有

securecrt-secureCRT连接远程服务器总是提示密码错误

问题描述 secureCRT连接远程服务器总是提示密码错误 我刚刚安装破解了secureCRT,相连接远程服务器,修改数据库表空间,但是在连接的时候,明明密码是对的,但是总显示密码错误,password authentication failed. please verify that the username and password are correct.请问我该怎么办啊,我记得我第一次写连接信息时点了一个什么once,然后就没有了,接下来我每次连接就算重新填写也没有那个东西了,我该怎么办

java-Java 发送邮件,提示连接失败,错误如下,请大神帮帮我

问题描述 Java 发送邮件,提示连接失败,错误如下,请大神帮帮我 javax.mail.AuthenticationFailedException: failed to connect at javax.mail.Service.connect(Service.java:322) at javax.mail.Service.connect(Service.java:172) at javax.mail.Service.connect(Service.java:121) at javax.mai

VM虚拟机下Ubuntu系统连接不上USB。提示usb2.0连接失败,驱动程序错误。怎么解决?

问题描述 VM虚拟机下Ubuntu系统连接不上USB.提示usb2.0连接失败,驱动程序错误.怎么解决? 解决方案 设置为硬盘挂载了吗?或者换个虚拟机版本吧 解决方案二: 应该是你vm设置有问题,或者你Ubuntu里设置的不对,我用的是vmware10,没有这个问题

oracle连接eclipse-myeclipse连接oracle时连接不上,没有任何错误提示

问题描述 myeclipse连接oracle时连接不上,没有任何错误提示 运行java application时,控制台里面没有错误提示,就是一直在连接中,郁闷啊 java如下: String url ="jdbc:oracle:thin:@127.0.0.1:1521:ORCL" String userName="scott"; String pwd="tiger"; con = DriverManager.getConnection(url,

连接ACCESS数据库时发生错误提示:找不到可安装的 ISAM_基础应用

连接ACCESS数据库时发生错误提示:找不到可安装的 ISAM 检查后发现原来是把Data Source写成 DataSource了 错误:<add key="OleConnection" value="Provider=Microsoft.Jet.OleDb.4.0;DataSource=Demo.mdb;" /> 正确:<add key="OleConnection" value="Provider=Microso