Discussions

EJB programming & troubleshooting: help please! How to put Weblogic 6.1 into Debug mode?

  1. I'm using Weblogic6.1 + JBuilder7.0, I cannot debug into EJBs, could anyone tell me how to put weblogic into debug mode?

    thanx
  2. Add this to the startup script of WLS before weblogic.Server

    -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket server=y
    address=5050 suspend=n -Djava.compiler=NONE


    note the port 5050 could be any port you want. Then have your ide connect to the remote debugger on that port.

    Cheers,
    AT
  3. test
  4. in the startWebLogic.cmd (sh), there is a switch,
    set STARTMODE=false
    for developement

    -Sam
    ________________________________
    Do you need a Bug Tracking System?
    Try Bugzero: www.websina.com/bugzero/
  5. Sam,
    weblogic.ProductionModeEnabled (STARTMODE in .sh or .cmd) is for enabling/disableing the application poller (i.e. hot deployment). It has nothing to do with debugging applications on the server or the jvm debug flags.