[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.jdt] Re: How to get hotswap with Eclipse 3.5 and WebLogic 10.1?

David M. Karr wrote:
I'm trying to get hotswap working between Eclipse 3.5 and WebLogic 10.1.

There are defined startup parameters for WebLogic to enable hotswap, and when I do that with a non-Eclipse startup of WebLogic, I get the command-line parameters on the JVM that I expect, which are:

  -javaagent:C:\bea\WLSERV~1.0\server\lib\diagnostics-agent.ja r

When I connect to this JVM from the debugger, debugging works fine, but when I tried a simple change near my breakpoint and saved it, and then retested, it didn't appear to incorporate my change.

If I then create a server in the Servers view, specifying the same domain, I can start it and connect from the debugger, but I also do not see the hotswap behavior work. I also don't see the previous command-line option on the JVM command line, which isn't surprising, as the way you specify a server in Eclipse doesn't allow any customization of the startup command line.
Server launch configurations are created in the Run/Debug dialog like other launches. You can open up the dialog, select your server and set the arguments on the Arguments tab.