debian/0000755000000000000000000000000011770602504007170 5ustar debian/source/0000755000000000000000000000000011674461150010473 5ustar debian/source/format0000644000000000000000000000001411674456233011707 0ustar 3.0 (quilt) debian/links0000644000000000000000000000011111674456233010235 0ustar usr/share/java/ha-jdbc-2.0.16-rc-1-jdk1.6.jar usr/share/java/ha-jdbc.jar debian/compat0000644000000000000000000000000211674456233010377 0ustar 8 debian/install0000644000000000000000000000005611674456233010573 0ustar ha-jdbc-2.0.16-rc-1-jdk1.6.jar usr/share/java debian/patches/0000755000000000000000000000000011770602367010626 5ustar debian/patches/modify-build-file.diff0000644000000000000000000002372011674456233014767 0ustar Description: Modify build.xml to use system JARs Author: Brian Thomason --- ha-jdbc-2.0.16-rc-1.orig/build.xml +++ ha-jdbc-2.0.16-rc-1/build.xml @@ -23,12 +23,9 @@ - - - @@ -37,28 +34,30 @@ - - - - - - - - - + + + + + + + + + + + @@ -66,11 +65,6 @@ - - - - - @@ -83,18 +77,10 @@ - - + + - - - - - - - - @@ -111,14 +97,8 @@ - - - - - - - + @@ -129,36 +109,13 @@ + CLASSPATH: ${java.classpath} - - - - - - - - - - - - - - - - - - - - - - - - @@ -173,46 +130,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -222,8 +139,6 @@ - - @@ -232,8 +147,6 @@ - - debian/patches/series0000644000000000000000000000005111770602214012026 0ustar modify-build-file.diff java7-compat.diff debian/patches/java7-compat.diff0000644000000000000000000000470511770602352013751 0ustar Description: Make sources Java7 compatible diff --git a/src/net/sf/hajdbc/sql/DataSource.java b/src/net/sf/hajdbc/sql/DataSource.java index fea64c4..054afa8 100644 --- a/src/net/sf/hajdbc/sql/DataSource.java +++ b/src/net/sf/hajdbc/sql/DataSource.java @@ -120,4 +120,9 @@ public class DataSource extends CommonDataSourceProxy impl { return new DataSourceReference(this.getCluster(), this.getConfig()); } + + // Java7 Compat + public java.util.logging.Logger getParentLogger() throws java.sql.SQLFeatureNotSupportedException { + throw new java.sql.SQLFeatureNotSupportedException(); + } } diff --git a/src/net/sf/hajdbc/sql/Driver.java b/src/net/sf/hajdbc/sql/Driver.java index cebdf16..a288ccc 100644 --- a/src/net/sf/hajdbc/sql/Driver.java +++ b/src/net/sf/hajdbc/sql/Driver.java @@ -198,4 +198,10 @@ public final class Driver implements java.sql.Driver return matcher.group(1); } + + // Java7 Compat + public java.util.logging.Logger getParentLogger() throws java.sql.SQLFeatureNotSupportedException { + throw new java.sql.SQLFeatureNotSupportedException(); + } + } diff --git a/src/net/sf/hajdbc/sql/pool/ConnectionPoolDataSource.java b/src/net/sf/hajdbc/sql/pool/ConnectionPoolDataSource.java index e71c93b..ee55190 100644 --- a/src/net/sf/hajdbc/sql/pool/ConnectionPoolDataSource.java +++ b/src/net/sf/hajdbc/sql/pool/ConnectionPoolDataSource.java @@ -105,4 +105,9 @@ public class ConnectionPoolDataSource extends CommonDataSourceProxy { return new XADataSourceReference(this.getCluster(), this.getConfig()); } + + // Java7 Compat + public java.util.logging.Logger getParentLogger() throws java.sql.SQLFeatureNotSupportedException { + throw new java.sql.SQLFeatureNotSupportedException(); + } + } debian/copyright0000644000000000000000000000225111674456233011134 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: ha-jdbc Source: http://sourceforge.net/projects/ha-jdbc/files/HA-JDBC 2.0 _ Stable/2.0.16-rc-1/ha-jdbc-2.0.16-rc-1-src.tar.gz/download Files: * Copyright: License: LGPL-2.1 On Debian GNU/Linux system you can find the complete text of the LGPL-2.1 license in '/usr/share/common-licenses/LGPL-2.1' Files: debian/* Copyright: 2011 Eucalyptus Systems, Inc. License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/rules0000755000000000000000000000037511674456233010266 0ustar #!/usr/bin/make -f VERSION = $(shell dpkg-parsechangelog | sed -n 's,^Version: \(.*\)-.*,\1,p') export JAVA_HOME := /usr/lib/jvm/default-java %: dh $@ override_dh_auto_build: ant -Djar.version=$(VERSION) override_dh_clean: dh_clean rm -f *.jar debian/README.source0000644000000000000000000000263711674456233011370 0ustar The original source file from sourceforget.net contains these binaries ha-jdbc-2.0.16-rc-1/lib/compile/bcel-5.2.jar ha-jdbc-2.0.16-rc-1/lib/compile/jibx-bind-1.2.1.jar ha-jdbc-2.0.16-rc-1/lib/compile/servlet-api-2.5.jar ha-jdbc-2.0.16-rc-1/lib/jgroups-2.6.10.jar ha-jdbc-2.0.16-rc-1/lib/jibx-run-1.2.1.jar ha-jdbc-2.0.16-rc-1/lib/quartz-1.6.5.jar ha-jdbc-2.0.16-rc-1/lib/runtime/jcl-over-slf4j-1.5.7.jar ha-jdbc-2.0.16-rc-1/lib/runtime/slf4j-jcl-1.5.7.jar ha-jdbc-2.0.16-rc-1/lib/runtime/slf4j-jdk14-1.5.7.jar ha-jdbc-2.0.16-rc-1/lib/runtime/slf4j-log4j12-1.5.7.jar ha-jdbc-2.0.16-rc-1/lib/runtime/slf4j-simple-1.5.7.jar ha-jdbc-2.0.16-rc-1/lib/slf4j-api-1.5.7.jar ha-jdbc-2.0.16-rc-1/lib/test/easymock-2.5.1.jar ha-jdbc-2.0.16-rc-1/lib/test/slf4j-nop-1.5.7.jar ha-jdbc-2.0.16-rc-1/lib/test/testng-5.9.jar ha-jdbc-2.0.16-rc-1/lib-1.5/runtime/ ha-jdbc-2.0.16-rc-1/lib-1.5/runtime/stax-1.2.0.jar ha-jdbc-2.0.16-rc-1/lib-1.5/stax-api-1.0.1.jar ha-jdbc-2.0.16-rc-1/lib-1.4/compile/ ha-jdbc-2.0.16-rc-1/lib-1.4/runtime/ ha-jdbc-2.0.16-rc-1/lib-1.4/backport-util-concurrent-3.1.jar ha-jdbc-2.0.16-rc-1/lib-1.4/compile/retrotranslator-transformer-1.2.8.jar ha-jdbc-2.0.16-rc-1/lib-1.4/jdbc-rowset-1.0.1.jar ha-jdbc-2.0.16-rc-1/lib-1.4/jgroups-2.5.1-jdk1.4.jar ha-jdbc-2.0.16-rc-1/lib-1.4/retrotranslator-runtime-1.2.8.jar ha-jdbc-2.0.16-rc-1/lib-1.4/runtime/jmx-1.2.1.jar which had all been removed for DFSG compliance. debian/control0000644000000000000000000000303011770602432010567 0ustar Source: ha-jdbc Section: java Priority: extra Maintainer: Debian Java Maintainers Uploaders: Brian Thomason Build-Depends: debhelper (>= 8), libservlet2.5-java, libjibx1.2-java, libbcel-java, libquartz-java, libjgroups-java, libslf4j-java, ant, default-jdk Standards-Version: 3.9.2 Homepage: http://ha-jdbc.sourceforge.net/ Package: libha-jdbc-java Architecture: all Depends: ${misc:Depends}, libslf4j-java Description: JDBC proxy that provides clustering capability to any JDBC driver HA-JDBC is a JDBC proxy that provides light-weight, transparent, fault tolerant clustering capability to any underlying JDBC driver. . Features include: . * Supports any database accessible via JDBC. * High-availability/Fault Tolerance - An HA-JDBC database cluster can lose a node without failing/corrupting open transactions. * Live activation/deactivation allows for maintenance/upgrading of a database node without loss of service. * Improves performance of concurrent read-access by distributing load across individual nodes. * Supports full JDBC 3.0 and 4.0 feature set. * Out-of-the-box database-independent strategies for synchronizing a failed cluster node. * Exposes JMX management interface to allow administration of databases and clusters. * Ability to add/subtract database nodes to/from a cluster at runtime. * Can be configured to auto-activate failed database nodes during scheduled off-peak times. debian/changelog0000644000000000000000000000156111770602500011041 0ustar ha-jdbc (2.0.16+rc1-2) unstable; urgency=low * Team upload. * Patch sources to fix FTBFS with Java7. * Remove unused lintian-override. * Bump dehelper compat. -- Niels Thykier Thu, 21 Jun 2012 13:26:38 +0200 ha-jdbc (2.0.16+rc1-1) unstable; urgency=low * Initial upload to Debian [ Steffen Moeller ] * Changed version to allow update with release of 2.0.16. * Added README.source indicating removal of .jars -- Brian Thomason Wed, 21 Dec 2011 23:14:26 +0100 ha-jdbc (2.0.16-rc-1-0ubuntu2) precise; urgency=low * Added missing build-dep: default-jdk (Doh!) -- Brian Thomason Wed, 14 Dec 2011 18:39:43 -0500 ha-jdbc (2.0.16-rc-1-0ubuntu1) precise; urgency=low * Initial release -- Brian Thomason Thu, 08 Dec 2011 20:36:17 +0000