RDBPROD: Starting Oracle JDBC for Rdb Thin Server Fails when using Multinet (Doc ID 959694.1)

Last updated on MAY 03, 2017

Applies to:

Oracle Rdb Server on OpenVMS - Version 7.2.5.3 and later
Oracle JDBC for Rdb - Version 7.2.5.3 and later
HP OpenVMS Itanium
HP OpenVMS Alpha


Symptoms

Attempting to start the thin server for Oracle JDBC for Rdb fails:

$ show logical RDB$JDBC_HOME
DISK$COMMONDISK:[PRODUCTS.RDB$JDBC.0702-5V386O]
$ @sys$startup:java$150_setup
$ define/job JAVA$CLASSPATH [],RDB$JDBC_HOME:RDBNATIVE.JAR,RDB$JDBC_HOME:RDBTHIN.JAR
$
$ java -jar rdbthinsrv.jar
Exception in thread "main" java.net.SocketException: invalid argument  <<<
at java.net.PlainDatagramSocketImpl.join(Native Method)
at java.net.PlainDatagramSocketImpl.join(PlainDatagramSocketImpl.java)
at java.net.MulticastSocket.joinGroup(MulticastSocket.java)
at oracle.rdb.jdbc.srv.BroadcastThread.<init>(BroadcastThread.java)
at oracle.rdb.jdbc.srv.RdbSrv.serveClients(RdbSrv.java)
at oracle.rdb.jdbc.srv.RdbThinSrv.main(RdbThinSrv.java)


In the case of attempting to start a pool server, the error may be:

RDBJDBC2038E363_00000001 Executor initialize srv1 73000:20100217 srv2 (PID: 540628836 <0x20395764>)
java.net.BindException: address already in use             <<<
at java.net.PlainDatagramSocketImpl.bind0(Native Method)
at java.net.PlainDatagramSocketImpl.bind0(Native Method)
at java.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:82)
at java.net.DatagramSocket.bind(DatagramSocket.java:368)
at java.net.MulticastSocket.<init>(MulticastSocket.java:147)
at java.net.MulticastSocket.<init>(MulticastSocket.java:112)
at oracle.rdb.jdbc.srv.BroadcastThread.<init>(BroadcastThread.java:175)
at oracle.rdb.jdbc.srv.BroadcastThread.<init>(BroadcastThread.java:133)
at oracle.rdb.jdbc.srv.RdbSrv.serveClients(RdbSrv.java:862)
at oracle.rdb.jdbc.srv.RdbThinSrv.main(RdbThinSrv.java:309)

Changes

This machine is using the Multinet TCP/IP stack

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms