After you have completed the installation and the post-installation, verify the installation by performing the following steps:
Note: These steps assume you've installed WebObjects Developer. The examples mentioned below are not installed with WebObjects Deployment. To verify a Deployment installation, you might complete these same steps running other applications.
Open a command-shell window and enter the following commands:
> cd
DocRoot/WebObjects/Examples/WebScript/HelloWorld
NeXT_ROOT
> /NextLibrary/Executables/WODefaultApp[.exe]
where:
DocRoot is the name of your HTTP server's document root.
NeXT_ROOT is the directory in which you installed WebObjects software.
These commands should run the HelloWorld example application, launch a web browser, and enter HelloWorld's URL in the browser. If this doesn't work, go to the topic Troubleshooting.
After you have verified that HelloWorld runs, type Control-C to shut it down.
> cd ../../Java/HelloWorldJava/HelloWorldJava.woa
> ./HelloWorldJava[.exe]
If your operating system does not have Java support (Mach or HP-UX), open the Objective-C version:
> cd ../../ObjectiveC/HelloWorldCompiled/HelloWorldCompiled.woa
> HelloWorldCompiled
If you have trouble running compiled applications, go to the topic Troubleshooting.
After you have verified that HelloWorldJava or HelloWorldCompiled runs, type Control-C to shut it down.
http://localhost/
cgi-bin/
WebObjects/Examples/Java/HelloWorldJava
or:
http://localhost/
cgi-bin/
WebObjects/Examples/ObjectiveC/HelloWorldCompiled
where:
cgi-bin is the name of your HTTP server's cgi-bin directory. You specify this name when you configure your HTTP server. The cgi-bin directory name is often cgi-bin, but it may have a different name. For example, the Microsoft Internet Information Server uses the name Scripts.
WebObjects is the name of the WebObjects CGI adaptor as you see it in your HTTP server's cgi-bin directory. Usually, the name is WebObjects. If you're using Windows NT, the adaptor name might be WebObjects.exe (however, some older Netscape servers don't use the .exe extension.)
This URL should run the HelloWorld example application. If you see an error message, go to the topic Troubleshooting.
> cd ../../Java/DodgeDemoJava/DodgeDemoJava.woa
> ./DodgeDemoJava[.exe]
or:
> cd ../../ObjectiveC/DodgeDemo/DodgeDemo.woa
> ./DodgeDemo[.exe]
This command should run the DodgeDemo example application. If you see an error message, go to the topic Troubleshooting.
Table of Contents Next Section