Tuesday, April 1, 2008

Weblogic 10 debugging

1. Run -> debug

2. choose add new configuration (+ button in top left corner) -> weblogic instance -> remote

3. Parameters (Example values)

  • disable browser startup
  • disable make
  • user = weblogic
  • passwd = weblogic
  • server = AdminServer
  • host = localhost
  • port = 7501

4. Configure weblogic server
  • Press configure (Button next to application server dropdown menu)
  • Choose bea home and press apply and ok

5. Configure startWeblogig.cmd

open the startWeblogig.cmd file ($BEA_HOME/user_projects/domains/$YOUR_DOMAIN/bin)

paste -Xdebug -Xrunjdwp:transport=dt_socket,address=1655,suspend=n,server=y after the call to %JAVA_HOME%\bin\java (See below)

6. configure the server to start in development mode - if you haven't done so while configuring the domain.

No comments: