B
Upgrading the Pet Store Application and the Examples Server
Set Up the WebLogic Server 7.0 Environment with Your
6.0 Service Pack 2 Domain Configuration
It is important to keep the examples domain directory within the config directory when
you copy your 6.0
example, you could use the following directory structure:
c:\my_application_domains\config\examples
To upgrade the WebLogic 6.0 Examples Server to WebLogic Server 7.0, you need to
edit the following two scripts:
setExamplesEnv.cmd
startExamplesServer.cmd
These scripts are provided in both DOS and Unix versions,
The
certain environment variables in your development shell, the command window from
which you build and run the examples.
setExamplesEnv
CLASSPATH
contains all of the classes needed to build and run the examples
CLIENT_CLASSES
points to the directory that stores client classes
SERVER_CLASSES
points to the directory that stores server-side classes
EX_WEBAPP_CLASSES
points to the directory that stores classes used by the Examples Web Application
PATH
contains your system path, appended with the JDK and WebLogic Server
directories
The
that are required to compile source files and run examples.
the appropriate classes for compiling and running the example.
B-20
BEA WebLogic Server 7.0 Upgrade Guide
WL_HOME/config/examples
script at
setExamplesEnv
sets these variables:
and
commands use the
java
javac
directory to your 7.0 directory. For
SAMPLES_HOME\server\config\examples
variable to locate the Java classes
CLASSPATH
and
, respectively.
.cmd
.sh
sets
bin
must contain
CLASSPATH
Need help?
Do you have a question about the WebLogic Server 7 and is the answer not in the manual?