
EJB
™
Development Using Borland
®
JBuilder
®
8 and BEA WebLogic Server
™
7.0
30
Name: Start WebLogic 7.0 [Users can enter any name here]
Build target: <None>
Type: Server
Click OK and now you can see a runtime configuration called Start WebLogic 7.0 in Project
Properties window. Click OK.
Click the Run Project icon from the JBuilder toolbar and click Start WebLogic 7.0.
WebLogic Server will start within JBuilder.
To start the JDataStore server, click Start -> All Programs -> JBuilder 8 Enterprise ->
JDataStore Server.
Note: the JDataStore server has to be started for this example because the data source uses a
remote connection to the JDataStore database. You can also connect to the JDataStore database
locally, that way you don’t have to start the JDataStore server. But the local connection allows only
one connection to the JDataStore database. Make sure that the JDataStore server is running all the
time during execution of this exercise.
Start WebLogic Server Console. To start the WebLogic Server Console, from JBuilder main
menubar, click Tools -> WebLogic 7.x Admin Console.
Create a connection pool in WebLogic
If you want to start WebLogic from outside of JBuilder environment for creating a data
source, then add jdsserver.jar to the classpath of WebLogic Server. Find StartWLS.cmd from
<bea_installed_dir>\weblogic700\server\bin and change the CLASSPATH as follows:
set
CLASSPATH=%JAVA_HOME%\lib\tools.jar;%WL_HOME%\server\lib\weblogic.jar
;%JB_HOME%\lib\jdsserver.jar;%ORACLE_HOME%\jdbc\lib\classes12.jar;%CL
ASSPATH%;
Kommentare zu diesen Handbüchern