> Okay, I'm not getting very far with DB/2. I downloaded the DB/2
> 7.1 Universal DB Personal Edition for Linux. I installed it with the
> default instance and sample database, and I can't connect to it with the
> JDBC drivers that ship with it. I'm not sure if this is a limitation of
> the personal edition or what (the control center reports "server with
> local clients" and I can't change it to "server with local and remote
> clients"). It seems to be listening on port 50000 (which it added to
> /etc/services), and I can telnet to that port, but if I point the JDBC
> driver to that I get the error "CLI0615E Error receiving from socket,
> server is not responding. SQLSTATE=08S01".
> If anyone can get me up and running with JDBC and DB/2, I'd
> *really* appreciate it.
I've had it working on a single linux box, but haven't tried remote yet. It
seems to work ok, except that if you use the jdbc2 drivers and try to store
a cmp object field the db2 driver crashes and takes java with it (doesn't
happen with the older drivers), also the non as400 versions don't like
vargraphic.
IIRC, 50000 is the remote management port, and the instance you want is
likely on 50001 (did you install an admin instance and one for your stuff?
the install program make it a little confusing), but that is neither here
nor there - if you are on the same machine and use the app driver you
shouldn't need to care.
Also check whether you are using the .app or .net driver. For the .net
driver you need to remember to start the server for it - on windows it is
called DB2 JDBC Applet Server - I think on unix it is something like
db2jstrt or db2javastart or something like that. If you are using the .app
driver instead (supposedly faster) you need to set up the cli client and get
that working before the java bits will work - there's some deal with
exporting bindings or something like that... the net driver should be much
easier to get started with remotely, but locally the app driver should work
as soon as you can get the command-line shell to work.
-d
----
Dan Kearns <[EMAIL PROTECTED]>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]