Bugs item #1670956, was opened at 2007-02-28 16:10
Message generated for change (Comment added) made by mr-meltdown
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: SQL/JDBC
Group: Clients 1.16
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Wouter Alink (vzzzbx)
Assigned to: Fabian (mr-meltdown)
Summary: JDBC vs. Mserver5-16.2

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: 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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to