Bugs item #1670956, was opened at 2007-02-28 16:10
Message generated for change (Comment added) made by sjoerd
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1670956&group_id=56967
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: (zombie: Clients 1.16)
Status: Open
Resolution: Accepted
Priority: 8
Private: No
Submitted By: Wouter Alink (vzzzbx)
>Assigned to: Fabian (mr-meltdown)
Summary: Fedora6.oid64.x86_64.rpm contains outdated JDBC driver
Initial Comment:
Yesterday I copied the 2 .jar files in /share/MonetDB/lib from the
MonetDB-client-java-1.16.2-1_Fedora6.oid64.x86_64.rpm file to a machine on
which the SuperSourceTarBall was installed (somehow the .jar files were not
included in the tarball).
Everything worked fine: i could connect, execute queries.
I just upgraded to the 'new' version, and I cannot connect anymore to the
mserver5.
See the error message below.
What did i do wrong?
-------------------------
Exception in thread "main" java.sql.SQLException: Server challenge length
unparsable (])
at nl.cwi.monetdb.jdbc.MonetConnection.<init>(MonetConnection.java:213)
at nl.cwi.monetdb.jdbc.MonetDriver.connect(MonetDriver.java:160)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
----------------------------------------------------------------------
>Comment By: Sjoerd Mullender (sjoerd)
Date: 2007-07-13 10:52
Message:
Logged In: YES
user_id=43607
Originator: NO
Can you check this?
----------------------------------------------------------------------
Comment By: Stefan Manegold (stmane)
Date: 2007-06-22 08:35
Message:
Logged In: YES
user_id=572415
Originator: NO
Has this one been fixed in the latest release?
----------------------------------------------------------------------
Comment By: Stefan Manegold (stmane)
Date: 2007-06-06 14:29
Message:
Logged In: YES
user_id=572415
Originator: NO
Packaging issue that should (and IMHO can) be fixed for the upcoming
release.
----------------------------------------------------------------------
Comment By: Fabian (mr-meltdown)
Date: 2007-03-05 14:07
Message:
Logged In: YES
user_id=963970
Originator: NO
Reusing this bug for that, as that's what it is about. And I remember
seeing this on the ML too. It looks like old JDBC sources/jars have been
packaged in the release.
Wouter, do you still have those jars around? Could you try JdbcClient
--version to get the build date?
----------------------------------------------------------------------
Comment By: Wouter Alink (vzzzbx)
Date: 2007-03-05 12:55
Message:
Logged In: YES
user_id=621590
Originator: YES
Thanks for the help. The new jar did the trick. (i close this bug)
Indeed I did not have 'ant' installed.
One thing remains: why did the jar-files from the rpm not work?
----------------------------------------------------------------------
Comment By: Fabian (mr-meltdown)
Date: 2007-03-05 12:41
Message:
Logged In: YES
user_id=963970
Originator: NO
I see two things that I don't like:
1) "Server challenge length unparsable ([)"
This error message is not in the JDBC sources that (should have been)
released with Venus-SR-1
2) "RX 1173092120195: [^@"
This is a blockmode short int that describes the length, which
apparently isn't read as such,
which indicates the JDBC driver you use is not the right version
The reason why no Java stuff has been installed is probably because you
don't have ant installed.
Could you try with the jar from here:
http://www.cwi.nl/~fabian/troep/jdbcclient-1.5.jar
----------------------------------------------------------------------
Comment By: Wouter Alink (vzzzbx)
Date: 2007-03-05 12:12
Message:
Logged In: YES
user_id=621590
Originator: YES
bash-3.1$ ./mserver5 --dbinit="include sql;"
--config=/home/xiraf/monetdb5.conf
# MonetDB Server v5.0.0_beta1_2
# Copyright (c) 1993-2007 CWI, all rights reserved
# Compiled for x86_64-redhat-linux-gnu/64bit with 64bit OIDs dynamically
linked
# dbname:xiraf
# Visit http://monetdb.cwi.nl/ for further information
#warning: please don't forget to set your vault key!
#(see /home/xiraf/monetdb5.conf)
>
-----------------
-bash-3.1$ java -jar
/home/wouter/MonetDB/share/MonetDB/lib/jdbcclient-1.5.jar --Xdebug
password:
Database connect failed: Server challenge length unparsable ([)
-bash-3.1$
-------------------
contents of "monet_1173092120193.log":
---------------
RX 1173092120195: [^@
---------------
note again that i did use the "jdbcclient-1.5.jar" and
"monetdb-1.5-jdbc.jar" from the
"MonetDB-client-java-1.16.2-1_Fedora6.oid64.x86_64.rpm" package which i
copied to /home/wouter/MonetDB/share/MonetDB/lib/. i hope this did not
cause the problem. i could not find any .jar files after running the
./monetdb_install.sh script
----------------------------------------------------------------------
Comment By: Fabian (mr-meltdown)
Date: 2007-03-02 10:39
Message:
Logged In: YES
user_id=963970
Originator: NO
Something is wrong here. Can you please run JdbcClient from the same jar
files with -Xdebug (or use ?debug=true in your connection url) and attach
the produced log file?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1670956&group_id=56967
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs