How to get hotswap with Eclipse 3.5 and WebLogic 10.1? [message #484929] |
Wed, 09 September 2009 18:23 |
David M. Karr Messages: 801 Registered: July 2009 |
Senior Member |
|
|
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.
|
|
|
Re: How to get hotswap with Eclipse 3.5 and WebLogic 10.1? [message #484973 is a reply to message #484929] |
Thu, 10 September 2009 04:12 |
David Wegener Messages: 1445 Registered: July 2009 |
Senior Member |
|
|
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.
|
|
|
|
Powered by
FUDForum. Page generated in 0.02753 seconds