WebLogic with Visual Cafe
Requirements for EJB Testing
37
Adding WebLogic to the Global Classpath in Visual Café
If you are working in a Visual Cafe/WebLogic environment, you must add WebLogic
to the classpath in Visual Cafe if it is not already present. This is required for running
the sample application, the EJB Session Recorder, and any generated test scripts in a
Visual Cafe/WebLogic environment.
To add WebLogic to the global classpath in Visual Cafe:
1
Launch Visual Café 4.x.
2
Click
Tools > Environment Options
.
3
Click the
Internal VM
tab.
You should see the classpath settings at the bottom.
4
Add the WebLogic classpath.
For WebLogic 5.1:
a
If you do not see <
WebLogic Home>\classes
in the classpath settings, click
New
.
b
Navigate to the <
WebLogic Home
>
\classes
folder.
c
Click
Open
to insert the directory into the classpath settings.
d
Click
New
.
e
Navigate to the <
WebLogic Home
>
\lib
folder.
f
Select the
weblogicaux.jar
file and click
Open
to insert the file into the classpath
settings.
For WebLogic 6.1:
a
If you do not see the
<BEA Home>
\
lib\weblogic.jar
file in the classpath settings,
click
New
.
b
Navigate to the
<BEA Home>
\
lib\weblogic.jar
file.
c
Click
Open
to insert the file into the classpath settings.