Inc. Server User Manual

Upgrading the WebLogic 6.1 Service Pack 2 Examples Server to WebLogic Server 7.0
BEA WebLogic Server 7.0 Upgrade Guide B-31
To upgrade the Examples Server from WebLogic Server 6.1 to WebLogic Server 7.0,
you must edit the WebLogic Server 7.0
setExamplesEnv.cmd script so that you can
access your WebLogic Server 6.1 classes, your WebLogic Server 7.0 classes, and any
native libraries that you want to use in WebLogic Server 7.0.
The steps used to boot WebLogic Server 7.0 are no different from those used to boot
WebLogic Server 6.1.
This section contains:
An example of the setExamplesEnv.cmd script used to boot a WebLogic 6.1
Service Pack 2 Examples Server.
An example of the above-listed setExamplesEnv.cmd script modified to boot
WebLogic Server 7.0
which includes explanations for how to change this script
to upgrade the Examples Server toWebLogic Server 7.0.
An example of the startExamplesServer.cmd script used to boot a WebLogic 6.1
Service Pack 2 Examples Server.
An example of the above-listed startExamplesServer.cmd script modified to boot
WebLogic Server 7.0 which includes explanations for how to change this script
to upgrade the Examples Server toWebLogic Server 7.0.
setExamplesEnv.cmd script used to boot a WebLogic 6.1 Service Pack 2
Examples Server
@echo on
@rem This script should be used to set up your environment for
@rem compiling and running the examples included with WebLogic
@rem Server. It contains the following variables:
@rem
@rem WL_HOME - This must point to the root directory of your
WebLogic
@rem installation.
@rem JAVA_HOME - Determines the version of Java used to compile
@rem and run examples. This variable must point to the
@rem root directory of a complete JDK installation. See
@rem the WebLogic platform support page
@rem (http://e-docs.bea.com/wls/platforms/index.html)
@rem for an up-to-date list of supported JVMs on
Windows NT.
@rem When setting these variables below, please use short file
names(8.3).
@rem To display short (MS-DOS) filenames, use "dir /x". File