Table of Contents Previous Section

Verifying the Installation

At this point, you should have installed WebObjects as described in the WebObjects Installation Guide (included with the WebObjects 3.5 CD), perform the post-installation steps for your operating system as described in the first part of this document, and rebooted your computer.

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.

  1. Try to run a simple scripted application.

    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.

  2. If scripted applications work, try running compiled applications. If your operating system has Java support (Windows NT or Solaris), enter the following commands:

    > 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.

  3. Try autolaunching an application. Be sure that you've killed the executable launched in the previous step. Then open this URL in your web browser:

    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.

  4. Try running an application with database access. Enter the following commands:

    > 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