/iiop
URI with a "Not Found" page).
Possible Explanation: Your WAI application is not properly registered with the web server. Try the following troubleshooting tips:
WAIregisterService()
function. In C++ and Java, check the RegisterService
WAIregisterService()
function or the RegisterService
hostname:port_number
For example, the sample WASP and CAIIIOP examples retrieve the web
server's hostname and port number from the command line (these
examples expect you to enter this information as an argument).
Suppose you are running the web server on the machine named
myhost
on
the port 80. To execute these applications, you enter the following
commands:
WASP myhost:80
java -DDISABLE_ORB_LOCATOR WASP myhost:80
CAIIIOP myhost:80
osagent
utility to run on a specific IP address (or localhost, 127.0.0.1), you need to specify this address as a command-line parameter to the osfind
utility. Use the -ORBagentaddr
flag to specify this address.
For example, if the osagent utility is running on localhost (IP address 127.0.0.1), use this command to start osfind
:
osfind -ORBagentaddr 127.0.0.1
osfind
returns information about any instances of osagent
, OAD (the object activation daemon), and WAI applications running.
osfind: Found one agent at port 14000
HOST: localhost
osfind: There are no OADs running on in your domain.
osfind: There are no Object Implementations registered with OADs.
osfind: Following are the list of Implementations started manually.
HOST: 204.222.222.22
INTERFACE NAME: netscape::WAI::WebApplicationBasicService
OBJECT NAME: JavaWASP
INTERFACE NAME: netscape::WAI::WebApplicationService
OBJECT NAME: JavaWASP
INTERFACE NAME: IDL:netscape/WAI/WebApplicationBasicService:1.0
OBJECT NAME: JavaWASP
INTERFACE NAME: IDL:netscape/WAI/WebApplicationService:1.0
OBJECT NAME: JavaWASPVerify that your object implementation appears in this list under the correct object name.
http://hostname:port_number/NameService/WAS/service_name
If the server returns a page displaying the word
IOR
followed by some
numbers, your service is registered.
For example, the WASP example provided with the web server registers
under the service name
WASP
(for the C++ version) or JavaWASP
(for the
Java version). To verify that these applications register correctly, run the
applications and go to the following URL:
http://server:port/NameService/WAS/WASP (for C++)
http://server:port/NameService/WAS/JavaWASP (for Java)
If the server returns a page containing the word IOR followed by a long
string of numbers, your application has registered successfully to the web
server.
If instead the server returns a "File Not Found" error, your service is not
registered correctly.
oad
) while the web server's ORB is configured for localhost use only. (See the section "Configuring the Web Server's ORB" and Chapter 8, "Security Guidelines for Using WAI" for details.) You cannot run oad
if the web server's ORB is configured this way.
[10/Aug/1997:22:52:51] failure: IIOPexec CORBA exception
CORBA::NO_IMPLEMENT. Minor code: 0 Completed: NO
server-root
/https-
serverID
/logs/errors
.Invalid Stringified Object Reference ''
Failed to Register with hostnamePossible Explanation: This error message can appear for a number of different reasons. See the list of possible explanations below.
WASP myhost:80
unregobj
and listimpl
in the wai/bin
directory are useful for troubleshooting whether you registered your web service properly.
interface_name
is specified, only information for that ORB object is displayed, otherwise all ORB objects registered with the OAD and their information will be shown.
The implementation repository files are assumed to reside in the impl_dir
subdirectory whose path is defined by the ORBELINE
environment variable. A different directory name can be set using the ORBELINE_IMPL_NAME
environment variable. The path to this directory can be changed using the ORBELINE_IMPL_PATH
environment variable.
Example:
listimpl -i Library
regobj
command.
If you specify only an interface name, all ORB object with that interface that are registered with the OAD will be unregistered. Alternatively, you may specificially identify an ORB object by its interface name and object name.
If an object implementation is started manually as a persistent server, it does not need to be registered with the OAD.
Example:
unregobj -o Library,HarvardExample:
unregobj -i Library
Last Updated: 12/04/97 16:13:18
Any sample code included above is provided for your use on an "AS IS" basis, under the Netscape License Agreement - Terms of Use