PowerDynamo

This section discusses how to configure EAServer to host your PowerDynamo Web sites and provide access to those sites from a browser. Access to PowerDynamo Web sites is disabled by default.

StepsHosting PowerDynamo Web sites in EAServer

  1. Install PowerDynamo version 3.6.1 on your Windows or UNIX machine where EAServer is installed.

  2. Update your EAServer’s environment to include the PowerDynamo DLL and class files. Depending on your platform, perform the following:

    On UNIX, make the following modifications to your $JAGUAR/bin/setenv.sh file, then source the file:

    • Define a PDYNAMO environment variable and set it to the root of your PowerDynamo installation. This environment variable is required on UNIX machines.

    • Define a JAGUARCLASSES environment variable and set it to your client JAR file, $JAGUAR/client/easclient.jar.

    • Add $PDYNAMO/lib to your LD_LIBRARY_PATH.

    • Add $PDYNAMO/class03 to your CLASSPATH.

    On Windows, depending on the virtual machine you are using, modify the %JAGUAR%\bin\user_setenv.bat file, or create this file if it does not exist. Make the following edits:

    • Add %PDYNAMO%\win32 to your PATH.

    • Add %PDYNAMO%\class03 to your CLASSPATH, where %PDYNAMO% is the root of your PowerDynamo installation. You do not need to define a PDYNAMO environment variable.

  3. Start EAServer and connect to it from EAServer Manager. To enable PowerDynamo support:

    1. From EAServer Manager, open the Servers folder.

    2. Highlight the server you want to configure.

    3. Select File | Properties.

    4. Select the PowerDynamo tab.

    5. Click Enable PowerDynamo Execution.

    6. If you have both a PowerDynamo mapping and a servlet alias with the same URL, select Dynamo or Servlets from the Priority of EAServer HTTP Services list. This determines whether the PowerDynamo Web site or servlet is served to the client.

    7. Click OK.

  4. Configure your machine so that your Web sites can connect to and retrieve information from databases that they use. For example, on Windows, if you load a Web site that accesses data from a SQL Anywhere database, you must include the SQL Anywhere DLLs in your PATH and set up the ODBC data source properly. See your database software instructions and the PowerDynamo User’s Guide for detailed information.

WARNING!  If you have a Netscape Web server installed on your machine, PowerDynamo loads a Netscape version of ns-httpd30.dll instead of an EAServer version of the same DLL. Rename (but do not delete) Netscape's version of this DLL so that PowerDynamo loads the EAServer version instead.

You can now access a PowerDynamo Web site by entering into your browser, the EAServer HTTP address followed by a PowerDynamo Web site. For example:

http://EAServer_server_host:8080/mapped_url_name/file_name

This example connects your browser to: