How Do I: Use a Remote WebLogic Server During Development?

It is possible to set up your environment such that WebLogic Workshop runs on a different machine than your WebLogic Server. For instance, you can run WebLogic Workshop on a local Microsoft Windows 2000 machine while the WebLogic Server runs on a Linux machine. This configuration allows you to develop applications using a local installation of WebLogic Workshop and test them on a remote WebLogic Server. It also prevents you from having to build and deploy an EAR file to a remote machine each time you want to test an application. However the following conditions must be met.

Note if the remote server is running a production application and you wish to hit breakpoints on the application code, see How Do I: Debug an Application on a Remote Production Server?.

You must also configure WebLogic Workshop to use the remote WebLogic Server.

To Configure WebLogic Workshop to use a Remote WebLogic Server

  1. Launch WebLogic Workshop and open the application.
  2. Select Application Properties from the Tools menu. The Application Properties dialog appears.
  3. Select WebLogic Server in the left-hand pane.
  4. In the right-hand pane, click the Browse button in the Server Home Directory section and navigate to BEA_HOME/weblogic81/samples/domains/workshop. Select Config.xml and click Open.
  5. Change the Hostname in the Settings section to the name of the remote server. Make sure the other values on this page are correct. Click OK.

You must start and stop the WebLogic Server from the WebLogic Server machine.

Related Topics

How Do I: Create a New WebLogic Workshop-Enabled WebLogic Server Domain?