Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105510 - version bump: dev-java/jdbc3-postgresql-8.0_p312 driver (with a workaround bugfix for jdk1.5 by me)
Summary: version bump: dev-java/jdbc3-postgresql-8.0_p312 driver (with a workaround bu...
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-10 11:17 UTC by Csaba Tóth
Modified: 2007-09-22 23:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
jdbc3-postgresql-8.0_p312.ebuild -- the ebuild file for the 8.0_p312 version (jdbc3-postgresql-8.0_p312.ebuild,1.37 KB, text/plain)
2005-09-10 11:19 UTC, Csaba Tóth
Details
jdk1.5_socket_workaround.patch -- the patch file (jdk1.5_socket_workaround.patch,1011 bytes, patch)
2005-09-10 11:20 UTC, Csaba Tóth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Csaba Tóth 2005-09-10 11:17:30 UTC
There is a new version for the Postgresql JDBC 3 driver.

I inluded a workaround bugfix (see: 
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5092063 for details), which 
occurs only in the 1.5 JDK. _But_ the change eliminates the useage of Proxyes. 

So if you apply this patch than you cant be able to connect via a SOCKS (or 
another type) proxy!!

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Csaba Tóth 2005-09-10 11:19:42 UTC
Created attachment 68132 [details]
jdbc3-postgresql-8.0_p312.ebuild -- the ebuild file for the 8.0_p312 version
Comment 2 Csaba Tóth 2005-09-10 11:20:29 UTC
Created attachment 68133 [details, diff]
jdk1.5_socket_workaround.patch -- the patch file
Comment 3 Thomas Matthijs (RETIRED) gentoo-dev 2005-09-11 03:31:12 UTC
version bumped too 312, will not include the workaround
Comment 4 Csaba Tóth 2005-09-11 05:00:17 UTC
Why?
I added a ned USE flag for the patch, so it dont hurt anybody.
Comment 5 Csaba Tóth 2005-09-11 05:04:50 UTC
The new USE flag name is jdk1.5_socket_workaround.
In servers this is a very big problem, on my machine it takes 20 more seconds 
to establish the connection from the tomcat machine to the postgresql server 
machine. And my patch (you can see) does the same thing as the original code, 
just eliminates the proxy connection.
Comment 6 Csaba Tóth 2005-09-11 05:06:07 UTC
Please, think it again, please!
thank you!
Comment 7 Petteri Räty (RETIRED) gentoo-dev 2005-09-11 05:15:18 UTC
(In reply to comment #6)
> Please, think it again, please!
> thank you!

We don't want to maintain patches if at all possible. Please submit this
upstream. When they release a new version it will be included in our packages.
Comment 8 Csaba Tóth 2005-09-11 05:57:21 UTC
this is a bug just in the 1.5 version of JDK.

hmm, may you add a comment for the package?

"if you are experiencing unexpected slowdown
building up connections with Java 1.5, see
infos and a workaround patch here:
http://bugs.gentoo.org/show_bug.cgi?id=105510"
Comment 9 Petteri Räty (RETIRED) gentoo-dev 2005-09-11 06:07:17 UTC
1.5 is not officially supported yet, but axxo can add the warning to the 1.5
overlay I think so it will hit the official tree after 1.5 is unmasked. Please,
do not add devs to CC because we already recieve mail sent to java@gentoo.org.
Comment 11 Csaba Tóth 2005-09-11 14:21:41 UTC
ty all!