Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> EJB and IOOP on Sun Solaris 2.6 and Oracle 8.1.7

EJB and IOOP on Sun Solaris 2.6 and Oracle 8.1.7

From: FS <axk_at_fernbach.com>
Date: Mon, 26 Feb 2001 15:58:44 +0100
Message-ID: <3A9A6F24.AB2DA1FA@fernbach.com>

Hello,

because i have multiple instances on the machine i configure the following init.ora:

SWDFU2 =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
(ADDRESS_LIST=

        (ADDRESS = (PROTOCOL = TCP)(HOST = troubadix)(PORT = 1522))
       )

(PROTOCOL_STACK =
(PRESENTATION = TTC) (SESSION = NS) )

    )
    (DESCRIPTION =
(ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = TCP)(HOST = troubadix)(PORT = 2481))
       )

(PROTOCOL_STACK =
(PRESENTATION = GIOP) (SESSION = RAW) )

    )
  )

and in the init.ora i have the following entries: # mts_dispatchers =
"(PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)" local_listener = swdfu2

# Uncomment the following line when your listener is configured for SSL
# (listener.ora and sqlnet.ora)
#  mts_dispatchers =

"(PROTOCOL=TCPS)(PRE=oracle.aurora.server.SGiopServer)" mts_dispatchers = "(PROTOCOL=TCP)(dispatchers=5)" mts_dispatchers = "(PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)"

When i check the listener with lsnrctl services swdfu2 i see all the dispatchers:
Connecting to
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=troubadix)(PORT=1522))(P ROTOCOL_STACK=(PRESENTATION=TTC)(SESSION=NS))) Services Summary...

  SWDFU2                has 7 service handler(s)
    DISPATCHER established:2 refused:0 current:0 max:1022 state:ready
      D005 <machine: troubadix, pid: 6448>

(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=troubadix)(PORT=59375))(PRESENTA

TION=oracle.aurora.server.SGiopServer)(SESSION=RAW))

      Presentation: oracle.aurora.server.SGiopServer     DISPATCHER established:0 refused:0 current:0 max:1022 state:ready

      D004 <machine: troubadix, pid: 6446>

(ADDRESS=(PROTOCOL=tcp)(HOST=troubadix)(PORT=59374))
DISPATCHER established:0 refused:0 current:0 max:1022 state:ready D003 <machine: troubadix, pid: 6444>
(ADDRESS=(PROTOCOL=tcp)(HOST=troubadix)(PORT=59373))
DISPATCHER established:0 refused:0 current:0 max:1022 state:ready D002 <machine: troubadix, pid: 6442>
(ADDRESS=(PROTOCOL=tcp)(HOST=troubadix)(PORT=59372))
DISPATCHER established:0 refused:0 current:0 max:1022 state:ready D001 <machine: troubadix, pid: 6440>
(ADDRESS=(PROTOCOL=tcp)(HOST=troubadix)(PORT=59371))
DISPATCHER established:0 refused:0 current:0 max:1022 state:ready D000 <machine: troubadix, pid: 6438>
(ADDRESS=(PROTOCOL=tcp)(HOST=troubadix)(PORT=59369))
DEDICATED SERVER established:0 refused:0 LOCAL SERVER

The command completed successfully

When i test it with sess_sh i receive the following output:

sess_sh -user sys -password manager -service sess_iiop://troubadix:2481:SWDFU2

javax.naming.CommunicationException: Unknown service: :session1 [Root exception
is javax.naming.CommunicationException: Unknown service: 89.0.0.35:1522:swdfu2]

Any idea? Must i insert an entry in /etc/services for Port 2481 (when yes, what exactly)?

Its an production problem for test?

Hope for your help.

Thanx

Axel Received on Mon Feb 26 2001 - 08:58:44 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US