Cannot connect to service: sess_iiop???
Date: 10 Dec 2001 13:10:27 -0800
Message-ID: <d0bb6654.0112101310.23a5513a_at_posting.google.com>
Help!
We am trying to setup 9ias on Solaris so that we can run EJB's. I have little knowledge of EJBs so I am over my head. The guy how knows EJB's knows little about Oracle and we hare having trouble figuring out all the pieces to get the demos running.
We are trying to compile the demo in 9ias $ORACLE_HOME/javavm/demo/examples/ejb/basic/sqljimpl
we get the following error....
deployejb -republish -addclasspath
.:.:/dev_tools/oracle/product/9.0.1/lib/aurora_client.jar:/dev_tools/oracle/product/9.0.1/jdbc/lib/classes12.zip:/dev_tools/oracle/product/9.0.1/sqlj/lib/translator.zip:/dev_tools/oracle/product/9.0.1/sqlj/lib/runtime12.zip:/dev_tools/oracle/product/9.0.1/lib/vbjorb.jar:/dev_tools/oracle/product/9.0.1/lib/vbjapp.jar:.:/Source/dc_working/ivPlatform/solaris/java:/dev_tools/oracle/product/9.0.1/sqlj/
ib/runtime.zip:/dev_tools/oracle/product/9.0.1/jdbc/lib/classes12.zip
\
-temp temp -u scott -p tiger -s sess_iiop://ivserv5:2481:TSTDB \
-descriptor employee.ejb server.jar
Cannot connect to service: sess_iiop://ivserv5:2481:TSTDB
*** Error code 1
make: Fatal error: Command failed for target `server_generated.jar'
I have this in the Makefile...
SERVICE=sess_iiop://ivserv5:2481:TSTDB
I have this in the listener.ora file...
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ivserv5)(PORT = 2481))
(PROTOCOL_STACK =
(PRESENTATION=GIOP) (SESSION=RAW))
)
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ivserv5)(PORT = 1521))
)
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
)
)
...
And this in the initTSTDB.ora file....
dispatchers="(protocol=tcp)(presentation=oracle.aurora.server.SGiopServer)"
When we do a lsnrctl services (with TSTDB bounced) we get....
LSNRCTL for Solaris: Version 9.0.1.0.0 - Production on 10-DEC-2001 16:02:15
Copyright (c) 1991, 2001, Oracle Corporation. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ivserv5)(PORT=1521)))
Services Summary...
(...)
Service "TSTDB" has 1 instance(s).
Instance "TSTDB", status UNKNOWN, has 3 handler(s) for this
service...
Handler(s):
"DEDICATED" established:13 refused:0 LOCAL SERVER "DEDICATED" established:0 refused:0 state:ready LOCAL SERVER "D000" established:0 refused:0 current:0 max:972 state:ready DISPATCHER <machine: ivserv5, pid: 23976> (ADDRESS=(PROTOCOL=tcp)(HOST=ivserv5)(PORT=59417))(...)
The established/refused/current for the dispatcher is 0 even though we have run make many times.
Anyone know what we are missing? Is there some Corba thing I need? Is there some other service that needs to be running that will allow a IIOP connection? Is there some other DDL that needs to be run in the instance (TSTDB) for this to work, either in scott/tiger or in the instance? The instance is configured with the JVM in it, I have successfully run server side Java in the instance....
Any comments, even if they are not answers may help.....
Thanks
Carl
cmercer_at_vibrant-1.com Received on Mon Dec 10 2001 - 22:10:27 CET