BEA WebLogic Server 7 Bedienungsanleitung Seite 37

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 63
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 36
EJB
Development Using Borland
®
JBuilder
®
8 and BEA WebLogic Server
7.0
37
Note: For this exercise, let’s take the exercise created in the previous chapter “Working with entity
beans.” Also, this exercise assumes that you have already created the entity bean, session bean,
test client, and deployed to WebLogic Server.
Provide remote debug options
From Internet Explorer, go to E:\bea\user_projects\mydomain. Copy startWebLogic.cmd
to startRemoteWeblogic.cmd in the same directory and make the following changes to
startRemoteWeblogic.cmd:
set JAVA_OPTIONS=-Xdebug -Xnoagent -
Xrunjdwp:transport=dt_socket,server=y,address=5555,suspend=n -
Dweblogic.security.SSL.trustedCAKeyStore=E:\bea\weblogic700\server\li
b\cacerts
Note: You can also optionally provide your user name and password at the following two
statements. That way you don’t have to provide the user ID and password at the time of
running WebLogic Server.
set WLS_USER=
set WLS_PW=
Add jdsserver.jar to the classpath of the remote WebLogic Server. Find StartWLS.cmd from
<remote_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%;
Create runtime configuration for remote debugging
From the JBuilder menubar, click Run -> Configurations. The Project Properties window
with Run tab selected should pop up. Click New. Enter the following configuration values in
the Runtime Configuration Properties window.
Seitenansicht 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42 ... 62 63

Kommentare zu diesen Handbüchern

Keine Kommentare