StartWebLogic.cmd
script for your development domain.set DEBUG_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8453,server=y,suspend=n
2. In the last line of the file, add the
%DEBUG_OPTS%
variable in the place indicated below:%JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% %DEBUG_OPTS% %JAVA_OPTIONS% -Dweblogic.Name=%SERVER_NAME% -Dweblogic.ProductionModeEnabled=%PRODUCTION_MODE% -Djava.security.policy="%WL_HOME%\server\lib\weblogic.policy" weblogic.Server
3. To attach the debugger from within Eclipse select the Run > Open debug dialog
4. Create a new "Remote Java Application"
5. Enter the host and port corresponding to the DEBUG_OPTS.
沒有留言:
張貼留言