- 浏览: 1230718 次
- 性别:
- 来自: 上海
文章分类
最新评论
-
lankk:
lankk 写道事实上,在运行String s1=new St ...
理解String 及 String.intern() 在实际中的应用 -
lankk:
事实上,在运行String s1=new String(&qu ...
理解String 及 String.intern() 在实际中的应用 -
lankk:
同意1楼的说法http://docs.oracle.com/j ...
理解String 及 String.intern() 在实际中的应用 -
raoyutao:
...
jdk 线程池 ThreadPoolExecutor -
hongdanning:
理解了。之前困惑的一些明白了。谢谢分享。
理解String 及 String.intern() 在实际中的应用
Opened: 2004-11-02 12:07 |
I have PAL Itn6, snapshot of ~12:00 yesterday installed in Tomcat 5.0.28 talking to SQL server via a JNDI data-source and the JNDI driver net.sourceforge.jtds.jdbc.Driver. When doing the PAL self-tests, it creates vast temporary files inside the Tomcat installation: > pwd /home/sybase/jakarta-tomcat-5.0.28/temp > ls -l total 13762224 -rw-r--r-- 1 sybase sybase 1465106432 Nov 1 18:16 jtds20228.tmp -rw-r--r-- 1 sybase sybase 3934224384 Nov 1 18:58 jtds20230.tmp -rw-r--r-- 1 sybase sybase 1643454464 Nov 1 18:58 jtds20231.tmp Note that these files are left over from test runs yesterday evening; they seem to have leaked. These files filled the space in the account running Tomcat and stopped operations, both of PAL and of other services at CASU. It's not clear whether the files are leaked when the tests are successful or when they are aborted; some runs went each way. We need to find some way of bounding the temporary space used and possibly of redirecting it to a different directory. We also need to document the amount of space needed as a function of the size of the DB. This is a blocker. If we don't fix it, then it will not be possible to run PAL on CASU machines. For now, during PAL tests, I'll delete the files manually as they are leaked. However, it won't be possible to registe the service for general use until the problem is solved.
------- Comment #1 From Guy Rixon 2004-11-02 14:31:02 -------
I've looked at the issues log of the jTDS project and it looks like this make be a mis-feature of their JDBC driver. They suggest that the temporary files are deleted when the JVM exists (NBG for us) or when finalizers are called for "certain classes" to do with the JDBC connection. I have may PAL set up with connection pooling and I now suspect that the connections are never closed so the files are never deleted. I've asked jTDS about this; no reply yet. Anyway, even if this is not fixable in our PAL code we need to characterize it and to explain it in the installation documents. It may be that we have to avoid JNDI data-sources and associated connection pooling.
------- Comment #2 From Martin (Cindy?!) 2004-11-02 14:59:09 -------
An alternative is to use the direct JDBC connections instead of data sources; see the WEB-INF/classes/default.properties for which properties to set. We use the Microsoft JDBC drivers at ROE and don't seem to get this problem.
------- Comment #3 From Guy Rixon 2004-11-02 15:04:31 -------
Where does one get the MS JDBC driver? I couldn't find a download link on MS' site. Is there a licence fee?
------- Comment #4 From Martin (Cindy?!) 2004-11-02 16:10:50 -------
Here's the link to the download :-) http://www.microsoft.com/downloads/details.aspx?FamilyID=ee91ad1a-1ee4-49e1-95ea-e3f0e39114a9&DisplayLang=en I don't know if it includes all the patches and stuff. I don't believe there's any licence fee.
------- Comment #5 From Martin (Cindy?!) 2004-11-09 12:01:00 -------
I believe this has been resolved by using the m$ drivers
------- Comment #6 From Guy Rixon 2004-11-09 14:03:10 -------
Yes, the MS driver now works at IoA and avoids this problem. Thanks for providing the link. The MS driver is also faster, by about a factor of 20, in the self-test case of a large ADQL output.
发表评论
-
业务unique ID的生成策略分析
2017-02-20 16:31 1011业务unique ID的生产策略分析 需求上 ... -
连接池exception GetConnectionTimeoutException get/close not same thread
2015-09-24 14:44 7120环境 hibernate 4.2.0.Final sp ... -
mysql 一对多的时候 关联查询 筛选多方
2011-05-10 12:26 20129users 表和 auth_token_log表是一对多, 现 ... -
(转)mysql 列转行
2011-04-01 19:14 11656mysql 的group_concat函数很好用,可以把列转成 ... -
mysql distinct
2011-04-01 19:13 1221mysql的DISTINCT的关键字有很多你想不到的用处 1 ... -
转:mysql show processlist命令 详解
2010-12-07 11:05 41332processlist 命令的输出结果显示了有哪些线程在 ... -
mysql convert binary
2010-11-16 14:16 1171select coalesce(p.uuid,convert( ... -
创建MySQL用户 赋予某指定库表的权限
2010-09-15 13:58 26721update ERROR 1364 (HY000): Fie ... -
mysql primary key PARTITION 分区
2010-09-02 14:45 8581尝试把数据库一个表分区 ALTER TABLE us ... -
删除mysql/data中的bin文件
2010-09-01 15:42 2872装mysql,运行一段时间后,在mysql目录下出现一堆类似 ... -
mysql innodb 主键
2010-08-12 10:56 1513http://blog.johnjosephbachir ... -
mysql 不区分大小写查询 linux 修改 root 密码
2010-07-06 19:42 1464vi /etc/mysql/my.cnf ... -
mysql master slave 笔记
2010-06-04 14:36 1886//dump出整个数据库包含函数定义 可用于master s ... -
mysql 备份 还原 相关
2010-05-14 20:15 1979btw, phpmyadmin也可以方便的导出数据结构 ... -
mysql insert into select ON DUPLICATE KEY UPDATE 更新值的问题
2010-05-12 20:55 8140我有一句话 要达到 INSERT INTO table1 ... -
转 mysql insert的几点操作(DELAYED 、IGNORE、ON DUPLICATE KEY UPDATE )
2010-05-12 15:55 1465mysql insert的几点操作(DELAYED ... -
mysql DATE 转换 ip to int
2010-04-28 16:09 3377where (DATE(b.DATE)='2010-04- ... -
update select , coalesce(被查字段,默认值)
2010-04-22 21:13 1471update a,b set a.name=b.name w ... -
mysql
2009-12-11 17:21 1144mysql my.ini [mysql] ... -
JDBC 数据库批量操作
2009-12-11 17:03 1563try { Connection conn = Co ...
相关推荐
**JTDs驱动包详解** JTDs(Java Tiny Database Server)是一款开源的Java数据库连接器,主要用于连接Microsoft SQL Server和Sybase ASE数据库。在Java应用程序中,它提供了一个轻量级的替代方案,与Oracle的JDBC...
《jtds1.3.1:连接SQL Server的高效JDBC驱动详解》 在Java应用程序与Microsoft SQL Server数据库交互时,JDBC驱动扮演着至关重要的角色。jTDS是其中一个广泛使用的开源JDBC驱动,它专为SQL Server设计,提供了高效...
《jtds驱动包 net.sourceforge.jtds.jdbc.Driver详解》 在Java编程中,数据库连接是不可或缺的一部分。当涉及到与Microsoft SQL Server或Sybase数据库进行交互时,`jtds`驱动包扮演了至关重要的角色。`...
**JTDs驱动详解** JTDs是一款开源的Java类型驱动程序,专为连接到Microsoft SQL Server和Sybase Adaptive Server Anywhere数据库而设计。这款驱动以其高效、小巧和跨平台的特性,在Java开发者中广受欢迎。JTDs的...
标题中的“jtds-1.3.1.jar包,kettle连接”指的是在Kettle数据集成工具中,为了能够连接到SQL Server数据库,需要使用名为jtds的Java数据库连接器(JDBC驱动),其具体版本为1.3.1。jtds是一个开源的JDBC驱动程序,...
JTDS(Java Thin Database Driver for SQL Server and Sybase)是一个开源的JDBC驱动程序,它允许Java应用程序连接到Microsoft SQL Server和Sybase ASE(Adaptive Server Enterprise)数据库。这篇博客文章“JTDS...
标题中的“jtds-1.2.jar、jtds-1.2.2.jar、jtds-1.2.5.jar、jtds-1.2.7.jar、jtds-1.3.1.jar驱动”指的是用于连接SQL Server数据库的JDBC驱动程序的多个版本。jTDS是一个开源的Java类型4 JDBC驱动,它专门设计用于与...
《SQLServer驱动包jtds-1.3.1.jar详解》 在数据库连接的世界里,SQL Server作为一款广泛使用的数据库管理系统,其高效稳定性和强大的功能深受开发者的喜爱。为了与Java应用程序进行交互,通常我们需要依赖数据库...
标题中的"jtds-1.2.2.jar"是一个特定版本的JDBC驱动程序,由Java Thin Database Server (JTDs)项目提供。JTDs是一个开源的、轻量级的 JDBC 驱动,它允许Java应用程序通过标准的JDBC API连接到Microsoft SQL Server和...
Java JTDs 连接数据库是一种使用Java编程语言与多种数据库进行交互的方式,特别是针对Microsoft SQL Server和Sybase Adaptive Server。JTDs(Java Thin Database Driver)是一个开源的 JDBC 驱动程序,它提供了轻量...
JTDS(Java Thin Database Driver for SQL Server)是一种开源的JDBC驱动程序,专门用于与Microsoft SQL Server和Sybase ASE数据库进行交互。这个压缩包“JTDS连接数据库分享.rar”包含了几个关键组件,可以帮助用户...
**JDBC连接驱动详解——以jtds为例** 在Java应用程序中,JDBC(Java Database Connectivity)是连接数据库的标准接口,允许Java程序与各种不同类型的数据库进行交互。JDBC驱动程序是实现这些接口的Java类库,它们...
《jtds-1.2.7在Android移动开发中的应用详解》 jtds-1.2.7是一款专为Java开发者设计的轻量级数据库连接驱动,尤其适用于Android应用程序开发。该驱动程序是开源的,提供对SQL Server和Sybase数据库的高效、稳定的...
标题中的“JTDS和JDBC连接Sybase数据库”涉及到的是Java开发中的一种数据库连接技术,主要聚焦于如何通过Java应用程序与Sybase数据库进行交互。Sybase是一种流行的关系型数据库管理系统,广泛应用于企业级应用中。...
在Java中,有许多库可以实现连接池功能,如C3P0、DBCP、HikariCP以及我们今天要讨论的jTDS。 jTDS是一个开源的Java驱动程序,专门用于连接Microsoft SQL Server和Sybase数据库。它实现了JDBC API,使得Java开发者...
标题"jtds 驱动包(jar)"指的是jtds驱动程序的Java Archive (JAR)文件。jTDS是一个开源的Java类型数据库驱动(JDBC driver),专为Microsoft SQL Server和Sybase数据库设计。这里的“jar”是Java应用程序的打包格式,...
jtds.jarjtds.jarjtds.jarjtds.jarjtds.jarjtds.jarjtds.jarjtds.jar
《JTDs 1.2.2:连接SQL Server的高效驱动详解》 在Java编程领域,数据库连接是不可或缺的一部分,而JDBC(Java Database Connectivity)则是Java与各种数据库进行交互的标准接口。然而,尽管JDBC提供了通用性,但在...
**jtds-1.2.6.jar包详解** 标题中的"jtds-1.2.6jar包"指的是一个Java数据库连接池组件的版本号为1.2.6的JAR文件。jTDS(Java Type 4 Driver for SQL Server)是一个开源的、完全实现了JDBC(Java Database ...
《jtds1.2.7.dist:连接SQL Server数据库的安卓开发利器》 在IT行业中,数据库管理和数据交互是核心部分,特别是在安卓应用开发中。"jtds1.2.7.dist"是一个专门为安卓开发者设计的工具,用于与Microsoft SQL Server...